/* ==========================================================================
   ARNAV INFO - Modern Website Stylesheet
   Design: Clean blue-teal gradient, glassmorphism, parallax effects
   ========================================================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary: #0f172a;
    --accent: #06b6d4;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #0284c7 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-light: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    /* Background Colors */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(14, 165, 233, 0.08);
    --shadow-md: 0 8px 30px rgba(14, 165, 233, 0.12);
    --shadow-lg: 0 20px 60px rgba(14, 165, 233, 0.15);
    --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.3);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px);
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Scrollbar variables */
    --scrollbar-bg: rgba(15, 23, 42, 0.04);
    --scrollbar-thumb: rgba(14,165,233,0.22);
    --scrollbar-thumb-hover: rgba(14,165,233,0.36);
    --scrollbar-width: 12px;
}


/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
    max-width: 100vw;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */

/* Firefox */
html {
    scrollbar-width: thin; /* auto | thin */
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}

/* WebKit-based browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: var(--radius-full);
    border: 3px solid transparent; /* create internal padding */
    background-clip: padding-box;
    transition: background var(--transition-fast), opacity var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    ::-webkit-scrollbar-thumb {
        transition: none;
    }
}
/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */

/* Basic Firefox support */
html {
    scrollbar-width: thin; /* options: auto, thin */
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}

/* WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: var(--radius-full);
    border: 3px solid transparent; /* create padding effect */
    background-clip: padding-box;
    transition: background var(--transition-fast), opacity var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Prefer reduced motion — minimize transitions */
@media (prefers-reduced-motion: reduce) {
    ::-webkit-scrollbar-thumb {
        transition: none;
    }
}
/* ==========================================================================
   LOADING SCREEN
   ========================================================================== */

.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-rings {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.ring-outer {
    inset: 0;
    border-top-color: var(--primary);
    animation: spin 2s linear infinite;
}

.ring-inner {
    inset: 12px;
    border-top-color: var(--accent);
    animation: spin 1.5s linear infinite reverse;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loader-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.loader-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.loader-dots span {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce 0.6s ease infinite;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; background: var(--accent); }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; background: var(--primary-light); }

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Progress Bar */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(14, 165, 233, 0.1);
    z-index: 9999;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    transition: width 0.1s ease;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 78px;
  object-fit: contain;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 800;
    padding-left: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar:not(.scrolled) .logo-text {
    color: white;
    -webkit-text-fill-color: white;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    /* background: rgba(14, 165, 233, 0.1); */
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
    color: white;
    /* background: rgba(255, 255, 255, 0.15); */
}

.nav-link i {
    font-size: 0.7rem;
    transition: transform var(--transition-normal);
}

/* Caret for dropdown toggles */
.dropdown-caret {
    margin-left: 8px;
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

/* Rotate caret when dropdown is open */
.dropdown.active .dropdown-caret {
    transform: rotate(180deg);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 24px !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: var(--gradient-primary);
    color: white !important;
}

/* Dropdown */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 500px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
    will-change: transform, opacity, visibility;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .nav-link i,
.dropdown.active .nav-link i {
    transform: rotate(180deg);
}

.dropdown-header {
    background: var(--gradient-primary);
    padding: 16px 24px;
}

.all-services-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.all-services-link:hover {
    opacity: 0.9;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px;
}

.dropdown-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bg-light);
}

.dropdown-section h4 i {
    color: var(--primary);
}

.dropdown-section ul {
    list-style: none;
}

.dropdown-section ul li a {
    display: block;
    padding: 10px 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.dropdown-section ul li a:hover {
    background: var(--gradient-light);
    color: var(--primary);
    transform: translateX(4px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.navbar:not(.scrolled) .bar {
    background: white;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 115vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-bg-shapes .shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 50%;
    left: 30%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #fbbf24;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
}

.hero-main-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    height: 440px;
    max-width: 88%;
    aspect-ratio: 1 / 1;
}

.visual-circle {
    position: absolute;
    inset: 0;
    /* background: var(--gradient-primary); */
    border-radius: 50%;
    opacity: 0.2;
    aspect-ratio: 1 / 1;
}

.visual-ring {
    position: absolute;
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    aspect-ratio: 1 / 1;
}

.visual-ring.ring-1 {
    inset: -20px;
    border-style: dashed;
}

.visual-ring.ring-2 {
    inset: -50px;
    animation-direction: reverse;
    animation-duration: 30s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.visual-center {
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 440px;
    max-height: 440px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-center img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    background-size: cover;
    border-radius: 50%;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-light);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--secondary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Glass Effect */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background: var(--light);
}

.about-image-wrapper {
    position: relative;
}

.about-image-bg {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content {
    padding-left: 40px;
}

.about-description {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-features .feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.about-features .feature-icon {
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-features .feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.about-features .feature-text p {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background: var(--bg-light);
    position: relative;
}

.parallax-section {
    position: relative;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%230ea5e9" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.icon-ring {
    position: absolute;
    inset: -8px;
    border: 2px dashed var(--primary);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover .icon-ring {
    opacity: 0.3;
    animation: rotate 10s linear infinite;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    gap: 12px;
}

/* ==========================================================================
   TRAINING SECTION
   ========================================================================== */
.training-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.training-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.training-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.training-card:hover .training-image img {
    transform: scale(1.1);
}

.training-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.training-card:hover .training-overlay {
    opacity: 1;
}

.training-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    z-index: 3;
}

.training-badge.popular {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.training-badge.new {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.btn-view {
    padding: 12px 25px;
    background: var(--bg-white);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-full);
    transform: translateY(20px);
    transition: var(--transition);
}

.training-card:hover .btn-view {
    transform: translateY(0);
}

.btn-view:hover {
    background: var(--bg-light);
}

.training-content {
    padding: 25px;
}

.training-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.training-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.training-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.training-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--primary);
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.training-meta span i {
    color: var(--primary);
    font-size: 12px;
}

/* ==========================================================================
   FOUNDER SECTION
   ========================================================================== */
.founder-section {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.founder-bg-pattern {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="%230ea5e9" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 100px 100px;
}

.founder-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.founder-content {
    padding: 40px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.founder-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-info p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.founder-role-text {
    color: var(--text-primary) !important;
    font-size: 1.1rem;
}

/* Profile Card */
.founder-profile {
    display: flex;
    justify-content: center;
}

.profile-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.profile-image-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 24px;
}

.profile-ring {
    position: absolute;
    inset: -10px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    border-style: dashed;
}

.profile-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ensure the placeholder and img cover the full circular area */
.profile-image .profile-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    border-radius: 50%;
}

.profile-image .profile-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.profile-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.profile-role {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-4px);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    background: var(--bg-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(14, 165, 233, 0.1);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    padding-right: 20px;
}

.faq-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */
.map-section {
    background: var(--bg-light);
}

.map-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 10;
    max-width: 300px;
}

.map-overlay h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.map-overlay h4 i {
    color: var(--primary);
}

.map-overlay p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.contact-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.contact-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-light);
}

.contact-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    opacity: 0.5;
}

.contact-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    opacity: 0.3;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: var(--gradient-primary);
    padding: 40px;
    border-radius: var(--radius-xl);
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-slow);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    font-size: 15px;
    color: var(--gray-600);
    margin: 0;
}

.contact-details a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--bg-light);
    border-radius: var(--radius-md);
    background: var(--bg-light);
    color: var(--text-primary);
    transition: var(--transition-normal);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
}

.form-group label {
    display: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    background: var(--gradient-hero);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.cta-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
}

.cta-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   PAGE HEADER
   ========================================================================== */
.page-header {
    position: relative;
    padding: 100px 0 60px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.header-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.header-shape.shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
}

.header-shape.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: 10%;
}

.header-shape.shape-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: -50px;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.page-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.page-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 24px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a:hover {
    color: white;
}

.breadcrumb-nav .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-nav .current {
    color: white;
    font-weight: 600;
}

/* ============ SERVICE/COURSE DETAIL ============ */
.service-detail,
.course-detail {
    padding: 100px 0;
}

.service-detail.alt-bg,
.course-detail.alt-bg {
    background: var(--bg-light);
}

.service-detail-content,
.course-detail-content {
    padding-right: 30px;
}

.service-badge,
.course-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 15px;
}

.course-badge.popular {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);;
    color: var(--text-secondary);
}

.course-badge.new {
    background: var(--gradient-primary);
    color: var(--bg-white);
}

.service-title,
.course-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-description,
.course-description {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features-list,
.course-curriculum {
    margin-bottom: 30px;
}

.course-curriculum h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.course-curriculum ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-curriculum ul li {
    list-style: none;
    position: relative;
    padding-left: 25px;
    font-size: 15px;
    color: var(--text-secondary);
}

.course-curriculum ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row i {
    width: 24px;
    height: 24px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 12px;
}

.feature-row span {
    font-size: 15px;
    color: var(--gray-700);
}

.course-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.highlight-item i {
    color: var(--primary);
    font-size: 16px;
}

.highlight-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.service-detail-image,
.course-detail-image {
    position: relative;
}

.service-detail-image img,
.course-detail-image img {
    width: 100%;
    height: 450px;  /* FIXED HEIGHT for consistency */
    object-fit: cover;  /* Maintains aspect ratio without distortion */
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.image-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary);
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 80px 0 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: white;
    -webkit-text-fill-color: white;
    font-size: 1.7rem;
    font-weight: 700;
    padding-left: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: white;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 8px;
}

.footer-contact ul li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
[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);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}
/* ==========================================================================
   NEW SECTIONS STYLES (Process & Carousel)
   ========================================================================== */

/* Process Section */
.process-section {
    background: var(--bg-white);
}

.process-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    flex: 1;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 24px;
    box-shadow: var(--shadow-sm);
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 80px;
    color: var(--primary-light);
    font-size: 1.5rem;
    opacity: 0.5;
}

/* Brand Carousel (Projects) */
.projects-section {
    background: var(--bg-light);
    overflow: hidden;
    padding: 80px 0;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-container::before,
.carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.carousel-track {
    display: flex;
    width: calc(250px * 12); /* 250px per slide * number of total slides */
    animation: scroll 30s linear infinite;
}

.brand-slide {
    width: 300px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    transition: var(--transition-normal);
}

.brand-slide:hover {
    opacity: 1;
    transform: scale(1.1);
}

.brand-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); } /* Move by half the total width (the width of one set of images) */
}


/* ==========================================================================
   RESPONSIVE DESIGN (ADD THIS TO FIX MOBILE ISSUES)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-content, 
    .about-content {
        gap: 30px;
    }
    
    /* Stack hero on larger tablets to avoid visual overlap */
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-image-wrapper {
        max-width: 420px;
        margin: 0 auto 30px;
    }

    .hero-main-visual,
    .visual-center {
        position: relative !important;
        transform: none !important;
        width: 100%;
        max-width: 420px;
        height: auto;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    /* Navigation Mobile Fix */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Height of navbar */
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-link {
        justify-content: center;
        color: var(--text-primary) !important;
    }

    /* Dropdown Mobile Fix */
    .dropdown-content {
        position: static;
        transform: none;
        /* hidden by default but keep display:block so we can animate height */
        display: block;
        opacity: 0;
        visibility: hidden;
        box-shadow: none;
        width: 100%;
        border: none;
        max-height: 0;
        overflow: hidden;
        min-width: auto;
        transition: max-height 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
    }
    
    /* When a dropdown is toggled open on mobile, reveal it with a slide/fade */
    .dropdown.active .dropdown-content {
        opacity: 1;
        visibility: visible;
        max-height: 1000px; /* large enough to show content, will slide open */
        overflow-y: auto;
        animation: slideDown 0.28s ease forwards;
    }

    /* Mirror desktop hover/active style on mobile when open */
    .dropdown.active .nav-link {
        color: var(--primary);
        background: rgba(14,165,233,0.06);
        box-shadow: var(--shadow-glow);
    }

    /* Rotate any icon inside the link (if present) to show open state */
    .dropdown.active .nav-link i {
        transform: rotate(180deg);
        transition: transform 0.25s ease;
    }

    /* Improve tap/hover feedback for dropdown items on touch devices */
    .nav-menu .dropdown-content a:hover,
    .dropdown-section ul li a:hover {
        background: rgba(14,165,233,0.06);
        color: var(--primary);
        border-radius: var(--radius-sm);
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .dropdown-section h4 {
        justify-content: center;
    }

    /* Grid Collapses */
    .hero-content, 
    .founder-wrapper, 
    .contact-grid,
    .footer-grid,
    .row {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    
    /* Reorder About Section for Mobile (Image Top) */
    .about-section .row,
    .service-detail .row,
    .course-detail .row {
        flex-direction: column !important;
    }
    
    .about-image-wrapper {
        margin-bottom: 40px;
    }

    /* Process Section Mobile */
    .process-grid {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        padding: 20px 0;
        height: auto;
        width: 100%;
    }
    
    .process-step {
        width: 100%;
    }

    /* Hero Fixes */
    .hero {
        min-height: auto;
        padding-top: 150px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin: 40px auto 0;
    }
}

@media (max-width: 768px) {
    /* Typography Adjustments */
    .section-title, 
    .hero-title, 
    .founder-title {
        font-size: 1.8rem;
    }
    
    .services-grid, 
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-form-wrapper {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .course-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-card {
        padding: 20px;
    }
    
    .profile-image-wrapper {
        width: 150px;
        height: 150px;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN - COMPREHENSIVE MOBILE OPTIMIZATION
   ========================================================================== */

/* Tablet & Small Desktop (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    /* Add spacing between content sections */
    .service-detail-content,
    .course-detail-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

/* Tablet (992px and below) */
@media (max-width: 992px) {
    /* ===== NAVIGATION MOBILE ===== */
    .hamburger {
        display: flex;
        z-index: 100002; /* above mobile menu for crisp toggle */
    }

    /* Mobile nav overlay - light theme */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* below the header */
        gap: 0;
        flex-direction: column;
        width: 100%;
        height: calc(100vh - 70px);
        overflow-y: auto;
        transition: left 0.32s cubic-bezier(.2,.9,.3,1);
        box-shadow: 0 30px 60px rgba(2,6,23,0.06);
        padding: 14px 0 40px; /* extra bottom padding for dropdowns */
        z-index: 100000; /* ensure nav overlays all content on mobile */
        background: #ffffff;
        color: var(--text-primary);
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 12px 0;
        width: 100%;
    }
    
    .nav-item + .nav-item {
        border-top: 1px solid rgba(15,23,42,0.06);
    }

    .nav-link {
        justify-content: center;
        color: var(--text-primary) !important;
        padding: 14px 20px;
        font-size: 1.04rem;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
        border-radius: 10px;
    }

    .nav-link:hover {
        background: rgba(6,95,212,0.06);
        color: var(--primary);
        transform: translateY(-2px);
    }

    /* Caret color inside mobile nav */
    .nav-menu .dropdown-caret {
        color: var(--text-muted);
        margin-left: 6px;
    }

    /* Dropdown panel appearance on mobile (card-like, centered links) */
    .nav-menu .dropdown-content {
        background: #ffffff;
        margin: 8px 16px 12px 16px;
        padding: 8px 6px;
        border-radius: 8px;
        color: var(--text-primary);
        border: 1px solid rgba(15,23,42,0.06);
        box-shadow: 0 6px 18px rgba(2,6,23,0.04);
    }

    .nav-menu .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 0;
    }

    .nav-menu .dropdown-section h4 {
        color: var(--text-secondary);
        margin-bottom: 8px;
        text-align: center;
        font-size: 0.9rem;
    }

    .nav-menu .dropdown-section ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    /* Center dropdown items */
    .nav-menu .dropdown-section ul li {
        text-align: center;
    }

    .nav-menu .dropdown-section ul li a {
        color: var(--text-primary);
        padding: 14px 12px;
        display: inline-block;
        width: 100%;
        text-align: center;
        border-radius: 8px;
        transition: background 0.14s ease, color 0.14s ease, transform 0.12s ease;
    }

    .nav-menu .dropdown-section ul li a:hover {
        background: linear-gradient(90deg, rgba(34,211,238,0.12) 0%, rgba(6,182,212,0.12) 100%);
        color: var(--primary);
        transform: translateY(-2px);
    }

    /* Prominent CTA styling inside mobile menu (outline on white) */
    .nav-menu .nav-cta {
        display: block;
        width: calc(100% - 40px);
        margin: 18px auto 8px;
        border-radius: 30px;
        padding: 12px 18px !important;
        background: linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
        color: var(--primary) !important;
        text-align: center;
        border: 2px solid var(--primary);
        box-shadow: 0 8px 24px rgba(6,179,212,0.06);
    }

    .nav-menu .nav-cta:hover {
        transform: translateY(-2px);
        color: white !important;
        background: linear-gradient(90deg, #22d3ee 0%, #06b6d4 100%);
    }

    /* ===== DROPDOWN MOBILE FIX ===== */
    .dropdown-content {
        position: static;
        transform: none;
        /* keep block display so height animation works */
        display: block;
        opacity: 0;
        visibility: hidden;
        box-shadow: none;
        width: 100%;
        border: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        min-width: auto;
        margin-top: 0;
        transition: max-height 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
    }
    
    .dropdown.active .dropdown-content {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
        overflow-y: auto;
        animation: slideDown 0.28s ease forwards;
    }

    .dropdown-header {
        background: var(--gradient-light);
        padding: 12px 20px;
    }

    /* active link visual on mobile */
    .dropdown.active .nav-link {
        color: var(--primary);
        background: rgba(14,165,233,0.06);
        box-shadow: var(--shadow-glow);
    }

    .nav-menu .dropdown-content a {
        color: var(--text-primary);
        display: block;
        padding: 10px 18px;
        transition: background 0.18s ease, color 0.18s ease;
    }

    .nav-menu .dropdown-content a:hover {
        background: rgba(14,165,233,0.06);
        color: var(--primary);
    }
    
    .all-services-link {
        color: var(--primary);
        font-size: 0.9rem;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
        padding: 15px 20px;
        gap: 20px;
    }
    
    .dropdown-section h4 {
        justify-content: flex-start;
        text-align: left;
        font-size: 0.8rem;
    }
    
    .dropdown-section ul li a {
        padding: 10px 15px;
        text-align: left;
        display: block; /* full-width hit area */
        color: var(--text-primary); /* ensure contrast on white background */
        font-weight: 500;
    }

    /* Ensure links in dropdown are easy to tap and visible on mobile */
    .nav-menu .dropdown-content a {
        color: var(--text-primary);
        display: block;
        padding: 8px 20px;
    }

    /* ===== GRID LAYOUTS ===== */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .founder-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* ===== SERVICE & COURSE PAGES ===== */
    .service-detail .row,
    .course-detail .row {
        flex-direction: column !important;
    }
    
    .service-detail .col-lg-6,
    .course-detail .col-lg-6 {
        width: 100%;
        max-width: 100%;
    }
    
    /* Ensure proper spacing between image and content */
    .service-detail-image,
    .course-detail-image {
        margin-bottom: 40px;
        order: -1; /* Image appears first on mobile */
    }
    
    .service-detail.alt-bg .service-detail-image,
    .course-detail.alt-bg .course-detail-image {
        order: -1; /* Override reverse order on mobile */
    }
    
    .service-detail-content,
    .course-detail-content {
        padding: 0;
    }

    /* ===== ABOUT SECTION ===== */
    .about-section .row {
        flex-direction: column !important;
    }
    
    .about-image-wrapper {
        margin-bottom: 40px;
    }

    /* ===== PROCESS SECTION ===== */
    .process-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        padding: 15px 0;
        height: auto;
        width: 100%;
        font-size: 1.2rem;
    }
    
    .process-step {
        width: 100%;
    }

    /* ===== HERO SECTION ===== */
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image-wrapper {
        margin: 30px auto 0;
        max-width: 420px;
        width: 100%;
        aspect-ratio: auto;
    }
    
    /* Make the main visual responsive and non-absolute on small screens to avoid overlap */
    .hero-main-visual,
    .visual-center {
        width: 100%;
        max-width: 350px;
        height: auto;
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        margin: 0 auto;
    }

    /* Keep hero content stacked reliably */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* Mobile Landscape & Small Tablets (768px and below) */
@media (max-width: 768px) {
    /* ===== TYPOGRAPHY ===== */
    .section-title,
    .hero-title,
    .founder-title,
    .page-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .service-title,
    .course-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle,
    .hero-description {
        font-size: 1rem;
    }

    /* ===== SECTIONS ===== */
    section {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 100px 0 50px;
    }

    /* ===== GRIDS ===== */
    .services-grid,
    .training-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }

    /* ===== FOOTER ===== */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    /* ===== FORMS ===== */
    .contact-form-wrapper {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form {
        padding: 30px 25px;
    }

    /* ===== COURSE HIGHLIGHTS ===== */
    .course-highlights {
        grid-template-columns: 1fr;
    }
    
    /* ===== FOUNDER SECTION ===== */
    .founder-content {
        padding: 30px 25px;
    }
    
    .profile-card {
        padding: 30px 25px;
    }

    /* ===== MAP SECTION ===== */
    .map-overlay {
        position: static;
        margin-bottom: 20px;
        max-width: 100%;
    }

    /* ===== CTA SECTION ===== */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }

    /* ===== SPACING IMPROVEMENTS ===== */
    .service-detail-image,
    .course-detail-image {
        margin-bottom: 35px;
    }
    
    .image-decoration {
        display: none; /* Hide decorative elements on smaller screens */
    }
}

/* Mobile Portrait (576px and below) */
@media (max-width: 576px) {
    /* ===== CONTAINERS ===== */
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }

    /* ===== TYPOGRAPHY ===== */
    .hero-title,
    .section-title,
    .page-title {
        font-size: 1.5rem;
    }
    
    .service-title,
    .course-title {
        font-size: 1.4rem;
    }
    
    .hero-description,
    .section-subtitle {
        font-size: 0.95rem;
    }

    /* ===== HERO SECTION ===== */
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero-main-visual,
    .visual-center {
        width: 280px;
        height: 280px;
    }

    /* ===== BUTTONS ===== */
    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    /* ===== CARDS ===== */
    .service-card,
    .training-card {
        padding: 30px 20px;
    }

    /* ===== FOUNDER SECTION ===== */
    .profile-card {
        padding: 25px 20px;
    }
    
    .profile-image-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .founder-content {
        padding: 25px 20px;
    }

    /* ===== FAQ ===== */
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h4 {
        font-size: 0.95rem;
        padding-right: 10px;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 0.9rem;
    }

    /* ===== PROCESS SECTION ===== */
    .process-step {
        padding: 25px 15px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    /* ===== CONTACT INFO ===== */
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .contact-icon {
        margin: 0 auto 10px;
    }

    /* ===== FORMS ===== */
    .contact-form {
        padding: 25px 20px;
    }

    /* ===== NAVIGATION ===== */
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 40px;
    }

    /* ===== PAGE HEADER ===== */
    .page-header {
        padding: 90px 0 40px;
    }
    
    .page-badge {
        font-size: 0.8rem;
        padding: 8px 18px;
    }

    /* ===== TRAINING/SERVICE IMAGES ===== */
    .service-detail-image img,
    .course-detail-image img {
        border-radius: var(--radius-md);
        height: 300px;  /* Smaller height for mobile */
        object-fit: cover;
    }
    
    /* ===== ABOUT IMAGE ===== */
    .about-image {
        height: 350px;
    }
    
    .about-image-bg {
        top: 10px;
        left: 10px;
        right: -10px;
        bottom: -10px;
    }
}

/* Extra Small Devices (480px and below) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .hero-main-visual,
    .visual-center {
        width: 250px;
        height: 250px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Animation for dropdown on mobile */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}
/* ==========================================================================
   FIX: REDUCE SIDE SPACING & INCREASE WIDTH
   ========================================================================== */

/* 1. Make the main container wider (Reduces left/right white space) */
.container, 
.nav-container, 
.footer-container {
    max-width: 1600px !important; /* Increased from standard 1320px */
    width: 82% !important;        /* Occupies 94% of screen width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* 2. Fix the Navigation Bar spacing */
.navbar {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-container {
    width: 94% !important; /* Match the content width */
}
/* ==========================================================================
   FIX: ADD PADDING BETWEEN CONTENT AND IMAGE IN ALT-BG SECTIONS
   Add this CSS to your styles.css file
   ========================================================================== */

/* Service Detail Alt-BG - Add padding on the LEFT side of content */
.service-detail.alt-bg .service-detail-content {
    padding-left: 50px;
}

/* Course Detail Alt-BG - Add padding on the LEFT side of content */
.course-detail.alt-bg .course-detail-content {
    padding-left: 50px;
}

/* Mobile Responsive - Remove extra padding on mobile */
@media (max-width: 992px) {
    .service-detail.alt-bg .service-detail-content,
    .course-detail.alt-bg .course-detail-content {
        padding-left: 0;
        padding-top: 40px;
    }
}

/* Additional spacing improvements */
@media (min-width: 993px) {
    /* For regular (non alt-bg) sections - padding on right */
    .service-detail:not(.alt-bg) .service-detail-content,
    .course-detail:not(.alt-bg) .course-detail-content {
        padding-right: 50px;
    }
}