/* =========== Global Styles =========== */
:root {
    /* Main colors */
    --primary-color: #4b6cb7;
    --primary-dark: #3a5a9b;
    --primary-light: #6a8ae4;
    --secondary-color: #f5a623;
    --tertiary-color: #2ecc71;
    
    /* Neutral colors */
    --dark: #333333;
    --medium-dark: #555555;
    --medium: #777777;
    --medium-light: #999999;
    --light: #f8f9fa;
    --white: #ffffff;
    
    /* Font families */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Shadows */
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 10px 30px rgba(75, 108, 183, 0.15);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    
    /* Border radius */
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 16px;
    --radius-xlarge: 24px;
    --radius-round: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

/* =========== Typography =========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark);
}

h1 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.section-header p {
    font-size: 1.8rem;
    color: var(--medium);
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

/* =========== Buttons =========== */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: var(--radius-medium);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: 1.6rem;
    font-family: var(--body-font);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(75, 108, 183, 0.2);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 166, 35, 0.2);
    color: var(--white);
}

.btn-tertiary {
    background-color: var(--tertiary-color);
    color: var(--white);
}

.btn-tertiary:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.2);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* =========== Header =========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-medium);
    padding: 2rem 0;
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 150px;
    z-index: 1001;
}

.logo img {
    width: 100%;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin: 0 1.5rem;
}

.nav-list a {
    color: var(--dark);
    font-weight: 500;
    font-size: 1.6rem;
    transition: all var(--transition-fast);
    position: relative;
}

.header.scrolled .nav-list a {
    color: var(--dark);
}

.nav-list a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-list a:hover:after {
    width: 100%;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: var(--radius-round);
    margin-left: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--dark);
    transition: all var(--transition-fast);
}

.header.scrolled .social-icons a {
    background-color: rgba(75, 108, 183, 0.1);
    color: var(--primary-color);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 2.4rem;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    position: absolute;
    left: 0;
    transition: all var(--transition-fast);
}

.mobile-menu-btn span:first-child {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:last-child {
    bottom: 0;
}

.mobile-menu-open .mobile-menu-btn span:first-child {
    transform: rotate(45deg);
    top: 50%;
}

.mobile-menu-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .mobile-menu-btn span:last-child {
    transform: rotate(-45deg);
    bottom: 40%;
}

/* =========== Hero Section =========== */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    padding-top: 10rem;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 50%;
}

.hero-content h1 {
    font-size: 5.6rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

.hero-image {
    width: 45%;
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-xlarge);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-15deg);
    transition: all var(--transition-medium);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* =========== Benefits Section =========== */
.benefits {
    background-color: var(--white);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.benefit-card {
    background-color: var(--white);
    border-radius: var(--radius-large);
    padding: 3rem;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-light);
    opacity: 0.05;
    z-index: -1;
    transition: height var(--transition-medium);
}

.benefit-card:hover::before {
    height: 100%;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    border-radius: var(--radius-round);
    background-color: rgba(75, 108, 183, 0.1);
    color: var(--primary-color);
    transition: all var(--transition-medium);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.benefit-card h3 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.benefit-card p {
    color: var(--medium);
    margin-bottom: 0;
}

/* =========== About Section =========== */
.about {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    border-radius: var(--radius-medium);
    z-index: -1;
}

.about-image img {
    border-radius: var(--radius-medium);
    box-shadow: var(--card-shadow);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 6rem;
    height: 3px;
    background-color: var(--primary-color);
}

.about-content p {
    margin-bottom: 2rem;
    color: var(--medium-dark);
}

.about-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* =========== Services Section =========== */
.services {
    background-color: var(--light);
    position: relative;
}

.services-slider {
    display: flex;
    overflow-x: hidden;
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-card {
    flex: 0 0 100%;
    background-color: var(--white);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 3rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 1.5rem;
}

.service-content p {
    color: var(--medium-dark);
    margin-bottom: 2rem;
}

.service-features {
    margin-bottom: 2rem;
}

.service-features li {
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
    color: var(--medium);
}

.service-features li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.service-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.service-price span {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.prev-btn, .next-btn {
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-round);
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--card-shadow);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.slider-dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: var(--radius-round);
    background-color: rgba(75, 108, 183, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--primary-color);
    width: 3rem;
    border-radius: 1rem;
}

/* =========== Articles Section =========== */
.articles {
    background-color: var(--white);
    position: relative;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.article-card {
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
    background-color: var(--white);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 2.5rem;
}

.article-content h3 {
    margin-bottom: 1.5rem;
    transition: color var(--transition-fast);
}

.article-card:hover .article-content h3 {
    color: var(--primary-color);
}

.article-content p {
    color: var(--medium);
    margin-bottom: 2rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.read-more i {
    margin-left: 0.8rem;
    transition: transform var(--transition-fast);
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:hover i {
    transform: translateX(5px);
}

.articles-more {
    text-align: center;
}

.articles-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* =========== Testimonials Section =========== */
.testimonials {
    background-color: var(--light);
    position: relative;
}

.testimonials-slider {
    display: flex;
    overflow-x: hidden;
    gap: 3rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    flex: 0 0 100%;
    background-color: var(--white);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.testimonial-content {
    padding: 4rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(75, 108, 183, 0.1);
}

.testimonial-content p {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--medium-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: var(--radius-round);
    object-fit: cover;
    margin-right: 2rem;
    border: 3px solid var(--primary-light);
}

.author-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.author-info p {
    color: var(--medium);
    margin-bottom: 0;
    font-size: 1.4rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.testimonial-dots {
    display: flex;
    gap: 1rem;
}

.testimonial-dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: var(--radius-round);
    background-color: rgba(75, 108, 183, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
    width: 3rem;
    border-radius: 1rem;
}

/* =========== FAQ Section =========== */
.faq {
    background-color: var(--white);
    position: relative;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-radius: var(--radius-medium);
    background-color: var(--light);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
    flex: 1;
    padding-right: 2rem;
}

.faq-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.faq-toggle .fa-minus {
    display: none;
}

.faq-item.active .faq-toggle .fa-plus {
    display: none;
}

.faq-item.active .faq-toggle .fa-minus {
    display: block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.faq-item.active .faq-answer {
    max-height: 50rem;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--medium-dark);
}

.faq-answer a {
    font-weight: 600;
}

/* =========== Blog Section =========== */
.blog {
    background-color: var(--light);
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.blog-card {
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
    background-color: var(--white);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-medium);
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 1;
}

.blog-content {
    padding: 2.5rem;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    font-size: 1.4rem;
    color: var(--medium);
    margin-bottom: 1.5rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 0.5rem;
}

.blog-content h3 {
    margin-bottom: 1.5rem;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-content h3 {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--medium);
    margin-bottom: 2rem;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.blog-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-medium);
    background-color: var(--white);
    color: var(--medium-dark);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.blog-pagination a:hover,
.blog-pagination a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.blog-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* =========== Categories Section =========== */
.categories {
    background-color: var(--white);
    position: relative;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.category-card {
    padding: 3rem;
    border-radius: var(--radius-large);
    background-color: var(--light);
    transition: all var(--transition-medium);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    background-color: var(--primary-color);
    color: var(--white);
}

.category-icon {
    width: 8rem;
    height: 8rem;
    border-radius: var(--radius-round);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--primary-color);
    transition: all var(--transition-medium);
}

.category-card:hover .category-icon {
    color: var(--white);
    background-color: var(--primary-dark);
    transform: rotateY(180deg);
}

.category-card h3 {
    margin-bottom: 1.5rem;
    transition: color var(--transition-medium);
}

.category-card:hover h3 {
    color: var(--white);
}

.category-card p {
    color: var(--medium);
    margin-bottom: 2.5rem;
    transition: color var(--transition-medium);
}

.category-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.category-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.category-link i {
    margin-left: 0.8rem;
    transition: transform var(--transition-fast);
}

.category-card:hover .category-link {
    color: var(--white);
}

.category-link:hover i {
    transform: translateX(5px);
}

/* =========== Contact Section =========== */
.contact {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.contact-icon {
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-round);
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    transition: all var(--transition-fast);
}

.contact-detail:hover .contact-icon {
    background-color: var(--white);
    color: var(--primary-color);
    transform: rotateY(180deg);
}

.contact-text h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.contact-social h3 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-social .social-icons {
    gap: 1.5rem;
}

.contact-social .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.contact-social .social-icons a:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.contact-form-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-large);
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-medium);
    font-family: var(--body-font);
    font-size: 1.6rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(75, 108, 183, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.contact-form button {
    grid-column: span 2;
    margin-top: 1rem;
}

/* =========== Map Section =========== */
.map {
    padding: 0;
    height: 450px;
}

.map-container {
    height: 100%;
}

/* =========== Newsletter Section =========== */
.newsletter {
    background-color: var(--light);
    padding: 6rem 0;
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    gap: 5rem;
    background-color: var(--white);
    border-radius: var(--radius-large);
    padding: 4rem;
    box-shadow: var(--card-shadow);
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.newsletter-content p {
    color: var(--medium);
    margin-bottom: 0;
}

.newsletter-form {
    flex: 1;
}

.newsletter-form .form-group {
    display: flex;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.newsletter-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-consent {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-consent label {
    font-size: 1.4rem;
    color: var(--medium);
}

/* =========== Comments Section =========== */
.comments {
    background-color: var(--white);
}

.comments-wrapper {
    margin-bottom: 5rem;
}

.comment {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comment.reply {
    margin-left: 6rem;
}

.comment-avatar {
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-round);
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.comment-header h4 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.comment-header span {
    color: var(--medium);
    font-size: 1.4rem;
}

.comment-content p {
    color: var(--medium-dark);
    margin-bottom: 1.5rem;
}

.comment-actions {
    display: flex;
    gap: 2rem;
}

.comment-like,
.comment-reply {
    background: none;
    border: none;
    color: var(--medium);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.comment-like:hover,
.comment-reply:hover {
    color: var(--primary-color);
}

.comment-form-wrapper {
    background-color: var(--light);
    border-radius: var(--radius-large);
    padding: 3rem;
}

.comment-form-wrapper h3 {
    margin-bottom: 2.5rem;
    font-size: 2.4rem;
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* =========== Footer =========== */
.footer {
    background-color: #182848;
    color: var(--white);
    padding-top: 8rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo img {
    width: 180px;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-round);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-links-column h3 {
    color: var(--white);
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.footer-links-column ul li {
    margin-bottom: 1.5rem;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.footer-links-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    padding-left: 3rem;
    position: relative;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li i {
    position: absolute;
    left: 0;
    top: 0.4rem;
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* =========== Cookie Consent =========== */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-large);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    transform: translateY(100%);
    opacity: 0;
    transition: all var(--transition-medium);
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* =========== Back to Top Button =========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-round);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* =========== Media Queries =========== */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 50%;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        width: 100%;
        margin-bottom: 5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        width: 80%;
    }
    
    .about-wrapper {
        flex-direction: column-reverse;
        gap: 4rem;
    }
    
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform var(--transition-medium);
    }
    
    .mobile-menu-open .main-nav {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-list li {
        margin: 1rem 0;
    }
    
    .nav-list a {
        font-size: 2rem;
    }
    
    .header .social-icons {
        display: none;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .comments-wrapper .comment {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment.reply {
        margin-left: 3rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 45%;
    }
    
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form,
    .comment-form {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}