/* ===================================
   CAMBRIDGE SAFETY INSTITUTE
   Exact Replica Stylesheet
   =================================== */

:root {
    --navy: #1B2A4A;
    --navy-dark: #0F1B30;
    --red: #C0392B;
    --red-hover: #A5281D;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #F0F2F5;
    --border-gray: #E5E7EB;
    --text-dark: #1A1A2E;
    --text-body: #4A4A5A;
    --text-muted: #6B7280;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

.btn-red:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.35);
}

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

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

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    padding: 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-logo-box {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.logo-title {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--navy);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-weight: 700;
    font-size: 0.68rem;
    color: var(--red);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.navbar-utils {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(0,0,0,0.05);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.nav-links a.nav-active {
    color: var(--navy);
    font-weight: 700;
}

.nav-links a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--navy);
}

.nav-links a:hover {
    color: var(--red);
}

.nav-arrow {
    font-size: 0.65rem;
    opacity: 0.6;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #0F1B30 0%, #1B2A4A 40%, #243558 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

/* Decorative gradient orbs */
.hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-deco-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.hero-deco-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(41, 128, 185, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    max-width: 1200px;
    padding: 0 40px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Hero Text Column --- */
.hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 30px 60px 0;
    position: relative;
}

.hero-slider-wrapper {
    display: grid;
    grid-template-areas: "slide";
    align-items: center;
}

.hero-slide {
    opacity: 0;
    grid-area: slide;
    width: 100%;
    transition: opacity 0.5s ease;
    pointer-events: none;
    visibility: hidden;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(192, 57, 43, 0.15), rgba(192, 57, 43, 0.05));
    border: 1px solid rgba(192, 57, 43, 0.3);
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.15);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffb8b8;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -0.8px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.text-gradient {
    background: linear-gradient(90deg, #ff7675 0%, #d63031 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #cbd5e1; /* Smooth light blue-gray */
    margin-bottom: 0;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 32px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

#btn-courses {
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.35);
}

#btn-courses:hover {
    box-shadow: 0 12px 30px rgba(192, 57, 43, 0.5);
    transform: translateY(-2px);
}

#btn-contact-hero {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

#btn-contact-hero:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

/* --- Hero Progress Nav --- */
.hero-progress-nav {
    display: flex;
    gap: 24px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-nav-item {
    flex: 1;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 0;
    color: var(--white);
    font-family: var(--font-family);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.hero-nav-item.active {
    opacity: 1;
}

.hero-nav-item:hover {
    opacity: 0.8;
}

.nav-item-num {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--red);
    margin-bottom: 4px;
}

.nav-item-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.nav-item-bar {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.12);
    border-radius: 4px;
    overflow: hidden;
}

.nav-item-fill {
    width: 0%;
    height: 100%;
    background: var(--red);
    border-radius: 4px;
    transition: none;
}

.hero-nav-item.active .nav-item-fill {
    animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* --- Hero Image Column --- */
.hero-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    animation: heroFloat 5s ease-in-out infinite;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
    position: relative;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(192, 57, 43, 0.2) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* ===== FEATURES ===== */
.features {
    padding: 60px 0 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
}

.feature-card {
    text-align: left;
    padding: 10px 40px 30px;
    border-right: 1px solid var(--border-gray);
}
.feature-card:first-child {
    padding-left: 0;
}
.feature-card:last-child {
    border-right: none;
    padding-right: 0;
}

.feature-icon-wrap {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
    color: var(--navy);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.features-divider {
    height: 1px;
    background: var(--border-gray);
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* ===== ABOUT ===== */
.about {
    padding: 40px 0 80px;
    background: var(--white);
}

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

.section-tag {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-heading {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-text {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-image {
    position: relative;
    padding: 0 20px 20px 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.about-image-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--red);
    z-index: 1;
}

/* ===== TRAINING PARTNERS ===== */
.training-partners {
    padding: 80px 0;
    background: #f8fbff;
}

.tp-title-center {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.tp-table-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.tp-cell {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 320px;
    padding: 35px 30px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tp-cell:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: rgba(192, 57, 43, 0.3);
}

.tp-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--red);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tp-cell:hover::before {
    opacity: 1;
}

.tp-cell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tp-cell-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.tp-flag {
    width: 24px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.tp-cell p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== CTA + VISION ===== */
.cta-vision {
    background: var(--off-white);
}

.cta-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
}

.cta-block {
    background: var(--navy);
    color: var(--white);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-block h2 {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 14px;
}

.cta-block p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 24px;
    line-height: 1.6;
}

.vision-block {
    background: var(--white);
    padding: 50px 40px;
}

.vision-block h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.vision-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.vision-text {
    flex: 1;
}

.quote-icon {
    font-size: 3rem;
    font-weight: 900;
    color: var(--red);
    line-height: 0.6;
    margin-bottom: 10px;
}

.vision-text p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 8px;
}

.vision-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

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

/* ===== WHY CHOOSE US ===== */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
    position: relative;
    z-index: 1;
}

.why-heading {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: #E5E7EB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.why-card {
    background: var(--white);
    padding: 30px 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red), #ff7675);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 2;
    background: var(--white);
    border-radius: 12px; /* Smooth corners when jumping out */
}

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

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 57, 43, 0.05);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
    background: rgba(192, 57, 43, 0.1);
}

.why-icon svg {
    display: block;
}

.why-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0A1128 0%, #0F1B30 100%);
    color: var(--white);
    padding: 80px 0 0;
    border-top: 4px solid var(--red);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-col {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.footer-col h5 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-box {
    background: var(--white);
    padding: 10px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.logo-title-footer {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--navy);
    letter-spacing: 0.5px;
}

.logo-subtitle-footer {
    font-weight: 700;
    font-size: 0.68rem;
    color: var(--red);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.footer-col ul li {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.footer-col ul li svg {
    margin-top: 4px;
    flex-shrink: 0;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.social-item:hover {
    color: var(--white);
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-item:hover .social-icon {
    transform: translateY(-2px);
    background: var(--red);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.4);
}

.footer-newsletter p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font-family);
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.3);
}

.newsletter-form input:focus {
    border-color: var(--red);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15);
}

.newsletter-form button {
    padding: 14px;
    font-size: 0.95rem;
    border-radius: 6px;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #0F1B30; /* Dark premium style */
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
}

.mobile-menu-links a {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-menu-links a:hover {
    color: var(--red);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero-text-col {
        text-align: center;
        padding: 50px 24px 30px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        max-width: 100%;
        margin: 0 auto;
    }

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

    .hero-progress-nav {
        justify-content: center;
    }

    .hero-image-col {
        padding: 0 40px 50px;
    }

    .hero-image-wrapper {
        max-width: 420px;
    }

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

    .feature-card {
        border-right: none;
        border-bottom: 1px solid var(--border-gray);
        padding: 20px 0;
    }

    .feature-card:last-child {
        border-bottom: none;
    }

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

    .tp-cell {
        flex: 0 1 calc(50% - 20px);
    }

    .cta-vision-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        justify-content: center;
        text-align: center;
    }

    .footer-col {
        min-width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo-wrap {
        justify-content: center;
    }

    .footer-col ul li {
        justify-content: center;
        text-align: center;
    }

    .footer-logo-box {
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .navbar-inner {
        height: 60px;
    }

    .header-logo-img {
        height: 40px;
    }

    .logo-title {
        font-size: 1.05rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
        display: none; /* Hide subtitle on mobile to save space */
    }

    .btn-sm {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .hero-text-col {
        padding: 30px 15px 20px;
    }

    .hero-inner {
        padding: 0 15px;
    }

    .hero-progress-nav {
        gap: 12px 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-nav-item {
        flex: 1 1 auto;
        min-width: 80px;
    }
    
    .hero-image-wrapper img {
        height: auto;
        max-height: 350px;
        object-fit: contain;
    }

    .hero-image-col {
        padding: 0 15px 30px;
    }

    .hero-image-wrapper {
        border-radius: 12px;
    }

    .tp-cell {
        flex: 0 1 100%;
        min-width: 100%;
    }

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

    .footer-grid {
        gap: 40px;
    }

    .vision-content {
        flex-direction: column;
    }

    .vision-image {
        width: 100%;
        height: 200px;
        margin-top: 20px;
    }
}

@media (max-width: 400px) {
    .logo-text {
        display: none; /* Hide all logo text on very small phones */
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
}
