/* ============================================
   ICL BBIS - ULTRA RESPONSIVE DESIGN
   Mobile-First Approach | All Devices Optimized
   ============================================ */

:root {
    /* Modern Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    background: var(--gray-50);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   TYPOGRAPHY - RESPONSIVE
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(1.75rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p {
    line-height: 1.8;
    color: var(--gray-600);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ============================================
   NAVIGATION - FULLY RESPONSIVE
   ============================================ */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 800;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-sub {
    font-size: clamp(0.65rem, 1.5vw, 0.8rem);
    color: var(--gray-500);
    font-weight: 500;
    line-height: 1.3;
}

.nav-links {
    display: none;
}

.btn-chat {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    white-space: nowrap;
}

.btn-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
}

/* Desktop Navigation - 1024px and up */
@media (min-width: 1024px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-links {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
    
    .nav-link {
        color: var(--gray-700);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        padding: 0.5rem 0;
        position: relative;
        transition: var(--transition);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        transition: var(--transition);
    }
    
    .nav-link:hover {
        color: var(--primary);
    }
    
    .nav-link:hover::after {
        width: 100%;
    }
    
    .btn-chat {
        display: flex;
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Tablet Navigation - 768px to 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .btn-chat:not(.mobile) {
        display: flex;
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
    }
}

/* ============================================
   HERO SECTION - RESPONSIVE
   ============================================ */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-title {
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.25rem 0.75rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.05);
}

.stat-icon {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.stat-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fbbf24;
    line-height: 1;
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    opacity: 0.9;
    margin-top: 0.5rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    justify-content: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.feature-item i {
    color: #34d399;
    font-size: 1rem;
}

/* Hero Illustration - Responsive */
.hero-illustration {
    position: relative;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out 0.2s both;
    margin: 2rem 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ai-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-2xl);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
    text-align: center;
    width: 100%;
    max-width: 350px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.ai-icon {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.ai-name {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ai-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    margin: 1rem 0;
    font-weight: 500;
}

.ai-cta {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.ai-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Desktop Hero Layout - 768px and up */
@media (min-width: 768px) {
    .hero {
        padding: 8rem 0 6rem;
        margin-top: 70px;
    }
    
    .hero .container {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-badge {
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        margin: 3rem 0;
        max-width: none;
    }
    
    .hero-buttons {
        justify-content: flex-start;
        margin-top: 2.5rem;
    }
    
    .hero-features {
        justify-content: flex-start;
        margin-top: 2.5rem;
    }
    
    .hero-illustration {
        order: 0;
        margin: 0;
        height: 400px;
    }
    
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 10rem 0 8rem;
        margin-top: 80px;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
}

/* ============================================
   INFO BAR - RESPONSIVE
   ============================================ */

.info-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.info-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    color: var(--gray-700);
}

.info-item i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.info-item strong {
    color: var(--gray-900);
    font-weight: 600;
}

@media (min-width: 640px) {
    .info-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .info-bar {
        padding: 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .info-items {
        display: flex;
        justify-content: space-around;
        gap: 2rem;
    }
}

/* ============================================
   SECTIONS - RESPONSIVE
   ============================================ */

.section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 6rem 0;
    }
}

.section-title {
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
}

@media (min-width: 768px) {
    .section-title::after {
        width: 80px;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 3rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .section-subtitle {
        margin-bottom: 4rem;
    }
}

/* ============================================
   OVERVIEW SECTION - RESPONSIVE
   ============================================ */

.overview-section {
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
}

@media (min-width: 640px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .overview-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        margin: 4rem 0;
    }
}

.overview-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.overview-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.overview-card h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.overview-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

.program-structure {
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    padding: 2rem 1.5rem;
    border-radius: var(--radius-2xl);
    margin-top: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
    .program-structure {
        padding: 3rem;
        margin-top: 4rem;
    }
}

.program-structure h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    color: var(--gray-900);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    flex-wrap: wrap;
}

.program-structure h3 i {
    color: var(--primary);
}

.structure-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .structure-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

.structure-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.structure-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.structure-level {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.structure-papers {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.structure-content p {
    color: var(--gray-600);
    line-height: 1.7;
}

.credit-breakdown {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .credit-breakdown {
        padding: 2.5rem;
    }
}

.credit-breakdown h4 {
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

.credit-bars {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.credit-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.credit-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.credit-progress {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 36px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: var(--white);
    font-weight: 700;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .credit-progress {
        height: 40px;
        padding: 0 1.25rem;
    }
}

.credit-bar:hover .credit-progress {
    transform: scaleX(1.02);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* ============================================
   CURRICULUM SECTION - RESPONSIVE
   ============================================ */

.curriculum-section {
    background: linear-gradient(180deg, var(--white), var(--gray-50));
}

.curriculum-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .curriculum-tabs {
        gap: 1rem;
        margin-bottom: 3rem;
    }
}

.curriculum-tab {
    background: var(--white);
    border: 2px solid var(--gray-300);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: clamp(0.85rem, 2vw, 1rem);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .curriculum-tab {
        padding: 1rem 2rem;
    }
}

.curriculum-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.curriculum-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.curriculum-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
    .curriculum-content {
        border-radius: var(--radius-2xl);
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .curriculum-content {
        padding: 3rem;
    }
}

.semester-section {
    margin-bottom: 2.5rem;
}

.semester-section:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .semester-section {
        margin-bottom: 3rem;
    }
}

.semester-title {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    flex-wrap: wrap;
}

.semester-title i {
    color: var(--primary);
}

.subjects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .subjects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.subject-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    border-left: 4px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    transition: var(--transition);
    z-index: 0;
}

.subject-card:hover::before {
    width: 100%;
}

.subject-card:hover {
    border-color: var(--primary);
    transform: translateX(8px) translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.subject-card > * {
    position: relative;
    z-index: 1;
}

.subject-code {
    font-weight: 800;
    color: var(--primary);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.subject-card h4 {
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.4;
}

.subject-card p {
    color: var(--gray-600);
    font-size: clamp(0.85rem, 2vw, 0.925rem);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.subject-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.subject-credits {
    color: var(--secondary);
    font-weight: 700;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
}

.subject-level {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: clamp(0.75rem, 1.5vw, 0.825rem);
    font-weight: 600;
}

.subject-hover-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: clamp(0.8rem, 2vw, 0.875rem);
    font-weight: 600;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition);
}

.subject-card:hover .subject-hover-hint {
    opacity: 1;
    transform: translateY(0);
}

.completion-section {
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .completion-section {
        margin-top: 3rem;
    }
}

.completion-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .completion-card {
        padding: 3rem;
    }
}

.completion-card h4 {
    color: var(--white);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
}

.completion-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
}

.completion-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.completion-card li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.completion-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34d399;
    font-weight: 800;
    font-size: 1.25rem;
}

.completion-card .btn-primary {
    margin-top: 1.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .completion-card .btn-primary {
        width: auto;
    }
}

.curriculum-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 2rem 1.5rem;
    border-radius: var(--radius-2xl);
    margin-top: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .curriculum-cta {
        padding: 3rem;
        margin-top: 3rem;
    }
}

.cta-content h3 {
    color: var(--white);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
}

/* ============================================
   CAREERS SECTION - RESPONSIVE
   ============================================ */

.careers-section {
    background: var(--white);
}

.careers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .careers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .careers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 4rem;
    }
}

.career-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.career-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.career-card:hover::before {
    transform: scaleX(1);
}

.career-card h3 {
    color: var(--gray-900);
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.career-card h3 i {
    color: var(--primary);
}

.career-salary {
    color: var(--secondary);
    font-weight: 800;
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin-bottom: 1.25rem;
    display: block;
}

.career-card p {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.career-papers {
    margin: 1.5rem 0;
}

.career-papers strong {
    color: var(--gray-900);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    display: block;
    margin-bottom: 0.75rem;
}

.paper-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.paper-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: clamp(0.8rem, 2vw, 0.875rem);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.paper-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.career-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.skill-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: clamp(0.75rem, 1.5vw, 0.825rem);
    font-weight: 600;
}

.ask-career-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.ask-career-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.career-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

@media (min-width: 640px) {
    .career-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .career-stats {
        gap: 2rem;
        margin-top: 4rem;
        padding: 3rem;
    }
}

.career-stat-card {
    text-align: center;
    color: var(--white);
}

.stat-big {
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 800;
    color: #fbbf24;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.career-stat-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
}

/* ============================================
   WHY ICL SECTION - RESPONSIVE
   ============================================ */

.why-icl-section {
    background: linear-gradient(180deg, var(--gray-50), var(--white));
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 4rem;
    }
}

.advantage-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

@media (min-width: 768px) {
    .advantage-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

.advantage-card h3 {
    color: var(--gray-900);
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--gray-600);
    line-height: 1.75;
}

/* ================================================================
   KEVIN AI CHAT - FULLY RESPONSIVE
   ================================================================ */

.chat-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 10000;
}

@media (min-width: 768px) {
    .chat-container {
        bottom: 2rem;
        right: 2rem;
    }
}

/* Chat Toggle Button - Responsive */
.chat-toggle {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 60px;
    height: 60px;
}

@media (min-width: 768px) {
    .chat-toggle {
        padding: 1.25rem 2rem;
        border-radius: var(--radius-full);
        width: auto;
        height: auto;
    }
}

.chat-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.chat-toggle:hover::before {
    width: 300px;
    height: 300px;
}

.chat-toggle:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.toggle-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .toggle-icon {
        width: 48px;
        height: 48px;
    }
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse-wave 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-wave {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

.kevin-mini {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .kevin-mini {
        width: 48px;
        height: 48px;
        font-size: 1.75rem;
    }
}

.toggle-text {
    position: relative;
    z-index: 2;
    display: none;
}

@media (min-width: 768px) {
    .toggle-text {
        display: block;
        font-size: 1.1rem;
    }
}

/* Chat Window - Mobile First */
.chat-window {
    width: calc(100vw - 2rem);
    height: calc(100vh - 140px);
    max-height: 600px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
    position: fixed;
    bottom: 90px;
    right: 1rem;
    left: 1rem;
    border: 1px solid var(--gray-200);
}

@media (min-width: 480px) {
    .chat-window {
        width: 400px;
        height: 600px;
        right: 1rem;
        left: auto;
        max-height: none;
    }
}

@media (min-width: 768px) {
    .chat-window {
        width: 440px;
        height: 680px;
        bottom: 100px;
        right: 2rem;
        border-radius: var(--radius-2xl);
    }
}

.chat-window.active {
    display: flex;
    animation: slideUpBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideUpBounce {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    70% {
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Chat Header - Responsive */
.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 1.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    .chat-header {
        padding: 2rem 1.75rem;
    }
}

.chat-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), transparent);
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.kevin-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .kevin-avatar {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }
}

.kevin-avatar::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--success);
    border: 3px solid var(--white);
    border-radius: 50%;
    bottom: 2px;
    right: 2px;
    animation: glow 2s ease-in-out infinite;
}

@media (min-width: 768px) {
    .kevin-avatar::after {
        width: 14px;
        height: 14px;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 8px var(--success);
    }
    50% {
        box-shadow: 0 0 16px var(--success);
    }
}

.chat-info h3 {
    margin: 0;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 800;
}

.chat-subtitle {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    opacity: 0.95;
    margin: 0.25rem 0;
    font-weight: 500;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .status-dot {
        width: 10px;
        height: 10px;
    }
}

.status-text {
    font-size: clamp(0.75rem, 1.5vw, 0.8rem);
    opacity: 0.9;
    font-weight: 500;
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .chat-close {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Chat Messages - Responsive */
.chat-messages {
    flex: 1;
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .chat-messages {
        padding: 2rem 1.75rem;
        gap: 1.5rem;
    }
}

.chat-messages::-webkit-scrollbar {
    width: 5px;
}

@media (min-width: 768px) {
    .chat-messages::-webkit-scrollbar {
        width: 6px;
    }
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.message {
    max-width: 90%;
    animation: messageSlide 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@media (min-width: 768px) {
    .message {
        max-width: 85%;
    }
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message.user {
    align-self: flex-end;
}

.message.bot {
    align-self: flex-start;
}

.message-content {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    line-height: 1.7;
    position: relative;
    font-size: clamp(0.875rem, 2vw, 0.95rem);
}

@media (min-width: 768px) {
    .message-content {
        padding: 1.25rem 1.5rem;
        border-radius: var(--radius-xl);
    }
}

.message.user .message-content {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-bottom-right-radius: 6px;
    box-shadow: var(--shadow-md);
}

.message.bot .message-content {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
    border-bottom-left-radius: 6px;
    box-shadow: var(--shadow-sm);
}

.message-content code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--primary);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.message.user .message-content code {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.message-content strong {
    font-weight: 700;
    color: var(--primary);
}

.message.user .message-content strong {
    color: rgba(255, 255, 255, 0.95);
}

/* Typing Indicator */
.typing-indicator {
    display: none;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
    .typing-indicator {
        padding: 1rem 1.25rem;
    }
}

.typing-dots {
    display: flex;
    gap: 5px;
}

@media (min-width: 768px) {
    .typing-dots {
        gap: 6px;
    }
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

@media (min-width: 768px) {
    .typing-dots span {
        width: 10px;
        height: 10px;
    }
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Chat Input Area - Responsive */
.chat-input-area {
    padding: 1.25rem;
    background: var(--white);
    border-top: 2px solid var(--gray-200);
}

@media (min-width: 768px) {
    .chat-input-area {
        padding: 1.75rem;
    }
}

.input-wrapper {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

#chatInput {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: clamp(0.875rem, 2vw, 0.95rem);
    transition: var(--transition);
    background: var(--gray-50);
    resize: none;
    max-height: 100px;
}

@media (min-width: 768px) {
    #chatInput {
        padding: 1rem 1.5rem;
        max-height: 120px;
    }
}

#chatInput:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.send-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .send-btn {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
}

.send-btn:hover:not(:disabled) {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.chat-footer {
    margin-top: 1rem;
    text-align: center;
}

.chat-footer small {
    font-size: clamp(0.7rem, 1.5vw, 0.75rem);
    color: var(--gray-500);
}

.chat-footer i {
    color: var(--primary);
    margin-right: 0.375rem;
}

/* ================================================================
   FOOTER - RESPONSIVE
   ================================================================ */

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 2rem;
}

@media (min-width: 768px) {
    .footer {
        padding: 5rem 0 2rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
        margin-bottom: 3rem;
    }
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-400);
    line-height: 1.6;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.contact-info i {
    color: var(--primary);
    width: 20px;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-info a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary);
}

.footer-section a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.ai-assistant-promo {
    margin-top: 1.5rem;
}

.ai-assistant-promo p {
    color: var(--gray-400);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    margin-top: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    margin-bottom: 0.5rem;
}

.maori-whakatauki {
    font-style: italic;
    color: var(--gray-600);
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    line-height: 1.6;
    padding: 0 1rem;
}

/* ================================================================
   MOBILE MENU - FULLY RESPONSIVE
   ================================================================ */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-2xl);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.mobile-menu-header h3 {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    color: var(--gray-900);
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
}

.close-menu:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.mobile-nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.mobile-nav-link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.btn-chat.mobile {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
}

/* ================================================================
   UTILITY CLASSES & EXTRA RESPONSIVE TWEAKS
   ================================================================ */

/* Container padding adjustments */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Touch-friendly buttons on mobile */
@media (max-width: 767px) {
    button, .btn-primary, .btn-secondary, .btn-chat {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar, .chat-container, .mobile-menu, .footer {
        display: none;
    }
    
    .hero {
        margin-top: 0;
        page-break-after: always;
    }
}
