/* ========================================
   MURANTRA Website - Main Stylesheet
   Professional Training & Consulting Design
   ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors - Blue & White palette */
    --primary-color: #1a4a8e;
    --primary-light: #2563b0;
    --primary-dark: #0f2d5c;
    --accent-color: #3b82f6;
    --accent-light: #93c5fd;
    --text-dark: #0a0a1a;
    --text-medium: #1e3a5f;
    --text-light: #4a6fa5;
    --background-light: #f0f4fa;
    --background-cream: #e8f0fb;
    --white: #ffffff;
    --border-color: #c3d4eb;
    --shadow: rgba(26, 74, 142, 0.12);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--white);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    animation: slideDown 0.5s ease;
    overflow: visible;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-brand .brand-text {
    display: flex;
    flex-direction: column;
}

.hero-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.nav-brand h1 {
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 0;
}

.nav-brand .tagline {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.contact-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 5px;
}

.contact-btn::after {
    display: none;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    margin-right: -10px;
    z-index: 1100;
    position: relative;
    background: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background-cream) 0%, var(--background-light) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 77, 46, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ===== SECTIONS ===== */
section {
    padding: var(--section-padding) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

/* ===== MISSION SECTION ===== */
.mission {
    background: var(--primary-dark);
    color: var(--white);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission h3 {
    color: var(--accent-light);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.mission p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== VISION SECTION ===== */
.vision {
    background: var(--background-cream);
    color: var(--text-dark);
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.vision h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.vision p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-medium);
}

/* ===== ABOUT MURANTRA SECTION ===== */
.about-murantra {
    background: var(--white);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pillar {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.pillar h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.pillar p {
    font-size: 0.95rem;
    margin: 0;
}

.approach-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.approach-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.approach-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.serve-item {
    background: var(--background-cream);
    padding: 2rem;
    border-radius: 10px;
    border-top: 3px solid var(--primary-color);
}

.serve-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.serve-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* ===== SERVICES GRID ===== */
.services {
    background: var(--background-light);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy {
    background: var(--white);
}

.philosophy-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-medium);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-cream);
    border-radius: 10px;
    transition: var(--transition);
}

.philosophy-item:hover {
    background: var(--accent-light);
}

.philosophy-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.philosophy-footer {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
    color: var(--text-medium);
}

/* ===== WHY MURANTRA ===== */
.why-murantra {
    background: var(--background-light);
}

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

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

.benefit:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.check {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.benefit p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== COURSES PAGE ===== */
.courses-section {
    background: var(--background-light);
}

.course-category {
    margin-bottom: 5rem;
}

.category-title {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    border-left: 5px solid var(--accent-color);
    padding-left: 1.5rem;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.subcategory {
    color: var(--primary-color);
    margin: 2rem 0 1.5rem;
    font-size: 1.3rem;
}

.courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.course-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.course-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.course-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.course-btn:hover {
    background: var(--primary-light);
    transform: translateX(5px);
}

/* Featured Courses */
.featured-category {
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.05) 0%, rgba(212, 165, 116, 0.05) 100%);
    padding: 3rem;
    border-radius: 15px;
}

.mini-mba-info {
    margin-bottom: 2.5rem;
}

.info-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 0.5rem 0;
    color: var(--text-medium);
}

.course-card.featured {
    border-left-color: var(--primary-color);
    border-left-width: 5px;
}

/* ===== ABOUT PAGE ===== */
.trainer-profile {
    background: var(--white);
}

.profile-content {
    max-width: 900px;
    margin: 0 auto;
}

.profile-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--background-cream);
    border-radius: 10px;
}

.profile-intro .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.credentials-section,
.expertise-section,
.facilitation-section,
.experience-section,
.impact-section {
    margin-bottom: 4rem;
}

.credentials-section h2,
.expertise-section h2,
.facilitation-section h2,
.experience-section h2,
.impact-section h2 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.credential-category {
    margin-bottom: 2.5rem;
}

.credential-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.credentials-list {
    list-style: none;
    padding-left: 0;
}

.credentials-list li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-medium);
}

.credentials-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.expertise-item {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    border-top: 3px solid var(--accent-color);
}

.expertise-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.approach-content {
    margin-top: 1.5rem;
}

.approach-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature .icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.client-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.client-type {
    background: var(--background-cream);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.client-type h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.impact-list {
    list-style: none;
    padding-left: 0;
}

.impact-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.impact-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    background: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form-container h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.edit-note {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-style: italic;
    margin-top: 0.3rem;
}

.contact-hours {
    padding: 1.5rem;
    background: var(--background-cream);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.contact-hours h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
}

.g-recaptcha {
    margin-bottom: 1rem;
}

.captcha-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.captcha-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--background-cream);
    border-radius: 5px;
    font-size: 0.9rem;
}

/* Map Section */
.map-section {
    background: var(--white);
}

.map-placeholder {
    background: var(--background-cream);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    border: 2px dashed var(--border-color);
}

.map-placeholder p {
    font-size: 1.1rem;
}

.map-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer h3, .footer h4 {
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 0.5rem 1rem 1.5rem;
        box-shadow: 0 10px 20px var(--shadow);
        transition: var(--transition);
        gap: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 50px;
    }
    
    h1 { font-size: 2rem; }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   COMPREHENSIVE MOBILE & RESPONSIVE FIXES
   ======================================== */

/* Touch-friendly tap targets */
a, button { -webkit-tap-highlight-color: transparent; }

/* ── NAVBAR MOBILE ── */
@media (max-width: 968px) {
    .navbar .container {
        padding: 0 1rem;
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .navbar { height: 65px; padding: 0; }
    .nav-brand { gap: 0.6rem; }
    .nav-brand h1 { font-size: 1.2rem; letter-spacing: 1px; }
    .nav-brand .tagline { font-size: 0.6rem; letter-spacing: 0.5px; }
    .logo { height: 35px !important; width: auto !important; }

    .nav-menu {
        top: 65px;
        padding: 1rem;
        gap: 0;
    }
    .nav-menu li { border-bottom: 1px solid var(--border-color); }
    .nav-menu li:last-child { border-bottom: none; }
    .nav-menu a {
        display: block;
        padding: 0.9rem 0.5rem;
        font-size: 1rem;
    }
    .nav-menu .contact-btn {
        display: inline-block;
        margin: 0.75rem 0.5rem;
        width: calc(100% - 1rem);
        text-align: center;
    }

    .hamburger span { width: 26px; height: 2.5px; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ── HERO ── */
@media (max-width: 768px) {
    .hero { min-height: auto; padding: 3rem 0 2.5rem; }
    .hero-content { text-align: center; }
    .hero-title { font-size: 2.4rem !important; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 1.75rem; max-width: 100%; }
    .hero-buttons { flex-direction: column; gap: 0.75rem; align-items: stretch; }
    .hero-buttons .btn { width: 100%; text-align: center; padding: 0.9rem 1rem; font-size: 1rem; }
}

/* ── PAGE HERO ── */
@media (max-width: 768px) {
    .page-hero { padding: 3rem 1rem 2rem; }
    .page-hero h1 { font-size: 2rem; }
    .page-hero p { font-size: 0.95rem; }
}

/* ── SECTIONS PADDING ── */
@media (max-width: 768px) {
    section { padding: 2.5rem 0; }
    .section-title { font-size: 1.7rem !important; text-align: center; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }
}

/* ── SERVICES GRID ── */
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .service-card { padding: 1.25rem 1rem; }
    .service-card .service-icon { font-size: 1.8rem; }
    .service-card h4 { font-size: 0.9rem; }
    .service-card p { font-size: 0.82rem; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ── PHILOSOPHY GRID ── */
@media (max-width: 768px) {
    .philosophy-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .philosophy-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .philosophy-grid { grid-template-columns: 1fr; }
}

/* ── WHY MURANTRA BENEFITS ── */
@media (max-width: 768px) {
    .benefits-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .benefit { padding: 0.5rem; }
}
@media (max-width: 480px) {
    .benefits-grid { grid-template-columns: 1fr; }
}

/* ── SERVE GRID ── */
@media (max-width: 768px) {
    .serve-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}
@media (max-width: 480px) {
    .serve-grid { grid-template-columns: 1fr; }
}

/* ── COURSES PAGE ── */
@media (max-width: 768px) {
    .courses-list { grid-template-columns: 1fr 1fr !important; gap: 0.75rem; }
    .course-card { padding: 1rem; }
    .course-card h3 { font-size: 0.9rem; }
    .course-card p { font-size: 0.82rem; }
    .category-title { font-size: 1.3rem !important; }
    .subcategory { font-size: 0.95rem; padding: 0.5rem 0; }
    .course-category { margin-bottom: 2rem; }
}
@media (max-width: 480px) {
    .courses-list { grid-template-columns: 1fr !important; }
}

/* ── ABOUT PAGE ── */
@media (max-width: 768px) {
    .profile-content { padding: 0; }
    .expertise-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .approach-features { grid-template-columns: 1fr; gap: 1rem; }
    .client-types { grid-template-columns: 1fr; gap: 0.75rem; }
    .vision-mission-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}
@media (max-width: 480px) {
    .expertise-grid { grid-template-columns: 1fr; }
}

/* ── CONTACT PAGE ── */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr !important; }
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
}

/* ── FOOTER ── */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr !important; gap: 1.5rem; text-align: center; }
    .footer-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    .footer-links ul li { display: inline; }
    .footer-links ul li::after { content: ' · '; }
    .footer-links ul li:last-child::after { content: ''; }
}

/* ── CTA SECTION ── */
@media (max-width: 768px) {
    .cta h2 { font-size: 1.7rem; }
    .cta p { font-size: 0.95rem; }
    .btn-large { padding: 0.9rem 1.5rem; font-size: 1rem; width: 100%; text-align: center; }
}

/* ── CREDENTIAL CATEGORIES ── */
@media (max-width: 768px) {
    .credential-category { margin-bottom: 1.25rem; }
    .credentials-list { padding-left: 1.2rem; }
    .credentials-list li { font-size: 0.9rem; margin-bottom: 0.4rem; }
}

/* ── GLOBAL CONTAINER ── */
@media (max-width: 480px) {
    .container { padding: 0 0.85rem; }
}

/* ── INPUT FONT SIZE (prevent iOS zoom) ── */
input, textarea, select {
    font-size: 16px;
}

/* ── SMOOTH SCROLLING & SCROLL SNAP FIX ── */
html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }


/* ── PROGRAM OVERVIEW BANNER (Mini MBA) ── */
.program-overview-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: #dbeafe;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    border-left: 4px solid #3b82f6;
}
.program-overview-item {
    font-size: 0.95rem;
    color: #1e3a5f;
    flex: 1;
    min-width: 200px;
}
.program-overview-item strong { font-weight: 700; }

@media (max-width: 600px) {
    .program-overview-banner { flex-direction: column; gap: 0.6rem; }
    .program-overview-item { min-width: unset; }
}

/* ── MOBILE HERO CENTERING & BALANCE ── */
@media (max-width: 600px) {
    .hero { padding: 2.5rem 0 2rem; }
    .hero-title { font-size: 2rem !important; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .section-title { font-size: 1.5rem !important; }
    .hero-content { padding: 0 0.5rem; }
}

/* ── PREVENT LOGO OVERFLOW ON ALL SCREENS ── */
.nav-brand .logo {
    max-height: 50px;
    max-width: 160px;
    height: auto;
    width: auto;
    display: block;
    flex-shrink: 0;
}

/* ── NAVBAR MIN HEIGHT FIX ── */
.navbar .container {
    min-height: 65px;
}
