:root {
    --primary-blue: #0b7dda;
    --accent-green: #28a745;
    --warm-green: #22c55e;
    --light-gray: #f8f9fa;
    --gentle-gray: #e5e7eb;
    --medium-gray: #9ca3af;
    --dark-gray: #374151;
    --white: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
    padding-top: 80px; /* Adjusted for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#main-header {
    background-color: var(--white);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: top 0.3s;
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-gray);
}

.logo {
    height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 10px;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

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

.search-icon {
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.search-icon:hover {
    color: var(--primary-blue);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Page Header for subpages */
.page-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 25%, #60a5fa 50%, #93c5fd 75%, #ffffff 100%);
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
    background: rgba(255, 255, 255, 0.08);
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: 10s;
    background: rgba(59, 130, 246, 0.1);
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 25%;
    animation-delay: 15s;
    background: rgba(255, 255, 255, 0.06);
}

.shape-5 {
    width: 80px;
    height: 80px;
    bottom: 40%;
    left: 70%;
    animation-delay: 7s;
    background: rgba(96, 165, 250, 0.08);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.5;
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px;
    height: 60vh;
    min-height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.slide.fade {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.slide-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.slide-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 1.3rem;
    color: #e5e7eb;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.4;
}

.slide-cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.slide-cta-primary,
.slide-cta-secondary {
    display: inline-block;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.slide-cta-primary {
    background: #1e40af;
    color: white;
    border: 2px solid #1e40af;
}

.slide-cta-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.slide-cta-secondary {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.slide-cta-secondary:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.trust-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slide-image {
    flex: 1;
    max-width: 500px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-nav {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    pointer-events: none;
}

.hero-nav-btn {
    pointer-events: auto;
}

.hero-nav-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-nav-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.arrow-left::before,
.arrow-right::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
}

.arrow-left::before {
    border-width: 8px 12px 8px 0;
    border-color: transparent #000000 transparent transparent;
}

.arrow-right::before {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #000000;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #1e40af;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Hero Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 87, 184, 0.1), rgba(40, 167, 69, 0.1));
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.5;
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 87, 184, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(40, 167, 69, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 87, 184, 0.05) 0%, transparent 50%);
    animation: particleMove 15s ease-in-out infinite;
}

@keyframes particleMove {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 87, 184, 0.4) 0%,
        rgba(40, 167, 69, 0.3) 50%,
        rgba(0, 87, 184, 0.4) 100%);
    z-index: 2;
    animation: overlayPulse 8s ease-in-out infinite;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 3;
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 0.4;
        background: linear-gradient(135deg,
            rgba(0, 87, 184, 0.4) 0%,
            rgba(40, 167, 69, 0.3) 50%,
            rgba(0, 87, 184, 0.4) 100%);
    }
    50% {
        opacity: 0.6;
        background: linear-gradient(135deg,
            rgba(0, 87, 184, 0.5) 0%,
            rgba(40, 167, 69, 0.4) 50%,
            rgba(0, 87, 184, 0.5) 100%);
    }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    animation: overlayFadeIn 1s ease-in-out;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Dynamic slide backgrounds */
.slide-0 .hero-bg-overlay {
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.6) 0%, rgba(40, 167, 69, 0.4) 100%);
}

.slide-0 .hero-bg-particles {
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 87, 184, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(40, 167, 69, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
}

.slide-1 .hero-bg-overlay {
    background: linear-gradient(45deg, rgba(40, 167, 69, 0.6) 0%, rgba(0, 87, 184, 0.4) 100%);
}

.slide-1 .hero-bg-particles {
    background-image:
        radial-gradient(circle at 30% 80%, rgba(40, 167, 69, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 20%, rgba(0, 87, 184, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 10% 60%, rgba(255, 193, 7, 0.1) 0%, transparent 30%);
}

.slide-2 .hero-bg-overlay {
    background: linear-gradient(90deg, rgba(0, 87, 184, 0.5) 0%, rgba(40, 167, 69, 0.5) 50%, rgba(255, 193, 7, 0.3) 100%);
}

.slide-2 .hero-bg-particles {
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 20%, rgba(0, 87, 184, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(40, 167, 69, 0.15) 0%, transparent 50%);
}

/* Hero Branding */
.hero-branding {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 8px 35px rgba(0, 87, 184, 0.5); }
}

.brand-tagline {
    display: flex;
    flex-direction: column;
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-tagline span {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

.brand-tagline span:first-child {
    color: var(--accent-green);
}

.hero-content-wrapper {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 20px;
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.scroll-mouse {
    width: 28px;
    height: 42px;
    border: 3px solid var(--white);
    border-radius: 14px;
    position: relative;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.scroll-wheel {
    width: 6px;
    height: 10px;
    background: var(--white);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(12px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(24px);
    }
}

.scroll-arrows {
    text-align: center;
    color: var(--white);
    font-size: 1.2rem;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(5px);
    }
    60% {
        transform: translateY(3px);
    }
}

.hero-stats {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-item {
    text-align: center;
    color: var(--white);
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    opacity: 0.9;
    color: var(--accent-green);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--white), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}


/* Slideshow */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.fade {
    opacity: 1;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.hero-copy h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-copy p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 10px;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-gray);
}

.hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

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

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

.btn-light {
    background-color: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--white);
}

.btn-light:hover {
    background-color: transparent;
    color: var(--white);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Featured Products */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.featured-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.featured-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-card h3 {
    padding: 20px 20px 10px;
    margin: 0;
    font-size: 1.3rem;
}

.featured-card p {
    padding: 0 20px 20px;
    margin: 0;
    color: #666;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--primary-blue);
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-green);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

/* CTA Section */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Product Section */
#products {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.product-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

#product-search, #product-filter {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-info .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    background-color: var(--accent-green);
    color: var(--white);
    border-color: var(--accent-green);
}

.product-info .btn:hover {
    background-color: transparent;
    color: var(--accent-green);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
}

/* Footer */
#contact-footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column p, .footer-column a {
    color: var(--light-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: var(--accent-green);
}

.footer-column ul {
    list-style: none;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #4f5459;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 { animation-delay: 0.2s; }
.hero-content h2 { animation-delay: 0.4s; }
.hero-content .cta-buttons { animation-delay: 0.6s; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin: 10px;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}

.modal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.modal-content h2 {
    padding: 20px;
    margin: 0;
}

.modal-content p {
    padding: 0 20px 20px;
}


/* About Page Styles */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.mission-card, .vision-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
}

.vision-card::before {
    background: linear-gradient(90deg, var(--accent-green), var(--primary-blue));
}

.card-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.mission-card .card-icon {
    color: var(--primary-blue);
}

.vision-card .card-icon {
    color: var(--accent-green);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--accent-green));
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-blue);
}

.timeline-content {
    margin-left: 80px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

/* Leadership */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.leader-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.leader-image {
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.leader-card h3 {
    padding: 20px 20px 10px;
    margin: 0;
    font-size: 1.3rem;
}

.leader-position {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.leader-card p {
    padding: 0 20px 20px;
    margin: 0;
    color: #666;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

/* Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.achievement-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.achievement-card h3 {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

/* Culture */
.culture-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.culture-image {
    text-align: center;
    font-size: 8rem;
    color: var(--primary-blue);
}

/* Research Page Styles */
.research-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.research-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.research-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.research-hero-image {
    text-align: center;
    font-size: 8rem;
    color: var(--primary-blue);
}

/* Facilities */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.facility-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.facility-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.facility-card h3 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

/* Research Areas */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.area-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.area-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.area-card h3 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.area-card ul {
    list-style: none;
    padding: 0;
}

.area-card li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.area-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* Pipeline */
.pipeline-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pipeline-stage {
    background-color: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.stage-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.pipeline-stage h3 {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.stage-projects {
    background-color: var(--light-gray);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

/* Partnerships */
.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partnership-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.partnership-logo {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.partnership-card h3 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.partnership-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.partnership-card li {
    padding: 5px 0;
    color: #666;
}

/* Research Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.member-image {
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.team-member h3 {
    padding: 20px 20px 10px;
    margin: 0;
    font-size: 1.2rem;
}

.member-role {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-member p {
    padding: 0 20px;
    margin: 0 0 15px;
    color: #666;
    font-size: 0.9rem;
}

.member-specialty {
    background-color: var(--light-gray);
    padding: 8px 15px;
    margin: 0 20px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-block;
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.impact-stat {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.impact-label {
    color: #666;
    font-size: 0.9rem;
}

/* Publications */
.publications-preview {
    margin-top: 40px;
}

.publications-preview h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.publication-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.publication-item h4 {
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.publication-item p {
    color: #666;
    margin-bottom: 10px;
}

.publication-item cite {
    color: var(--primary-blue);
    font-style: normal;
    font-weight: 600;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-hero::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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white), rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-hero-stats {
    display: flex;
    gap: 30px;
}

.hero-stat {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-hero-visual {
    position: relative;
    text-align: center;
}

.contact-icon-circle {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.floating-elements {
    position: relative;
    height: 100px;
}

.float-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: floatAround 6s ease-in-out infinite;
}

.elem-1 {
    top: 0;
    left: 20%;
    animation-delay: 0s;
}

.elem-2 {
    top: 30px;
    right: 10%;
    animation-delay: 2s;
}

.elem-3 {
    bottom: 0;
    left: 60%;
    animation-delay: 4s;
}

@keyframes floatAround {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(90deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
}

/* Contact Methods */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-method-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0, 87, 184, 0.3);
}

.contact-method-card h3 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.contact-method-card p {
    color: #666;
    margin-bottom: 20px;
}

.method-detail {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #555;
}

.method-link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.method-link:hover {
    transform: scale(1.05);
}

/* Contact Main Section */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Enhanced Contact Form */
.contact-form-section {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

.contact-form {
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.1);
    background: var(--white);
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
}

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

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 87, 184, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 87, 184, 0.4);
}

.btn-large i {
    margin-right: 10px;
}

.form-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #27ae60;
    background-color: #f2fdf8;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: '⚠';
    font-size: 0.9rem;
}

.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

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

/* Contact Info Cards */
.contact-info-section {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.info-header {
    text-align: center;
    margin-bottom: 30px;
}

.info-header h2 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.info-header p {
    color: #666;
}

.contact-info-cards {
    display: grid;
    gap: 25px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.info-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-link,
.phone-link,
.email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-link:hover,
.phone-link:hover,
.email-link:hover {
    color: var(--accent-green);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-note,
.email-note {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hours-item .day {
    font-weight: 600;
    color: var(--dark-gray);
}

.hours-item .time {
    color: #555;
}

/* Map Section */
.map-section {
    margin-top: 40px;
}

.map-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Products Page Styles */
.products-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--gentle-gray) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.products-hero::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="prodGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.8" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23prodGrain)"/></svg>');
    opacity: 0.1;
}

.products-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.products-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white), rgba(255,255,255,0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.products-hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.products-hero .hero-stat {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
}

.products-hero .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}

.products-hero .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--white);
}

.products-hero-visual {
    position: relative;
}

.hero-product-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.showcase-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    animation: floatItem 4s ease-in-out infinite;
}

.showcase-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.showcase-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.showcase-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.item-1 { animation-delay: 0s; }
.item-2 { animation-delay: 1s; }
.item-3 { animation-delay: 2s; }
.item-4 { animation-delay: 3s; }

@keyframes floatItem {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Product Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(11, 125, 218, 0.3);
}

.category-card h3 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.category-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.category-count {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* Featured Products */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.featured-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--warm-green);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-product-card:hover .product-overlay {
    opacity: 1;
}

.featured-product-card:hover .product-image img {
    transform: scale(1.1);
}

.quick-view-btn {
    background: var(--white);
    color: var(--dark-gray);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-view-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.product-info p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-highlights {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.highlight-tag {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Enhanced Product Controls */
.product-controls {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.search-wrapper,
.filter-wrapper,
.sort-wrapper {
    position: relative;
}

.search-icon,
.filter-icon,
.sort-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
    z-index: 1;
}

#product-search,
#product-filter,
#product-sort {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-family);
    background: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#product-search:focus,
#product-filter:focus,
#product-sort:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(11, 125, 218, 0.1);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

.product-results-info {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* Product Section */
#products {
    padding: 80px 0;
    background: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.product-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #666;
    line-height: 1.4;
}

.product-category {
    display: inline-block;
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

#load-more-btn {
    padding: 15px 30px;
    font-size: 1rem;
}

/* Product Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(11, 125, 218, 0.3);
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.benefit-card p {
    color: #666;
    line-height: 1.5;
}

/* Product CTA */
.product-cta {
    text-align: center;
    padding: 60px 0;
}

.product-cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.product-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.product-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

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

.btn-light {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.btn-light:hover {
    background: transparent;
    color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .hamburger {
        display: flex;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    /* Hero responsive */
    .hero {
        height: calc(100vh - 60px);
        padding: 20px 0;
    }

    .hero-container {
        padding: 0 15px;
    }

    .slideshow-container {
        margin-bottom: 30px;
        height: 50vh;
        min-height: 300px;
    }

    .slide {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .slide-content {
        max-width: 100%;
    }

    .slide-heading {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .slide-subtitle {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }

    .slide-cta-group {
        justify-content: center;
    }

    .slide-cta-primary,
    .slide-cta-secondary {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .slide-image {
        margin-top: 20px;
    }

    .hero-nav {
        padding: 0 10px;
    }

    .hero-nav-btn {
        width: 45px;
        height: 45px;
    }

    .hero-dots {
        bottom: 20px;
    }

    .shape {
        display: none; /* Hide floating shapes on tablets for cleaner look */
    }

    /* About page responsive */
    .mission-vision-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-content { margin-left: 60px; }
    .leadership-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .achievements-grid { grid-template-columns: 1fr; }
    .culture-content { grid-template-columns: 1fr; text-align: center; }

    /* Research page responsive */
    .research-hero { grid-template-columns: 1fr; text-align: center; }
    .research-stats { grid-template-columns: 1fr; }
    .facilities-grid { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: 1fr; }
    .pipeline-stages { grid-template-columns: 1fr; }
    .partnerships-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .impact-stats { grid-template-columns: 1fr; }

    /* Products page responsive */
    .products-hero-content { grid-template-columns: 1fr; text-align: center; }
    .products-hero-stats { justify-content: center; }
    .hero-product-showcase { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
    .products-hero-text h1 { font-size: 2.5rem; }
    .categories-grid { grid-template-columns: 1fr; }
    .featured-products-grid { grid-template-columns: 1fr; }
    .product-controls { grid-template-columns: 1fr; gap: 15px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .product-cta .cta-buttons { flex-direction: column; align-items: center; }

    /* Contact page responsive */
    .contact-hero-content { grid-template-columns: 1fr; text-align: center; }
    .contact-hero-stats { justify-content: center; }
    .contact-methods-grid { grid-template-columns: 1fr; }
    .contact-main-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-section,
    .contact-info-section { padding: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .info-card { flex-direction: column; text-align: center; }
    .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh; /* Reduced to one-third of previous */
        height: auto;
        padding: 60px 0; /* Reduced padding */
    }

    .hero-container {
        padding: 0 20px;
        min-height: 70vh; /* Reduced height */
    }

    .slideshow-container {
        margin-bottom: 60px; /* More space for content */
        height: 50vh;
        min-height: 350px;
    }

    .slide {
        padding: 20px;
    }

    .slide-heading {
        font-size: 2.8rem; /* Slightly larger for mobile */
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .slide-subtitle {
        font-size: 1.2rem;
        margin-bottom: 30px;
        line-height: 1.4;
    }

    .slide-cta-primary,
    .slide-cta-secondary {
        padding: 18px 36px;
        font-size: 1.1rem;
        margin-bottom: 40px; /* Space above dots */
    }

    .slide-image {
        margin-top: 20px;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-nav {
        padding: 0 20px;
    }

    .hero-nav-btn {
        width: 55px;
        height: 55px;
    }

    .hero-dots {
        bottom: 30px; /* More visible position */
        gap: 18px;
        z-index: 10;
    }

    .hero-dot {
        width: 16px;
        height: 16px;
        border: 3px solid rgba(255, 255, 255, 0.9);
    }

    .hero-dot.active {
        transform: scale(1.3);
        border-color: #1e40af;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 50px 0;
        min-height: 47vh; /* Reduced to one-third of previous */
    }

    .hero-container {
        padding: 0 15px;
        min-height: 40vh; /* Reduced height */
    }

    .slideshow-container {
        margin-bottom: 50px;
        height: 40vh;
        min-height: 250px;
    }

    .slide {
        padding: 15px;
    }

    .slide-heading {
        font-size: 2.4rem; /* Larger for small screens */
        margin-bottom: 18px;
        line-height: 1.2;
    }

    .slide-subtitle {
        font-size: 1.1rem;
        margin-bottom: 28px;
        line-height: 1.4;
    }

    .slide-cta-primary,
    .slide-cta-secondary {
        width: 100%;
        max-width: 300px;
        display: block;
        text-align: center;
        padding: 16px 28px;
        font-size: 1rem;
        margin-bottom: 50px; /* More space above dots */
    }

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

    .slide-image {
        margin-top: 15px;
    }

    .trust-badges {
        justify-content: center;
        gap: 10px;
    }

    .trust-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero-nav {
        padding: 0 10px;
    }

    .hero-nav-btn {
        width: 48px;
        height: 48px;
    }

    .arrow-left::before,
    .arrow-right::before {
        border-width: 7px 11px 7px 0;
    }

    .arrow-right::before {
        border-width: 7px 0 7px 11px;
    }

    .hero-dots {
        bottom: 25px; /* More prominent position */
        gap: 16px;
        z-index: 10;
    }

    .hero-dot {
        width: 14px;
        height: 14px;
        border: 2px solid rgba(255, 255, 255, 0.9);
    }

    .hero-dot.active {
        transform: scale(1.4);
        border-color: #1e40af;
        box-shadow: 0 0 12px rgba(30, 64, 175, 0.6);
    }
}

@media (max-width: 768px) {
    .hero-copy h1 { font-size: 2.5rem; }
    .hero-copy p { font-size: 1.2rem; }
    .product-controls { flex-direction: column; gap: 15px; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; text-align: center; }
    .featured-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }

    /* Hero responsive */
    .hero-content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        bottom: 20px;
    }

    .hero-stats {
        padding: 15px 20px;
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-navigation {
        padding: 0 10px;
    }

    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-scroll-indicator {
        order: 2;
    }

    .hero-stats {
        order: 1;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}
