/* =============================================
   KASPRATECH — FULL STYLE.CSS
   Clean, conflict-free, fully mobile responsive
   ============================================= */

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* CRITICAL: Prevent any horizontal scroll/whitespace */
html, body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== LOADER ===== */
#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #eee;
    border-top: 5px solid #1e6fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================
   NAVBAR
   ============================================= */
.main-header {
    background: linear-gradient(135deg, #0a0a0f, #111827);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1300px;
    margin: auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 45px;
    width: auto;
}

/* NAV LINKS */
nav { position: relative; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.nav-links li { position: relative; }

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
}

.nav-links li a:hover { opacity: 1; }

/* DROPDOWN */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 10px 0;
    z-index: 9999;
    border-radius: 6px;
}

.nav-item:hover .dropdown-menu { display: block; }

.dropdown-menu li {
    padding: 0;
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
}

.dropdown-menu li a:hover {
    background: #f2f2f2;
    color: #1f5eff;
}

/* NAV ICONS */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.nav-search i {
    color: #fff;
    font-size: 17px;
    cursor: pointer;
}

.nav-search:hover { opacity: 0.8; }

/* DOTS */
.menu-dots {
    display: grid;
    grid-template-columns: repeat(3, 6px);
    gap: 5px;
    cursor: pointer;
}

.menu-dots span {
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
}

.menu-dots span:nth-child(2),
.menu-dots span:nth-child(4),
.menu-dots span:nth-child(6),
.menu-dots span:nth-child(8) {
    background-color: #4aa3ff;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    transition: 0.4s ease;
    z-index: 9999;
    padding: 40px 30px;
    overflow-y: auto;
}

.sidebar.active { right: 0; }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.sidebar-content h3.logo {
    margin-bottom: 15px;
}

.sidebar-content h3.logo img {
    height: 45px;
}

.sidebar-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #555;
}

.sidebar-contact { margin-top: 20px; }

.sidebar-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    background: none;
    padding: 0;
    border-radius: 0;
}

.sidebar-contact .contact-item i {
    font-size: 18px;
    color: #1f5eff;
    margin-top: 4px;
    flex-shrink: 0;
}

.sidebar-contact .contact-item h4 {
    font-size: 15px;
    margin: 0 0 4px;
    font-weight: 600;
    color: #111;
}

.sidebar-contact .contact-item p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(to right, #111827, #1f5eff);
    display: flex;
    align-items: center;
    padding: 80px 5%;   /* % based so it never overflows */
    overflow: hidden;
    width: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-left {
    max-width: 520px;
    color: #fff;
}

.hero-left h1 {
    font-size: 44px;
    line-height: 1.25;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-left p {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e6ff;
    margin-bottom: 30px;
}

.btn-primary {
    padding: 14px 36px;
    background: #f15a29;
    color: #fff !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    border: none;
}

.btn-primary:hover {
    background: #d94e22;
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-right img {
    max-width: 500px;
    width: 100%;
}

/* ANIMATED LINES (desktop only) */
.lines, .linesmiddle, .lineslast {
    position: absolute;
    top: 0;
    height: 100%;
}

.lines { left: 80px; }
.linesmiddle { left: 700px; }
.lineslast { left: 1200px; }

.lines span,
.linesmiddle span,
.lineslast span {
    position: absolute;
    width: 3px;
    height: 80px;
    background: white;
    opacity: 0.6;
    animation: moveDown 3s linear infinite;
}

.lines span:nth-child(2),
.linesmiddle span:nth-child(2),
.lineslast span:nth-child(2) {
    left: 20px;
    animation-delay: 1.5s;
}

@keyframes moveDown {
    0%   { top: -100px; opacity: 0; }
    30%  { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
    padding: 80px 0;
    background: #ffffff;
}

.about-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Use Bootstrap's row for this section */
.about-container .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 -15px;
}

.about-container .col-md-6 {
    width: 50%;
    padding: 0 15px;
}

.about-tag {
    color: #e63946;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about-left h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: #101010;
    margin-bottom: 20px;
}

.about-left p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* STATS */
.stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.stats h3 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stats span {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.red { color: #dd4c23; }
.blue { color: #1e73be; }

/* ABOUT RIGHT GRID */
.about-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* FEATURE BOXES */
.feature {
    background: #f7f9fc;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.feature-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature img {
    width: 50px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
    transition: all 0.4s ease;
}

.feature p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    transition: all 0.4s ease;
    margin: 0;
}

.feature.red:hover  { background: #e63946; }
.feature.blue:hover { background: #1d4ed8; }
.feature.teal:hover { background: #0f766e; }
.feature.purple:hover { background: #6d28d9; }

.feature:hover h4,
.feature:hover p { color: #ffffff; }

.feature:hover img { filter: brightness(0) invert(1); }
.feature:hover { transform: translateY(-4px); }

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
    padding: 80px 0;
    background: #f8fbff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.section-left span {
    color: #4c5bfd;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
}

.section-left h2 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 8px;
    color: #111;
}

.get-btn {
    padding: 12px 28px;
    background: #ff6a4d;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.get-btn:hover {
    background: #e4573c;
    color: #fff;
    text-decoration: none;
}

/* Services grid — separate container, NOT Bootstrap .container */
.services-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    padding: 35px 28px;
    border-radius: 12px;
    position: relative;
    transition: 0.4s ease;
    overflow: hidden;
}

.icon-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.icon-number img {
    width: 48px;
    height: auto;
    filter: brightness(0);
    transition: 0.3s ease;
}

.number {
    font-size: 55px;
    font-weight: 700;
    color: rgba(0,0,0,0.05);
    line-height: 1;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111;
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Card hover colours */
.card1:hover { background: #ff4b5c; }
.card2:hover { background: #ff3f87; }
.card3:hover { background: #4c5bfd; }
.card4:hover { background: #5b2cff; }
.card5:hover { background: #2f80ed; }
.card6:hover { background: #00c2ff; }

.service-card:hover h3,
.service-card:hover p { color: #fff; }

.service-card:hover .number { color: rgba(255,255,255,0.15); }
.service-card:hover img { filter: brightness(0) invert(1); }

/* Individual icon colours */
.card1 .icon-number img { filter: brightness(0) saturate(100%) invert(32%) sepia(98%) saturate(2476%) hue-rotate(340deg); }
.card2 .icon-number img { filter: brightness(0) saturate(100%) invert(49%) sepia(88%) saturate(2390%) hue-rotate(310deg); }
.card3 .icon-number img { filter: brightness(0) saturate(100%) invert(32%) sepia(93%) saturate(1400%) hue-rotate(220deg); }
.card4 .icon-number img { filter: brightness(0) saturate(100%) invert(20%) sepia(90%) saturate(3000%) hue-rotate(260deg); }
.card5 .icon-number img { filter: brightness(0) saturate(100%) invert(55%) sepia(80%) saturate(500%) hue-rotate(190deg); }
.card6 .icon-number img { filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(600%) hue-rotate(160deg); }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-choose-us {
    padding: 80px 0;
    background: #fff;
}

/* IMPORTANT: Use .why-container NOT .container to avoid Bootstrap conflict */
.why-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.image-section {
    position: relative;
    flex: 1;
    min-width: 0;
}

.circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dots {
    position: absolute;
    bottom: -20px;
    left: 40px;
    display: grid;
    grid-template-columns: repeat(5, 10px);
    gap: 8px;
}

.dots span {
    width: 8px;
    height: 8px;
    background: #2f80ed;
    border-radius: 50%;
}

.content-section {
    flex: 1;
    min-width: 0;
}

.small-title {
    color: #2f80ed;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 14px;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111;
}

.description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 15px;
}

/* Feature items in Why Choose Us (plain flex, no card style) */
.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.icon-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #111;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
    background: #f8f9fb;
}

.section-tag {
    color: #ff6a00;
    font-weight: 600;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.section-desc {
    color: #666;
    max-width: 480px;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.7;
}

/* Contact items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.contact-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    margin-top: 4px;
    flex-shrink: 0;
}

.text h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2a44;
}

.text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}

/* Appointment form box */
.appointment-box {
    background: #fff;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 8px;
}

.appointment-box h5 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
}

.appointment-box > p {
    color: #777;
    margin-bottom: 20px;
    font-size: 14px;
}

.appointment-box .form-control {
    height: 46px;
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    background: #ff6a00;
    border: none;
    color: #fff;
    padding: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.submit-btn:hover { background: #e05e00; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
    background: #f9f9f9;
}

.testimonial-image {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    max-width: 420px;
}

.testimonial-image img { border-radius: 50%; }

.orange-curve {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 12px solid #f37021;
    border-radius: 50%;
    z-index: -1;
}

.testimonial-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0a1f44;
    margin-bottom: 14px;
}

.sub-text {
    color: #666;
    margin-bottom: 26px;
    font-size: 15px;
}

.quote-box {
    position: relative;
    padding-left: 40px;
}

.quote-icon {
    font-size: 60px;
    color: #1e73be;
    position: absolute;
    left: 0;
    top: -10px;
    line-height: 1;
}

.quote-box p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.author h6 {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
}

.author span {
    font-size: 13px;
    color: #777;
}

/* =============================================
   FOOTER
   ============================================= */
.rs-footer {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fc;
    color: #2c2c2c;
    font-size: 14px;
    padding-top: 70px;
}

.footer-top { padding: 0 0 60px; }

.footer-logo {
    width: 140px;
    margin-bottom: 18px;
}

.footer-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links li a:hover { color: #106eea; }

.footer-social { margin-top: 16px; }

.footer-social i {
    margin-right: 14px;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    transition: 0.2s;
}

.footer-social i:hover { color: #1f5eff; }

.footer-contact {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.footer-contact i {
    color: #1a3fa3;
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact span a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.footer-contact span a:hover { color: #106eea; }

.newsletter-box {
    display: flex;
    margin-top: 12px;
}

.newsletter-box input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #aaa;
    outline: none;
    font-size: 14px;
    border-radius: 4px 0 0 4px;
}

.newsletter-box button {
    padding: 9px 16px;
    border: 1px solid #111;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    border-radius: 0 4px 4px 0;
    transition: 0.2s;
}

.newsletter-box button:hover {
    background: #111;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #cdd9ef;
    padding: 20px 0;
    font-size: 13px;
}

.footer-bottom p {
    color: #777;
    margin: 0;
    font-size: 13px;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom-links li {
    display: inline-block;
    margin: 0 5px;
    position: relative;
}

.footer-bottom-links li::after {
    content: "•";
    color: #1a3fa3;
    margin-left: 8px;
}

.footer-bottom-links li:last-child::after { content: ""; }

.footer-bottom a {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
}

.footer-bottom a:hover { color: #1f5eff; }

/* =============================================
   BOOTSTRAP .container OVERRIDE
   Fix the display:flex conflict from original code
   ============================================= */
.container {
    display: block !important;
    width: 100%;
    max-width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* =============================================
   RESPONSIVE — TABLET (≤992px)
   ============================================= */
@media (max-width: 992px) {

    /* Nav */
    .nav-links { display: none; }

    /* Hero */
    .hero {
        padding: 60px 5%;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-left { max-width: 100%; }

    .hero-left h1 { font-size: 32px; }

    .hero-right img {
        max-width: 380px;
        margin: auto;
    }

    /* About */
    .about-container .col-md-6 { width: 100%; }

    .about-right {
        grid-template-columns: 1fr 1fr;
        margin-top: 30px;
    }

    .about-left h2 { font-size: 28px; }

    /* Services */
    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Why choose us */
    .why-container {
        flex-direction: column;
        gap: 40px;
    }

    .circle {
        width: 300px;
        height: 300px;
        margin: auto;
    }

    .content-section h2 { font-size: 26px; }

    /* Stats */
    .stats { gap: 25px; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {

    /* Hero */
    .hero { padding: 50px 5% 40px; }

    .hero-left h1 { font-size: 24px; line-height: 1.35; }

    .hero-left p { font-size: 14px; }

    .hero-right img { max-width: 260px; }

    /* Hide decorative lines */
    .lines, .linesmiddle, .lineslast { display: none; }

    /* About */
    .about-section { padding: 50px 0; }

    .about-left h2 { font-size: 24px; }

    .about-right { grid-template-columns: 1fr; }

    .stats { gap: 20px; }

    .stats h3 { font-size: 30px; }

    /* Services */
    .services-section { padding: 50px 0; }

    .section-header { padding: 0 18px; margin-bottom: 25px; }

    .section-left h2 { font-size: 22px; }

    .services-grid { grid-template-columns: 1fr; gap: 18px; }

    .service-card { padding: 25px 20px; }

    /* Why choose us */
    .why-choose-us { padding: 50px 0; }

    .why-container { padding: 0 18px; gap: 30px; }

    .circle { width: 240px; height: 240px; }

    .content-section h2 { font-size: 22px; }

    /* Contact */
    .section-title { font-size: 24px; }

    .appointment-box {
        padding: 22px 16px;
        margin-top: 28px;
    }

    /* Testimonials */
    .testimonial-image {
        max-width: 260px;
        margin: auto;
    }

    .testimonial-content h2 { font-size: 24px; }

    /* Sidebar */
    .sidebar { width: 100%; right: -100%; }

    /* Nav */
    .nav-container { padding: 14px 16px; }

    /* Footer */
    .newsletter-box { flex-direction: column; }

    .newsletter-box input { border-radius: 4px; }

    .newsletter-box button {
        margin-top: 8px;
        width: 100%;
        border-radius: 4px;
    }

    .footer-bottom .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* =============================================
   RESPONSIVE — SMALL PHONES (≤480px)
   ============================================= */
@media (max-width: 480px) {

    .hero-left h1 { font-size: 20px; }

    .btn-primary { padding: 11px 24px; font-size: 14px; }

    .about-right { grid-template-columns: 1fr; }

    .circle { width: 200px; height: 200px; }

    .section-left h2,
    .content-section h2 { font-size: 20px; }

    .stats { flex-direction: column; gap: 12px; }

    .footer-bottom-links li { display: block; margin: 4px 0; }

    .footer-bottom-links li::after { display: none; }
}

/* =============================================
   WHITESPACE FIX — Hero overflow
   ============================================= */

html, body {
    overflow-x: hidden;
    width: 100%;
}

.hero {
    width: 100%;
    padding: 80px 40px;
}

.hero-container {
    width: 100%;
    padding: 0;
}

@media (max-width: 992px) {
    .hero {
        padding: 60px 24px;
    }

    .hero-container {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 18px;
    }

    /* Ensure nothing overflows horizontally */
    section, div {
        max-width: 100%;
    }
}

/* =============================================
   HAMBURGER BUTTON
   ============================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Show hamburger, hide dots on mobile */
@media (max-width: 992px) {
    .hamburger { display: flex; }
    .menu-dots { display: none; }
}

/* =============================================
   MOBILE NAV PANEL
   ============================================= */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background: #0f172a;
    z-index: 9999;
    overflow-y: auto;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-close {
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

/* Nav links list */
.mobile-nav-links {
    list-style: none;
    padding: 12px 0;
    margin: 0;
    flex: 1;
}

.mobile-nav-links > li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Direct links */
.mobile-nav-links > li > a {
    display: block;
    padding: 15px 24px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s;
}

.mobile-nav-links > li > a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

/* Dropdown toggle row */
.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 24px;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.mobile-dropdown-toggle:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.mobile-dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Submenu */
.mobile-submenu {
    display: none;
    list-style: none;
    padding: 4px 0 10px;
    margin: 0;
    background: rgba(0,0,0,0.25);
}

.mobile-submenu li a {
    display: block;
    padding: 11px 24px 11px 36px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.mobile-submenu li a:hover {
    color: #fff;
    padding-left: 40px;
}