:root {
    --primary: #1a237e;
    --primary-light: #534bae;
    --primary-dark: #000051;
    --secondary: #00b0ff;
    --accent: #ff4081;
    --gold: #FFD700;
    --text-light: #f5f5f5;
    --text-dark: #000000;
    --bg-light: #fafafa;
    --bg-dark: #121212;
    --card-radius: 16px;
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
    
    /* Enhanced glassmorphism variables */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-bg-dark: rgba(0, 0, 0, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-dark: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(15px);
    --glass-blur-strong: blur(20px);
    
    /* Gradient effects */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, #DAA520 100%);
    
    /* Glow effects */
    --glow-primary: 0 0 15px rgba(26, 35, 126, 0.5);
    --glow-secondary: 0 0 15px rgba(0, 176, 255, 0.5);
    --glow-gold: 0 0 15px rgba(255, 215, 0, 0.5);
    
    /* Parallax */
    --parallax-speed-slow: 0.2;
    --parallax-speed-medium: 0.5;
    --parallax-speed-fast: 0.8;
    
    /* New card styles */
    --card-padding: 18px;
    --card-margin: 12px;
    --card-hover-transform: translateY(-6px);
    --card-hover-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    --card-grid-gap: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: auto;
}

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

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

nav a.active {
    color: var(--primary);
}

nav a.active:after {
    width: 100%;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

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

nav a:hover:after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.nav-cta:hover:after {
    width: 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    z-index: 1001;
}

@media (max-width: 768px) {
    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease-in-out;
    }

    header nav.active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active .fa-bars {
        display: none;
    }

    .mobile-menu-btn .fa-times {
        display: none;
    }

    .mobile-menu-btn.active .fa-times {
        display: block;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--primary);
    color: var(--text-light);
    text-align: center;
    padding: 80px 5% 0;
}

/* Gradient Text Effect */
.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: bold;
    text-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Glass Button Effect */
.glass-btn {
    backdrop-filter: var(--glass-blur);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), var(--glow-secondary);
}

/* Parallax Hero Background */
.hero.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax movement */
    background-image: url('../img/innovation.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: translateZ(-1px) scale(2);
    filter: brightness(0.7);
}

.hero-content {
    max-width: 1200px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.8s;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 1.1s;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--secondary);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.1); /* Purple-ish to match image floating circles */
    animation: float 15s infinite ease-in-out;
}

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

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.shape-3 {
    width: 70px;
    height: 70px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.hero-logo {
    width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    z-index: 3;
}

/* Sections */
section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-dark);
    opacity: 0.8;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* About Preview Section */
.about-preview {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.about-preview-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-preview-text {
    flex: 1;
}

.about-preview-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-preview-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-preview-image {
    flex: 1;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(50px);
}

.about-preview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-preview-image:hover img {
    transform: scale(1.05);
}

/* Company Story Section */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.story-text {
    padding-right: 2rem;
}

.story-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: justify;
}

p {
    text-align: justify;
}

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

.story-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.story-image img:hover {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-text {
        padding-right: 0;
        order: 2;
    }
    
    .story-image {
        order: 1;
    }
}

/* Products Preview Section */
.products-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--card-grid-gap);
}

/* Card Components - New Unified Style */
.card-component {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
    margin: var(--card-margin) 0;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-component:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--card-hover-shadow), var(--glow-primary);
}

.card-component::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.card-component:hover::before {
    opacity: 1;
}

.contact-form-container::before {
    display: none;
}

.product-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-component .card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    height: 80px; /* Ensure consistent height for icons */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.card-component:hover .card-icon {
    transform: scale(1.1);
}

.card-component .card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.card-component .card-content {
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-component .card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-component .card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-preview-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.product-preview-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-hover), var(--glow-primary);
}

.product-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.product-preview-card:hover::before {
    opacity: 1;
}

.product-preview-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

.product-preview-content {
    padding: 2rem;
}

.product-preview-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.product-preview-content p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    color: white;
    border-radius: var(--card-radius);
    padding: 4rem 2rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

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

.service-preview-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.service-preview-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: var(--shadow-hover), var(--glow-secondary);
}

.service-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.service-preview-card:hover::before {
    opacity: 1;
}

.service-preview-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.service-preview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-preview-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Page Hero */
.page-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-hero.parallax {
    background-attachment: fixed;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    transform: translateZ(0);
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Page-specific hero backgrounds */
.page-about .page-hero {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.page-products .page-hero {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
}

.page-services .page-hero {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
}

.page-team .page-hero {
    background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
}

.page-contact .page-hero {
    background: linear-gradient(135deg, #c2185b 0%, #880e4f 100%);
}

/* Contact Page Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Service Detail Styles */
.service-detail {
    padding: 80px 5%;
    background: var(--bg-light);
}

.service-detail.alt {
    background: white;
}

.service-detail-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.service-detail-text {
    flex: 1;
}

.service-detail-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-tagline {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.service-features {
    margin-bottom: 2rem;
}

.service-features h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-features ul {
    list-style: none;
    padding: 0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Benefits, Levels, Applications Grids */
.service-benefits,
.training-levels,
.data-applications,
.service-applications {
    margin-bottom: 2rem;
}

.service-benefits h3,
.training-levels h3,
.data-applications h3,
.service-applications h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.benefits-grid,
.levels-grid,
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item,
.level-item,
.application-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.benefit-item:hover,
.level-item:hover,
.application-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover), var(--glow-primary);
}

.benefit-item::before,
.level-item::before,
.application-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.benefit-item:hover::before,
.level-item:hover::before,
.application-item:hover::before {
    opacity: 1;
}

.benefit-icon,
.application-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
    background: var(--gradient-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.level-item h4,
.benefit-item h4,
.application-item span {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.level-item p,
.benefit-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
    opacity: 0.9;
}

.level-duration {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
}

/* Service Packages */
.service-packages {
    padding: 80px 5%;
    background: var(--bg-light);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    text-align: center;
    padding: 2rem;
}

.package-card.featured {
    border-color: var(--secondary);
    box-shadow: var(--shadow-hover), var(--glow-secondary);
    transform: scale(1.02);
}

.package-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 176, 255, 0.3);
}

.package-header {
    margin-bottom: 1.5rem;
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.package-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.package-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.package-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    transform: translateZ(0);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.button-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--secondary);
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.button-primary:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Responsive for Service Sections */
@media (max-width: 992px) {
    .service-detail-content {
        flex-direction: column;
        gap: 2rem;
    }

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

    .benefits-grid,
    .levels-grid,
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .package-card.featured {
        transform: none;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .service-detail {
        padding: 60px 5%;
    }

    .service-detail-content {
        gap: 1.5rem;
    }

    .service-features li,
    .package-features li {
        font-size: 0.95rem;
    }

    .benefit-item,
    .level-item,
    .application-item {
        padding: 1.2rem;
    }

    .benefit-icon,
    .application-item i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* FAQ Dropdown Styles */
.faq-section .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    margin: var(--card-margin) 0;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1rem;
}

.faq-item .fa-chevron-down {
    transition: transform 0.3s ease;
}

.faq-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Products Page */
.products-overview {
    padding: 100px 5%;
    text-align: center;
}

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

.product-detail {
    padding: 80px 5%;
    background: var(--bg-light);
}

.product-detail.alt {
    background: white;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.product-detail-image {
    text-align: center;
}

.product-main-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover), var(--glow-secondary);
    transition: var(--transition);
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.product-main-image:hover {
    transform: scale(1.02);
}

.product-detail-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.product-tagline {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.product-specs-detailed {
    margin-bottom: 2rem;
}

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

.spec-group h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border);
}

.spec-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.product-features h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Map Section Styles */
.map-section {
    padding: 60px 5%;
    background: var(--bg-light);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.map-container iframe:hover {
    box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

/* Custom Solutions Section */
.custom-solutions {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.custom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.custom-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.custom-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.custom-capabilities {
    margin: 2rem 0;
    text-align: left;
}

.custom-capabilities h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.custom-capabilities ul {
    list-style: none;
    padding: 0;
}

.custom-capabilities li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.custom-capabilities li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.custom-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.custom-image img:hover {
    transform: scale(1.05);
}

/* Team Page */
.team-page {
    padding: 100px 5%;
}

.team-categories {
    margin-bottom: 4rem;
}

.team-category {
    margin-bottom: 4rem;
}

.team-category h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

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

.team-member {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    box-shadow: var(--shadow);
    position: relative;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-hover), var(--glow-secondary);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover::before {
    opacity: 1;
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-member p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-contact {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.member-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.member-contact i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* Join Team CTA */
.join-team {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--card-radius);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    transform: translateZ(0);
}

.join-team-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.join-team-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 5% 2rem;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info-mini p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.contact-info-mini i {
    color: var(--secondary);
    margin-right: 0.5rem;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fallback: if JS hasn’t marked animations ready, show content */
body:not(.animations-ready) .animate-on-scroll {
    opacity: 1;
    transform: none;
}

.animate-on-scroll.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.animate-on-scroll.fade-in.animated {
    opacity: 1;
}

.animate-on-scroll.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.slide-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.slide-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.zoom-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* Generic animated state (for elements without a specific variant) */
.animate-on-scroll.animated {
    opacity: 1;
    transform: none;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--glass-blur);
    transition: var(--transition);
    font-size: 1rem;
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 176, 255, 0.1);
    background: white;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-control option {
    background: white;
    color: var(--text-dark);
}

.submit-btn {
    align-self: flex-start;
    padding: 1rem 2rem;
    font-size: 1rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-preview-content {
        flex-direction: column;
    }
    
    .about-preview-image {
        transform: translateY(30px);
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-detail.alt .product-detail-content {
        grid-template-columns: 1fr;
    }
    
    .custom-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-main-image {
        width: 250px;
        height: 250px;
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        padding: 2rem;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
}