/* ============================
   AMAR EDUCATIONAL INSTITUTE
   Main Stylesheet
   ============================ */

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

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a47c2;
    --primary-dark: #1035a0;
    --primary-light: #3d6cf5;
    --secondary: #e63946;
    --accent: #f4a82e;
    --accent-green: #2dc96b;
    --dark: #0d1b40;
    --dark-navy: #111c3e;
    --text-dark: #1a1a2e;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f0f4ff;
    --bg-gray: #f3f4f6;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 24px rgba(26, 71, 194, 0.10);
    --shadow-hover: 0 8px 40px rgba(26, 71, 194, 0.18);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* === UTILITY === */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.text-center { text-align: center; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(26, 71, 194, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 71, 194, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, #7b5cf0, #5b4fe9);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(123, 92, 240, 0.35);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(123, 92, 240, 0.5);
    color: var(--white);
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-green);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 12px;
    max-width: 600px;
}

/* === NAVBAR === */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 0 24px;
}

.navbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.brand-badge {
    background: var(--secondary);
    color: white;
    padding: 6px 10px;
    border-radius: 6px 0 0 6px;
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    position: relative;
}

.brand-name {
    background: var(--dark-navy);
    color: white;
    padding: 6px 14px 6px 10px;
    border-radius: 0 6px 6px 0;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name span:first-child {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
}

.brand-name span:last-child {
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.8;
    text-transform: uppercase;
}

.pixel-icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-left: 6px;
    margin-bottom: 18px;
}

.pixel-icon span {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.pixel-icon .p1 { background: #e63946; }
.pixel-icon .p2 { background: #2dc96b; }
.pixel-icon .p3 { background: #f4a82e; }
.pixel-icon .p4 { background: #3d6cf5; }

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

.nav-links a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-apply {
    background: var(--primary);
    color: white !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
}

.nav-apply:hover {
    background: var(--primary-dark) !important;
    color: white !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0 11px;
    border-radius: 12px;
    border: 1.5px solid rgba(26, 71, 194, 0.15);
    background: rgba(26, 71, 194, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    outline: none;
    position: relative;
    box-shadow: 0 2px 8px rgba(26, 71, 194, 0.05);
}

.nav-toggle:hover {
    background: rgba(26, 71, 194, 0.08);
    border-color: rgba(26, 71, 194, 0.4);
    box-shadow: 0 4px 12px rgba(26, 71, 194, 0.12);
}

.nav-toggle:active {
    transform: scale(0.94);
}

.nav-toggle:focus-visible {
    outline: 2px solid rgba(26, 71, 194, 0.4);
    outline-offset: 2px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity 0.3s ease;
}

/* Staggered default widths for premium app-like look */
.nav-toggle span:nth-child(1) {
    width: 14px;
    align-self: flex-start;
}

.nav-toggle span:nth-child(2) {
    width: 22px;
    align-self: center;
}

.nav-toggle span:nth-child(3) {
    width: 18px;
    align-self: flex-end;
}

/* Expand lines to full width on hover for interactive feel */
.nav-toggle:hover span:nth-child(1),
.nav-toggle:hover span:nth-child(3) {
    width: 22px;
}

/* Active / Open state styling */
.nav-toggle.open {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(26, 71, 194, 0.3);
}

.nav-toggle.open span {
    background: var(--white);
    align-self: center;
}

/* Close "X" Transition */
.nav-toggle.open span:nth-child(1) {
    width: 22px;
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    width: 22px;
    transform: translateX(-10px);
}

.nav-toggle.open span:nth-child(3) {
    width: 22px;
    transform: translateY(-7.5px) rotate(-45deg);
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 50%, #f5f0ff 100%);
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,71,194,0.06), transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 16px;
}

.hero-label::before {
    content: '✓';
    font-size: 14px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 24px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-checks {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-checks span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-checks span::before {
    content: '✓';
    color: var(--text-dark);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: block;
    z-index: 1;
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85); /* Overlay to keep dark text readable */
    z-index: 3;
}

.hero-blob {
    display: none;
}

.hero-student-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    border-radius: 0;
    z-index: 2;
}

/* Floating tech icons */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.float-icon {
    position: absolute;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    animation: floatBob 3s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.float-icon.fi-1 { top: 5%; left: 40%; background: #ff7043; color: white; width: 52px; height: 52px; animation-delay: 0s; border-radius: 14px; }
.float-icon.fi-2 { top: 8%; right: 2%; background: #00bcd4; color: white; width: 70px; height: 70px; animation-delay: 0.5s; border-radius: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 12px; }
.float-icon.fi-2 span { background: white; border-radius: 3px; display: block; }
.float-icon.fi-3 { top: 30%; left: 5%; background: #111; color: white; width: 52px; height: 52px; font-size: 22px; border-radius: 14px; animation-delay: 1s; }
.float-icon.fi-4 { bottom: 10%; left: 35%; background: #ff6b6b; color: white; width: 56px; height: 56px; animation-delay: 1.5s; border-radius: 50%; }
.float-icon.fi-5 { top: 50%; right: 2%; background: white; color: #333; width: 80px; height: 32px; font-size: 12px; font-weight: 700; border-radius: 8px; animation-delay: 0.8s; }

@keyframes floatBob {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

/* === STATS BAR === */
.stats-bar {
    background: linear-gradient(135deg, #1a47c2, #3d6cf5);
    padding: 32px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    border-right: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* === COURSES SECTION === */
.courses-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.courses-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.explore-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.explore-link:hover {
    color: var(--primary-dark);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.course-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a9e8f, #0d7a6e);
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card:hover .course-thumb img {
    transform: scale(1.1);
}

.course-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a9e8f 0%, #0d7a6e 100%);
    position: relative;
    overflow: hidden;
}

.course-thumb-placeholder::before {
    content: '';
    position: absolute;
    inset: 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.08'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ai-badge {
    font-size: 52px;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 1;
}

.best-seller-badge {
    position: absolute;
    bottom: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(26,71,194,0.4);
}

.course-body {
    padding: 24px 20px 20px;
}

.course-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.4;
}

.course-instructor {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rating-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
}

.stars {
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 1px;
}

.course-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-left: auto;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
}

.meta-icon {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 3px;
    display: inline-block;
    flex-shrink: 0;
}

.meta-icon-user {
    background: #7b5cf0;
}

/* === WHY CHOOSE SECTION === */
.why-section {
    padding: 80px 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.why-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(26,71,194,0.1);
}

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

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(26,71,194,0.25);
}

.why-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.why-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* === FACULTY SECTION === */
.faculty-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.faculty-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.faculty-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a47c2, #7b5cf0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(26,71,194,0.25);
    color: white;
    font-weight: 700;
    overflow: hidden;
}

.faculty-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.faculty-role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.faculty-exp {
    font-size: 12px;
    color: var(--text-gray);
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* === TESTIMONIALS === */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -12px;
    font-family: serif;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7b5cf0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.author-course {
    font-size: 12px;
    color: var(--text-gray);
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary), #7b5cf0);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255,255,255,0.03) 0%, transparent 40%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    position: relative;
}

.cta-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
}

.btn-white {
    background: white;
    color: var(--primary);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
    color: white;
}

/* === FOOTER === */
.footer {
    background: var(--dark-navy);
    padding: 64px 0 0;
    color: rgba(255,255,255,0.75);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 48px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin: 16px 0 24px;
    color: rgba(255,255,255,0.65);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    transition: var(--transition);
    text-decoration: none;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-links a::before {
    content: '›';
    font-size: 18px;
    color: var(--primary);
    line-height: 1;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.contact-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 24px;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #3d6cf5 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 16px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* === COURSE FILTERS === */
.filter-wrap {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--border);
    background: white;
    color: var(--text-dark);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--dark);
    border-color: var(--dark);
    color: white;
}

/* === ABOUT PAGE === */
.about-intro {
    padding: 80px 0;
    background: white;
}

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

.about-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-img-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a47c2, #7b5cf0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: white;
}

.about-img-placeholder .icon { font-size: 80px; }
.about-img-placeholder p { font-size: 18px; font-weight: 600; }

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #7b5cf0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.about-badge-text {
    font-size: 13px;
    color: var(--text-gray);
}

.about-badge-text strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
}

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

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: white;
}

.about-feature-text h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.about-feature-text p {
    font-size: 12px;
    color: var(--text-gray);
}

/* === ENQUIRY FORM === */
.enquiry-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow);
}

.form-card h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.form-card .underline-bar {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    background: #fafafa;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(26,71,194,0.08);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.info-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.info-box h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.underline-bar {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    margin-bottom: 12px;
}

.info-box p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 28px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7b5cf0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.info-text h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.info-text p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

/* === GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a47c2 0%, #7b5cf0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    transition: var(--transition);
}

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

.gallery-placeholder .gal-icon { font-size: 48px; }
.gallery-placeholder p { font-size: 15px; font-weight: 600; }

.gallery-item:nth-child(2) .gallery-placeholder { background: linear-gradient(135deg, #e63946, #ff6b6b); }
.gallery-item:nth-child(3) .gallery-placeholder { background: linear-gradient(135deg, #2dc96b, #1a9e8f); }
.gallery-item:nth-child(4) .gallery-placeholder { background: linear-gradient(135deg, #f4a82e, #e86d1f); }
.gallery-item:nth-child(5) .gallery-placeholder { background: linear-gradient(135deg, #7b5cf0, #5b4fe9); }
.gallery-item:nth-child(6) .gallery-placeholder { background: linear-gradient(135deg, #0d7a6e, #1a9e8f); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,71,194,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
    font-size: 36px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* === BLOG === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-thumb {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), #7b5cf0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 56px;
    position: relative;
}

.blog-card:nth-child(2) .blog-thumb { background: linear-gradient(135deg, #1a9e8f, #2dc96b); }
.blog-card:nth-child(3) .blog-thumb { background: linear-gradient(135deg, var(--secondary), #ff6b6b); }

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: white;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-body {
    padding: 24px;
}

.blog-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-read-more {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-read-more:hover { color: var(--primary-dark); }

/* === ALERT MESSAGES === */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .courses-grid,
    .why-grid,
    .testimonials-grid,
    .blog-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .about-grid,
    .enquiry-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrap { display: none; }

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

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

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        gap: 4px;
    }

    .nav-links.open { display: flex; }

    .nav-links a { width: 100%; padding: 12px 16px; }

    .nav-toggle { display: flex; }

    .courses-grid,
    .why-grid,
    .testimonials-grid,
    .blog-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .courses-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 28px 20px;
    }
}

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}
