:root {
    /* Base Colors */
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --indigo-500: #6366F1;
    --indigo-600: #4F46E5;
    --purple-500: #8B5CF6;
    --purple-600: #7C3AED;
    
    /* Light Mode Colors */
    --primary-light: #2563EB;      /* Royal Blue */
    --secondary-light: #6366F1;    /* Balanced Indigo */
    --accent-light: #8B5CF6;       /* Soft Purple */
    --bg-light: #F8FAFC;           /* Light Background */
    --card-light: #FFFFFF;         /* White */
    --text-light: #1E293B;         /* Slate Dark */
    --border-light: #E2E8F0;       /* Light Border */
    --hover-light: rgba(37, 99, 235, 0.1); /* Light Hover */
    --card-overlay: rgba(255, 255, 255, 0.9);
    --hover-gradient-start: rgba(59, 130, 246, 0.05);
    --hover-gradient-end: rgba(99, 102, 241, 0.1);
    --card-hover-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
    
    /* Dark Mode Colors */
    --primary-dark: #60A5FA;       /* Bright Blue */
    --secondary-dark: #818CF8;     /* Bright Indigo */
    --accent-dark: #A78BFA;        /* Bright Purple */
    --bg-dark: #0F172A;            /* Dark Navy */
    --card-dark: #1E293B;          /* Slate Dark */
    --text-dark: #F1F5F9;          /* Slate Light */
    --border-dark: #334155;        /* Dark Border */
    --hover-dark: rgba(96, 165, 250, 0.15); /* Dark Hover */
    --card-overlay-dark: rgba(0, 0, 0, 0.7);
    --hover-gradient-start-dark: rgba(96, 165, 250, 0.1);
    --hover-gradient-end-dark: rgba(129, 140, 248, 0.2);
    --header-height: 65px; /* Reduced from previous value */
}

/* Light Mode */
body.light-mode {
    --primary-color: var(--primary-light);
    --secondary-color: var(--secondary-light);
    --accent-color: var(--accent-light);
    --bg-primary: var(--bg-light);
    --bg-secondary: #F1F5F9;
    --card-bg: var(--card-light);
    --text-primary: var(--text-light);
    --text-secondary: #475569;
    --border-color: var(--border-light);
    --shadow-color: rgba(0, 0, 0, 0.08);
    --shadow-hover: var(--hover-light);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 10px 25px rgba(37, 99, 235, 0.12);
}

/* Dark Mode */
body.dark-mode {
    --primary-color: var(--primary-dark);
    --secondary-color: var(--secondary-dark);
    --accent-color: var(--accent-dark);
    --bg-primary: var(--bg-dark);
    --bg-secondary: #1E293B;
    --card-bg: var(--card-dark);
    --text-primary: var(--text-dark);
    --text-secondary: #CBD5E1;
    --border-color: var(--border-dark);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --shadow-hover: var(--hover-dark);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    --card-hover-shadow: 0 10px 25px rgba(96, 165, 250, 0.15);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s, color 0.3s;
    padding-top: var(--header-height);
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(var(--bg-primary), 0.7);
    border-bottom: 1px solid rgba(var(--border-rgb), 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 0 40px;
    height: 65px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: all 0.3s ease;
    gap: 30px;
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.logo span {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dark mode specific logo */
body.dark-mode .logo span {
    background: linear-gradient(45deg, #60A5FA, #818CF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.2) contrast(1.1);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 25px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    position: relative;
    padding: 6px 12px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Active nav link state */
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::before {
    transform: scaleX(1);
}

/* Enhanced Theme Toggle Styles */
.theme-toggle {
    position: relative;
    margin-left: 20px;
}

.theme-toggle button {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid rgba(var(--border-rgb), 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.theme-toggle button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--primary-color-rgb), 0.1),
        rgba(var(--secondary-color-rgb), 0.1)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.15);
}

.theme-toggle button:hover::before {
    opacity: 1;
}

.theme-toggle i {
    font-size: 1.2rem;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

/* Dark Mode Adjustments */
.dark-mode .theme-toggle button {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .theme-toggle button:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Sun/Moon Icon Animations */
.theme-toggle .fa-sun {
    animation: rotateSun 0.5s ease;
}

.theme-toggle .fa-moon {
    animation: rotateMoon 0.5s ease;
}

@keyframes rotateSun {
    from {
        transform: rotate(-180deg) scale(0);
        opacity: 0;
    }
    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

@keyframes rotateMoon {
    from {
        transform: rotate(180deg) scale(0);
        opacity: 0;
    }
    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

/* Theme Toggle Mobile Styles */
@media (max-width: 768px) {
    header {
        height: 55px;
        padding: 0 20px;
    }

    .theme-toggle button {
        width: 35px;
        height: 35px;
        border-radius: 10px;
    }

    .theme-toggle i {
        font-size: 1rem;
    }

    .logo img {
        height: 22px;
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg-primary);
    perspective: 1000px;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 20px;
    height: 100%;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

/* Animated Gradient Text */
.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(
        300deg,
        #3b82f6,  /* Blue */
        #8b5cf6,  /* Violet */
        #ec4899,  /* Pink */
        #f97316,  /* Orange */
        #22c55e   /* Green */
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite, fadeInUp 0.8s ease forwards;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
    background: none;
    -webkit-text-fill-color: initial;
}

/* Hero Image Animation */
.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 2;
    animation: floatSideways 8s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 450px; /* Reduced from 500px */
    filter: drop-shadow(0 20px 40px rgba(var(--primary-color-rgb), 0.2));
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: translateY(-10px) scale(1.02);
}

/* Hero Icon Styles */
.hero-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        #3b82f6,  /* Blue */
        #8b5cf6,  /* Violet */
        #ec4899,  /* Pink */
        #f97316   /* Orange */
    );
    background-size: 300% 300%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    animation: float 3s ease-in-out infinite, gradientShift 8s linear infinite;
}

.hero-icon i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 23px;
    background: linear-gradient(
        135deg,
        #3b82f6,  /* Blue */
        #8b5cf6,  /* Violet */
        #ec4899,  /* Pink */
        #f97316   /* Orange */
    );
    background-size: 300% 300%;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
    animation: gradientShift 8s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Dark Mode Adjustment */
.dark-mode .hero-icon {
    background: linear-gradient(
        135deg,
        #60a5fa,  /* Lighter Blue */
        #a78bfa,  /* Lighter Violet */
        #f472b6,  /* Lighter Pink */
        #fb923c   /* Lighter Orange */
    );
    background-size: 300% 300%;
}

.dark-mode .hero-icon::after {
    background: linear-gradient(
        135deg,
        #60a5fa,
        #a78bfa,
        #f472b6,
        #fb923c
    );
    background-size: 300% 300%;
}

/* Hero Text Styles */
.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
    background: none;
    -webkit-text-fill-color: initial;
}

/* Logo Animation */
@keyframes floatSideways {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(-15px) translateY(-10px) rotate(-1deg);
    }
    75% {
        transform: translateX(15px) translateY(-10px) rotate(1deg);
    }
}

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

/* Enhanced CTA Button */
.cta-button {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(var(--primary-color-rgb), 0.2);
}

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(var(--primary-color-rgb), 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
}

/* Dark Mode Adjustment */
.dark-mode .cta-button {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .cta-button:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-image {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: calc(100vh - var(--header-height));
        padding: 40px 20px; /* Reduced padding */
    }

    .hero-content-wrapper {
        padding: 0;
        gap: 30px; /* Reduced gap */
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-image img {
        max-height: 350px; /* Further reduced for mobile */
    }
}

@media (max-height: 700px) {
    .hero {
        height: auto;
        min-height: calc(100vh - var(--header-height));
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-image {
        max-width: 90%;
    }

    .hero-image img {
        max-height: 300px;
    }
}

/* Colorful Gradient Blobs */
.hero::before,
.hero::after,
.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: moveGlow 20s linear infinite;
    z-index: -1;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: #8b5cf6; /* Violet */
    top: -100px;
    right: -100px;
    animation-delay: -5s;
}

.hero::after {
    width: 400px;
    height: 400px;
    background: #3b82f6; /* Blue */
    bottom: -150px;
    right: 200px;
    animation-delay: -10s;
}

.hero-particles::before {
    width: 600px;
    height: 600px;
    background: #ec4899; /* Pink */
    top: 50%;
    left: -200px;
    animation-delay: -15s;
}

.hero-particles::after {
    width: 450px;
    height: 450px;
    background: #06b6d4; /* Cyan */
    bottom: -100px;
    left: 30%;
    animation-delay: -20s;
}

@keyframes moveGlow {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(100px, -50px) rotate(90deg) scale(1.2);
    }
    50% {
        transform: translate(200px, 50px) rotate(180deg) scale(1);
    }
    75% {
        transform: translate(100px, 100px) rotate(270deg) scale(0.8);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

/* Dark Mode Adjustments */
.dark-mode .hero::before { background: #7c3aed; opacity: 0.3; }
.dark-mode .hero::after { background: #2563eb; opacity: 0.3; }
.dark-mode .hero-particles::before { background: #db2777; opacity: 0.3; }
.dark-mode .hero-particles::after { background: #0891b2; opacity: 0.3; }

/* Content Layer */
.hero-text,
.hero-image {
    position: relative;
    z-index: 2;
}

/* Glass Effect for Content */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero::before,
    .hero::after,
    .hero-particles::before,
    .hero-particles::after {
        filter: blur(100px);
        opacity: 0.15;
    }
    
    .hero::before { width: 300px; height: 300px; }
    .hero::after { width: 250px; height: 250px; }
    .hero-particles::before { width: 350px; height: 350px; }
    .hero-particles::after { width: 280px; height: 280px; }
}

/* Features Section */
.features {
    padding: 60px 60px;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    position: relative;
    overflow: hidden;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 80px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 20px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Feature card animations - apply to all cards */
@keyframes featureCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Apply animation to all feature cards */
.feature-card {
    animation: featureCardFloat 6s ease-in-out infinite;
}

/* Stagger animations for each card */
.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 1s; }
.feature-card:nth-child(3) { animation-delay: 2s; }
.feature-card:nth-child(4) { animation-delay: 3s; }
.feature-card:nth-child(5) { animation-delay: 0s; }
.feature-card:nth-child(6) { animation-delay: 1s; }
.feature-card:nth-child(7) { animation-delay: 2s; }
.feature-card:nth-child(8) { animation-delay: 3s; }

/* Glowing effect */
@keyframes glowing {
    0%, 100% {
        box-shadow: 0 10px 30px var(--shadow-color);
    }
    50% {
        box-shadow: 0 10px 40px var(--primary-color);
    }
}

.feature-card:hover {
    animation: glowing 2s infinite;
}

/* Updated Feature Icons Only */
.feature-card i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.5s ease;
    position: relative;
    /* Remove gradient background */
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

/* Specific colors for each feature icon */
.feature-card:nth-child(1) i {
    color: #FF9500; /* Calendar icon - Orange */
    text-shadow: 0 4px 8px rgba(255, 149, 0, 0.3);
    transform-style: preserve-3d;
}

.feature-card:nth-child(2) i {
    color: #34C759; /* User clock icon - Green */
    text-shadow: 0 4px 8px rgba(52, 199, 89, 0.3);
    transform-style: preserve-3d;
}

.feature-card:nth-child(3) i {
    color: #4CAF50; /* Sync icon - Green */
    text-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    transform-style: preserve-3d;
}

/* Updated Feature Icons Only */
.feature-card:nth-child(4) i {
    color: #FF6B6B; /* Brain icon - Red */
    text-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.feature-card:nth-child(5) i {
    color: #4ECDC4; /* Clock icon - Teal */
    text-shadow: 0 4px 8px rgba(78, 205, 196, 0.3);
}

.feature-card:nth-child(6) i {
    color: #FFD93D; /* Bell icon - Yellow */
    text-shadow: 0 4px 8px rgba(255, 217, 61, 0.3);
}

/* Enhanced 3D hover effect for icons */
.feature-card:hover i {
    transform: scale(1.2) translateZ(20px) rotate(10deg);
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.2));
}

/* Add subtle bounce animation */
@keyframes iconBounce {
    0%, 100% { transform: translateY(0) translateZ(0); }
    50% { transform: translateY(-5px) translateZ(10px); }
}

.feature-card i {
    animation: iconBounce 3s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.feature-card:hover h3::after {
    width: 80px;
}

.feature-card p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.feature-card:hover p {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

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

/* Team Section Styles */
.team {
    padding: 60px 60px;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    position: relative;
    overflow: hidden;
}

/* Team Section Header */
.team h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 1400px) {
    .team-members {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 1000px;
        padding: 20px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 700px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .team h2 {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

    .team-members {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 500px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .team h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .team-members {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
}

/* Individual team member animations */
.team-member {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInMember 0.6s ease forwards;
}

.team-member:nth-child(1) { animation-delay: 0.2s; }
.team-member:nth-child(2) { animation-delay: 0.4s; }
.team-member:nth-child(3) { animation-delay: 0.6s; }
.team-member:nth-child(4) { animation-delay: 0.8s; }
.team-member:nth-child(5) { animation-delay: 1.0s; }
.team-member:nth-child(6) { animation-delay: 1.2s; }

@keyframes fadeInMember {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animation */
.team-member.reveal {
    animation: revealMember 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.team-member {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border-color);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.member-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        var(--hover-gradient-start),
        var(--hover-gradient-end)
    );
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-info {
    padding: 20px 15px;
    text-align: center;
    background: var(--card-bg);
    position: relative;
    z-index: 2;
}

.member-info h3 {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.member-info h3 span:first-child {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.member-info h3 span:last-child {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.member-info .position {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 5px;
    font-weight: 500;
}

/* Social Links Styling */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
}

/* Make entire button clickable */
.social-links a i {
    color: white;
    font-size: 1rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Social Icons Colors */
.social-links a[title="LinkedIn"] {
    background: #0077B5;
}

.social-links a[title="LinkedIn"]:hover {
    background: #0077B5;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.social-links a[title="Instagram"] {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-links a[title="Instagram"]:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-links a[title="Email"] {
    background: var(--primary-color);
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Staggered Animation for Social Links */
.team-member:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

.social-links a:nth-child(1) { transition-delay: 0.1s; }
.social-links a:nth-child(2) { transition-delay: 0.2s; }
.social-links a:nth-child(3) { transition-delay: 0.3s; }

/* Floating Animation */
@keyframes teamMemberFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0);
    }
    50% {
        transform: translateY(-5px) rotateX(5deg);
    }
}

.team-member {
    animation: teamMemberFloat 6s ease-in-out infinite;
    animation-play-state: paused;
}

.team-member:hover {
    animation-play-state: running;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.member-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        var(--hover-gradient-start),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-info::after {
    opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1400px) {
    .team-members {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on smaller screens */
        gap: 25px;
        max-width: 1000px;
    }
}

@media (max-width: 1024px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 20px;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .team {
        padding: 40px 15px;
    }

    .team h2 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .team-members {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 15px;
        padding: 10px;
        max-width: 500px;
    }

    /* Touch Device Optimizations */
    .team-member {
        transform: none;
        animation: none;
        transition: transform 0.3s ease;
    }

    .member-info {
        padding: 12px 8px;
    }

    .member-info h3 {
        margin-bottom: 6px;
        min-height: auto;
    }

    .member-info h3 span:first-child {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .member-info h3 span:last-child {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .member-info .position {
        font-size: 0.85rem;
        margin: 5px 0;
    }

    /* Always show social links on mobile */
    .social-links {
        opacity: 1;
        transform: none;
        padding-top: 8px;
        margin-top: 8px;
        gap: 10px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        opacity: 1;
    }

    /* Touch-specific hover states */
    @media (hover: none) {
        .team-member:hover {
            transform: translateY(-5px);
            box-shadow: var(--card-shadow);
        }

        .team-member:active {
            transform: translateY(-3px);
        }

        .social-links a:active {
            transform: scale(0.95);
        }

        /* Disable complex hover effects */
        .member-info::after,
        .member-image::before {
            display: none;
        }

        .team-member:hover .member-image img {
            transform: none;
        }
    }
}

/* Small screen adjustments - maintain 2 columns */
@media (max-width: 480px) {
    .team h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .team-members {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 5px;
        max-width: none;
        margin: 0 10px;
    }

    .team-member {
        min-width: 140px;  /* Set minimum width */
    }

    .member-info {
        padding: 12px 8px;
    }

    .member-info h3 {
        margin-bottom: 5px;
    }

    .member-info h3 span:first-child {
        font-size: 0.95rem;
    }

    .member-info h3 span:last-child {
        font-size: 0.85rem;
    }

    .member-info .position {
        font-size: 0.85rem;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 6px;  /* Reduced gap */
        padding-top: 8px;
        margin-top: 8px;
        width: 100%;  /* Full width */
    }

    .social-links a {
        width: 28px;  /* Smaller icons */
        height: 28px;
        min-width: 28px;  /* Prevent shrinking */
    }

    .social-links a i {
        font-size: 0.8rem;
    }
}

/* Even smaller screens */
@media (max-width: 360px) {
    .team-member {
        min-width: 130px;
    }

    .social-links {
        gap: 4px;
    }

    .social-links a {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }

    .social-links a i {
        font-size: 0.75rem;
    }
}

/* Enhanced Contact Section */
.contact {
    padding: 60px 60px;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
    animation: rotateBackground 20s linear infinite;
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 80px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

/* Contact Info Styles */
.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.contact-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-item:hover::before {
    opacity: 0.1;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--accent-color);
}

.contact-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Specific colors for each contact icon */
.contact-item:nth-child(1) i {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-item:nth-child(2) i {
    background: linear-gradient(45deg, #4E54C8, #8F94FB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-item:nth-child(3) i {
    background: linear-gradient(45deg, #11998e, #38ef7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-item:nth-child(4) i {
    background: linear-gradient(45deg, #FC466B, #3F5EFB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced hover effect for icons */
.contact-item:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-primary);
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Form Adjustments */
.contact-form {
    flex: 1;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 120px;
    resize: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
}

/* Responsive Design - Tablet (768px to 1024px) */
@media (max-width: 1024px) {
    .contact-container {
        max-width: 900px;
        padding: 0 20px;
        gap: 30px;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-item {
        min-height: 150px;
        padding: 20px 15px;
    }

    .contact-form {
        padding: 25px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }

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

/* Responsive Design - Mobile (up to 767px) */
@media (max-width: 767px) {
    .contact {
        padding: 40px 20px;
    }

    .contact h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        min-height: 130px;
        padding: 20px 15px;
    }

    .contact-item i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .contact-item h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    .form-group textarea {
        height: 100px;
    }

    .submit-btn {
        padding: 10px;
        font-size: 1rem;
    }
}

/* Extra Small Devices (up to 480px) */
@media (max-width: 480px) {
    .contact {
        padding: 30px 15px;
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .contact-container {
        gap: 20px;
    }

    .contact-info {
        gap: 12px;
    }

    .contact-item {
        min-height: 120px;
        padding: 15px;
    }

    .contact-form {
        padding: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px;
        font-size: 0.85rem;
    }

    .form-group textarea {
        height: 90px;
    }

    .submit-btn {
        padding: 8px;
        font-size: 0.95rem;
    }
}

/* Enhanced Footer Styles */
footer {
    background: var(--bg-secondary);
    padding: 40px 60px 20px;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    z-index: 1;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
    position: relative;
}

.footer-section {
    position: relative;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-section p {
    color: var(--text-primary);
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-primary);
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateX(5px);
}

/* Updated Footer Social Links */
.social-links-footer {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links-footer a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Specific colors for each social platform */
.social-links-footer a:nth-child(1) { /* Linktree */
    background: linear-gradient(45deg, #2EBD59, #1DB954); /* Darker green */
}

.social-links-footer a:nth-child(2) { /* LinkedIn */
    background: #0077b5;
}

.social-links-footer a:nth-child(3) { /* Instagram */
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-links-footer a:nth-child(4) { /* YouTube */
    background: #ff0000;
}

.social-links-footer a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Bottom Update */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
    opacity: 0.1;
}

.footer-bottom p {
    color: var(--text-primary);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-bottom .heart {
    color: #ff4d4d;
    display: inline-block;
    animation: heartBeat 1.5s ease infinite;
}

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

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        padding: 30px 20px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links-footer {
        justify-content: center;
    }

    .footer-section.contact-info p {
        justify-content: center;
    }

    .footer-section ul li a:hover {
        transform: translateX(0) scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 20px;
        justify-content: space-between;
        gap: 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        padding: 20px 0;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

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

    .mobile-menu {
        display: block;
    }

    .hero {
        min-height: calc(100vh - var(--header-height));
        height: auto;
        padding: 20px 20px 40px;
        text-align: center;
        justify-content: center;
        gap: 20px;
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 20px;
        padding-top: 20px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-image img {
        max-height: 300px;
    }

    .features,
    .team,
    .contact {
        padding: 40px 20px;
    }

    .team {
        padding: 40px 20px;
    }
    
    .team-members {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 25px;
    }

    section {
        scroll-margin-top: 60px;
    }
}

@media (max-height: 700px) {
    .hero {
        height: auto;
        min-height: calc(100vh - var(--header-height));
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .team-members {
        grid-template-columns: repeat(1, 1fr);
        max-width: 280px;
    }

    .hero {
        min-height: calc(100vh - var(--header-height));
        padding: 15px 15px 30px;
    }

    .hero-text {
        padding-top: 10px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-image {
        max-width: 90%;
        margin-bottom: 20px;
    }

    .hero-image img {
        max-height: 250px;
    }
}

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

[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Background Animation */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-primary);
    overflow: hidden;
}

.animated-background::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 10%);
    animation: moveBackground 25s linear infinite;
    opacity: 0.1;
}

@keyframes moveBackground {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Section transitions */
.hero, .features, .team, .contact {
    position: relative;
    overflow: hidden;
}

/* Animated section decorations */
.section-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-30px, 30px);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

/* Enhanced hover effects for cards */
.feature-card, .team-member, .contact-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover, .contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

/* Loading animation for images */
.member-image img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Additional Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

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

/* Add shimmer effect to cards */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Updated Gradient Styles */
.gradient-bg {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    opacity: 0.9;
}

.gradient-text {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Updated Button Styles */
.cta-button,
.submit-btn {
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border: none;
    color: white;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.cta-button:hover,
.submit-btn:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
}

/* Card Hover Effects */
.feature-card:hover,
.team-member:hover,
.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

/* Social Links */
.social-links a,
.social-links-footer a {
    background: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover,
.social-links-footer a:hover {
    background: var(--accent-color);
    box-shadow: var(--card-hover-shadow);
}

/* Navigation Links */
.nav-links a:hover {
    color: var(--primary-color);
}

/* Footer Styles */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-section h3 {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
} 

/* Make sure sections have enough padding at the top */
.features, .team, .contact {
    padding: 40px 60px;
    margin-top: 0;
    position: relative;
}

/* Update section positioning */
section {
    position: relative;
    scroll-margin-top: 40px;
}

/* Ensure header doesn't overlap content */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--card-bg);
}

/* Adjust body padding */
body {
    padding-top: var(--header-height);
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        z-index: 1001;
    }

    /* Overlay for blur background */
    .nav-overlay {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(8px);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--card-bg);
        padding: 10px 0;
        margin: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.3s ease;
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        text-align: center;
        font-size: 1.1rem;
        color: var(--text-primary);
        transition: all 0.3s ease;
        width: 100%;
    }

    .nav-links a:hover {
        background: linear-gradient(
            45deg,
            var(--hover-gradient-start),
            var(--hover-gradient-end)
        );
        color: var(--primary-color);
    }

    /* Hamburger Animation */
    .mobile-menu i {
        transition: transform 0.3s ease;
    }

    .mobile-menu.active i {
        transform: rotate(180deg);
    }

    /* Body Lock when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Add colors for new feature icons */
.feature-card:nth-child(7) i {
    color: #845EC2; /* Users icon - Purple */
    text-shadow: 0 4px 8px rgba(132, 94, 194, 0.3);
}

.feature-card:nth-child(8) i {
    color: #00C9A7; /* Chart icon - Teal */
    text-shadow: 0 4px 8px rgba(0, 201, 167, 0.3);
}

/* Contact Item Link Styles */
.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.contact-item a:hover::before {
    width: 100%;
}

/* Dark mode styles - just set initial color */
body.dark-mode .contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer link styles - no color change on hover */
.footer-section a {
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-section a:hover {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Back to Top Button with Enhanced Blur */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 99999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light mode specific back-to-top */
body.light-mode .back-to-top {
    background-color: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

body.light-mode .back-to-top i {
    color: rgba(255, 255, 255, 0.9);
}

/* Dark mode specific back-to-top */
body.dark-mode .back-to-top {
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(15, 23, 42, 0.9);
}

body.dark-mode .back-to-top i {
    color: var(--bg-dark);
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

body.light-mode .back-to-top:hover {
    background-color: rgba(15, 23, 42, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .back-to-top:hover {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 25px;
        right: 25px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Enhanced backdrop blur for Safari */
@supports (-webkit-backdrop-filter: none) {
    header, .back-to-top {
        -webkit-backdrop-filter: blur(25px) saturate(200%);
    }
}

/* Light mode specific header */
body.light-mode header {
    background-color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Dark mode specific header */
body.dark-mode header {
    background-color: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Header Height Variable */
@media (max-width: 768px) {
    :root {
        --header-height: 55px;  /* Reduced header height for mobile */
    }

    .hero {
        min-height: calc(100vh - 55px);  /* Use exact height */
        padding: 20px 20px 40px;
        justify-content: center;
        gap: 20px;
    }

    .hero-text {
        padding-top: 20px;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .hero {
        min-height: calc(100vh - 55px);
        padding: 15px 15px 30px;
    }

    .hero-text {
        padding-top: 10px;
    }

    .hero-image {
        margin-bottom: 20px;
    }
}

/* Update social links styling */
.social-links a[title="Email"] {
    background: linear-gradient(45deg, #EA4335, #DB4437);
}

.social-links a[title="Email"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(219, 68, 55, 0.3);
}

.social-links a[title="Email"] i {
    color: white;
}

/* Contact Form Status Styles */
.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.form-status.error {
    display: block;
    background-color: rgba(220, 38, 38, 0.1);
    color: #DC2626;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Modern Plans Section */
.plans {
    padding: 30px 40px;
    position: relative;
    overflow: hidden;
}

/* Light mode colors */
.light-mode .plans {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.light-mode .plan-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-mode .plan-content h3 {
    color: #1e293b;
}

.light-mode .plan-description,
.light-mode .feature-item {
    color: #64748b;
}

.light-mode .price {
    color: #0f172a;
}

.light-mode .feature-item i {
    color: #3b82f6;
}

.light-mode .plan-button {
    background: #3b82f6;
    color: white;
    border: none;
}

.light-mode .plan-button:hover {
    background: #2563eb;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.light-mode .popular-badge {
    background: #3b82f6;
    color: white;
}

/* Dark mode colors */
.dark-mode .plans {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.dark-mode .plan-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .plan-content h3 {
    color: #f8fafc;
}

.dark-mode .plan-description,
.dark-mode .feature-item {
    color: #cbd5e1;
}

.dark-mode .price {
    color: #f1f5f9;
}

.dark-mode .feature-item i {
    color: #60a5fa;
}

.dark-mode .plan-button {
    background: #3b82f6;
    color: white;
    border: none;
}

.dark-mode .plan-button:hover {
    background: #2563eb;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.dark-mode .popular-badge {
    background: #3b82f6;
    color: white;
}

/* Shared Styles */
.plans-header {
    text-align: center;
    margin-bottom: 80px;
}

.plans-header h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.plans-header h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Remove the old light/dark mode specific styles */
.light-mode .plans-header h2,
.dark-mode .plans-header h2 {
    color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .plans-header {
        margin-bottom: 60px;
    }

    .plans-header h2 {
        font-size: 2.5rem;
    }

    .plans-header h2::after {
        bottom: -15px;
        width: 80px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .plans-header {
        margin-bottom: 50px;
    }

    .plans-header h2 {
        font-size: 2rem;
    }

    .plans-header h2::after {
        bottom: -12px;
        width: 60px;
    }
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Plan Card Base Styles */
.plan-card {
    flex: 1;
    max-width: 350px;
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover effects for all cards including featured */
.plan-card:hover::before {
    opacity: 1;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

/* Featured Card Styles - only elevation and shadow */
.plan-card.featured {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.plan-card.featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
}

/* Dark Mode Adjustments */
.dark-mode .plan-card:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.dark-mode .plan-card.featured {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
}

.dark-mode .plan-card.featured:hover {
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.3);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.plan-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
}

.currency {
    font-size: 1.5rem;
    margin-top: 10px;
    margin-right: 5px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.feature-item i {
    font-size: 1.2rem;
}

.plan-button {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Light Mode Button Styles */
.light-mode .plan-button {
    background: #3b82f6;
    color: white;
    border: none;
}

.light-mode .plan-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.light-mode .plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.light-mode .plan-button:hover::before {
    opacity: 1;
}

/* Dark Mode Button Styles */
.dark-mode .plan-button {
    background: #3b82f6;
    color: white;
    border: none;
}

.dark-mode .plan-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2563eb, #60a5fa);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.dark-mode .plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.dark-mode .plan-button:hover::before {
    opacity: 1;
}

/* Featured Card Button Styles */
.plan-card.featured .plan-button::before {
    background: linear-gradient(45deg, #2563eb, #60a5fa);
}

.plan-card.featured .plan-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

/* Button Text */
.plan-button span {
    position: relative;
    z-index: 2;
    display: block;
    transition: transform 0.3s ease;
}

.plan-button:hover span {
    transform: scale(1.02);
}

/* Active State */
.plan-button:active {
    transform: translateY(1px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .plan-button {
        padding: 14px;
        font-size: 0.95rem;
    }

    .plan-button:hover {
        transform: translateY(-1px);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .plans {
        padding: 80px 20px;
    }

    .plans-container {
        flex-direction: column;
        align-items: center;
    }

    .plan-card {
        width: 100%;
        max-width: 400px;
    }

    .plans-header h2 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .plans-header h2 {
        font-size: 2.5rem;
    }

    .plan-card {
        padding: 30px 20px;
    }

    .price {
        font-size: 3rem;
    }
}

/* Plans Header Subtitle */
.plans-header p {
    margin-top: 30px;  /* Add space between title and subtitle */
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .plans-header p {
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .plans-header p {
        margin-top: 20px;
    }
}

/* Features Section Mobile Responsive */
@media (max-width: 1024px) {
    .features {
        padding: 80px 20px;
    }

    .features h2 {
        font-size: 3rem;
        margin-bottom: 60px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 700px;
        margin: 0 auto;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 20px;
    }

    .features h2 {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 500px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .features h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .feature-card {
        padding: 20px 15px;
    }
}

/* Section Separator */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
    z-index: 1;
}

/* Features Section Top Spacing */
.features {
    position: relative;
    margin-top: -1px; /* Prevent gap between sections */
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border-color) 50%,
        transparent 100%
    );
    opacity: 0.3;
}

/* Enhanced Benefits Section with Effects */
.benefits {
    padding: 80px 60px;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
}

.benefits h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 60px;
    position: relative;
    font-weight: 600;
    opacity: 0;
    animation: fadeInDown 0.6s ease forwards;
}

.benefits h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scaleIn 0.4s ease forwards 0.6s;
}

/* Clean Card Design with Effects */
.benefit-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.4s; }
.benefit-card:nth-child(4) { animation-delay: 0.6s; }

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* Enhanced Icon Styles */
.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

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

.benefit-card:hover .benefit-icon::after {
    left: 100%;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon.orange { 
    background: linear-gradient(135deg, #f97316, #fb923c);
}
.benefit-icon.green { 
    background: linear-gradient(135deg, #22c55e, #4ade80);
}
.benefit-icon.purple { 
    background: linear-gradient(135deg, #a855f7, #d946ef);
}
.benefit-icon.blue { 
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

/* Content Animation */
.benefit-content h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.benefit-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        transform: translateX(-50%) scaleX(0);
    }
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

/* Dark Mode Refinements */
.dark-mode .benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.dark-mode .benefit-card:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .benefit-card {
        animation: fadeInUp 0.5s ease forwards;
    }
    
    .benefit-card:hover {
        transform: translateY(-3px);
    }
    
    .benefit-card:hover .benefit-icon {
        transform: scale(1.05);
    }
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    .benefits h2,
    .benefits h2::after,
    .benefit-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Benefits Container Layout */
.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 20px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .benefits {
        padding: 60px 40px;
    }

    .benefits h2 {
        font-size: 2.4rem;
    }

    .benefits-container {
        gap: 25px;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .benefits {
        padding: 50px 20px;
    }

    .benefits h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .benefits-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 20px;
    }

    .benefit-card {
        padding: 25px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .benefit-icon {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .benefits h2 {
        font-size: 1.8rem;
    }

    .benefits-container {
        gap: 15px;
    }

    .benefit-card {
        padding: 20px;
    }
}

/* Team Member Hover Border Effect */
.team-member {
    position: relative;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.team-member::before {
    content: '';
    position: absolute;
    inset: -2px; /* Creates space for the border */
    border-radius: 22px; /* Slightly larger than container */
    background: linear-gradient(45deg, 
        var(--primary-color),
        var(--secondary-color)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.team-member > * {
    position: relative;
    z-index: 1;
}

.team-member:hover {
    transform: translateY(-5px);
}

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

/* Dark Mode Adjustment */
.dark-mode .team-member::before {
    background: linear-gradient(45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    opacity: 0;
}

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

/* Get In Touch Mobile Width Adjustment */
@media (max-width: 768px) {
    .contact-form-container {
        max-width: 500px;  /* Match plans container width */
        margin: 0 auto;
        padding: 0 20px;
    }

    .contact-form {
        width: 100%;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
    }
}

/* Gradient Animation */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Dark Mode Adjustments */
.dark-mode .hero-text h1 {
    background: linear-gradient(
        300deg,
        #60a5fa,  /* Lighter Blue */
        #a78bfa,  /* Lighter Violet */
        #f472b6,  /* Lighter Pink */
        #fb923c,  /* Lighter Orange */
        #4ade80   /* Lighter Green */
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: calc(100vh - var(--header-height));
        padding: 20px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 40px 0;
    }

    .hero-text {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .hero-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px;
    }

    .hero-icon i {
        font-size: 1.8rem;
    }

    .hero-image {
        max-width: 85%;
        margin: 0 auto;
    }

    .hero-image img {
        max-height: 300px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 15px;
    }

    .hero-content-wrapper {
        padding: 30px 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-image {
        max-width: 90%;
    }

    .hero-image img {
        max-height: 250px;
    }
}

/* Fix for very small screens */
@media (max-height: 600px) {
    .hero-content-wrapper {
        padding: 20px 0;
    }

    .hero-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-image img {
        max-height: 200px;
    }
}

/* Parallax Background Effect */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg-primary);
    perspective: 1000px;
}

/* Parallax Layers */
.hero-particles {
    position: absolute;
    inset: -50px;
    z-index: 1;
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-particles::before,
.hero-particles::after {
    transform: translateZ(50px);
}

.hero::before,
.hero::after {
    transform: translateZ(100px);
}

/* Add this to your existing script.js */
