/* =========================================
   AICO Landing Page - CSS
   ========================================= */

:root {
    --primary-orange: #FF8200;
    --primary-blue: #0d6efd;
    --primary-blue-hover: #0b5ed7;
    --dark-blue: #081024;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F4F7FB;
    --bg-white: #FFFFFF;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    --font-main: 'Inter', sans-serif;
}

/* Header */
.header {
    position: fixed;
    top: 0.7rem;
    left: 0.7rem;
    right: 0.7rem;
    width: calc(100% - 1.4rem);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 50px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}


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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    color: var(--text-main);
}

body {
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-center {
    text-align: center;
}

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

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

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

.text-white {
    color: var(--bg-white);
}

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

.mt-30 {
    margin-top: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-auto {
    margin-top: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--bg-white);
}

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

.btn-second {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

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

.btn-orange {
    background-color: var(--primary-orange);
    color: var(--bg-white);
    padding: 12px 32px;
}

.btn-orange:hover {
    background-color: #e67500;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 24px;
    font-size: 0.9rem;
}



.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 150px;
    width: auto;
    margin-left: 2vh;
}

.container-menu {
    display: flex;
    justify-content: end;
    gap: 30px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.main-nav a:hover {
    color: var(--primary-orange);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-blue);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    /* Offset for fixed header */
}

.hero-bg {
    position: absolute;
    padding-top: 5vh;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 10vh;
    border-radius: 10rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 23, 43, 0.4), rgba(11, 23, 43, 0.8));
    z-index: -1;
}

.hero-content {
    color: var(--bg-white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
}

/* Why Choose Us Section */
.why-us {
    padding: 100px 0;
    background: radial-gradient(circle at top left, #eef3fc, #ffffff);
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
}

.section-heading h2 span {
    color: var(--dark-blue);
    /* Can be changed if needed */
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.benefit-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.card-img-wrapper {
    height: 200px;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
    /* placeholder bg */
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: radial-gradient(circle at bottom right, #eef3fc, #ffffff);
}

.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-top-container {
    background-color: var(--dark-blue);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--bg-white);
    box-shadow: 0 15px 40px rgba(8, 16, 36, 0.2);
}

.service-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-block.text-right {
    align-items: flex-end;
    text-align: right;
}

.service-block h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-block p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.service-logo-center {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.punto-sazon-logo {
    text-align: center;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bg-white);
}

.punto-sazon-logo h3 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--primary-orange);
}

.punto-sazon-logo span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-top: 5px;
}

.services-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-bottom-card {
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-bottom-card.dark-bg {
    background-color: #202b46;
    color: var(--bg-white);
}

.service-bottom-card.orange-bg {
    background-color: var(--primary-orange);
    color: var(--bg-white);
}

.service-bottom-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-bottom-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Experience Section */
.experience {
    position: relative;
    padding: 120px 0;
    color: var(--bg-white);
}

.experience-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.experience-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.experience-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 23, 43, 0.85);
    z-index: -1;
}

.experience-content h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.experience-content h2 .text-orange {
    font-weight: 700;
}

.border-bottom-orange {
    border-bottom: 3px solid var(--primary-orange);
    padding-bottom: 5px;
}

.experience-years {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.experience-years .years {
    font-size: 3.5rem;
}

.experience-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Contact Footer */
.contact {
    padding: 80px 0;
    background: #f9fbff;
}

.contact-container {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.contact-form-wrapper {
    flex: 1;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.contact-form-wrapper .subtitle {
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    background-color: #fcfcfc;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--bg-white);
}

.contact-map-wrapper {
    flex: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    min-height: 400px;
    background: var(--dark-blue);
    /* Fallback */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-top-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .service-block,
    .service-block.text-right {
        align-items: center;
        text-align: center;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-map-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .services-bottom-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .main-nav {
        display: none;
        /* Hide nav on mobile, would need JS to toggle */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header .btn-primary {
        display: none;
        /* Hide contact button in header on mobile */
    }
}