/* Global Reset & Variables */
:root {
    --primary-blue: #0077c8;
    --primary-dark: #005fa3;
    --accent-orange: #e34f26;
    /* Fire/Logo Orange */
    --accent-yellow: #f5a623;
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    --font-main: 'Manrope', sans-serif;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-blue);
}

.text-accent {
    color: var(--accent-orange);
}

.text-yellow {
    color: var(--accent-yellow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

@media (min-width: 901px) {

    .mobile-toggle,
    .mobile-controls {
        display: none !important;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.logo i {
    color: var(--primary-blue);
    font-size: 1.75rem;
}

.logo span {
    color: var(--primary-blue);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-light);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-phone {
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-phone i {
    color: var(--accent-orange);
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    /* Increased padding for impact */
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(255, 247, 237, 0.85) 100%), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.eyebrow {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pill {
    background: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pill-contrast {
    background: var(--accent-orange);
    color: var(--white);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-highlights {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.highlight-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.highlight-chip i {
    color: var(--primary-blue);
}

/* Hero Card */
.hero-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-color);
}

.hero-card-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.hero-card-header .label {
    color: var(--accent-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.hero-card-header h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hero-card-header .subtext {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-card-list {
    margin-bottom: 2rem;
}

.hero-card-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.hero-card-list li i {
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
}

.hero-card .btn {
    width: 100%;
}

.small-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.small-note i {
    color: var(--primary-blue);
    /* Changed from green to blue to match theme */
}

/* Services Preview */
.services-preview {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.top-space {
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    padding: 0;
    /* Removing padding to allow image to flush to edges */
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-img {
    width: 100%;
    height: 200px;
    background-color: #f1f5f9;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 2rem;
    position: relative;
    flex: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.service-number {
    font-size: 4rem;
    font-weight: 900;
    color: #f1f5f9;
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
    opacity: 0.5;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-title i {
    color: var(--primary-blue);
}

.service-card p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.cta-row {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    text-align: left;
}

.footer-brand h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-links h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Services Page (Grid Layout) */
.services-section {
    padding: 6rem 0;
}


/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.whatsapp-icon {
    margin-top: 2px;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item h4 {
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-item h4 i {
    color: var(--accent-orange);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Contact Form Styles */
.contact-header-align {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-form-card {
    background: whitesmoke;
    padding: 2rem;
    border-radius: 1rem;
}

.contact-form-header {
    margin-bottom: 2rem;
}

.label-small {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-subtitle {
    color: var(--text-light);
}

/* Responsive */
/* Responsive */
@media (max-width: 900px) {

    /* Header & Nav */
    /* Header & Nav */
    nav {
        flex-wrap: wrap;
        /* Allow wrapping for the dropdown */
    }

    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .mobile-phone-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--accent-orange);
        text-decoration: none;
        line-height: 1;

        /* Button Design */
        background-color: #fff5f2;
        /* Light orange tint */
        border: 1px solid #fed7cd;
        border-radius: 8px;
        width: 60px;
        height: 60px;
        transition: all 0.2s ease;
    }

    .mobile-phone-link:active {
        background-color: var(--accent-orange);
        color: white;
        transform: scale(0.95);
    }

    .mobile-phone-link i {
        font-size: 1.25rem;
        margin-bottom: 2px;
    }

    .loc-label {
        font-size: 0.65rem;
        font-weight: 800;
        text-transform: uppercase;
        margin-bottom: 2px;
    }

    .mobile-toggle {
        display: flex;
        /* Changed from block to flex for alignment */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        line-height: 1;

        /* Button Design */
        background-color: #f0f9ff;
        /* Light blue tint */
        color: var(--primary-blue);
        border: 1px solid #bae6fd;
        border-radius: 8px;
        width: 60px;
        height: 60px;
        margin-left: 0.5rem;
        transition: all 0.2s ease;
    }

    .mobile-toggle:active {
        background-color: var(--primary-blue);
        color: white;
        transform: scale(0.95);
    }

    .mobile-toggle i {
        font-size: 1.5rem;
        /* Match phone icon visual weight */
        margin-top: 2px;
        /* Slight adjustment for alignment */
    }

    .nav-right {
        display: none;
        /* Hide menu by default */
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin-top: 1.5rem;
        background: var(--white);
        padding-bottom: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .nav-right.active {
        display: flex;
        /* Show when toggled */
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-cta div {
        text-align: center !important;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Hero */
    .hero {
        padding: 4rem 0;
        /* Reduced padding for mobile */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content,
    .hero-content h1,
    .hero-content p,
    .eyebrow {
        text-align: center !important;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .eyebrow,
    .hero-btns,
    .hero-highlights {
        justify-content: center;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card-img {
        height: 250px;
        /* Slight increase for better mobile visibility */
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .contact-form-card {
        padding: 1.5rem;
        /* Reduce padding on mobile */
    }

    /* Footer */
    footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand h4,
    .footer-links h5 {
        justify-content: center;
    }

    .footer-links ul {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 0.75rem;
        font-size: 0.9rem;
    }
}