/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .btn-primary {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        padding: 8px 16px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .btn-secondary {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .btn-secondary {
        padding: 8px 16px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }
}

.w-100 {
    width: 100%;
    justify-content: center;
}

/* Desktop button visibility */
.desktop-btn {
    display: inline-flex;
}

@media (max-width: 768px) {
    .desktop-btn {
        display: none;
    }
}

/* Mobile enquire button */
.mobile-enquire-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-enquire-btn {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Section Styles
   ============================================ */
.section-tag {
    margin-bottom: 16px;
}

.section-tag span {
    display: inline-block;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 480px) {
    .section-tag span {
        font-size: 12px;
        padding: 4px 12px;
    }
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 16px;
    }
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.logo i {
    color: var(--primary);
    font-size: 28px;
}

.logo span span {
    color: var(--primary);
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    
    .logo i {
        font-size: 24px;
    }
}

.nav-links {
    display: flex;
    gap: 32px;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    padding: 8px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-links {
    padding: 20px;
    flex: 1;
}

.mobile-nav-links li a {
    display: block;
    padding: 14px 0;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 16px;
}

.mobile-nav-links li a:hover {
    color: var(--primary);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 40px;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .hero-badge {
        justify-content: center;
    }
}

.hero-badge i {
    color: var(--primary);
    font-size: 12px;
}

.hero-badge span {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

@media (max-width: 480px) {
    .hero-badge span {
        font-size: 12px;
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typing Animation Styles */
.typing-wrapper {
    display: inline-block;
    position: relative;
}

.typed-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor {
    display: inline-block;
    width: 3px;
    background: var(--primary);
    margin-left: 4px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 16px;
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
}

@media (max-width: 768px) {
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 28px;
    }
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

@media (max-width: 480px) {
    .stat-label {
        font-size: 12px;
    }
}

.hero-image {
    position: relative;
}

@media (max-width: 768px) {
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

.hero-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 480px) {
    .floating-card {
        padding: 8px 16px;
        gap: 8px;
    }
    
    .floating-card i {
        font-size: 14px;
    }
    
    .floating-card span {
        font-size: 12px;
    }
}

.floating-card i {
    font-size: 20px;
    color: var(--primary);
}

.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

@media (max-width: 768px) {
    .card-1 {
        left: -20px;
        top: 10%;
    }
}

.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

@media (max-width: 768px) {
    .card-2 {
        right: -20px;
        bottom: 10%;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 80px 0;
    background: var(--light);
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-image {
    position: relative;
}

.image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

@media (max-width: 480px) {
    .experience-badge {
        padding: 12px;
        bottom: -10px;
        right: -10px;
    }
    
    .experience-badge .years {
        font-size: 24px;
    }
    
    .experience-badge .text {
        font-size: 10px;
    }
}

.experience-badge .years {
    font-size: 32px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
}

.about-text {
    color: var(--gray);
    margin: 24px 0;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.feature-card {
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 480px) {
    .feature-card {
        padding: 16px;
    }
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary);
}

.feature-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

@media (max-width: 480px) {
    .feature-card h4 {
        font-size: 16px;
    }
}

.feature-card p {
    font-size: 14px;
    color: var(--gray);
}

/* ============================================
   Courses Section
   ============================================ */
.courses {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .courses {
        padding: 60px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 32px;
    }
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.course-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px) {
    .course-card {
        padding: 24px;
    }
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 480px) {
    .course-badge {
        top: 16px;
        right: 16px;
        font-size: 10px;
        padding: 3px 10px;
    }
}

.course-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon i {
    font-size: 28px;
    color: var(--primary);
}

.course-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .course-card h3 {
        font-size: 20px;
    }
}

.course-card > p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray);
}

@media (max-width: 480px) {
    .course-meta span {
        font-size: 12px;
    }
}

.course-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.course-link:hover {
    gap: 12px;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    padding: 80px 0;
    background: var(--light);
}

@media (max-width: 768px) {
    .gallery {
        padding: 60px 0;
    }
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .gallery-filters {
        gap: 10px;
        margin-bottom: 32px;
    }
}

.filter-btn {
    padding: 8px 24px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray);
}

@media (max-width: 480px) {
    .filter-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h4 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

@media (max-width: 480px) {
    .gallery-info h4 {
        font-size: 18px;
    }
}

.gallery-info p {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.gallery-info i {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-info i:hover {
    transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    font-size: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--radius);
    margin-top: 16px;
}

@media (max-width: 768px) {
    .lightbox-caption {
        bottom: -60px;
        font-size: 14px;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2001;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 28px;
    }
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Gallery Item Animation */
.gallery-item {
    animation: fadeInUp 0.6s ease;
}

/* Filter Animation */
.gallery-item.hide {
    display: none;
}

/* ============================================
   Results Section
   ============================================ */
.results {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .results {
        padding: 60px 0;
    }
}

.results-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .results-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .results-stats-grid {
        grid-template-columns: 1fr;
    }
}

.result-stat-card {
    text-align: center;
    padding: 30px;
    background: var(--light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .result-stat-card {
        padding: 24px;
    }
}

.result-stat-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.result-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.result-icon i {
    font-size: 28px;
    color: var(--primary);
}

.result-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
}

@media (max-width: 480px) {
    .result-number {
        font-size: 32px;
    }
}

.result-stat-card p {
    color: var(--gray);
    font-weight: 500;
}

/* Testimonials Slider */
.testimonials-preview {
    margin-top: 40px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .testimonial-slide {
        padding: 0 10px;
    }
}

.testimonial-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 24px;
    }
}

.quote-icon {
    font-size: 40px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .quote-icon {
        font-size: 32px;
    }
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--dark);
}

@media (max-width: 768px) {
    .testimonial-text {
        font-size: 16px;
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 480px) {
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
}

.testimonial-author h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--gray);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.slider-prev,
.slider-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 80px 0;
    background: var(--light);
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.contact-info {
    padding: 48px;
    background: var(--gradient);
    color: var(--white);
}

@media (max-width: 768px) {
    .contact-info {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .contact-info {
        padding: 32px 24px;
    }
}

.contact-info .section-tag span {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.contact-info h2 {
    font-size: 32px;
    margin: 16px 0;
}

@media (max-width: 480px) {
    .contact-info h2 {
        font-size: 28px;
    }
}

.contact-info > p {
    opacity: 0.9;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

@media (max-width: 480px) {
    .contact-detail {
        gap: 12px;
    }
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon i {
        font-size: 18px;
    }
}

.contact-icon i {
    font-size: 20px;
}

.contact-detail h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.contact-form {
    padding: 48px;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 32px 24px;
    }
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

@media (max-width: 480px) {
    .form-header h3 {
        font-size: 24px;
    }
}

.form-header p {
    color: var(--gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-light);
    color: var(--white);
    padding: 60px 0 20px;
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-logo span span {
    color: var(--primary);
}

.footer-col p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.contact-info-footer li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-light);
    margin-bottom: 16px;
    font-size: 14px;
}

.contact-info-footer i {
    width: 20px;
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: var(--gray-light);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ============================================
   Additional Responsive Fixes
   ============================================ */
@media (max-width: 480px) {
    .view-all {
        margin-top: 24px;
    }
    
    .btn-small {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Fix for iOS input zoom */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}