/* PT. Dinamika Laboratori Indonesia (DLI) - Corporate Website Styles */

:root {
    --primary-blue: #2c5aa0;
    --secondary-blue: #4a90d9;
    --accent-grey: #6c757d;
    --light-grey: #f8f9fa;
    --dark-grey: #343a40;
    --white: #ffffff;
    --text-dark: #212529;
    --border-light: #dee2e6;
    --success-green: #28a745;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

h2 {
    font-size: 2rem;
    color: var(--primary-blue);
}

h3 {
    font-size: 1.5rem;
    color: var(--dark-grey);
}

p {
    margin-bottom: 1rem;
    color: var(--accent-grey);
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-image {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
}

.dropdown .nav-link .fa-chevron-down {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-medium);
    border-radius: 8px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--light-grey);
    color: var(--primary-blue);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Dropdown Toggle (non-clickable dropdown headers) */
.dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-toggle:hover {
    color: var(--primary-blue);
}

.dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.dropdown-toggle:hover::after {
    width: 100%;
}

/* Extend the hover area slightly */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero-page {
    padding: 3rem 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .subheadline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--light-grey);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    color: var(--accent-grey);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Shared map block for segmentation page */
.segmentation-map {
    text-align: center;
    margin-bottom: 3rem;
}

.segmentation-map img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.segmentation-caption {
    margin-top: 1rem;
    font-weight: 1000;
    color: var(--accent-grey);
    font-size: 1.5rem;
}

.profile-resources {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.resource-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    min-width: 3rem;
    text-align: center;
}

.resource-content h3 {
    margin-bottom: 0.5rem;
}

.resource-content p {
    margin: 0;
    color: var(--accent-grey);
}

@media (max-width: 576px) {
    .resource-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .resource-number {
        min-width: 0;
    }
}

.product-image {
    width: 100%;
    /* allow the image to define height so it can be responsive */
    overflow: hidden;
    display: block;
}
.product-image {
    overflow: hidden; /* ensure excess is clipped when image fills area */
}
.product-image .product-img {
    display: block;
    width: 100%;
    height: 100%; /* fill the container so object-fit works */
    object-fit: contain; /* show entire image without cropping */
    object-position: center top; /* prefer top-center framing for logos */
}

.product-image .product-img {
    max-width: none; /* allow scaling to container without width constraints */
}

/* On small screens, use contain to avoid cropping important content */
@media (max-width: 520px) {
    .product-image .product-img {
        object-fit: contain;
    }
}
.about-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* About page two-column layout */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    object-fit: contain;
}

.hub-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
}

.hub-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.hub-card p {
    margin-bottom: 1.5rem;
    color: var(--accent-grey);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.value-card:hover .value-icon::before {
    left: 100%;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.value-card h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.value-card p {
    color: var(--accent-grey);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ensure grid items align to the top so cards line up */
.products-grid {
    align-items: start;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
    position: relative; /* allow absolute positioning of .product-content */
}

/* make the product card a column so content stacks linearly: text first, then image */
.product-card {
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.product-image {
    height: 500px; /* more vertical space so tall artwork shows */
    background: var(--shadow-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-grey);
}

@media (max-width: 1200px) {
    .product-image {
        height: 500px;
    }
}

@media (max-width: 900px) {
    .product-image {
        height: 440px; /* reduce height on smaller screens but keep it taller */
    }
}

.product-content {
    position: static; /* keep content in document flow above the image */
    background: transparent;
    padding: 1.25rem 1.5rem;
    border-radius: 0;
    margin: 0; /* reset any overlay spacing */
}

/* ensure there's space between text block and the image */
.product-card .product-content + .product-image {
    margin-top: 0.75rem;
}

@media (max-width: 900px) {
    .product-content {
        padding: 1.5rem 1rem 1rem; /* comfortable spacing on small screens */
    }
}

.product-title {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.news-image {
    height: 200px;
    background: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-grey);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--accent-grey);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 5px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--light-grey);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    margin: 0;
    color: var(--text-dark);
}

.faq-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 200px;
}

/* Partners Section */
.partners-carousel-container {
    overflow: hidden;
    width: 100%;
    background: transparent;
}

.partners-carousel {
    width: 100%;
    position: relative;
}


.partners-track {
    display: flex;
    animation: scroll-partners 60s linear infinite;
    gap: 4rem;
    align-items: center;
    /* Width calculation: (320px + 4rem gap) * 80 partners (40 x 2 for seamless loop) */
    width: calc((320px + 4rem) * 80);
}


@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move by half the width to create seamless loop */
        transform: translateX(calc(-1 * (320px + 4rem) * 40));
    }
}

.partners-track:hover {
    animation-play-state: paused;
}


.partner-logo {
    flex-shrink: 0;
    width: 320px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
    z-index: 2;
}


.partner-logo img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Responsive adjustments */

@media (max-width: 768px) {
    .partners-track {
        gap: 2rem;
        width: calc((220px + 2rem) * 80);
        animation-duration: 80s;
    }
    
    @keyframes scroll-partners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-1 * (220px + 2rem) * 40));
        }
    }
    
    .partner-logo {
        width: 220px;
        height: 110px;
        padding: 1.25rem;
    }
    
    .partner-logo img {
        max-height: 80px;
    }
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.process-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.process-step:hover .process-number::before {
    left: 100%;
}

.process-step:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
}

.process-step h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.process-step p {
    color: var(--accent-grey);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Add connecting lines between process steps on larger screens */
@media (min-width: 1024px) {
    .process-steps {
        position: relative;
    }
    
    .process-steps::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
        z-index: 0;
    }
    
    .process-step {
        position: relative;
        z-index: 1;
    }
}

/* Responsive adjustments for process section */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .process-number {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.contact-info {
    background: var(--light-grey);
    padding: 2rem;
    border-radius: 10px;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark-grey);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1 1 19%;
    min-width: 140px;
    max-width: 19%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .footer-section {
        min-width: 160px;
        max-width: 30%;
    }
    .footer-content {
        flex-wrap: wrap;
    }
}

@media (max-width: 800px) {
    .footer-content {
        flex-wrap: wrap;
    }
    .footer-section {
        min-width: 100%;
        max-width: 100%;
    }
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #adb5bd;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-logo {
    height: 24px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.2rem;
    color: #adb5bd;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-blue);
}

/* Success and Error Messages */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    text-align: center;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Icon Styles */
.icon-large {
    font-size: 3rem;
    color: var(--primary-blue);
}

.icon-check {
    color: var(--success-green);
    margin-right: 0.5rem;
}

/* Utility Classes */
.text-muted {
    color: var(--accent-grey);
    font-size: 0.9rem;
}

.feature-list {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--accent-grey);
}

.section-spacing {
    margin: 2rem 0;
}

.margin-top-2 {
    margin-top: 2rem;
}

.text-center {
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 1rem;
    text-align: center;
    color: #adb5bd;
}

/* Background Sections */
.bg-light {
    background-color: var(--light-grey);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .logo-image {
        height: 35px;
        max-width: 120px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: var(--shadow-light);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subheadline {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .navbar {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Statistics Section */
#stats {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

#stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Add a subtle animation for numbers */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number.animate {
    animation: countUp 0.8s ease forwards;
}

/* Responsive adjustments for stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    #stats {
        padding: 3rem 0;
    }
}

/* Enhanced CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ctaGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23ctaGrid)"/></svg>');
    opacity: 0.4;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    border: none;
}

.cta-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.1), transparent);
    transition: left 0.5s ease;
}

.cta-section .btn-primary:hover::before {
    left: 100%;
}

.cta-section .btn-primary:hover {
    background: var(--light-grey);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--primary-blue);
}

/* Add floating elements for visual interest */
.cta-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Responsive adjustments for CTA section */
@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
}
