/* 
   Sri Narayana Coaching Institute
   Global Application Styles
   Version: 1.0.0
   Author: Antigravity AI
*/

:root {
    --primary-blue: #002D62;
    /* Deep Navy Blue */
    --accent-red: #6A0E0E;
    /* Changed to Orange as per request */
    --accent-orange: #6A0E0E;
    /* Bright Orange */
    --accent-green: #004D26;
    /* RankRidge Style Green */
    --text-dark: #333333;
    --text-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --bg-gray: #F9F9F9;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: clip;
    /* Changed hidden to clip to allow sticky header to function */
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--accent-green);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.85rem;
}

.top-bar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 1.5rem;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-social {
    display: flex;
    gap: 1rem;
}

.top-bar-social a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar-social a:hover {
    color: var(--accent-orange);
}

.mobile-header-info {
    display: none;
}

/* Header & Navigation Layout */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Join Now Button - Hidden on Desktop, Shown only on Mobile */
.m-join-btn {
    display: none;
}

.main-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    height: 90px;
    gap: 4rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid #ddd;
    white-space: nowrap;
    font-size: 0.8rem;
    /* Reduced size */
}

.contact-highlight i {
    font-size: 1.2rem;
    color: var(--accent-green);
}

.contact-text small {
    display: block;
    font-weight: 600;
    color: #666;
}

.contact-text span {
    font-weight: 800;
    color: var(--primary-blue);
}

nav {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.logo img {
    height: 70px;
    width: auto;
    margin: 0;
    transition: var(--transition);
}

.logo span {
    font-size: 1.6rem !important;
    /* Slightly smaller text to fit line */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    /* Increased gap for neatness */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    /* Reduced font size for buttons */
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-green);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 100%;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-transform: none;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: var(--bg-gray);
    color: var(--accent-green);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown>a::after {
    content: ' \25BE';
    /* Down arrow */
    font-size: 0.8rem;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle {
    transition: var(--transition);
}

.menu-toggle.active {
    position: fixed;
    right: 15px;
    top: 20px;
    z-index: 2500;
}

.menu-toggle.active span {
    background-color: #ffffff;
    /* Must be white to see against dark menu bg */
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Sticky Header Modifier */
header.sticky {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header.sticky .main-header {
    height: 65px !important;
}

header.sticky .logo img {
    height: 45px !important;
}


/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: 0;
    max-width: none !important;
    width: 100%;
}

.hero-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 500px;
    /* Reduced from 800px to better fit the content */
    display: block;
    object-fit: cover;
    /* This will crop the edges to fill the 400px height */
    object-position: center;
    transform: scale(1.05);
    /* Slight zoom to ensure white edges are hidden */
}

/* Shared Page Hero Styles */
.page-hero {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    height: 400px; /* Fixed height for internal page heroes */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue); /* Fallback color */
}

.page-hero .banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.5); /* Darken directly if needed */
}

.page-hero .hero-content {
    position: relative;
    z-index: 2; /* Sit above the overlay */
    text-align: center;
    padding: 20px;
    width: 100%;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 45, 98, 0.7); /* Slightly transparent overlay */
    z-index: 1;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Orange Hero Modifier */
.page-hero.hero-orange::before {
    background: rgba(255, 152, 0, 0.85);
    /* Orange overlay */
}

/* Blog Specific Split Hero */
.blog-hero-split {
    display: flex;
    height: 420px;
    padding: 0 !important;
    overflow: hidden;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
    max-width: 100%;
    border: none;
    /* Removing border for clean edge-to-edge look */
}

.blog-hero-left {
    flex: 0 0 65%;
    background: var(--primary-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem;
    color: white;
}

.blog-hero-right {
    flex: 0 0 35%;
    background: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Back to zero padding */
    position: relative;
    overflow: hidden;
}

.blog-hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.blog-hero-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.15);
    /* Restored large scale */
    transform-origin: bottom center;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.blog-hero-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: 2px;
    /* Slightly reduced to fit in one line */
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.4);
    z-index: 2;
    white-space: nowrap;
    /* Forces text into a single line */
}

/* Standard Heading */
h1,
h2,
h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.1rem;
    /* Reduced font size for one-line heading */
    position: relative;
    display: inline-block;
    white-space: nowrap;
    /* Forced one line */
}

.section-title h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background: var(--accent-red);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ---- Extracted Typography & Containers ---- */
.section-desc {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.strategy-container {
    max-width: 800px;
    margin: 0 auto;
}

.strategy-list {
    font-size: 1.1rem;
    line-height: 2;
    padding-left: 2rem;
}

.preference-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-top: 2rem;
    font-weight: 600;
}

.contact-info-footer {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Forced 2*2 grid */
    gap: 1.5rem;
    /* Reduced gap for compactness */
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    padding: 1.5rem;
    /* Reduced padding for compactness */
    border-radius: 0;
    /* Forced sharp borders across all sections */
    border: 1px solid #e2e8f0;
    border-top: 5px solid var(--accent-orange);
    /* Default elevated top border */
    transition: var(--transition);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    /* Increased card shadow */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Triangle Grid Layouts */
.grid-triangle-top,
.grid-triangle-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.grid-triangle-top .feature-card:first-child {
    grid-column: 1 / span 2;
    justify-self: center;
    width: 100%;
    max-width: 600px;
}

.grid-triangle-bottom .feature-card:last-child {
    grid-column: 1 / span 2;
    justify-self: center;
    width: 100%;
    max-width: 600px;
}

/* Sharp Theme - Blue and Yellow Borders Only */
.theme-sharp-blue {
    background-color: #ffffff !important;
    color: #475569 !important;
    border-radius: 0 !important;
    border: 2px solid #050a18 !important;
    border-top: 8px solid #050a18 !important;
    /* Elevated top border */
    box-shadow: 0 12px 30px -5px rgba(5, 10, 24, 0.25);
}

.theme-sharp-blue h3 {
    color: #050a18 !important;
}

.theme-sharp-blue p {
    color: #475569 !important;
}

.theme-sharp-orange {
    background-color: #ffffff !important;
    color: #475569 !important;
    border-radius: 0 !important;
    border: 2px solid #004D26 !important;
    border-top: 8px solid #004D26 !important;
    /* Elevated orange top border */
    box-shadow: 0 12px 30px -5px rgba(255, 152, 0, 0.25);
}

.theme-sharp-orange h3 {
    color: #050a18 !important;
}

.theme-sharp-orange p {
    color: #475569 !important;
}

/* Mobile Fallback for Triangle grids */
@media (max-width: 768px) {

    .grid-triangle-top,
    .grid-triangle-bottom {
        grid-template-columns: 1fr;
    }

    .grid-triangle-top .feature-card:first-child,
    .grid-triangle-bottom .feature-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
}

/* Form Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--primary-blue);
    color: white;
    padding: 3rem;
    border-radius: 12px;
}

.contact-info h2,
.contact-info p {
    color: white;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-submit {
    background-color: var(--accent-red);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: #b71c1c;
}

/* Footer Styles */
footer {
    position: relative;
    background: #050a18 url('assets/sri-narayana-banner-image.png') center/cover no-repeat;
    color: white;
    padding: 5rem 0 0 0;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 24, 0.9);
    /* Deep Navy Overlay */
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff6600;
    /* Orange underlines */
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo img {
    width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-section p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-section ul li::before {
    content: '\f105';
    /* Chevron right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ff6600;
    font-size: 0.9rem;
    margin-top: 3px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-section ul li a:hover {
    color: #ff6600;
    padding-left: 5px;
}

.footer-section i {
    color: #ff6600;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    /* Square icons */
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a.fb {
    background: #3b5998;
}

.footer-social a.tw {
    background: #00acee;
}

.footer-social a.ins {
    background: #e4405f;
}

.footer-social a.yt {
    background: #cd201f;
}

.footer-social a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 2rem;
    margin-top: 4rem;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
}



@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Blog Page Styles */
.blog-container {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2-column grid as shown in screenshot */
    gap: 2.5rem;
    /* Spacious gap */
}

.blog-card {
    display: flex;
    flex-direction: column;
    /* Vertical layout: Image on top */
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    /* Consistent height for images */
    background: #f8fafc;
    overflow: hidden;
    border-bottom: 1px solid #edf2f7;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures images fill space without distortion */
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-title {
    font-size: 1.15rem;
    color: #ff6600;
    /* Orange color for titles as requested */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 3.2rem;
    /* Keep titles aligned */
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    align-self: flex-start;
    background: #fff5eb;
    /* Light orange background */
    color: #ff6600;
    padding: 0.6rem 1.2rem;
    border: 1px solid #fee2e2;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more-btn:hover {
    background: #ff6600;
    color: #fff;
}

.read-more-btn:hover {
    color: #ff9800;
    gap: 0.8rem;
}

/* Mobile Blog view */
@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
    }

    .blog-image-placeholder {
        flex: 0 0 180px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
}

/* Methodology Card Styles */
.methodology-card {
    position: relative;
    max-width: 850px;
    margin: 4rem auto;
    padding: 3.5rem;
    background: #ffffff;
    box-shadow: 0 30px 60px -12px rgba(0, 45, 98, 0.15), 0 18px 36px -18px rgba(0, 0, 0, 0.2);
    /* Strong, visible shadow */
    border: 1px solid #f1f5f9;
    line-height: 1.8;
}

.methodology-card ul {
    margin: 2rem 0 0 0;
    padding-left: 1.5rem;
    list-style: none;
}

.methodology-card ul li {
    margin-bottom: 1.2rem;
    position: relative;
    color: #475569;
}

.methodology-card ul li::before {
    content: '\f058';
    /* Fontawesome check circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -1.7rem;
    color: var(--accent-orange);
}

/* Orange L-shape (Top-Left) */
.methodology-card::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 60px;
    height: 60px;
    border-top: 10px solid var(--accent-orange);
    border-left: 10px solid var(--accent-orange);
    z-index: 1;
}

/* Blue L-shape (Bottom-Right) */
.methodology-card::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60px;
    height: 60px;
    border-bottom: 10px solid var(--primary-blue);
    border-right: 10px solid var(--primary-blue);
    z-index: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .methodology-card {
        padding: 2rem;
        margin: 2rem 1rem;
    }

    .methodology-card::before,
    .methodology-card::after {
        width: 40px;
        height: 40px;
        border-width: 6px;
    }
}

/* --- Course Success Hero Section (Rankers + Form) --- */
.course-success-section {
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
    padding: 60px 20px;
    width: 100%;
}

.success-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    /* Reduced form column wrap */
    gap: 40px;
    align-items: start;
}

.rankers-display {
    min-width: 0;
}

.inquiry-panel {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 45, 98, 0.08);
    border-top: 4px solid var(--accent-orange);
    margin-top: 60px;
    /* Moved down to clear heading */
}

.inquiry-panel h3 {
    font-size: 1.2rem;
    /* Smaller heading */
    margin-bottom: 1rem !important;
}

.ranker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
}


@media (max-width: 1100px) {
    .success-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ranker-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inquiry-panel {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .ranker-grid {
        grid-template-columns: 1fr;
    }
}

.ranker-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eef2ff;
}

.ranker-photo {
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranker-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.ranker-info {
    padding: 15px;
}

.ranker-rank {
    background: var(--accent-orange);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.inquiry-form-mini .form-group {
    margin-bottom: 12px;
    /* Smaller gaps */
}

.inquiry-form-mini input,
.inquiry-form-mini select {
    width: 100%;
    padding: 8px 12px;
    /* Smaller padding */
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fcfdfe;
    font-size: 0.9rem;
    /* Smaller text */
}

.inquiry-form-mini .cta-btn {
    padding: 10px;
    font-size: 0.95rem;
}

/* --- Coaching Techniques Section --- */
.techniques-section {
    background: white;
    padding: 80px 20px;
}

.technique-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.technique-card {
    padding: 40px;
    text-align: center;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    transition: var(--transition);
}

.technique-card:hover {
    border-color: var(--accent-orange);
    background: #fffcf5;
    transform: translateY(-5px);
}

.technique-card i {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* --- Reviews Section --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

/* --- Global Mobile Optimization --- */


/* FIX: Closed missing media query bracket */

/* ============================================
   MOBILE RESPONSIVE - COMPLETE OVERHAUL
   Target: All screens <= 992px
   ============================================ */
@media (max-width: 992px) {

    /* ---- Global Reset ---- */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: clip !important;
    }

    /* ---- Header ---- */
    .main-header {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 12px !important;
        gap: 8px !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        max-width: 100% !important;
    }

    .header-left {
        display: flex;
        align-items: center;
        order: 1;
        flex: 0 0 auto;
        overflow: hidden;
        max-width: 160px;
    }

    .logo img {
        height: 38px !important;
        width: auto !important;
        max-width: 150px !important;
        object-fit: contain !important;
        margin: 0 !important;
    }

    /* JOIN NOW button */
    .m-join-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background-color: var(--accent-orange);
        color: #fff;
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 800;
        padding: 6px 14px;
        border-radius: 4px;
        letter-spacing: 0.5px;
        white-space: nowrap;
        order: 2;
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: 15px;
    }

    .mobile-header-info,
    .m-contact-link,
    .contact-highlight,
    .top-bar {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        margin: 0;
        order: 3;
        flex: 0 0 auto;
        cursor: pointer;
    }

    /* ---- Mobile Nav Drawer ---- */
    .nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(160deg, #0f2a5e 0%, #1a3d7c 100%);
        flex-direction: column;
        padding: 70px 0 30px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9600;
        overflow-y: auto;
        list-style: none;
        gap: 0;
    }

    .nav-links.active { right: 0; }

    .nav-links li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links a {
        font-size: 0.85rem !important;
        font-weight: 700;
        padding: 14px 20px !important;
        color: #e2e8f0 !important;
        display: block !important;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        transition: background 0.2s;
        border-bottom: none !important;
        position: relative;
    }

    .nav-links a:hover, .nav-links a.active {
        color: var(--accent-orange) !important;
        background: rgba(255,255,255,0.05);
    }

    .dropdown-content {
        position: static !important;
        display: block !important;
        box-shadow: none !important;
        background: rgba(0,0,0,0.3) !important;
        padding-left: 0 !important;
        margin: 0 !important;
        border-left: 4px solid var(--accent-orange) !important;
    }

    .dropdown-content a {
        font-size: 0.8rem !important;
        padding: 10px 32px !important;
        color: #cbd5e1 !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        text-transform: none !important;
        font-weight: 500;
        letter-spacing: 0;
    }

    .dropdown-content a:last-child {
        border-bottom: none !important;
    }

    .dropdown > a::after {
        content: '\f107' !important;
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        float: right;
        font-size: 0.8rem;
        margin-top: 2px;
    }

    /* ---- Hero Banners (full width) ---- */
    .hero,
    .page-hero,
    .hero-banner,
    .blog-hero-split {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        transform: none !important;
        height: auto !important;
        min-height: 120px !important;
        border: none !important;
        position: relative;
        left: 0;
    }

    .page-hero .banner-img,
    .hero-banner .banner-img {
        height: auto !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    .page-hero .hero-content h1 { font-size: 1.5rem !important; }
    .page-hero .hero-content p  { font-size: 0.85rem !important; }

    /* ---- Sections (general) ---- */
    section {
        padding: 20px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    /* ---- Section Titles & Spacing ---- */
    .section-title {
        margin-bottom: 1.5rem !important;
    }

    .section-title h2 {
        white-space: normal !important;
        font-size: 1.25rem !important;
        word-break: break-word;
        margin-bottom: 0.5rem !important;
    }

    /* Expand global section gap reductions */
    .blog-container,
    .methodology-card {
        margin: 1.5rem 10px !important;
        padding: 1.5rem !important;
    }
    
    .course-success-section,
    .techniques-section {
        padding: 30px 15px !important;
    }

    /* ---- Headings & Extracted Typography ---- */
    h1 { font-size: 1.4rem !important; line-height: 1.2 !important; word-break: break-word !important; }
    h2 { font-size: 1.15rem !important; word-break: break-word !important; }
    h3 { font-size: 1rem !important; margin-bottom: 0.5rem !important; }
    p  { font-size: 0.85rem !important; line-height: 1.5 !important; }

    .section-title {
        margin-bottom: 1.2rem !important;
    }

    .section-desc {
        line-height: 1.4 !important;
        padding: 0 5px !important;
        margin-bottom: 15px !important;
    }

    .strategy-list {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        padding-left: 1rem !important;
    }

    .preference-list {
        gap: 0.6rem !important;
        margin-top: 1rem !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-content: start !important;
        text-align: left;
    }

    .contact-info-footer {
        gap: 1rem !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
    }

    .contact-info-footer > div {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        text-align: center !important;
    }

    /* ---- Feature / Cards Grid ---- */
    .features-grid,
    .grid-triangle-top,
    .grid-triangle-bottom,
    .technique-grid,
    .ranker-grid,
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-top: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .feature-card,
    .technique-card,
    .review-card {
        padding: 20px 15px !important;
        margin-bottom: 0 !important;
        border-radius: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ---- Contact / Lead Form ---- */
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1.5rem !important;
    }

    /* ---- Course Success Section (rankers + form) ---- */
    .success-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .ranker-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .inquiry-panel {
        margin-top: 0 !important;
        width: 100% !important;
    }

    /* ---- Footer ---- */
    footer {
        padding: 1rem 0 0 !important;
    }

    .footer-section h3 {
        margin-bottom: 0.3rem !important;
        font-size: 0.95rem !important;
    }
    
    .footer-section ul li {
        margin-bottom: 0.2rem !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
        padding: 0 15px !important;
    }
    
    .footer-section:first-child,
    .footer-section:last-child {
        grid-column: span 1;
    }

    .footer-logo img { width: 120px !important; margin-bottom: 0.5rem !important; }

    .footer-bottom {
        padding: 1rem 15px !important;
        font-size: 0.75rem !important;
    }

    /* ---- Blog Hero ---- */
    .blog-hero-split {
        flex-direction: column !important;
        height: auto !important;
        min-height: unset !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .blog-hero-left, .blog-hero-right {
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px 15px !important;
        box-sizing: border-box !important;
    }

    .blog-hero-brand img {
        transform: scale(1) !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ---- Blog List ---- */
    .blog-list {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   SMALL MOBILE - 480px and below
   ============================================ */
@media (max-width: 480px) {

    .logo img {
        height: 34px !important;
        margin-left: 0;
    }

    section:not(.hero) {
        padding: 16px 12px !important;
    }

    .page-hero,
    .hero-banner {
        height: 200px !important;
        min-height: 200px !important;
    }

    .page-hero .banner-img,
    .hero-banner .banner-img {
        height: 200px !important;
    }

    /* Footer becomes single column on very small screens */
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .ranker-grid {
        grid-template-columns: 1fr !important;
    }

    .bottom-nav-item span {
        font-size: 0.6rem;
    }
}

/* ============================================
   BOTTOM NAV BAR (Mobile Only)
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--primary-blue);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 9000;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    transition: var(--transition);
}

.bottom-nav-item i    { font-size: 1.1rem; }

.bottom-nav-item span {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.bottom-nav-item:active { background: rgba(255,255,255,0.1); }

/* Hide bottom nav on desktop */
@media (min-width: 993px) {
    .bottom-nav { display: none !important; }
}

