/* Variable Definitions */
:root {
    --primary-red: #D92323;
    --primary-red-hover: #b01c1c;
    --primary-green: #10B981;
    /* Premium Emerald Green */
    --primary-green-dark: #059669;
    --dark-blue: #0B1120;
    /* Deep premium blue */
    --medium-blue: #151f32;
    /* Slightly lighter for cards/sections */
    --text-white: #ffffff;
    --text-gray: #B0B8C4;
    --text-dark: #333333;
    --light-bg: #F5F7FA;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Outfit', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    border: none;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(217, 35, 35, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 35, 35, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-blue);
    border-color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.full-width {
    width: 100%;
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    background-color: var(--dark-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjust based on your logo aspect ratio */
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list li a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-list li a:hover {
    color: var(--white);
}

.mobile-menu-icon {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-bg {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #10B981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.3);
    animation: pulse 3s infinite;
}

.hero-icon {
    font-size: 150px;
    color: var(--white);
}

.trust-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.trust-percent {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.trust-text {
    font-size: 0.8rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.since-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 4s ease-in-out infinite;
    animation-delay: 1s;
    /* Slight offset for natural feel */
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(217, 35, 35, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(217, 35, 35, 0.1);
    color: var(--primary-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary-red);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3,
.service-card h2 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

.cta-card {
    background: linear-gradient(135deg, #D92323 0%, #b01c1c 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-card h3,
.cta-card p {
    color: var(--white);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-tag-left {
    background-color: rgba(217, 35, 35, 0.1);
    color: var(--primary-red);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: inline-block;
}

.about h2 {
    font-size: 2.8rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.inline-logo {
    height: 1.2em;
    /* Adapts to text size */
    vertical-align: middle;
    margin: 0 4px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    background-color: rgba(217, 35, 35, 0.1);
    padding: 10px;
    border-radius: 8px;
}

.feature-item h4 {
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 0.9rem;
    margin: 0;
}

.about-map-area {
    position: relative;
    height: 500px;
    background-color: #f0f0f0;
    /* Map placeholder color */
    border-radius: 20px;
    overflow: hidden;
    background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=-15.793889,-47.882778&zoom=10&size=600x600&sensor=false&style=feature:all|element:all|saturation:-100&key=YOUR_API_KEY');
    /* Static grayscale map placeholder */
    background-size: cover;
    background-position: center;
}

/* Pseudo-map styling */
.about-map-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
}

.map-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 80%;
    max-width: 350px;
}

.map-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: -70px auto 20px;
    /* Pull up */
    border: 5px solid var(--white);
}

.map-card h3 {
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.locations {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.location-badge {
    text-align: center;
}

.location-badge strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-red);
}

.location-badge span {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

/* Certifications Section */
.certifications {
    background-color: var(--dark-blue);
    padding: 80px 0;
    color: var(--white);
}

.certifications .section-header h2 {
    color: var(--white);
}

.certifications .section-header p {
    color: var(--text-gray);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cert-card {
    background-color: var(--medium-blue);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    background-color: #1a2639;
    border-color: rgba(255, 255, 255, 0.1);
}

.cert-icon {
    font-size: 2.5rem;
    color: var(--white);
    /* White icons on dark bg */
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.cert-card h3 {
    margin-bottom: 10px;
    color: var(--white);
}

.cert-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.cert-check {
    color: #4CAF50;
    /* Green for check */
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-info {
    padding: 60px 40px;
    background-color: var(--white);
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(217, 35, 35, 0.1);
    color: var(--primary-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-card h4 {
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.info-card p {
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
    background-color: var(--dark-blue);
}

.contact-form-card {
    padding: 60px 40px;
    background-color: #F8F9FB;
}

.contact-form-card h3 {
    margin-bottom: 30px;
    color: var(--dark-blue);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(217, 35, 35, 0.1);
}

/* Footer */
.footer {
    background-color: #050810;
    color: var(--text-gray);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* Make logo white for footer */
    opacity: 0.8;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero {
        overflow: visible;
        /* Allow badges to protrude */
        padding-bottom: 50px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-image {
        margin-top: 50px;
        margin-bottom: 30px;
        width: 100%;
        /* Ensure space for absolute badges */
        min-height: 400px;
    }

    .circle-bg {
        width: 300px;
        height: 300px;
    }

    .hero-icon {
        font-size: 100px;
        /* Scale icon */
    }

    /* Adjust badges for mobile */
    .trust-badge {
        bottom: 0;
        left: 50%;
        transform: translateX(-150%);
        /* Position left of center */
        animation: none;
        /* Simplify on mobile if needed, or keep float */
    }

    .since-badge {
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translateX(150%);
        /* Position right of center */
        animation: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        /* simple hide for now, would need JS toggle */
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background-color: var(--dark-blue);
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}