:root {
    --blue-dark: #0a2540;
    --blue-primary: #1e5a8e;
    --blue-light: #2a7cc7;
    --yellow: #ffd700;
    --yellow-dark: #f5b800;
    --orange: #ff6b35;
    --green: #4caf50;
    --red: #e74c3c;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --text-dark: #0a2540;
    --text-gray: #5a6c7d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.top-bar {
    background: #0f172a;
    /* Slate 900 */
    color: white;
    padding: 0.6rem 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    width: 100vw;
    box-sizing: border-box;
    max-width: 100%;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.9;
}

.top-bar-left i {
    color: var(--yellow);
}

.divider {
    color: rgba(255, 255, 255, 0.2);
}

.social-top {
    display: flex;
    gap: 0.8rem;
}

.social-top a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-top a:hover {
    background: var(--yellow);
    color: var(--blue-dark);
    transform: translateY(-2px);
}

nav {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    width: 100vw;
    box-sizing: border-box;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-agro {
    color: var(--blue-dark);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 3px;
}

.logo-alimentos {
    color: var(--yellow-dark);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--blue-primary);
    background: #f8fafc;
}

.nav-menu a.cta-nav {
    margin-left: 1rem;
    background: var(--yellow);
    color: var(--blue-dark) !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav-menu a.cta-nav:hover {
    transform: translateY(-2px);
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    color: var(--blue-dark);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--blue-dark);
    border-radius: 99px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


/* Page Container */
.page-container {
    padding-top: 100px;
    min-height: calc(100vh - 140px);
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem;
        gap: 1.5rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }

    .page-container {
        padding-top: 70px !important;
    }
}

.page {
    /* display: none; */
    animation: fadeIn 0.5s ease-out;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section {
    padding: 6rem 0;
    opacity: 1 !important;
    /* Ensure visibility */
    visibility: visible !important;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    opacity: 1 !important;
    /* Fallback for GSAP */
    visibility: visible !important;
}

.section-header p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
    color: var(--text-gray);
}

.section-tag {
    display: inline-block;
    background: var(--blue-dark);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--blue-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-title span {
    color: var(--yellow);
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.btn-primary {
    background: var(--yellow);
    color: var(--blue-dark);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--blue-dark);
    border: 2px solid var(--blue-dark);
}

.btn-outline:hover {
    background: var(--blue-dark);
    color: white;
}

/* Margin Utilities */
.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* Text Utilities */
.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

/* HOME PAGE */
/* HOME PAGE */
.hero {
    background: linear-gradient(120deg, #0a2540 0%, #1e3a8a 100%);
    min-height: 90vh;
    /* Increased height */
    display: flex;
    /* Changed to flex for better vertical centering */
    align-items: center;
    justify-content: center;
    padding: 8rem 0 6rem;
    /* Adjusted padding */
    position: relative;
    /* overflow: hidden; Removed to allow potential overlap */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(30, 90, 142, 0.4) 0%, transparent 60%);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    font-size: 30rem;
    opacity: 0.03;
    right: -5%;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    /* Removed irrelevant icon */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
}

@keyframes floatEmoji {
    0% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.1);
    }

    100% {
        transform: translateY(-50%) scale(1);
    }
}

.hero-content {
    max-width: 650px;
    color: white;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge-wrapper {
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--yellow);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge i {
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero h1 .highlight {
    color: var(--yellow);
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(255, 215, 0, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero p {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: white;
    color: var(--blue-dark);
    border-color: white;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff !important;
    /* Fixed contrast */
    line-height: 1;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
}

.hero-images {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-main-wrapper {
    position: relative;
    animation: float 6s infinite ease-in-out;
}

.image-main {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border: 8px solid rgba(255, 255, 255, 0.15);
    background: #0a2540;
    /* Placeholder color before load */
}

.image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-main:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 180px;
    border: 1px solid white;
}

.card-fresh {
    top: 50px;
    left: -40px;
    animation: floatIcon 4s infinite ease-in-out;
}

.card-premium {
    bottom: 60px;
    right: -30px;
    animation: floatIcon 5s infinite ease-in-out 1s;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-card .card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue-primary);
}

.card-fresh .card-icon {
    color: var(--green);
    background: #e8f5e9;
}

.card-premium .card-icon {
    color: var(--yellow-dark);
    background: #fffde7;
}

.floating-card h4 {
    color: var(--blue-dark);
    font-weight: 800;
    margin-bottom: 0.1rem;
    font-size: 1.1rem;
}

.floating-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 992px) {
    .hero {
        padding-top: 6rem;
        text-align: center;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
        animation: fadeInUp 0.8s ease-out;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-images {
        height: auto;
        padding: 2rem 0;
    }

    .image-main {
        max-width: 100%;
        height: 400px;
    }

    .floating-card {
        display: none;
        /* Hide floating cards on tablet/mobile for cleaner look */
    }
}



.card-1 {
    top: 8%;
    left: -8%;
    z-index: 10;
}

.card-2 {
    bottom: 8%;
    right: -8%;
    animation-delay: 1s;
    z-index: 10;
}

.floating-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.floating-card h4 {
    color: var(--blue-dark);
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.floating-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--yellow);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--blue-primary);
}

.feature-box h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--blue-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Video Section */
.video-section {
    background: white;
}

.video-container-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.video-content h2 {
    margin-bottom: 2rem;
}

.video-content p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.video-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: var(--blue-dark);
    width: 100%;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

.video-placeholder {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 2rem;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--yellow-dark);
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.author-info h4 {
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    color: white;
    padding: 5rem 3rem;
    text-align: center;
}

.newsletter h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.newsletter h2 i {
    margin-right: 1rem;
}

.newsletter p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1.2rem 3rem;
    background: var(--yellow);
    color: var(--blue-dark);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Products Page */
.products-page {
    padding: 4rem 0 6rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--bg-light);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--yellow);
    color: var(--blue-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.product-badge i {
    margin-right: 0.5rem;
}

.product-content {
    padding: 2rem;
    background: white;
}

.product-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}

.product-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Highlight Product */
.highlight-product {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    position: relative;
    overflow: hidden;
}

.highlight-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.highlight-content {
    color: white;
}

.highlight-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.highlight-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 3rem;
}

.quality-items {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.quality-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.quality-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.quality-text h4 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.quality-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.highlight-image {
    position: relative;
}

.tomato-display {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 1/1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.tomato-display:hover {
    transform: rotate(0deg);
}

.tomato-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: var(--blue-dark);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* About Page */
.about-page {
    padding: 4rem 0 6rem;
}

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-image {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 320px;
}

.about-image:first-child {
    margin-top: 3rem;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.value-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--blue-primary);
}

.value-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}

/* Careers Page */
.careers-page {
    padding: 4rem 0 6rem;
    background: var(--bg-light);
}

.careers-intro {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.careers-intro h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 1.5rem;
}

.careers-intro h2 span {
    color: var(--yellow-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.benefit-item .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--blue-primary);
}

.benefit-item h4 {
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
}

.application-form {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 4px rgba(30, 90, 142, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Contact Page */
.contact-page {
    padding: 4rem 0 6rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    padding: 4rem 3rem;
    border-radius: 25px;
    color: white;
}

.contact-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item .icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item p {
    opacity: 0.9;
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, var(--green), #45a049);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: none;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-message.show {
    display: block;
}

.success-message strong {
    display: block;
    margin-bottom: 0.5rem;
}

.success-message i {
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background: #050f1a;
    color: white;
    padding: 5rem 3rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 1.5rem 0 2rem;
}

.social-footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-footer a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    color: white;
}

.social-footer a:hover {
    background: var(--yellow);
    color: var(--blue-dark);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--yellow);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    width: 20px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-section a:hover {
    color: var(--yellow);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom i {
    color: var(--red);
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    padding: 1rem 3rem;
    font-size: 0.9rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: var(--blue-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--yellow-dark);
    text-decoration: underline;
}

.breadcrumbs .current {
    color: var(--text-gray);
    font-weight: 600;
}

.breadcrumbs .separator {
    color: var(--text-gray);
}

/* Skip to content link - accessibility */
.skip-to-content:focus {
    left: 0;
    top: 0;
}

/* Lazy loading images placeholder */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive Design */
/* Traceability Page */
.traceability-page {
    padding: 4rem 0 6rem;
    background: var(--bg-light);
}

.trace-search-section {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    text-align: center;
}

.trace-search-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}

.trace-search-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.trace-search-form input {
    flex: 1;
    min-width: 250px;
    padding: 1.2rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.trace-search-form input:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 4px rgba(30, 90, 142, 0.1);
}

.trace-search-form button {
    padding: 1.2rem 3rem;
    background: var(--blue-primary);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trace-search-form button:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.trace-result {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.trace-result.show {
    display: block;
}

.trace-header {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    color: white;
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.trace-product-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.trace-product-info .product-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.product-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.qr-code-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.qr-code-container canvas {
    max-width: 200px;
    height: auto;
}

.qr-code-container p {
    color: var(--text-gray);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.trace-timeline {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.trace-timeline h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--blue-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--yellow);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--blue-light);
}

.timeline-item.completed::before {
    background: var(--green);
}

.timeline-date {
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-title {
    font-weight: 700;
    color: var(--blue-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--text-gray);
    line-height: 1.7;
}

.trace-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.trace-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.trace-info-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.trace-info-card h4 i {
    font-size: 1.8rem;
    color: var(--blue-primary);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--bg-light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-gray);
}

.info-value {
    font-weight: 600;
    color: var(--blue-dark);
    text-align: right;
}

.certifications {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cert-badge {
    background: var(--bg-light);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--green);
    border: 2px solid var(--green);
}

.cert-badge i {
    font-size: 1.2rem;
}

.map-placeholder {
    background: var(--bg-light);
    height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    margin-top: 1rem;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.sample-products {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sample-products h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.sample-item {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sample-item:hover {
    border-color: var(--blue-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sample-item i {
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 1rem;
}

.sample-item h4 {
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
}

.sample-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

@media (max-width: 1024px) {
    .trace-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .qr-code-container {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .trace-search-form {
        flex-direction: column;
    }

    .trace-search-form input {
        min-width: 100%;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-item {
        padding-left: 1rem;
    }

    .timeline-item::before {
        left: -2.5rem;
    }

    .product-details {
        flex-direction: column;
    }

    .trace-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 1024px) {

    .hero,
    .video-container-wrapper,
    .highlight-container,
    .about-hero,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        text-align: center;
        padding: 3rem 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-images {
        order: -1;
        height: 400px;
        margin: 0 auto;
    }

    .image-main {
        max-width: 400px;
        height: 400px;
    }

    .floating-card {
        display: block;
        max-width: 160px;
        padding: 1rem 1.2rem;
    }

    .floating-card .card-icon {
        font-size: 2rem;
    }

    .floating-card h4 {
        font-size: 0.9rem;
    }

    .floating-card p {
        font-size: 0.8rem;
    }

    .card-1 {
        left: 8%;
        top: 5%;
    }

    .card-2 {
        right: 8%;
        bottom: 5%;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-images {
        order: -1;
    }

    .highlight-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 0.7rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 140px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 140px);
        background: white;
        flex-direction: column;
        justify-content: start;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-images {
        height: 350px;
        max-width: 350px;
    }

    .floating-card {
        display: none !important;
    }

    .image-main {
        max-width: 300px;
        height: 300px;
    }

    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .products-grid,
    .features-grid,
    .testimonials-grid,
    .gallery-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions,
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .about-image:first-child {
        margin-top: 0;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

    .logo-agro {
        font-size: 1.5rem;
    }

    .logo-alimentos {
        font-size: 1.1rem;
    }

    .logo-icon {
        font-size: 2.5rem;
    }

    .quality-items {
        gap: 1rem;
    }

    .quality-item {
        padding: 1rem;
    }

    .quality-icon {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-images {
        height: 280px;
        max-width: 280px;
    }

    .image-main {
        max-width: 280px;
        height: 280px;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .top-bar {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .product-content h3 {
        font-size: 1.3rem;
    }

    .feature-box {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .contact-info,
    .contact-form-wrapper,
    .application-form,
    .careers-intro {
        padding: 2rem 1.5rem;
    }
}

/* WhatsApp Floating Button Styling */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto !important;
    cursor: pointer !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-float i {
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 12px;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }
}

/* Timeline Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse-icon {
    animation: pulse 2s infinite ease-in-out;
    color: var(--green);
}

.responsible {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: var(--bg-light);
    border-radius: 5px;
    font-size: 0.85rem;
    color: var(--blue-dark);
}

.responsible i {
    color: var(--blue-primary);
    margin-right: 3px;
}

/* Print Styles */
@media print {

    header,
    .top-bar,
    footer,
    .trace-search-section,
    .sample-products,
    .newsletter,
    .cta-nav,
    .mobile-toggle,
    .filter-container,
    .btn-primary {
        display: none !important;
    }

    body {
        background: white;
        padding-top: 0 !important;
    }

    .page-container {
        margin-top: 0 !important;
    }

    .trace-result {
        display: block !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .trace-header {
        background: white !important;
        color: black !important;
        border: 2px solid #eee;
        padding: 1rem !important;
        grid-template-columns: 1fr auto !important;
    }

    .trace-product-info h2 {
        color: black !important;
        font-size: 1.8rem !important;
    }

    .product-details span {
        background: #f8f8f8 !important;
        color: black !important;
        border: 1px solid #ddd;
    }

    .qr-code-container {
        box-shadow: none !important;
        border: 1px solid #eee;
        padding: 0.5rem !important;
    }

    .qr-code-container p,
    .qr-code-container button {
        display: none !important;
    }

    .trace-timeline,
    .trace-info-card {
        box-shadow: none !important;
        border: 1px solid #eee;
        margin-bottom: 1rem !important;
        padding: 1.5rem !important;
        page-break-inside: avoid;
    }

    .trace-info-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
}

/* Features Section */
/* Features Section */
/* Features Section */
.features-section {
    padding: 6rem 0 4rem;
    /* Added top padding for header */
    position: relative;
    width: 100%;
    z-index: 20;
    background: #fff;
    /* Restored white background for this section */
}

/* Section Header Styles inside Features */
.features-section .section-header {
    margin-bottom: 4rem;
    position: relative;
    z-index: 32;
}

.features-section .section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    color: var(--blue-dark);
    font-weight: 600;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-section h2 {
    font-size: 2.5rem;
    color: var(--blue-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.features-section h2 span {
    color: var(--blue-primary);
    position: relative;
}

.features-section p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 0;
    /* Reset margin since we have padding now */
    position: relative;
    z-index: 30;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.feature-box {
    flex: 1 1 200px;
    /* Reduced basis to allow more items per row */
    max-width: 280px;
    /* Restrict width */
    margin: 10px;
    /* Add margin around cards */
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Ensure shadow is visible */
    /* transition: all 0.3s ease; Removed per user request */
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
    /* Ensure z-index works */
    z-index: 31;
}



/* Video Container Wrapper */
.video-container-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.video-content {
    flex: 1;
    min-width: 300px;
}

.instagram-reel-wrapper {
    flex: 0 0 400px;
    /* Fixed width for reel container */
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .video-container-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .instagram-reel-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }
}

.feature-box {
    flex: 1 1 220px;
    max-width: 280px;
    margin: 15px;
    background: white;
    padding: 3rem 2rem;
    /* Increased padding */
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    /* Very subtle initial shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle full border */
    text-align: center;
    position: relative;
    z-index: 31;
    overflow: visible;
    /* Changed to visible for hover effects */
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Softer hover shadow */
    border-color: rgba(255, 215, 0, 0.4);
    /* Subtle yellow border on hover */
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--blue-dark);
    margin-bottom: 1.8rem;
    background: #f8fafc;
    /* Very light slate bg */
    padding: 1.5rem;
    border-radius: 24px;
    /* Squircle */
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.feature-box:hover .feature-icon {
    background: var(--yellow);
    color: var(--blue-dark);
    transform: rotate(10deg);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.feature-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.feature-box p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Video Section */
.video-section {
    padding: 6rem 0;
    background: #fff;
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 30px;
    /* overflow: hidden; Removed to allow iframe scaling */
    /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); Moved to iframe inline */
    /* background: #000; */
    display: flex;
    justify-content: center;
}

.video-placeholder {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    background-image: url('https://images.unsplash.com/photo-1595113316349-9fa4eb24f884?w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.video-placeholder:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.video-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    padding: 2rem;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.play-button i {
    font-size: 2rem;
    color: white;
    margin-left: 5px;
    /* Visual correction for play icon */
}

.video-placeholder:hover .play-button {
    background: var(--yellow);
    transform: scale(1.1);
    border-color: var(--yellow);
}

.video-placeholder:hover .play-button i {
    color: var(--blue-dark);
}

.video-content-overlay h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.video-content-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .video-content-overlay h3 {
        font-size: 1.5rem;
    }

    .video-content-overlay p {
        font-size: 1rem;
        display: none;
        /* Hide description on very small screens */
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 1.5rem;
    }
}

/* Premium Footer */
.site-footer {
    background: #0f172a;
    /* Slate 900 */
    color: #94a3b8;
    /* Slate 400 */
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--yellow);
    border-radius: 2px;
}

.footer-desc {
    margin: 1.5rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer specific logo adjustment */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo:hover {
    transform: none;
    /* Disable hover scale in footer */
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--yellow);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover i {
    opacity: 1;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.contact-list i {
    color: var(--yellow);
    font-size: 1.1rem;
    margin-top: 3px;
    background: rgba(255, 255, 255, 0.05);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: white;
}

.contact-list small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom strong {
    color: white;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.separator {
    color: #64748b;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Highlight Product Section */
.highlight-product {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    /* Ripe tomato red */
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
}

.highlight-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    /* Polka dot pattern */
    opacity: 0.3;
    pointer-events: none;
}

.highlight-product::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.highlight-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.highlight-content {
    flex: 1;
}

.highlight-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    color: white;
}

.highlight-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.quality-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quality-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.quality-icon {
    font-size: 2rem;
    color: var(--yellow);
    margin-bottom: 1rem;
    display: block;
}

.quality-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.quality-text p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .highlight-container {
        flex-direction: column;
        text-align: center;
    }

    .quality-items {
        justify-content: center;
    }
}

.highlight-action {
    display: inline-block;
}

.btn-premium-yellow {
    background: var(--yellow);
    /* Changed to yellow */
    color: var(--blue-dark);
    /* Changed text to blue-dark for contrast */
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn-premium-yellow:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: var(--blue-dark);
    background: white;
    /* Hover becomes white */
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Soft, premium shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '\201C';
    /* Big quote mark */
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 6rem;
    color: rgba(255, 215, 0, 0.1);
    /* Very subtle yellow */
    font-family: serif;
    line-height: 1;
    z-index: -1;
}

.testimonial-stars {
    color: var(--yellow);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: #475569;
    /* Slate 600 */
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1f5f9;
    /* Slate 100 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0;
}

.author-info p {
    font-size: 0.85rem;
    color: #94a3b8;
    /* Slate 400 */
    margin: 0;
}

/* Nutritional Benefits Section */
.benefits-section {
    background: #f8fafc;
    /* Very light slate */
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--yellow);
    /* Brand Yellow */
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: #fffcf0;
    /* Yellow 50-ish */
    color: var(--yellow-dark);
    /* Brand Yellow Dark */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: var(--yellow);
    color: var(--blue-dark);
    transform: rotate(5deg) scale(1.1);
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Recipe Gallery Section */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.recipe-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.recipe-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-card:hover img {
    transform: scale(1.05);
}

.recipe-content {
    padding: 2rem;
}

.recipe-content h3 {
    font-size: 1.4rem;
    color: var(--blue-dark);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.recipe-content p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-premium-yellow-sm {
    background: var(--yellow);
    color: var(--blue-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-premium-yellow-sm:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background: var(--blue-dark);
    color: white;
}

/* FAQ Section */
.faq-section {
    background: #fff;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blue-dark);
    margin: 0;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #64748b;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

/* FAQ Active State */
.faq-item.active {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--yellow);
}

.faq-item.active .faq-question {
    background: white;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--yellow-dark);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Contact Page Redesign */
.contact-hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, #1e3a8a 100%);
    padding: 6rem 0 8rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.contact-hero h1 span {
    color: var(--yellow);
}

.contact-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-cards-section {
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--blue-primary);
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon-wrapper {
    background: var(--blue-primary);
    color: white;
    transform: rotateY(180deg);
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 0.8rem;
    color: var(--blue-dark);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-gray);
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--blue-dark);
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-wrapper.textarea-wrapper i {
    top: 1.5rem;
    transform: none;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 1rem 1.2rem 1rem 3rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: #f8fafc;
}

.modern-form textarea {
    resize: vertical;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 90, 142, 0.1);
}

.modern-form input:focus+i,
.modern-form select:focus+i,
.modern-form textarea:focus+i {
    color: var(--blue-primary);
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-faq h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 1.5rem;
}

.faq-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--blue-dark);
}

.faq-question i {
    color: var(--blue-primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-gray);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.2rem;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-card-highlight {
    background: #eff6ff;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    border: 1px solid #dbeafe;
}

.faq-card-highlight i {
    font-size: 2rem;
    color: var(--blue-primary);
}

.faq-card-highlight h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 0.2rem;
}

.faq-card-highlight p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-cards-section {
        margin-top: 0;
        background: var(--bg-light);
        padding-top: 4rem;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }
}