/* GLOBAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F4F6F8;
    color: #333;
}


/* ================================
   NAVBAR — DESKTOP
================================== */

.navbar {
    width: 100%;
    padding: 20px 60px;
    background: #0A1A2F;
    /* Navy */
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}


/* Logo image sizing */

.logo img,
.logo-img {
    height: 40px;
    /* clean height */
    width: auto;
    /* keeps proportions */
    object-fit: contain;
    display: block;
}

.nav-left {
    display: flex;
    align-items: center;
}


/* CENTER NAV LINKS (DESKTOP) */

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #EEE;
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #C62828;
    /* Red accent */
}


/* CTA BUTTON */

.get-started {
    background: #C62828;
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s ease-in-out;
}

.get-started:hover {
    background: #a42020;
}


/* HAMBURGER MENU */

.menu-icon {
    display: none;
    /* hidden on desktop */
    font-size: 28px;
    cursor: pointer;
    color: white;
}

.mobile-btn {
    display: none;
}


/* CLOSE ICON */

.menu-close {
    display: none;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    cursor: pointer;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* ================================
   MOBILE NAVBAR
================================== */

@media (max-width: 900px) {
    /* Move nav-left & nav-right to edges */
    .navbar {
        padding: 20px 25px;
    }
    /* Center stays hidden on mobile */
    .nav-links {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 25px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        padding-top: 140px;
        background: #0A1A2F;
        transform: translateY(-100%);
        transition: transform 0.35s ease-in-out;
        z-index: 999;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    /* MOBILE LINKS STYLE */
    .nav-links a {
        font-size: 18px;
        color: #fff;
        margin: 0;
    }
    /* SHOW CLOSE X */
    .menu-close {
        display: block;
    }
    /* SHOW MOBILE CTA */
    .mobile-btn {
        display: inline-block;
        background: #C62828;
        color: #fff;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        border: none;
        margin-top: 15px;
    }
    /* SHOW HAMBURGER ON MOBILE */
    .menu-icon {
        display: block;
    }
    /* HIDE DESKTOP CTA */
    .nav-right .desktop-btn {
        display: none;
    }
}


/* ============================
   HERO SECTION — DESKTOP
============================== */

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    padding: 100px 60px;
    align-items: center;
    gap: 60px;
}


/* LEFT TEXT */

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    line-height: 1.1;
    color: #0A0A0A;
    font-weight: 700;
}

.hero-text p {
    font-family: 'Inter', sans-serif;
    margin: 25px 0 40px;
    font-size: 18px;
    color: #444;
    max-width: 520px;
}


/* BUTTONS */

.buttons {
    display: flex;
    gap: 20px;
}

.primary-btn {
    background: black;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.secondary-btn {
    background: white;
    border: 1.5px solid black;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}


/* CAROUSEL RIGHT SIDE */

.hero-carousel {
    display: flex;
    gap: 20px;
    height: 600px;
    overflow: hidden;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.column img {
    width: 260px;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
}


/* ANIMATIONS */

.column-left {
    animation: slideUp 22s linear infinite;
}

.column-right {
    animation: slideDown 22s linear infinite;
}

@keyframes slideUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50%);
    }
}


/* ==================================
   MOBILE (FULL OPTIMIZATION)
================================== */

@media (max-width: 900px) {
    /* STACK EVERYTHING */
    .hero {
        grid-template-columns: 1fr;
        padding: 70px 25px 60px;
        text-align: center;
        gap: 40px;
    }
    /* RESPONSIVE H1 */
    .hero-text h1 {
        font-size: 36px;
        line-height: 1.15;
    }
    .hero-text p {
        font-size: 16px;
        margin: 18px 0 32px;
        max-width: 100%;
    }
    /* CENTER BUTTONS + FULL WIDTH */
    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .buttons button {
        width: 100%;
        max-width: 300px;
    }
    /* MOBILE CAROUSEL */
    .hero-carousel {
        justify-content: center;
        height: 380px;
        /* lowered for mobile */
        gap: 15px;
    }
    /* Smaller images */
    .column img {
        width: 180px;
        height: 140px;
        border-radius: 8px;
    }
    /* Slightly slower animation for mobile smoothness */
    .column-left,
    .column-right {
        animation-duration: 26s;
    }
}

.why-choose-us {
    padding: 90px 60px;
    background: #F8F9FB;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}


/* TEXT SIDE */

.why-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #0A1A2F;
    margin-bottom: 25px;
}

.why-text p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.why-list li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #0A1A2F;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.why-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #C62828;
    /* Red accent */
    font-weight: bold;
}


/* BUTTON */

.intro-btn {
    margin-top: 25px;
    padding: 12px 25px;
    background: #C62828;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.intro-btn:hover {
    background: #a51f22;
}


/* IMAGE SIDE */

.why-img {
    background-image: url('../assets/images/Settlements.jpg');
    /* Update path */
    background-size: cover;
    background-position: center;
    height: 350px;
    border-radius: 12px;
}


/* RESPONSIVE */

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    .why-img {
        height: 260px;
    }
}


/* CALCULATOR SECTION */

.cost-calculator {
    padding: 80px 0;
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-box {
    max-width: 600px;
    margin: auto;
    background: #F7F9FA;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

.calc-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.calc-row label {
    font-weight: 600;
    color: #0A1A2F;
    margin-bottom: 6px;
}

.calc-row input,
.calc-row select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    width: 100%;
}

.result-box {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    display: none;
    border: 1px solid #ddd;
}

.result-box h3 {
    margin-bottom: 10px;
    color: #0A1A2F;
}


/* Mobile */

@media(max-width: 480px) {
    .calculator-box {
        padding: 25px;
    }
}
/* ============================
   VISION & MISSION SECTION
============================ */

.vision-mission {
    padding: 90px 60px;
    background: #ffffff;
}

.vm-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.vm-card {
    background: #F8F9FB;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transition: 0.25s ease;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.vm-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    color: #0A1A2F;
    margin-bottom: 15px;
}

.vm-card p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* MOBILE */

@media (max-width: 900px) {
    .vision-mission {
        padding: 70px 25px;
    }

    .vm-wrapper {
        grid-template-columns: 1fr;
    }

    .vm-card {
        padding: 30px;
    }
}


/* SERVICES GRID */

.services-grid {
    padding: 80px 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    text-transform: uppercase;
    font-size: 14px;
    color: #C62828;
    letter-spacing: 1px;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    margin: 10px 0;
    color: #0A1A2F;
}

.section-sub {
    color: #555;
    font-size: 17px;
}


/* GRID */

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* SERVICE CARD */

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding-bottom: 25px;
    transition: all .25s ease;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    margin: 15px 20px 5px;
    color: #0A1A2F;
}

.service-card p {
    margin: 0 20px 20px;
    color: #555;
    line-height: 1.5;
}

.card-btn {
    margin: 0 20px;
    background: transparent;
    border: none;
    font-size: 15px;
    color: #C62828;
    cursor: pointer;
    font-weight: 600;
}


/* HOVER EFFECT */

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}


/* RESPONSIVE */

@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}


/* STATS SECTION WITH PARALLAX */

.stats-section {
    position: relative;
    padding: 100px 40px;
    height: auto;
    background-image: url('../assets/images/accounting.jpg');
    /* Change this */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax */
    z-index: 1;
}

.stats-header {
    text-align: center;
    margin-bottom: 2rem;
}

.stats-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff7f7;
}

.stats-header p {
    color: #fff7f7;
    max-width: 600px;
    margin: 0.5rem auto 0;
}


/* Dark overlay for readability */

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 1000px;
    margin: auto;
}

.stat-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
}

.stat-box p {
    font-size: 18px;
    margin-top: 10px;
    color: #e0e0e0;
}


/* MOBILE */

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .stat-box h3 {
        font-size: 42px;
    }
}


/* TESTIMONIAL SECTION */

.testimonial-section {
    padding: 90px 40px;
    background: #fff;
    text-align: center;
}

.testimonial-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 50px;
}

.testimonial-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.testimonial-slider {
    width: 100%;
    max-width: 700px;
    overflow: hidden;
    position: relative;
}

.testimonial-card {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: translateX(30px);
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'Inter', sans-serif;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 600;
    color: #555;
}


/* Buttons */

.testimonial-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}

.testimonial-btn:hover {
    opacity: 0.7;
}


/* Mobile */

@media (max-width: 700px) {
    .testimonial-btn {
        display: none;
    }
}


/* FAQ ACCORDION */

.faq-accordion {
    padding: 80px 60px;
    background: #F4F6F8;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-size: 34px;
    color: #0A1A2F;
    font-family: 'Montserrat', sans-serif;
}

.faq-header p {
    color: #555;
    font-size: 17px;
}


/* ACCORDION */

.accordion {
    max-width: 900px;
    margin: auto;
}

.accordion-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.accordion-title {
    width: 100%;
    background: #fff;
    padding: 18px 22px;
    font-size: 18px;
    color: #0A1A2F;
    border: none;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.accordion-title i {
    margin-right: 12px;
    font-size: 20px;
    color: #C62828;
}

.accordion-title .arrow {
    font-size: 22px;
    color: #C62828;
    transition: transform .3s ease;
}


/* CONTENT */

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    background: #fff;
    color: #555;
    transition: max-height .35s ease;
}

.accordion-content p {
    padding: 16px 0 22px;
    margin: 0;
    line-height: 1.6;
}


/* ACTIVE STATE */

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-item.active .arrow {
    transform: rotate(45deg);
}


/* FOOTER */

.faq-footer {
    text-align: center;
    margin-top: 50px;
}

.faq-footer h3 {
    font-size: 26px;
    color: #0A1A2F;
}

.faq-footer p {
    color: #555;
    margin-bottom: 20px;
}

.faq-btn {
    padding: 12px 28px;
    background: #C62828;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: .3s;
}

.faq-btn:hover {
    background: #A31414;
}


/* RESPONSIVE */

@media (max-width: 900px) {
    .faq-accordion {
        padding: 60px 25px;
    }
}


/* ============================
   CTA PARALLAX SECTION
============================ */

.cta-parallax {
    position: relative;
    height: 380px;
    background-image: url('../assets/images/accounting.jpg');
    /* Change this */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* PARALLAX EFFECT */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    /* Dark overlay for contrast */
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
    padding: 20px;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-btn {
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    border: none;
    background: #e63946;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease;
}

.cta-btn:hover {
    background: #b71f2b;
}


/* MODAL STYLES */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.close-btn {
    color: #333;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content h2 {
    margin-bottom: 15px;
    font-size: 24px;
}

.modal-content form label {
    display: block;
    margin-top: 10px;
    font-weight: 500;
}

.modal-content form input,
.modal-content form select,
.modal-content form textarea {
    width: 100%;
    padding: 8px 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.modal-content form textarea {
    resize: vertical;
}

.modal-content form button {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    /* primary color */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.modal-content form button:hover {
    background-color: #0056b3;
}


/* ============================
   FOOTER SECTION
============================ */

.footer {
    background: #0d1b2a;
    color: #ffffff;
    padding: 70px 10% 30px;
    font-family: 'Inter', sans-serif;
}

.footer-logo img {
    width: 120px;
    /* adjust to desired width */
    height: auto;
    /* keeps the aspect ratio */
    display: block;
    /* ensures proper spacing */
    margin: 0 auto;
    /* centers the logo if needed */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}


/* LEFT SIDE */

.footer-left h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    margin-bottom: 8px;
}

.footer-left p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 18px;
}

.footer-subscribe {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-subscribe input {
    padding: 12px 14px;
    flex: 1;
    border: none;
    border-radius: 6px;
    font-size: 15px;
}

.footer-subscribe button {
    background: #e63946;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: .3s;
}

.footer-subscribe button:hover {
    background: #b71f2b;
}

.footer-logo img {
    width: 150px;
    margin-top: 10px;
}


/* RIGHT SIDE */

.footer-right {
    display: flex;
    gap: 60px;
}

.footer-links h4,
.footer-social h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #dcdcdc;
    text-decoration: none;
    font-size: 15px;
    transition: .2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #dcdcdc;
    font-size: 22px;
    transition: .2s;
}

.social-icons a:hover {
    color: #ffffff;
}


/* BOTTOM BAR */

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.85;
}

.footer-bottom strong {
    color: #e63946;
}


/* RESPONSIVE */

@media (max-width: 900px) {
    .footer-right {
        flex-direction: column;
        gap: 40px;
    }
}