/* ================= ROOT VARIABLES ================= */
:root {
    --container-width: 1200px;

    /* spacing */
    --section-space: 80px;
    --section-space-mobile: 50px;

    --card-radius: 12px;
    --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

    --primary: #1c398e;
    --primary-dark: #193cb8;
    --accent-red: #e7000b;

    --text-dark: #1f2937;
    --text-muted: #4a5565;
    --text-white: #fff;
}

/* =========================================================
   GLOBAL RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Prevent overflow */
img,
video,
iframe,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 90%;
    max-width: var(--container-width);
    margin-inline: auto;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    line-height: 1.2;
}

h2,
h3 {
    color: var(--primary);
}

p {
    color: var(--text-muted);
    margin-top: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 36px;
    font-weight: 500;
}

.single-column h2 {
    color: var(--primary);
    font-size: 32px;
    font-weight: 500;
}

/* =========================================================
   SECTION
========================================================= */

.section {
    padding-block: var(--section-space);
}

/* =========================================================
   GRID SYSTEM
========================================================= */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-4-center {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: start;
}

.grid-4-center>div {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================================
   CARD
========================================================= */

.card {
    background: #fff;
    padding: 25px;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: 0.3s ease;
    min-width: 0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 500;
}

.card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================================
   ICONS
========================================================= */

.icon {
    font-size: 28px;
    color: var(--primary);
}

.icon-box,
.icon-circle {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box {
    background: #dbeafe;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.icon-circle {
    background: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.icon-circle .icon {
    color: #fff;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 999;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-area,
.footer-logo-area {
    display: flex;
    flex-direction: column;
}

.logo-area img,
.footer-logo {
    height: 50px;
    width: auto;
}

.tagline {
    font-size: 12px;
    color: #6b7280;
}

.footer-logo-area .tagline {
    margin-top: 8px;
    margin-bottom: 16px;
    display: block;
}

.footer-logo-area p {
    margin-top: 0;
    line-height: 1.7;
}

/* =========================================================
   MENU
========================================================= */

.menu {
    display: flex;
    gap: 25px;
}

.menu li {
    position: relative;
}

.menu a {
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--primary);
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu .current-menu-item>a::after,
.menu .current_page_item>a::after,
.menu .current-menu-ancestor>a::after {
    width: 100%;
}

.menu .current-menu-item>a,
.menu .current_page_item>a,
.menu .current-menu-ancestor>a {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* =========================================================
   HERO
========================================================= */

.hero,
.inner-hero,
.cta {
    background: linear-gradient(to right,
            var(--primary),
            var(--primary-dark));
    color: #fff;
    text-align: center;
}

.hero {
    padding: 120px 20px;
}

.hero h1 {
    font-size: 60px;
}

.hero-tagline {
    color: #dbeafe;
    font-size: 24px;
}

.hero-desc {
    color: #bedbff;
    font-size: 20px;
}

.hero-buttons {
    margin-top: 30px;
}

.inner-hero {
    padding: 60px 20px;
}

.inner-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.inner-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin-inline: auto;
    color: #dbeafe;
}

.cta {
    padding-block: var(--section-space);
}

.cta .text-white {
    color: #fff;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    display: inline-block;
    transition: 0.3s ease;
    max-width: 100%;
    text-align: center;
}

.btn-primary {
    background: var(--accent-red);
    color: #fff;
}

.btn-primary:hover {
    background: #c10007;
}

.btn-light {
    background: #fff;
    color: var(--primary);
}

.btn-light:hover {
    background: #f6f3f4;
}

/* =========================================================
   BACKGROUNDS
========================================================= */

.bg-light-blue {
    background: #eff6ff;
}

.bg-gray {
    background: #fbf9fa;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #162556;
    color: #f5f5f5;
    padding: 70px 0 30px;
}

.site-footer a {
    color: #d1d5db;
    transition: 0.3s ease;
}

.site-footer a:hover {
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-widget p,
.footer-widget li,
.footer-widget span {
    color: #cbd5e1;
    font-size: 15px;
}

.footer-widget-links ul,
.footer-widget-links .menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
    flex-wrap: wrap;
}

.footer-bottom-left,
.footer-bottom-right {
    font-size: 14px;
    color: #9ca3af;
}

.footer-widget li {
    line-height: 1.8;
}

.footer-widget-links li {
    line-height: 1.2;
}

.footer-widget-links a {
    line-height: 1.2;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.contact-form,
.contact-info {
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.info-item i {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: #e0e7ff;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
}

.info-item h4 {
    margin: 0;
    padding: 0;
    color: var(--primary);
    font-size: 18px;
    line-height: 1.2;
}

.info-item p {
    margin: 4px 0 0;
    padding: 0;
    line-height: 1.5;
    color: var(--text-muted);
}

.business-hours {
    margin-top: 30px;
    background: #e0e7ff;
    border-left: 4px solid var(--primary);
    padding: 30px;
    border-radius: 14px;
}

/* =========================================================
   FORM
========================================================= */

.frm_forms input,
.frm_forms textarea,
.frm_forms select {
    width: 100%;
    max-width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 14px 16px !important;
    font-size: 15px;
}

.frm_button_submit {
    width: 100% !important;
    background: #dc2626 !important;
    border: none !important;
    color: #fff !important;
    padding: 15px !important;
    border-radius: 10px !important;
    font-weight: 600;
}

.frm_button_submit:hover {
    background: var(--primary-dark) !important;
}

/* =========================================================
   VALUES SECTION
========================================================= */

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value-card {
    background: #fff;
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 12px 30px rgba(0, 0, 0, 0.04);

    transition: 0.35s ease;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: #dbeafe;

    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    color: var(--primary);
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 18px;
}

.value-card p {
    font-size: 14px;
}

/* =========================================================
   SERVICES
========================================================= */

.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.service-detail-card {
    position: relative;

    display: flex;
    gap: 32px;

    background: #fff;
    border-radius: 24px;
    padding: 45px;

    border: 1px solid #e5e7eb;

    overflow: hidden;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.03),
        0 14px 30px rgba(0, 0, 0, 0.04);

    transition: 0.35s ease;
}

.service-detail-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;

    background: linear-gradient(to bottom,
            var(--primary),
            var(--primary-dark));
}

.service-detail-icon {
    width: 90px;
    height: 90px;
    min-width: 90px;

    border-radius: 22px;

    background: linear-gradient(135deg,
            #dbeafe,
            #eff6ff);

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.service-detail-icon i {
    font-size: 42px;
    color: var(--primary);
}

.service-detail-content {
    flex: 1;
    min-width: 0;
}

.service-detail-content h2 {
    font-size: 32px;
    color: var(--primary);
}

.service-detail-desc {
    margin-bottom: 30px;
}

.service-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 28px;
}

.service-feature-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.service-feature-list li i {
    color: #16a34a;
    flex-shrink: 0;
}

/* =========================================================
   WHATSAPP FLOAT
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;

    background: #25D366;
    color: #fff;

    padding: 12px 16px;
    border-radius: 50%;

    font-size: 20px;
    z-index: 999;
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* ---------- 1200px ---------- */

@media (max-width: 1200px) {

    .grid-4,
    .grid-4-center,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- 992px ---------- */

@media (max-width: 992px) {

    .grid-2,
    .contact-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 48px;
    }

    .section-title {
        font-size: 34px;
    }

    .service-detail-card {
        flex-direction: column;
    }

    .service-feature-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- 768px ---------- */

@media (max-width: 768px) {

    :root {
        --section-space: 50px;
    }

    .container {
        width: 92%;
    }

    .grid-4,
    .grid-4-center,
    .values-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* MOBILE MENU */

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;

        flex-direction: column;

        position: absolute;
        top: 75px;
        right: 10px;
        left: 10px;

        background: #fff;

        padding: 20px;
        border-radius: 14px;

        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        z-index: 999;
    }

    .menu.active {
        display: flex;
    }

    /* HERO */

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 36px;
        word-break: break-word;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* BUTTON */

    .btn {
        width: 100%;
        max-width: 320px;
    }

    /* TITLES */

    .section-title {
        font-size: 30px;
    }

    .single-column h2,
    .service-detail-content h2 {
        font-size: 28px;
    }

    /* CARD */

    .card,
    .value-card,
    .service-detail-card,
    .contact-form,
    .contact-info {
        padding: 24px;
    }

    .service-detail-icon {
        width: 75px;
        height: 75px;
        min-width: 75px;
    }

    .service-detail-icon i {
        font-size: 34px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-right {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ---------- 576px ---------- */

@media (max-width: 576px) {

    .hero h1 {
        font-size: 30px;
    }

    .section-title {
        font-size: 26px;
    }

    .inner-hero h1 {
        font-size: 32px;
    }

    .card,
    .value-card,
    .service-detail-card,
    .contact-form,
    .contact-info {
        padding: 20px;
    }

    .service-detail-content h2 {
        font-size: 24px;
    }

    .footer-widget p,
    .footer-widget li,
    .footer-widget span {
        font-size: 14px;
    }
}

/* ---------- 400px ---------- */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 26px;
    }

    .section-title {
        font-size: 22px;
    }

    .service-detail-content h2 {
        font-size: 22px;
    }

    .btn {
        padding: 14px 18px;
        font-size: 14px;
    }
}

/* =========================================================
   PRIVACY POLICY
========================================================= */

.privacy-policy .single-column {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-card {
    padding: 50px;
}

.policy-block+.policy-block {
    margin-top: 40px;
}

.policy-block h2,
.policy-block h3 {
    margin-bottom: 18px;
    line-height: 1.3;
}

.policy-block p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.policy-block ul {
    padding-left: 20px;
    list-style: disc;
}

.policy-block li {
    margin-bottom: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

.policy-block a {
    color: var(--primary);
    font-weight: 500;
}

.policy-block a:hover {
    text-decoration: underline;
}

/* MOBILE */

@media (max-width: 768px) {

    .privacy-card {
        padding: 30px 24px;
    }

    .policy-block+.policy-block {
        margin-top: 32px;
    }
}

/* =========================================================
   404 PAGE
========================================================= */

.error-404-page {
    min-height: calc(100vh - 160px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 20px;

    background:
        linear-gradient(135deg,
            #eff6ff 0%,
            #ffffff 50%,
            #f8fafc 100%);
}

.error-card {
    max-width: 760px;
    margin: 0 auto;

    background: #fff;

    padding: 70px 60px;

    border-radius: 28px;

    text-align: center;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.04);

    position: relative;
    overflow: hidden;
}

/* Decorative top border */

.error-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 6px;

    background: linear-gradient(to right,
            var(--primary),
            var(--accent-red));
}

/* 404 Number */

.error-code {
    font-size: 140px;
    font-weight: 800;
    line-height: 1;

    margin-bottom: 20px;

    background: linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    opacity: 0.95;
}

/* Heading */

.error-card h1 {
    font-size: 42px;
    color: var(--primary);

    margin-bottom: 20px;
    font-weight: 700;
}

/* Description */

.error-text {
    max-width: 560px;

    margin: 0 auto 35px;

    font-size: 18px;
    line-height: 1.8;

    color: var(--text-muted);
}

/* Buttons */

.error-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.error-actions .btn {
    min-width: 200px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .error-card {
        padding: 50px 30px;
        border-radius: 22px;
    }

    .error-code {
        font-size: 100px;
    }

    .error-card h1 {
        font-size: 32px;
    }

    .error-text {
        font-size: 16px;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {

    .error-card {
        padding: 40px 22px;
    }

    .error-code {
        font-size: 80px;
    }

    .error-card h1 {
        font-size: 28px;
    }

    .error-text {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* =========================================================
   WHATSAPP FLOATING ICON
========================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    margin: 0;
}