@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #7c3aed;
    --secondary-light: #a855f7;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --success: #10b981;
    --surface: #ffffff;
    --surface-elevated: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-dark: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --smooth-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface-elevated);
    overflow-x: hidden;
}

.page-transition {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear 0.45s;
    z-index: 3000;
}

.page-transition.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-compact .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
}

.hero-card-mini {
    background: rgba(255, 255, 255, 0.06);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
}

.eyebrow {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
}

.about-preview-grid,
.cards-grid,
.filter-bar,
.services-grid,
.skill-grid,
.newsletter-panel,
.info-panel {
    display: grid;
    gap: 24px;
}

.section-next-step {
    background: var(--surface);
}

.next-step-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.next-step-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.next-step-panel p {
    margin: 0;
    max-width: 620px;
    color: rgba(255,255,255,0.88);
}

.next-step-panel .btn {
    padding: 16px 32px;
}

@media (max-width: 768px) {
    .next-step-panel {
        flex-direction: column;
        text-align: center;
    }
}

.section-page-nav {
    background: var(--surface);
}

.page-nav-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    transition: var(--smooth-transition);
}

.page-nav-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

.page-nav-panel h3 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}

.page-nav-panel p {
    margin: 0;
    max-width: 520px;
    color: rgba(255,255,255,0.85);
}

.page-nav-panel .btn {
    padding: 16px 32px;
}

@media (max-width: 768px) {
    .page-nav-panel {
        flex-direction: column;
        text-align: center;
    }
}

.about-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.filter-button {
    padding: 12px 22px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.filter-button:hover,
.filter-button.active {
    background: var(--primary);
    color: white;
    border-color: transparent;
}

.lecture-grid,
.services-grid,
.skill-grid,
.blog-grid,
.news-grid,
.projects-grid,
.achievements-grid,
.certifications-grid,
.colleges-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.skill-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.newsletter-panel {
    grid-template-columns: 1fr;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    background: var(--surface);
}

.newsletter-form .form-group {
    margin-bottom: 18px;
}

.info-panel {
    grid-template-columns: 1.35fr auto;
    align-items: center;
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.info-panel h2 {
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .info-panel {
        grid-template-columns: 1fr;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-accent:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.contact-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    top: auto;
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 14px;
    opacity: 1 !important;
    visibility: visible !important;
}

.contact-float i {
    transition: transform 0.3s ease;
}

.contact-float span {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    transform: translateX(-8px);
    transition: max-width 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.contact-float:hover {
    width: auto;
    min-width: 180px;
    border-radius: 999px;
    background: var(--primary);
}

.contact-float:hover i {
    transform: rotate(15deg);
}

.contact-float:hover span {
    max-width: 130px;
    opacity: 1;
    transform: translateX(0);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.1rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    background: var(--primary);
    color: white;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 1.25rem;
    z-index: 1500;
    position: relative;
}

.mobile-icon {
    display: inline-block;
    width: 22px;
    height: 18px;
    position: relative;
}

.mobile-icon span,
.mobile-icon::before,
.mobile-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-icon::before {
    top: 0;
}

.mobile-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-icon::after {
    bottom: 0;
}

.mobile-toggle.open .mobile-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.open .mobile-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-toggle.open .mobile-icon span {
    opacity: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    overflow: visible;
}

.header .container {
    position: relative;
    z-index: 1600;
}

.header.shrink .logo span {
    opacity: 0;
    max-width: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, max-width 0.35s ease;
}

.header.shrink .logo {
    gap: 0;
}

.header.shrink .logo-icon {
    background: var(--surface);
    color: var(--primary);
}

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    transition: background 0.4s ease, color 0.4s ease;
}

.hero .hero-text h1,
.hero .hero-text p,
.hero .hero-stat-number,
.hero .hero-stat-label {
    transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.hero.hero-scrolled {
    background: var(--surface);
}

.hero.hero-scrolled::before,
.hero.hero-scrolled::after {
    opacity: 0.08;
}

.hero.hero-scrolled .hero-text h1,
.hero.hero-scrolled .hero-text p,
.hero.hero-scrolled .hero-stat-number,
.hero.hero-scrolled .hero-stat-label {
    color: var(--text);
}

.hero.hero-scrolled .hero-text h1 span {
    background: none;
    color: var(--primary);
    -webkit-text-fill-color: unset;
}

.hero.hero-scrolled .hero-card {
    background: rgba(255,255,255,0.95);
    border-color: rgba(226,232,240,0.8);
}

.hero.hero-scrolled .hero-card-name {
    opacity: 0.35;
    transform: scale(0.95);
}

.hero.hero-scrolled .hero-card-title {
    opacity: 0.55;
}

.hero.hero-scrolled .hero-card-image {
    box-shadow: none;
}

.hero.hero-scrolled .hero-card-image img {
    opacity: 0.95;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: white;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease-out;
}

.hero-text h1 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeUp 0.8s ease-out 0.4s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeUp 0.8s ease-out 0.6s both;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

.hero-card-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
}

.hero-card-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.hero-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.hero-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.125rem;
    transition: var(--transition);
}

.hero-social a:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.hero-social a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.icon-svg {
    width: 24px;
    height: 24px;
    display: block;
}

.hero-social a svg,
.contact-social a svg,
.contact-icon svg,
.about-feature-icon svg,
.achievement-icon svg,
.certification-icon svg,
.blog-image svg,
.blog-link svg,
.contact-float svg,
.coffee-btn svg {
    width: 20px;
    height: 20px;
}

.certification-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.certification-icon.google-logo {
    background: transparent;
}

/* About Section */
.about {
    background: var(--surface);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    color: var(--secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 600;
    color: var(--text);
}

.about-visual {
    position: relative;
}

.about-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.about-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
}

.about-card h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.about-card p {
    color: var(--text-light);
}

/* Achievements Section */
.achievements {
    background: var(--surface);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.achievement-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    color: var(--secondary);
    font-size: 1.5rem;
}

.achievement-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.achievement-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.achievement-label {
    color: var(--text-light);
    margin-top: 8px;
}

/* Sessions Section */
.sessions {
    background: var(--surface);
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.session-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.session-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.session-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.session-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.session-content {
    padding: 24px;
}

.session-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.session-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.session-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Experience Section */
.experience {
    background: var(--surface-elevated);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    border: 4px solid var(--surface-elevated);
    z-index: 1;
}

.timeline-content {
    background: var(--surface);
    padding: 18px;
    border-radius: var(--radius-lg);
    width: 90%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.company-logo {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.company-logo img {
    padding: 6px;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.timeline-company {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-light);
}

/* Education Section */
.education {
    background: var(--surface);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.education-card {
    background: var(--surface-elevated);
    padding: 32px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
}

.education-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.education-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.education-institution {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.education-year {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.education-card p {
    color: var(--text-light);
}

/* Projects Section */
.projects {
    background: var(--surface-elevated);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.project-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Clients Section - Marquee */
.clients {
    background: var(--surface);
    overflow: hidden;
    padding: 60px 0;
}

.clients-track {
    display: flex;
    animation: scroll 15s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-elevated);
    margin: 0 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.client-logo:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.client-logo img {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.clients-wrapper {
    display: flex;
    width: fit-content;
}

.clients-double {
    display: flex;
}

/* Testimonials Section - Marquee */
.testimonials {
    background: var(--primary);
    padding: 80px 0;
    overflow: hidden;
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 0 12px;
    color: white;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 16px 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.testimonial-info h4 {
    color: white;
    font-size: 1rem;
}

.testimonial-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Gallery / Colleges Section */
.gallery {
    background: var(--surface);
}

.colleges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.college-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.college-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.college-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
}

.college-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.college-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.college-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Certifications Section */
.certifications {
    background: var(--surface-elevated);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.certification-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.certification-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
}

.certification-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.certification-card p {
    color: var(--text-light);
}

/* Research Section */
.research {
    background: var(--surface);
}

.research-content {
    max-width: 800px;
    margin: 0 auto;
}

.research-paper {
    background: var(--surface-elevated);
    padding: 48px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.research-paper h3 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.research-paper p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.research-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* Modal Gallery Styles */
.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.modal-gallery-item {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.modal-gallery-item:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 40px;
}

.modal.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.modal-header h2 {
    color: white;
    font-size: 2rem;
}

.modal-close {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent);
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.modal-gallery-item {
    aspect-ratio: 4/3;
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.modal-gallery-item:hover {
    transform: scale(1.02);
}

.modal-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* News Section */
.news {
    background: var(--surface);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card h3 {
    padding: 20px 20px 8px;
    font-size: 1.25rem;
    color: var(--primary);
}

.news-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

.news-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.news-card-link:hover {
    transform: translateY(-8px);
}

/* Contact Section */
.contact {
    background: var(--surface-elevated);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 24px;
}

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

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    color: var(--secondary);
    font-size: 1.25rem;
}

.contact-item span {
    color: var(--text-light);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.contact-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.125rem;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--secondary);
    transform: translateY(-4px);
}

.contact-social a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-section ul li a i {
    margin-right: 10px;
    width: 18px;
    display: inline-block;
    text-align: center;
}

.contact-form {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

.contact-details {
    margin-top: 24px;
}

.contact-details .contact-item {
    margin-bottom: 18px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--surface-elevated);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Blog Section */
.blog {
    background: var(--surface);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.blog-tag {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.blog-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.blog-content p {
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 16px;
    transition: var(--transition);
}

.blog-link:hover {
    gap: 12px;
}

/* Grab Coffee */
.coffee {
    background: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.coffee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(99, 102, 241, 0.3) 0%, transparent 60%);
}

.coffee-content {
    position: relative;
    z-index: 1;
}

.coffee h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 16px;
}

.coffee p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.coffee-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--primary);
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
}

.coffee-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
}

.footer h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    /* Make grids responsive */
    .achievements-grid,
    .sessions-grid,
    .certifications-grid,
    .blog-grid,
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .colleges-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .achievements-grid,
    .sessions-grid,
    .certifications-grid,
    .blog-grid,
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .colleges-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .achievements-grid,
    .sessions-grid,
    .certifications-grid,
    .blog-grid,
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .colleges-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 40px 0;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

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

    .about-content {
        gap: 30px;
    }

    /* Single column grids */
    .achievements-grid,
    .sessions-grid,
    .certifications-grid,
    .blog-grid,
    .news-grid,
    .colleges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-dot {
        left: 20px;
    }

    .contact-content {
        gap: 30px;
    }

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

    .contact-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        min-width: 50px;
        height: 50px;
        font-size: 0.8rem;
    }

    .contact-float:hover {
        width: auto;
        min-width: 160px;
    }

    /* Marquee adjustments */
    .clients-track,
    .testimonials-track {
        animation-duration: 30s;
    }

    /* Modal adjustments */
    .modal-panel {
        margin: 20px;
        max-height: 80vh;
    }

    .modal-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 30px 0;
    }

    .section-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .section-header h2 {
        margin-bottom: 10px;
    }

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

    .hero-stats {
        gap: 20px;
    }

    .hero-stat {
        flex: 1 1 100%;
        text-align: center;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .about-feature {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .achievement-card,
    .session-card,
    .certification-card,
    .blog-card,
    .news-card,
    .college-card {
        padding: 20px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: 15px;
        width: 10px;
        height: 10px;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }

    .contact-float {
        bottom: 15px;
        right: 15px;
        width: 45px;
        min-width: 45px;
        height: 45px;
        font-size: 0.75rem;
    }

    .contact-float:hover {
        width: auto;
        min-width: 140px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-links {
        text-align: center;
    }

    .coffee-content {
        text-align: center;
    }

    .coffee h2 {
        font-size: 1.5rem;
    }

    /* Ensure no horizontal scroll */
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 12px;
    }

    .container {
        padding: 0 10px;
    }

    .section {
        padding: 25px 0;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }

    .header {
        padding: 15px 0;
    }

    .logo {
        font-size: 1.2rem;
    }

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

    .hero-stats {
        gap: 15px;
    }

    .hero-stat {
        text-align: center;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .achievement-card,
    .session-card,
    .certification-card,
    .blog-card,
    .news-card,
    .college-card {
        padding: 15px;
    }

    .timeline-item {
        padding-left: 35px;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-dot {
        left: 12px;
        width: 8px;
        height: 8px;
    }

    .contact-form {
        padding: 15px;
    }

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

    .contact-float {
        bottom: 10px;
        right: 10px;
        width: 40px;
        min-width: 40px;
        height: 40px;
        font-size: 0.7rem;
    }

    .contact-float:hover {
        width: auto;
        min-width: 130px;
    }

    .footer-content {
        gap: 15px;
    }

    .coffee h2 {
        font-size: 1.25rem;
    }

    .modal-panel {
        margin: 15px;
        max-height: 75vh;
    }

    .modal-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .modal-gallery-item {
        padding: 10px;
    }
}

/* Mobile Nav Active */
.nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-xl);
}

.nav.active .nav-link {
    padding: 12px 20px;
}