
/* =========================================
   CSS VARIABLES & BASE STYLES
========================================= */

:root {
    --primary-blue: #0b3c7d;
    --secondary-blue: #0088cc;
    --light-blue: #e8f4fc;
    --dark-navy: #061a38;
    --white: #ffffff;
    --gray-light: #f4f7f6;
    --gray-text: #555555;
    --whatsapp-color: #25D366;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-family);
    color: #333;
    line-height: 1.6;
    background-color: var(--white);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   TOP BAR
========================================= */

.top-bar {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.top-info span {
    display: inline-flex;
    align-items: center;
}

.top-info i {
    color: var(--secondary-blue);
    margin-right: 6px;
}

.top-bar a:hover {
    color: var(--secondary-blue);
}

/* =========================================
   HEADER & NAVIGATION
========================================= */

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo {
    display: block;
    width: auto;
    height: 50px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-navy);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-blue);
}

.btn-quote {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-quote:hover {
    background-color: var(--secondary-blue);
}

.mobile-menu-btn {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
    padding: 5px;
}

/* =========================================
   HERO SECTION
========================================= */

.hero {
    background: linear-gradient(
        135deg,
        var(--light-blue) 0%,
        #ffffff 100%
    );
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-content h1 span {
    color: var(--secondary-blue);
    display: block;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 25px;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-location i {
    margin-right: 8px;
}

.hero-cta {
    padding: 12px 25px;
    font-size: 1rem;
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-feature {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-blue);
}

.hero-feature > i {
    display: block;
    font-size: 5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.hero-feature h2 {
    color: var(--dark-navy);
    font-size: 1.4rem;
    line-height: 1.4;
}

.hero-feature p {
    color: var(--gray-text);
    margin-top: 12px;
}

/* =========================================
   SERVICES SECTION
========================================= */

.services-section {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.digital-section {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-blue);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(250px, 100%), 1fr)
    );
    gap: 25px;
    margin-bottom: 30px;
}

.service-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary-blue);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-box {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
}

.contact-info-box h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.contact-intro {
    color: #ccc;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item > i {
    font-size: 1.3rem;
    color: var(--secondary-blue);
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-info-item h3 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.contact-info-item p {
    color: #ccc;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.contact-info-item a:hover {
    color: var(--secondary-blue);
}

/* =========================================
   ENQUIRY FORM
========================================= */

.form-box {
    background-color: var(--gray-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-box h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-navy);
}

.form-control {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: var(--white);
    color: #333;
    font-size: 0.95rem;
    outline: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(11, 60, 125, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

.btn-submit {
    display: block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    background-color: var(--secondary-blue);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* =========================================
   CAPTCHA
========================================= */

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-refresh {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: var(--primary-blue);
    cursor: pointer;
    font-size: 1.2rem;
}

.captcha-refresh:hover:not(:disabled) {
    background: var(--light-blue);
}

.captcha-refresh:disabled {
    opacity: 0.5;
    cursor: wait;
}

.math-question {
    display: inline-block;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 5px;
}

.form-status {
    margin-top: 15px;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

/* Honeypot anti-spam field */
.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* =========================================
   FOOTER
========================================= */

footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    font-size: 0.9rem;
    color: #aaa;
}

/* =========================================
   WHATSAPP FLOATING BUTTON
========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* =========================================
   RESPONSIVE: TABLETS
========================================= */

@media (max-width: 992px) {

    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-image {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }

    .contact-grid {
        gap: 30px;
    }
}

/* =========================================
   RESPONSIVE: MOBILE
========================================= */

@media (max-width: 768px) {

    html {
        scroll-padding-top: 80px;
    }

    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .top-info {
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }

    .navbar {
        padding: 12px 0;
    }

    .site-logo {
        height: 42px;
        max-width: 220px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        padding: 10px 20px 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 12px;
    }

    .nav-links .btn-quote {
        margin-top: 5px;
    }

    .hero {
        padding: 45px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-feature {
        padding: 25px 20px;
    }

    .hero-feature > i {
        font-size: 4rem;
    }

    .section-title {
        margin-bottom: 35px;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .services-section,
    .contact-section {
        padding: 55px 0;
    }

    .services-grid {
        gap: 20px;
    }

    .contact-info-box,
    .form-box {
        padding: 25px 20px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 27px;
        right: 18px;
        bottom: 18px;
    }
}

/* =========================================
   RESPONSIVE: SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .section-title h2 {
        font-size: 1.45rem;
    }

    .service-card {
        padding: 22px 18px;
    }

    .contact-info-box,
    .form-box {
        padding: 22px 16px;
    }
}

/* =========================================
   ACCESSIBILITY: REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}