:root {
    /* Main Color Palette */
    --primary: #ff4757;
    --primary-dark: #ff2c40;
    --primary-light: #ff6b81;
    --accent-orange: #E65525;  /* Refined orange */
    --accent-green: #059669;   /* Professional green */
    --accent-purple: #7C3AED;  /* Rich purple */
    
    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%);
    --gradient-success: linear-gradient(135deg, #059669, #34D399);
    --gradient-purple: linear-gradient(135deg, #7C3AED, #A78BFA);
    
    /* Background Colors */
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-gray: #F1F5F9;
    --bg-dark: #1E293B;    /* More sophisticated dark */
    --bg-darker: #0F172A;  /* Deeper dark for contrast */
    --bg-card: rgba(255, 255, 255, 0.98);
    
    /* Text Colors */
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    
    /* Shadow Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 38px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 22px 45px rgba(0, 0, 0, 0.1);

    /* Glass Effect Variables */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);

    /* Adding/updating color variables */
    --bg-dark: #1E293B;
    --bg-darker: #0F172A;
    --accent: #E65525;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
}

/* Modern Glass Effect */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-effect:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

/* Modern Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--text-gray);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Modern Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 70px;
}

header.scrolled {
    height: 60px;
    box-shadow: var(--shadow-md);
}

header.header-hidden {
    transform: translateY(-100%);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 0;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.nav-item i {
    font-size: 16px;
    color: var(--primary);
}

.nav-item:hover {
    color: var(--primary);
    background: rgba(255, 71, 87, 0.1);
}

.nav-item.active {
    color: var(--primary);
    background: rgba(255, 71, 87, 0.1);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-btn:hover i {
    transform: translateX(3px);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
        height: auto;
        padding: 15px;
        background: white;
        box-shadow: var(--shadow-sm);
        border-radius: 8px;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Scroll Effect */
header.scrolled {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Add these new styles for better UI */
.nav-item.has-dropdown {
    position: relative;
    padding-right: 1.2rem;
}

.nav-item.has-dropdown::before {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover::before {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    color: #172B4D;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 71, 87, 0.1);
    color: var(--primary);
    padding-left: 1.2rem;
}

.dropdown-item i {
    font-size: 1rem;
    opacity: 0.7;
}

/* Add notification badge */
.nav-item .badge {
    background: var(--accent-orange);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.3rem;
}

/* Hero Section Styles */
.hero {
    position: relative;
    padding: 120px 5% 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
    overflow: hidden;
    min-height: 100vh;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientText 3s linear infinite;
}

.hero-subtitle {
    margin-bottom: 2rem;
}

.typing-text {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    position: relative;
}

.hero-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-item:hover {
    transform: translateX(10px) translateY(-8px) scale(1.02);
    background: white;
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
}

.primary-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: inherit;
    filter: blur(12px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

.primary-btn:hover::before {
    animation: shine 1.5s;
}

.primary-btn:hover::after {
    opacity: 0.7;
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem;
    transition: all 0.3s ease;
}

.secondary-btn i {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    transition: all 0.3s ease;
}

.secondary-btn:hover i {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
}

.main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.stats-card {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.1);
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.achievement-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.hero-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 86, 48, 0.1) 0%, rgba(0, 82, 204, 0.1) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 60% 0);
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .typing-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 100px 5% 60px;
    }

    .hero-content {
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .typing-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 5% 40px;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .typing-text {
        font-size: 1.4rem;
    }

    .hero-features {
        max-width: 500px;
        margin: 0 auto 2rem;
    }

    .feature-item {
        text-align: left;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .stats-card {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
    }

    .achievement-badge {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .typing-text {
        font-size: 1.2rem;
    }

    .feature-item {
        padding: 0.8rem;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .feature-text h3 {
        font-size: 1rem;
    }

    .feature-text p {
        font-size: 0.8rem;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .stats-card {
        padding: 0.8rem;
        gap: 1rem;
    }

    .stat-item h4 {
        font-size: 1.2rem;
    }

    .stat-item p {
        font-size: 0.7rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.slide-up {
    animation: slideUp 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Floating Card */
/* 
.floating-card {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    background: var(--bg-white);
    box-shadow: var(--shadow-medium);
}
*/

/* Advisor Bar */
/* 
.advisor-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: var(--bg-white);
    border-top: 4px solid var(--primary-pink);
}

.advisor-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
}
*/

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-card {
        position: static;
        margin: 2rem auto;
        transform: none;
        background: var(--gradient-primary);
        color: var(--text-light);
    }
    
    .floating-card .gradient-text {
        color: var(--text-light);
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
    }
    
    .advisor-bar {
        flex-direction: column;
        width: 90%;
        text-align: center;
    }

    header {
        padding: 0.3rem 5%; /* Further reduced padding */
    }

    .logo img {
        max-height: 40px; /* Further adjust logo size */
    }

    .nav-links {
        gap: 1rem; /* Further reduced gap */
    }

    .nav-item {
        font-size: 0.9rem; /* Reduced font size */
    }

    .apply-btn {
        padding: 0.4rem 0.8rem; /* Further reduced padding */
        font-size: 0.8rem; /* Reduced font size */
    }
}

/* Add smooth transitions */
.nav-item, .apply-btn, .floating-card {
    transition: all 0.3s ease-in-out;
}

/* Hover effects for cards */
.rank-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

/* Add these new styles after your existing code */

/* Training Section Styles */
.training-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden; /* Ensure content doesn't overflow */
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 2.5rem;
    position: relative;
    padding: 0 1rem; /* Add padding for smaller screens */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.training-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
    padding: 0 1rem; /* Add padding for smaller screens */
}

.training-content {
    flex: 1;
    animation: fadeInUp 1s ease-out; /* Add animation */
}

.training-content h3 {
    font-size: 1.7rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: left; /* Ensure left alignment */
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--text-gray);
}

.features-list i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.schedule-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin: 1.5rem 0;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.schedule-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.schedule-info p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.highlight-text {
    font-size: 1.1rem;
    color: var(--accent-orange);
    font-weight: 500;
    padding: 0.8rem 0;
}

.training-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out; /* Add animation */
}

.training-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Add border-radius */
    box-shadow: var(--shadow-soft); /* Add shadow */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .training-section {
        padding: 3rem 5%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .training-container {
        flex-direction: column-reverse;
        gap: 1.5rem;
        padding: 0; /* Remove padding */
    }

    .training-content h3 {
        font-size: 1.4rem;
        text-align: center;
    }

    .features-list li {
        font-size: 0.9rem;
    }

    .schedule-info {
        padding: 1rem;
    }

    .training-image img {
        border-radius: 8px; /* Adjust border-radius */
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add subtle transition between sections */
section {
    position: relative;
    z-index: 1;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 212, 179, 0.3));
    pointer-events: none;
}

/* Add these new animations after your existing animations */

/* Slide in from sides animation */
.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bounce animation */
.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Glow effect */
.glow {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px var(--primary-blue),
                    0 0 10px var(--accent-orange);
    }
    to {
        box-shadow: 0 0 20px var(--primary-blue),
                    0 0 30px var(--accent-orange);
    }
}

/* Rotating gear animation */
.rotate-gear {
    animation: rotateCW 8s linear infinite;
}

.rotate-gear-ccw {
    animation: rotateCCW 8s linear infinite;
}

@keyframes rotateCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCCW {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Text gradient animation */
.animate-gradient-text {
    background: linear-gradient(
        270deg,
        var(--primary-blue),
        var(--accent-orange)
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientText 3s linear infinite;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Modern Footer Styles */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
    max-width: 400px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-info p {
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-links h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 0.5rem;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-light);
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 1rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        height: 50px;
        margin-bottom: 1rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Preview Section Styles */
.preview-section {
    padding: 8rem 5% 4rem;
    background: var(--bg-light);
}

.preview-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.preview-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.preview-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.preview-card:hover img {
    transform: scale(1.05);
}

.preview-card h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 1rem;
    font-weight: 600;
}

.preview-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0 1rem 1rem;
    line-height: 1.5;
}

/* Add hover overlay effect */
.preview-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: all 0.3s ease;
}

.preview-card:hover::after {
    opacity: 1;
}

/* Add preview card animations */
.preview-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.preview-card:nth-child(1) { animation-delay: 0.1s; }
.preview-card:nth-child(2) { animation-delay: 0.2s; }
.preview-card:nth-child(3) { animation-delay: 0.3s; }
.preview-card:nth-child(4) { animation-delay: 0.4s; }
.preview-card:nth-child(5) { animation-delay: 0.5s; }
.preview-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for preview section */
@media (max-width: 768px) {
    .preview-section {
        padding: 6rem 5% 3rem;
    }

    .preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .preview-card img {
        height: 180px;
    }

    .preview-card h3 {
        font-size: 1.1rem;
    }

    .preview-card p {
        font-size: 0.85rem;
    }
}

/* Services Section Styles */
.services-section {
    padding: 80px 5%;
    background: var(--bg-white);
    position: relative;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-header .section-badge {
    display: inline-flex;
    align-items: center;
    background: #EEF2FF;
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.services-header h2 {
    font-size: 2.8rem;
    color: #1F2937;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.services-header p {
    color: #6B7280;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-box {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 24px;
    color: var(--primary);
}

.service-box h3 {
    font-size: 1.5rem;
    color: #1F2937;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-box > p {
    color: #6B7280;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.service-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 24px 0;
}

.service-tag.featured {
    background: #FFE4E6;
    color: #FF4757;
}

.service-tag.popular {
    background: #E0F2FE;
    color: #0284C7;
}

.service-tag.enterprise {
    background: #F1F5F9;
    color: #475569;
}

.service-features {
    width: 100%;
    text-align: left;
    margin-top: 24px;
}

.service-features h4 {
    color: #1F2937;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4B5563;
    font-size: 0.938rem;
    margin-bottom: 12px;
}

.feature-list li i {
    color: var(--primary);
    font-size: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: 24px;
    font-size: 0.938rem;
    gap: 8px;
}

.service-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 20px;
    }

    .services-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-box {
        padding: 24px;
    }
}

/* Achievement Grid Styles */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 20px;
}

.achievement-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.achievement-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.achievement-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 0;
    opacity: 0.1;
}

.achievement-circle circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 10;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 20px;
    }

    .services-header h2 {
        font-size: 2.2rem;
    }

    .services-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .services-header h2 {
        font-size: 1.8rem;
    }

    .services-header .section-badge {
        font-size: 0.9rem;
        padding: 6px 16px;
    }
}

/* Animation classes */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Achievement Cards Styles */
.achievements-section {
    padding: 80px 20px;
    background: var(--bg-light);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var (--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.section-header h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header .gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.achievement-card {
    background: var(--bg-white);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.achievement-card:hover {
    transform: translateY(-10px) translateY(-8px) scale(1.02);
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.achievement-icon i {
    font-size: 28px;
    color: var(--text-light);
}

.achievement-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.achievement-number .plus {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-card h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.achievement-card p {
    color: var(--text-gray);
    font-size: 1rem;
    opacity: 0.9;
}

.circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(37, 99, 235, 0.1);
    stroke-width: 4;
}

.circle-fill {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 4;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: fillCircle 2s ease-out forwards;
}

/* Add gradient definition for the SVG */
.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 50%),
                radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.05), transparent 50%);
    z-index: 1;
}

@keyframes fillCircle {
    to {
        stroke-dashoffset: 70;
    }
}

@media (max-width: 768px) {
    .achievements-section {
        padding: 60px 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .achievement-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        padding: 10px;
    }
    
    .achievement-card {
        padding: 30px 20px;
    }
    
    .achievement-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .achievement-icon i {
        font-size: 24px;
    }
    
    .achievement-number {
        font-size: 2.8rem;
    }
    
    .achievement-number .plus {
        font-size: 1.6rem;
    }
    
    .achievement-card h3 {
        font-size: 1.2rem;
    }
    
    .achievement-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .achievement-cards {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Enhanced card hover effects */
.feature-item, .achievement-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover, .achievement-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Add loading skeleton animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg,
        var(--bg-gray) 25%,
        var(--bg-white) 50%,
        var(--bg-gray) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Enhance scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}