/* ===========================
   Mbiyu Muhia & Associates
   Brand-Consistent Stylesheet
   Colors: Navy #1E3A8A | Cyan #00BCD4 | Red #E53935
   =========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Brand Color System — Logo Only */
:root {
    /* ── Core Brand Colors ── */
    --navy:        #1E3A8A;   /* Navy blue from logo text */
    --navy-dark:   #0F1F4A;   /* Deeper navy for depth */
    --navy-mid:    #2A4BA0;   /* Mid navy for hover states */
    --cyan:        #00BCD4;   /* Cyan from logo circle */
    --cyan-light:  #4DD0E1;   /* Lighter cyan */
    --cyan-dark:   #0097A7;   /* Deeper cyan */
    --red:         #E53935;   /* Red accent from logo */
    --red-dark:    #C62828;   /* Deeper red for hover */

    /* ── UI Neutrals ── */
    --white:       #FFFFFF;
    --off-white:   #F7F9FF;   /* Very slight navy tint */
    --bg-light:    #EEF3FF;   /* Light navy tint for alternating sections */
    --text-dark:   #1A2744;   /* Navy-tinted dark text */
    --text-muted:  #5B6B8A;   /* Muted navy for secondary text */
    --border:      #D1DCF8;   /* Light navy border */
    --gray:        #BDC3C7;

    /* ── Semantic Aliases ── */
    --primary:     var(--navy);
    --secondary:   var(--cyan);
    --accent:      var(--red);
    --success:     var(--cyan);   /* Use cyan for success states */
    --danger:      var(--red);

    /* ── Gradients ── */
    --grad-navy:   linear-gradient(135deg, #1E3A8A 0%, #2A4BA0 100%);
    --grad-cyan:   linear-gradient(135deg, #00BCD4 0%, #4DD0E1 100%);
    --grad-brand:  linear-gradient(135deg, #1E3A8A 0%, #00BCD4 100%);
    --grad-red:    linear-gradient(135deg, #E53935 0%, #EF5350 100%);
    --grad-section:linear-gradient(135deg, #EEF3FF 0%, #F0FBFD 100%);

    /* ── Shadows ── */
    --shadow-sm:   0 2px 4px rgba(30, 58, 138, 0.06);
    --shadow-md:   0 4px 16px rgba(30, 58, 138, 0.10);
    --shadow-lg:   0 8px 32px rgba(30, 58, 138, 0.15);
    --shadow-xl:   0 16px 48px rgba(30, 58, 138, 0.18);

    /* ── Transitions ── */
    --t-fast:  0.2s ease;
    --t-base:  0.3s ease;
    --t-slow:  0.5s ease;
}

/* ── Typography ── */
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
    line-height: 1.3;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.25rem; color: var(--text-dark); line-height: 1.8; }

a { color: var(--cyan); text-decoration: none; transition: all var(--t-base); }
a:hover { color: var(--cyan-dark); }

/* ── Layout ── */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide  { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

section { padding: 100px 0; position: relative; }

/* ── Navbar ── */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--red);
    transition: all var(--t-base);
}

.navbar.scrolled { box-shadow: var(--shadow-md); padding: 0.75rem 0; }

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    transition: all var(--t-base);
}

.logo:hover { transform: translateY(-2px); color: var(--navy); }
.logo i { font-size: 2rem; color: var(--cyan); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    position: relative;
    padding: 0.5rem 0;
    transition: all var(--t-base);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--red);
    transition: width var(--t-base);
}

.nav-menu a:hover { color: var(--navy); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.active { color: var(--navy); }
.nav-menu a.active::after { width: 100%; }

.btn-get-started {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--grad-navy);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--t-base);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    border: none;
}

.btn-get-started:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-logout {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--red);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--t-base);
    box-shadow: var(--shadow-sm);
}
.btn-logout:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--white); }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
    z-index: 1001;
}
.hamburger span {
    width: 28px; height: 3px;
    background: var(--navy);
    transition: all var(--t-base);
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

/* ── Hero ── */
.hero {
    background: var(--grad-brand);
    color: var(--white);
    padding: 140px 0 120px;
    text-align: center;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 188, 212, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(229, 57, 53, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 400;
    line-height: 1.7;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--t-base);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn:hover::before { width: 300px; height: 300px; }

.btn-primary  { background: var(--grad-brand); color: var(--white); }
.btn-primary:hover  { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--white); }

.btn-secondary { background: var(--grad-cyan); color: var(--white); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--white); }

.btn-accent   { background: var(--grad-red); color: var(--white); }
.btn-accent:hover   { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--white); }

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background-color: transparent;
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Section Titles ── */
section.light-bg { background: var(--grad-section); }

.section-title { text-align: center; margin-bottom: 4rem; position: relative; }
.section-title h2 { margin-bottom: 1rem; position: relative; display: inline-block; }
.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: var(--red);
    border-radius: 2px;
}
.section-title p { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ── Cards ── */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); border-color: transparent; }
.card-title { color: var(--navy); margin-bottom: 1rem; font-weight: 700; }

.card img, .card .blog-image {
    width: 100%; height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: transform var(--t-base);
}
.card:hover img, .card:hover .blog-image { transform: scale(1.05); }

.blog-image-placeholder {
    width: 100%; height: 220px;
    background: var(--grad-brand);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}
.blog-image-placeholder::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}
@keyframes shimmer { to { left: 100%; } }

/* ── Feature Cards ── */
.feature-card { text-align: center; padding: 3rem 2rem; transition: all var(--t-base); }

.feature-icon {
    width: 80px; height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    position: relative;
    transition: all var(--t-base);
}
.feature-icon.icon-gradient-1 { background: var(--grad-brand); }
.feature-icon.icon-gradient-2 { background: var(--grad-red); }
.feature-icon.icon-gradient-3 { background: var(--grad-cyan); }
.feature-icon.icon-gradient-4 { background: var(--grad-navy); }
.feature-card:hover .feature-icon { transform: rotateY(360deg); }

/* ── Grid ── */
.grid   { display: grid; gap: 2.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ── Badges ── */
.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--bg-light);
    color: var(--navy);
    margin: 0.25rem;
    transition: all var(--t-base);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.badge-primary { background: var(--grad-brand); color: var(--white); }
.badge-secondary { background: var(--grad-cyan); color: var(--white); }
.badge-accent { background: var(--grad-red); color: var(--white); }
.badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ── Forms ── */
.form-group { margin-bottom: 1.75rem; }

label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

input, textarea, select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--t-base);
    background-color: var(--white);
    font-family: inherit;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.12);
    background-color: var(--white);
}
textarea { resize: vertical; min-height: 140px; }

/* ── Alerts ── */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    animation: slideInDown 0.3s ease;
}
.alert i { font-size: 1.5rem; }
.alert-success { background-color: rgba(0, 188, 212, 0.1); color: var(--cyan-dark); border: 2px solid rgba(0, 188, 212, 0.2); }
.alert-error   { background-color: rgba(229, 57, 53, 0.08); color: var(--red-dark); border: 2px solid rgba(229, 57, 53, 0.2); }
.alert-info    { background-color: rgba(30, 58, 138, 0.07); color: var(--navy); border: 2px solid rgba(30, 58, 138, 0.15); }

/* ── Stats ── */
.stats-section {
    background: var(--grad-brand);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><g opacity="0.06"><circle fill="%23fff" cx="200" cy="100" r="80"/><circle fill="%23fff" cx="1000" cy="500" r="120"/><circle fill="%23fff" cx="600" cy="300" r="100"/></g></svg>');
    opacity: 0.1;
}
.stat-item { text-align: center; padding: 2rem; }
.stat-number {
    font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 1.1rem; opacity: 0.9; }

/* ── Testimonials ── */
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px; left: 30px;
    font-size: 5rem;
    color: var(--cyan);
    opacity: 0.12;
    font-family: Georgia, serif;
}
.testimonial-rating { margin-bottom: 1.5rem; }
.testimonial-rating i { color: var(--red); font-size: 1.25rem; margin-right: 0.25rem; }
.testimonial-text { font-style: italic; margin-bottom: 2rem; line-height: 1.8; color: var(--text-dark); }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--grad-brand);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-weight: 700; font-size: 1.5rem;
}
.author-info strong { display: block; color: var(--navy); margin-bottom: 0.25rem; }
.author-info small { color: var(--text-muted); }

/* ── Footer ── */
.footer {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red) 0%, var(--cyan) 100%);
}
.footer h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.25rem; }
.footer a { color: rgba(255, 255, 255, 0.75); transition: all var(--t-base); }
.footer a:hover { color: var(--cyan); transform: translateX(5px); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.75rem; }
.footer ul li a { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; text-align: center; color: rgba(255, 255, 255, 0.6); }
.social-icons { display: flex; gap: 1rem; margin: 1.5rem 0; }
.social-icons a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 45px; height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--t-base);
    backdrop-filter: blur(10px);
}
.social-icons a:hover {
    background: var(--grad-cyan);
    color: var(--white);
    transform: translateY(-5px) rotate(360deg);
}

/* ── CTA Section ── */
.cta-section {
    background: var(--grad-navy);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
    border-radius: 30px;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><g opacity="0.07"><circle fill="%2300BCD4" cx="100" cy="100" r="100"/><circle fill="%2300BCD4" cx="1100" cy="300" r="150"/></g></svg>');
    opacity: 0.4;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255, 255, 255, 0.95); font-size: 1.2rem; margin-bottom: 2rem; }

/* ── Service Cards ── */
.service-card { position: relative; overflow: hidden; }
.service-icon-wrapper {
    width: 70px; height: 70px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    transition: all var(--t-base);
}
.service-card:hover .service-icon-wrapper { transform: scale(1.1) rotate(5deg); }

/* ── Industry Icons ── */
.industry-icon {
    width: 80px; height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    transition: all var(--t-base);
}
.industry-icon.icon-1 { background: var(--grad-brand); }
.industry-icon.icon-2 { background: var(--grad-cyan); }
.industry-icon.icon-3 { background: var(--grad-red); }
.industry-icon.icon-4 { background: var(--grad-navy); }

/* ── Blog ── */
.blog-card { transition: all var(--t-base); }
.blog-meta { display: flex; align-items: center; gap: 1.5rem; margin: 1rem 0; color: var(--text-muted); font-size: 0.9rem; }
.blog-meta i { color: var(--cyan); }
.blog-excerpt { color: var(--text-dark); line-height: 1.7; margin-bottom: 1.5rem; }

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.animate-fade-in-up    { animation: fadeInUp 0.7s ease-out; }
.animate-slide-in-left { animation: slideInLeft 0.7s ease-out; }
.animate-slide-in-right{ animation: slideInRight 0.7s ease-out; }

.loading {
    display: inline-block;
    width: 20px; height: 20px;
    border: 3px solid rgba(0, 188, 212, 0.3);
    border-radius: 50%;
    border-top-color: var(--cyan);
    animation: spin 0.8s linear infinite;
}

/* ── Scroll-to-top ── */
#scrollToTop {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: var(--grad-brand);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--t-base);
    z-index: 999;
}
#scrollToTop:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }

/* ── Image Hover ── */
.hover-zoom { overflow: hidden; border-radius: 16px; }
.hover-zoom img { transition: transform 0.5s ease; }
.hover-zoom:hover img { transform: scale(1.1); }

/* ── Timeline ── */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 4px; height: 100%;
    background: var(--grad-brand);
    border-radius: 2px;
}
.timeline-item { margin-bottom: 3rem; position: relative; }
.timeline-icon {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 60px; height: 60px;
    background: var(--grad-brand);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.5rem;
    box-shadow: 0 0 0 10px var(--white);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .navbar-wrapper { gap: 2rem; }
    .nav-menu { gap: 2rem; }
    section { padding: 80px 0; }
    .grid-3, .grid-4 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .navbar-wrapper { flex-wrap: wrap; }
    .nav-menu {
        position: fixed;
        left: -100%; top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%; text-align: center;
        transition: left 0.3s ease;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        box-shadow: var(--shadow-xl);
        padding: 2rem 0;
        justify-content: flex-start;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { width: 100%; }
    .nav-menu a { padding: 1rem 2rem; display: block; width: 100%; }
    .btn-get-started { margin-left: auto; padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    .hero { padding: 100px 0 80px; min-height: 500px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .btn-group { flex-direction: column; gap: 1rem; }
    .btn { width: 100%; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stat-number { font-size: 2.5rem; }
    .timeline::before { left: 30px; }
    .timeline-icon { left: 30px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .logo { font-size: 1.5rem; }
    .logo i { font-size: 1.75rem; }
    section { padding: 50px 0; }
    .card { padding: 2rem 1.5rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }
    .feature-icon { width: 60px; height: 60px; font-size: 1.75rem; }
    .stat-number { font-size: 2rem; }
    #scrollToTop { width: 45px; height: 45px; bottom: 20px; right: 20px; }
}

/* ── Utilities ── */
.text-center    { text-align: center; }
.text-right     { text-align: right; }
.text-left      { text-align: left; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }   .mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }   .mb-5 { margin-bottom: 3rem; }
.p-1 { padding: 0.5rem; } .p-2 { padding: 1rem; } .p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }   .p-5 { padding: 3rem; }
.hidden         { display: none; }
.flex           { display: flex; }
.flex-center    { display: flex; justify-content: center; align-items: center; }
.flex-between   { display: flex; justify-content: space-between; align-items: center; }
.flex-wrap      { flex-wrap: wrap; }
.opacity-50     { opacity: 0.5; }
.opacity-75     { opacity: 0.75; }
.d-block        { display: block; }
.d-inline       { display: inline; }
.d-inline-block { display: inline-block; }
.max-width-500  { max-width: 500px; }
.max-width-700  { max-width: 700px; }
.max-width-900  { max-width: 900px; }
.mx-auto        { margin-left: auto; margin-right: auto; }
.rounded        { border-radius: 8px; }
.rounded-lg     { border-radius: 16px; }
.rounded-xl     { border-radius: 24px; }
.rounded-full   { border-radius: 9999px; }

/* ── Print ── */
@media print {
    .navbar, .footer, .btn-group, #scrollToTop, .hamburger { display: none; }
    body { font-size: 12pt; }
    .card { page-break-inside: avoid; }
}