/* ============================================
   Ottima.PE - Original Replica Styles
   ============================================ */

:root {
    --primary-color: #E3CB14;
    /* Yellow from source */
    --primary-hover: #CC6333;
    /* Orange-brown from source */
    --text-dark: #0d141a;
    --text-light: #ffffff;
    --text-gray: #56585e;
    --bg-dark: #211E1B;
    --font-family: 'Lato', sans-serif;
    --container-width: 1224px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.5;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 64px;
}

h3 {
    font-size: 48px;
}

h4 {
    font-size: 40px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 18px;
}

p {
    font-size: 16px;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 32px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 17px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--text-light);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    padding: 14px 38px;
}

.btn-outline:hover {
    background-color: transparent;
    border-color: var(--primary-hover);
    color: var(--primary-hover);
}

/* Top Banner (Ottima.io) */
.top-banner {
    background: linear-gradient(90deg, #111827, #1f2937);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 14px;
}

.top-banner a {
    color: #E3CB14;
    font-weight: 700;
    text-decoration: underline;
}

/* Header */
.header {
    background: #fff;
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 85px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-size: 18px;
    /* Slightly larger */
    color: var(--text-dark);
    position: relative;
    padding-bottom: 4px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--text-dark);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 16px;
    color: var(--text-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 940px;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lighter overlay: Reduced black tint and gradient opacity for better video visibility */
    background: linear-gradient(135deg, rgba(204, 99, 51, 0.4), rgba(143, 17, 168, 0.4)), rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    /* Reduced max-width to center text nicely within video view */
    padding: 0 20px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Added shadow for readability */
}

.hero-subtitle {
    font-size: 24px;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.intro-section {
    padding: 100px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.intro-text h3 {
    margin-bottom: 24px;
}

.intro-text p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.intro-image {
    position: relative;
    text-align: right;
}

.intro-image img {
    border-radius: 20px;
    display: inline-block;
}

.quote-mark {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    line-height: 1;
    color: #0d141a;
    font-family: serif;
}

/* Services Section */
.services-section {
    background-color: #FFFDE7;
    /* Soft Yellow to highlight images */
    padding: 100px 0;
    position: relative;
}

/* Removed the gradient overlay specific to services to make it clean yellow */
.services-section::before {
    display: none;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-header {
    text-align: center;
    color: var(--text-dark);
    /* Changed to dark for contrast */
    margin-bottom: 80px;
}

.services-header p {
    color: var(--text-gray);
    /* Changed to gray */
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.service-image img {
    border-radius: 20px;
    height: 304px;
    object-fit: cover;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Added shadow to pop images */
}

.service-description {
    text-align: center;
    color: var(--text-dark);
}

.service-description h6 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.service-description p {
    color: var(--text-gray);
}


/* Contact/Footer Section */
.contact-section {
    background-color: var(--bg-dark);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto 60px;
}

.contact-form-wrapper h4 {
    margin-bottom: 20px;
}

.contact-form-wrapper p {
    color: white;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.contact-form input {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #b8c0cc;
    flex: 1;
    max-width: 300px;
}

.contact-info-wrapper {
    display: flex;
    justify-content: center;
    gap: 80px;
    text-align: left;
    margin-bottom: 80px;
}

.info-block h5 {
    margin-bottom: 10px;
}

.info-block p {
    color: white;
    font-size: 14px;
}

.info-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-bottom {
    font-size: 14px;
    color: white;
    opacity: 0.7;
}


.shape-icon {
    filter: invert(1);
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .intro-grid,
    .services-grid,
    .contact-info-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 40px;
    }

    .contact-form {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        height: 600px;
    }
}