/* ==========================================================================
   1. GLOBAL STYLES, FONTS, VARIABLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevents horizontal scroll on mobile */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

:root {
    --primary-color: #0A2463;
    /* Navy Blue */
    --secondary-color: #F8F9FA;
    /* Light Gray / Off-white */
    --accent-color: #D83121;
    /* Strong Red */
    --light-blue-bg: #e8ebf5;
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --border-color: #DEE2E6;
    --shadow-color: rgba(10, 36, 99, 0.08);
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

.uppercase-input {
    text-transform: uppercase;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

.hero-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0px 20px;
}

.container {
    max-width: 1200px;
    /* Standardized width */
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: #6c757d;
}

section {
    padding: 100px 0;
    background: #fff;
}

section.bg-light {
    background-color: var(--secondary-color);
}

/* ==========================================================================
   2. HEADER & NAVIGATION (RESPONSIVE UPDATE)
   ========================================================================== */

header {
    background-color: var(--light-text-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;


    width: 100%;
    /* Occupy full width available */
    max-width: 1440px;
    /* Set a consistent max-width (standard desktop) */
    margin: 0 auto;
    /* Centers the container perfectly */
    padding: 0 40px;
    /* EQUAL spacing from the very edge of the screen */
    box-sizing: border-box;
    /* Ensures padding doesn't affect total width */
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1001;
    /* Keep logo above mobile menu */
}

.logo span {
    color: var(--accent-color);
}

.logo img {
    max-width: 180px;
    height: auto;
    display: block;
}

/* Nav Links Container */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link.active,
.nav-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
}

/* Hide Mobile Buttons on Desktop */
.mobile-only-btn {
    display: none;
}

/* --- Right Side Actions --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-cart {
    position: relative;
    font-size: 1.4rem;
    color: var(--text-color);
    margin-right: 10px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.desktop-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* --- Hamburger Menu Icon --- */
.hamburger {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation active state */
.hamburger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle .line2 {
    opacity: 0;
}

.hamburger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ==========================================================================
   3. REUSABLE COMPONENTS (Buttons, Grids, etc.)
   ========================================================================== */

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn1 {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

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

.btn-primary:hover {
    background-color: #081c4a;
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-text-color);
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ==========================================================================
   4. HOMEPAGE SECTIONS
   ========================================================================== */

/* ----- Hero Section ----- */
section.hero {
    padding: 0;
    position: relative;
    height: 85vh;
    background-size: cover;
    background-position: center center;
    background-image: url('truck2.avif');
    transition: background-image 1.5s ease-in-out;
}

.hero {
    overflow: hidden;
    position: relative;
    background-image: none !important;
}

.hero-slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.hero-slideshow-image.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.7));
    display: flex;
    align-items: center;
    text-align: left;
    z-index: 2;
}

/* Added container constraint to hero content for consistent padding */
.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--light-text-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 4.5rem;
}

.hero-content h1 span {
    font-family: var(--font-heading);
    font-size: 5rem;
    letter-spacing: 2px;
}

.hero-content p {
    color: var(--light-text-color);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 20px 0 30px;
    opacity: 0.9;
}

.btn-hero {
    background: white;
    color: var(--primary-color);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.arrow-circle {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

/* ----- Stats Section ----- */
.stats-section {
    padding: 80px 0;
}

.stats-section .grid-4 {
    text-align: center;
}

/* ----- Why Choose Us Section ----- */
.features-section-dynamic {
    padding-top: 100px;
}

.feature-card-dynamic {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    /* Ensure equal height in grid */
}

.feature-card-dynamic:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.15);
}

.feature-card-dynamic .icon-circle {
    background-color: var(--light-blue-bg);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.feature-card-dynamic h3 {
    margin-bottom: 10px;
}

.feature-card-dynamic p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.feature-card-dynamic:hover p {
    max-height: 100px;
    opacity: 1;
}

/* --- ADD THIS NEW RULE BELOW IT --- */
/* Allows JavaScript to reveal text on mobile tap */
.feature-card-dynamic.active p {
    max-height: 150px;
    /* Increased slightly to ensure full text fits */
    opacity: 1;
    margin-top: 10px;
}

.feature-card-dynamic.active {
    transform: scale(1.02);
    /* slight pop effect when active */
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.15);
}

/* ----- NEW Parallax Divider Section ----- */
.parallax-section {
    padding: 0;
    height: 400px;
    background-image: url('phodot/truck6.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 36, 99, 0.2);
}

/* Fix for iOS Parallax Issue ONLY */
@supports (-webkit-touch-callout: none) {
    .parallax-section {
        background-attachment: scroll;
    }
}


/* ----- Popular Courses Section (Centered, No Scroll) ----- */
.popular-courses-section {
    padding-bottom: 100px;
    background-color: var(--secondary-color);
}

.course-scroll-outer-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.course-scroll-inner-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.course-card-v2 {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-color);
    width: 350px;
    max-width: 100%;
    /* Prevents overflow on mobile */
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(10, 36, 99, 0.12);
}

.offer-applied {
    position: relative;
    cursor: pointer;
    background-color: #e6f7ff;
    color: #007bff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.offer-applied .tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10;
}

.offer-applied:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.offer-applied .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.bestseller-tag {
    position: absolute;
    top: 15px;
    left: -8px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 3px;
    z-index: 10;
}

.course-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.course-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-grid-section .course-grid {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.course-card-ratings {
    font-weight: bold;
    color: #f0b429;
    margin-bottom: 10px;
}

.course-card-ratings .fa-star {
    color: #f0b429;
}

.course-card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.course-card-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    height: 4.5em;
    overflow: hidden;
    margin-bottom: 15px;
}

.course-card-pricing {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-card-pricing s {
    color: #777;
    font-size: 1rem;
}

.course-card-pricing strong {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-btn {
    background: var(--light-blue-bg);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

.quantity-value {
    font-size: 1.2rem;
    font-weight: bold;
}

.course-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.course-card-actions .btn {
    width: 100%;
    padding: 12px;
}

/* Explore More Courses Button */
.explore-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.explore-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.explore-more-btn .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.explore-more-btn:hover {
    background-color: var(--primary-dark-color);
    transform: translateY(-2px);
}

.explore-more-btn:hover .arrow {
    transform: translateX(6px);
}

/* ----- Testimonials Section ----- */
section.testimonials-section {
    background-color: var(--secondary-color);
    padding-bottom: 100px;
    overflow: hidden;
    /* Prevent horizontal scroll */
}

.testimonial-scroller {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.testimonial-scroller-inner {
    display: flex;
    width: fit-content;
    gap: 30px;
    animation: scroll-testimonials 60s linear infinite;
}

.testimonial-scroller-inner:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--light-blue-bg);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    width: 400px;
    flex-shrink: 0;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--light-blue-bg);
}

.quote {
    font-style: italic;
    color: var(--primary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
}

.stars {
    color: #f0b429;
    font-size: 0.9rem;
}

@keyframes scroll-testimonials {
    to {
        transform: translateX(-50%);
    }
}


/* ----- Partners Logo Scroller ----- */
section.partners-section {
    background: #fff;
    padding-top: 60px;
    overflow: hidden;
}

.logo-scroller {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroller-inner {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
    align-items: center;
    /* Added for vertical centering */
}

.scroller-inner:hover {
    animation-play-state: paused;
}

.scroller-inner img {
    height: 45px;
    /* Reduced height as per user request */
    width: auto;
    /* Allow width to auto-scale */
    object-fit: contain;
    /* Ensure proper aspect ratio */
    margin: 0 40px;
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

/* ----- Pre-Footer CTA ----- */
section.cta-section {
    padding: 30px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2,
.cta-section p {
    color: white;
}

.cta-section p {
    max-width: 600px;
    margin: 15px auto 30px;
    opacity: 0.9;
    padding: 0 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    /* Wraps on smaller screens */
}

.btn-cta-outline {
    background: transparent;
    color: white;
    border: 2px solid white;

    /* UPDATED: Equal padding on Top/Bottom (10px) and Left/Right (30px) */
    padding: 10px 30px;

    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;

    /* ADDED: Ensures content stays centered if the button stretches on mobile */
    justify-content: center;

    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

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

.arrow-circle-cta {
    background-color: white;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover .arrow-circle-cta {
    background-color: var(--primary-color);
    color: white;
}

.btn-cta-solid {
    background: white;
    color: var(--primary-color);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-cta-solid:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ----- Footer Section (Final Compact Version) ----- */

#page-footer {
    position: relative;
    color: white;
}

/* Main footer area with dark blue background */
.footer-main {
    background-color: #05143a;
    padding: 10px 0 15px 0;
}

/* Flex container for the main top section */
.footer-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 52px;
    padding-bottom: 25px;
    /* Space above the divider line */
}

/* Left column with logo and help links */
.footer-left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Space between logo and "Need Help?" */
}

.footer-logo-link img {
    max-width: 100px;
    /* Controls logo size */
    height: auto;
    margin-top: 20px;
}

.footer-help b {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: bold;
}

.footer-help a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.footer-help a:hover {
    opacity: 0.8;
}

.footer-help i {
    font-size: 1.4rem;
}

/* Right column with navigation links */
.footer-right-column {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 60px;
    /* Vertical and horizontal gap between links */
    justify-content: flex-start;
    flex: 1;
}

.footer-right-column a {
    color: white;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: bold;
    transition: opacity 0.3s;
    padding: 30px;
}

.footer-right-column a:hover {
    opacity: 0.8;
}

/* Centered links at the bottom of the blue section */
.footer-secondary-links {
    text-align: center;
    padding-top: 5px;
    /* This border acts as the divider line */
}

.footer-secondary-links a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-secondary-links a:hover {
    text-decoration: underline;
}

/* Sub-footer with gray background */
.footer-sub {
    background-color: #4a4a4a;
    color: #cccccc;
    padding: 10px 0;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-sub p {
    margin: 0;
}

.footer-sub p:first-child {
    margin-bottom: 15px;
}

/* Scroll-to-top button */
.scroll-to-top {
    position: fixed;
    /* Fixed so it stays on screen */
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s;
    z-index: 999;
    border-radius: 5px;
    opacity: 0.8;
}

.scroll-to-top:hover {
    background-color: var(--accent-color);
    opacity: 1;
}

/* ==========================================================================
   5. SECONDARY & NEW PAGE STYLES
   ========================================================================== */

/* ----- Reusable Page Hero ----- */
.page-hero {
    background: linear-gradient(rgba(10, 36, 99, 0.85), rgba(10, 36, 99, 0.85)), url('https://images.unsplash.com/photo-1590794582101-5c82245b0d87?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-hero h1,
.page-hero p {
    color: white;
}

.page-hero p {
    max-width: 550px;
    margin: 15px auto 0;
    opacity: 0.9;
    font-size: 1.1rem;
    padding: 0 20px;
}

/* ----- General Courses Page ----- */
.search-bar-container {
    margin-top: 30px;
    display: flex;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-bar-container input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 0 20px;
    font-size: 1rem;
    background: transparent;
}

.search-bar-container button {
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 1rem;
}

.course-grid-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

/* ----- Course Details Page ----- */
.course-hero-main {
    padding: 60px 0;
    background-color: #fff;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
}

/* --- Search Bar Updates --- */
.search-btn .btn-icon {
    display: none;
    /* Hide icon on desktop */
}

.course-details-grid-new {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.course-image-and-meta {
    display: flex;
    flex-direction: column;
}

.course-image-wrapper {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.course-image-wrapper img {
    width: 100%;
    display: block;
}

.image-meta-info {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.meta-button {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
}

.meta-button .fa-star {
    color: #f0b429;
}

.course-info-wrapper h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.course-info-wrapper .course-primary-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.course-info-wrapper p {
    color: #444;
}

.enroll-section {
    margin: 0;
    padding: 0;
    text-align: left;
}

.btn-enroll-main {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
}

.subtle-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 30px 0;
}

.course-content-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.course-content-block-new {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.course-content-block-new h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.course-content-block-new p {
    margin-bottom: 15px;
}

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

.learning-list-new li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 1rem;
}

.learning-list-new .fa-check {
    color: var(--primary-color);
    margin-top: 5px;
}

.specifications-block ul.spec-list {
    list-style: none;
    padding: 0;
}

.specifications-block li {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

.specifications-block li:last-child {
    border-bottom: none;
}

.specifications-block li strong {
    color: var(--text-color);
    flex-basis: 40%;
    flex-shrink: 0;
}

.info-block {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
    border: 1px solid var(--border-color);
}

.info-block h3 {
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 1.5rem;
}

.info-block ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.info-block li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-block .fa-check-circle {
    color: var(--primary-color);
}

/* ----- Contact Page ----- */
.contact-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-detail-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.contact-detail-card .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-detail-card h4 {
    margin-bottom: 5px;
}

.contact-detail-card p {
    font-size: 0.95rem;
    color: #555;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 36, 99, 0.2);
}

.contact-form-wrapper .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

/* ==========================================================================
   6. CHECKOUT / CART PAGES
   ========================================================================== */
/* Customer Message Container Styles */
.customer-message-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #007bff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.customer-message h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.customer-message h4 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.customer-message p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0;
}

.customer-message span {
    font-weight: 600;
    color: #28a745;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.checkout-main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ----- Step 1: Shopping Cart View Styles ----- */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-title {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.cart-subtitle {
    color: #666;
}

.clear-cart-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.cart-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.cart-item-main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cart-item-main img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h3 {
    font-size: 1.2rem;
}

.cart-item-details p {
    font-size: 0.9rem;
    color: #555;
    margin: 5px 0 15px;
}

.cart-item-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-pricing s {
    color: #777;
    font-size: 1rem;
    font-weight: normal;
}

.cart-item-pricing strong {
    font-size: 1.4rem;
}

.cart-item-delete {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-item-delete:hover {
    background-color: #b0271a;
}

.cart-item-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-quantity .quantity-btn {
    background: var(--light-blue-bg);
    border: 1px solid var(--border-color);
    width: 32px;
    height: 32px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-item-quantity .quantity-value {
    font-size: 1.1rem;
    font-weight: bold;
}

.cart-item-subtotal {
    font-size: 0.9rem;
    color: #555;
}

.cart-item-subtotal strong {
    color: var(--text-color);
}

.empty-cart-message {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #666;
}

/* ----- Step 2: Create Account View Styles ----- */
.checkout-form-wrapper {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.form-header {
    text-align: center;
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-header .fa-user-circle {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-header h2 {
    font-size: 1.8rem;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

.billing-form {
    padding: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex-grow: 1;
}

.form-group-with-icon {
    position: relative;
}

.form-group-with-icon input {
    padding-right: 45px;
}

.icon-button {
    position: absolute;
    right: 1px;
    top: 32px;
    height: 45px;
    width: 45px;
    background: none;
    border: none;
    font-size: 1rem;
    color: #888;
    cursor: pointer;
}

/* ===== Loading Spinner Styles ===== */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-blue-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Loading Spinner Styles */
#global-loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

#global-loading-spinner div {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

#global-loading-spinner p {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES (Fixing Issues)
   ========================================================================== */

/* TABLET & MOBILE VIEW (< 992px) */
@media(max-width: 992px) {
    nav {
        padding: 0 20px;
        /* Smaller equal gaps on mobile */
        height: 90px;
        /* Optional: slightly shorter navbar on mobile */
    }

    /* 1. Hide Desktop Buttons */
    .desktop-buttons {
        display: none;
    }

    /* 1. NAVBAR - Show Hamburger, Hide Top Links */
    .hamburger {
        display: flex;
        /* Show the 3 lines */
    }

    /* Hide the Login/Register buttons in the top bar to prevent cut-off */
    .nav-auth .btn1 {
        display: none;
    }

    /* Keep Cart Visible */
    .nav-cart {
        display: block;
        margin-right: 15px;
    }

    /* Mobile Menu Dropdown Style */
    .nav-links {
        position: absolute;
        top: 90px;
        /* Adjust to match header height */
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        gap: 15px;
        /* Animation properties */
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
        opacity: 0;
    }

    /* Class to add via JavaScript: document.querySelector('.nav-links').classList.toggle('active'); */
    .nav-links.nav-active {
        display: flex !important;
        /* Override any previous display: none */
        opacity: 1;
        transform: translateY(0%);
        transition: transform 0.4s ease, opacity 0.4s ease;
        /* Added opacity transition */
    }

    .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-link {
        display: block;
        /* Make links take full width */
        padding: 10px 20px;
        /* Add padding for easier tapping */
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-links li:last-child .nav-link {
        border-bottom: none;
        /* No border on the last link */
    }

    .mobile-only-btn {
        display: block !important;
        /* Make sure these are shown */
        margin-top: 10px;
        padding: 0 20px;
        /* Align with other links */
    }

    .mobile-only-btn .btn,
    .mobile-only-btn .btn1 {
        text-align: center;
        width: 100%;
        display: block;
        /* Ensure they take full width */
        padding: 12px 0;
        /* Adjust padding */
    }

    /* 2. LAYOUT ADJUSTMENTS */
    .grid-4,
    .stats-section .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .course-details-grid-new {
        grid-template-columns: 1fr;
    }

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

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

    /* --- FIX PARALLAX ZOOM ON MOBILE --- */
    /* --- FIX PARALLAX ZOOM ON MOBILE --- */
    /* Removed overrides to revert to fixed attachment */

    .parallax-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(10, 36, 99, 0.2);
    }

    /* 3. FOOTER LAYOUT FIX (Overlapping Issue Resolved) */

    .footer-main-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        /* Space between Logo/Contact and the Buttons */
        width: 100%;
        height: auto !important;
        /* Force auto height to prevent overlap */
    }

    .footer-left-column {
        width: 100%;
        align-items: center;
        margin-bottom: 0;
    }

    /* Grid for Footer Buttons */
    .footer-right-column {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 Columns */
        gap: 15px;
        padding: 0 10px;
        height: auto;
    }

    /* Button Styling */
    .footer-right-column a {
        background-color: rgba(255, 255, 255, 0.1);
        /* Dark button background */
        color: white;
        padding: 14px 10px;
        border-radius: 6px;
        font-weight: 600;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        /* Subtle border */
    }

    /* Make the 5th item (BOC-3) span the full width to look better */
    .footer-right-column a:nth-child(5) {
        grid-column: span 2;
    }

    /* Secondary Links (Terms, Privacy) - Pushed down */
    .footer-secondary-links {
        margin-top: 20px;
        /* Large margin to ensure no overlap */
        display: block;
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-secondary-links a {
        font-size: 0.85rem;
        opacity: 0.8;
        display: inline-block;
    }

    .footer-help a {
        justify-content: center;
    }
}

/* MOBILE PHONE VIEW (< 768px) */
@media(max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        text-align: left;
        padding-left: 20px;
    }

    .hero-content h1 {
        font-size: calc(100vw / 15.5);
        line-height: 1.1;
    }

    .hero-content h1 span {
        font-size: calc(100vw / 15.5);
        display: block;
        white-space: nowrap;
    }

    .btn-hero {
        width: auto;
        padding: 12px 35px;
    }

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

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

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

    /* Cart Items Vertical */
    .cart-item-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-main img {
        width: 100%;
        height: auto;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Ensure footer links are tappable */
    .footer-right-column {
        flex-direction: column;
        gap: 10px;
    }

    .testimonial-card {
        width: 300px;
    }
}

/* SMALL MOBILE VIEW (< 576px) */
@media(max-width: 576px) {
    nav {
        height: 80px;
        padding: 0 15px;
    }

    .nav-links {
        top: 80px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo img {
        max-width: 130px;
    }

    /* --- SEARCH BAR FIX FOR MOBILE --- */
    .search-bar-container {
        padding: 5px 5px 5px 15px;
        /* Adjust container padding */
    }

    /* Change button style to transparent icon */
    .search-bar-container button.search-btn {
        background-color: transparent;
        /* Remove blue background */
        color: #333;
        /* Make icon black/dark grey */
        padding: 10px 15px;
        /* Reduce padding significantly */
        min-width: auto;
        border: none;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Remove hover background effect */
    .search-bar-container button.search-btn:hover {
        background-color: transparent;
        color: #000;
    }

    /* Swap Text for Icon */
    .search-btn .btn-text {
        display: none;
        /* Hide "Search" text */
    }

    .search-btn .btn-icon {
        display: block;
        /* Show Magnifying Glass */
        font-size: 1.2rem;
    }

    .billing-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-right-column {
        gap: 10px;
    }

    .footer-right-column a {
        font-size: 0.85rem;
        padding: 12px 5px;
    }
}

/* ==========================================================================
   8. ANIMATIONS
   ========================================================================== */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   SUCCESS MODAL STYLES
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Semi-transparent black background */
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    /* High z-index to sit on top of everything */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    color: #28a745;
    /* Green color for success */
    margin-bottom: 20px;
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-content p {
    color: #555;
    margin-bottom: 10px;
    font-size: 1rem;
}

.modal-content .btn {
    margin-top: 20px;
    width: 100%;
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* --- Tablet & Mobile Navigation (max-width: 992px) --- */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
        /* Show hamburger */
    }

    .desktop-buttons {
        display: none;
        /* Hide desktop specific buttons */
    }

    .nav-links {
        position: fixed;
        top: 0;
        /* Cover full height */
        right: -100%;
        /* Hide off-screen */
        height: 100vh;
        width: 70%;
        /* Slide out width */
        max-width: 300px;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 40px;
        /* Top padding clears close button/header area */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease-in-out;
        z-index: 999;
        /* Below header/hamburger but above content */
    }

    .nav-links.active {
        right: 0;
        /* Slide in */
    }

    .nav-link {
        font-size: 1.1rem;
        display: block;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-only-btn {
        display: block;
        /* Show mobile buttons */
        width: 100%;
        margin-top: 15px;
    }

    /* Adjust Cart position */
    .nav-cart {
        margin-right: 20px;
    }
}

/* --- Mobile Layout Stacking (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Global Typography & Layout */
    html {
        font-size: 14px;
        /* Slightly smaller base font */
    }

    .container,
    .hero-content {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-content h1 span {
        font-size: calc(100vw / 15.5);
    }

    h2 {
        font-size: 2rem;
    }

    /* Stack Grids */
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }

    /* Hero Section */
    section.hero {
        height: auto;
        min-height: 600px;
    }

    .hero-content {
        padding-top: 80px;
        /* Space for fixed header */
        text-align: left;
    }

    .btn-hero {
        width: auto;
    }

    /* Course Cards */
    .course-card-v2 {
        width: 100%;
        /* Full width on mobile */
        max-width: 400px;
        /* Prevent being too wide on landscape */
    }

    .course-scroll-wrapper {
        padding: 0 10px;
    }

    .course-scroll-inner-wrapper {
        flex-direction: column;
        align-items: center;
    }

    /* Course Details Page */
    .course-details-grid-new,
    .contact-main-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
        /* Stack specifics */
        gap: 40px;
    }

    .course-image-wrapper {
        margin-bottom: 20px;
    }

    /* Footer */
    .footer-main-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-right-column {
        flex-direction: column;
        gap: 15px;
    }

    .footer-right-column a {
        padding: 10px 0;
    }

    /* Search Bar */
    .search-bar-container {
        width: 100%;
        padding: 10px 15px;
    }

    .search-bar-container input {
        width: auto;
        /* Let flex handle it */
    }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: calc(100vw / 15.5);
    }

    .hero-content h1 span {
        font-size: calc(100vw / 15.5);
        white-space: nowrap;
    }

    .cta-buttons {
        gap: 20px;
    }

    .btn-cta-outline {
        width: 100%;
    }
}

/* Footer Separator Fix for Mobile */


/* Professional Toast Notification */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: white;
    min-width: 320px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-left: 5px solid #ccc;
    transform: translateX(120%);
    /* Hidden by default */
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* Success Style */
.toast.success {
    border-left-color: #10b981;
    /* Green */
}

.toast.success i {
    color: #10b981;
    background: #d1fae5;
}

/* Error Style */
.toast.error {
    border-left-color: #ef4444;
    /* Red */
}

.toast.error i {
    color: #ef4444;
    background: #fee2e2;
}

/* Icon Styling */
.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

/* Text Content */
.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 2px;
    display: block;
}

.toast-message {
    font-size: 13px;
    color: #64748b;
    display: block;
}