:root {
    /* Colors */
    --bg-color: #000000;
    --bg-mixed: #120704;
    /* Mixed 70% Black + 30% Identity tint */
    --primary-accent: #8A341E;
    --accent-dark: #7A2E19;
    --accent-deeper: #6E2918;
    --sage-green: #718474;
    --section-labels: #8B3111;
    --body-text: #FFFFFF;
    --inactive-muted: #8A8A8A;
    --card-bg: #0D0D0D;

    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top right, var(--bg-mixed) 0%, var(--bg-color) 70%);
    background-attachment: fixed;
    color: var(--body-text);
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
    /* Lighter for luxury feel */
    line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    /* Semi-light for refinement */
    letter-spacing: 0.05em;
    /* Increased for elegance */
    text-transform: capitalize;
}

section h2,
section h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 35px;
    font-family: var(--font-serif);
    font-weight: 500;
    text-transform: capitalize;
}

section h2::after,
section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-accent);
}

section h2 {
    font-size: 38px;
    line-height: 1.2;
}

section h3 {
    font-size: 28px;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 200ms ease;
}

ul {
    list-style: none;
}

/* Global Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    z-index: 1000;
    padding: 20px 5%;
    border-bottom: 1px solid var(--primary-accent);
}

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

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: 300ms ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

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

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

.logo-link img {
    display: block;
    object-fit: contain;
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 11px;
    /* Slightly smaller */
    text-transform: uppercase;
    /* More professional */
    letter-spacing: 0.3em;
    /* Wider spacing for luxury */
    color: var(--inactive-muted);
    padding: 8px 15px;
    transition: 200ms ease;
    position: relative;
}

nav ul li a:hover {
    color: #FFFFFF;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--section-labels);
    transition: 300ms ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 70%;
}

nav ul li a.active::after {
    display: none;
}

/* Footer & Socials */
.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-size: 16px;
    transition: 300ms ease;
}

.social-link:hover {
    background-color: var(--primary-accent);
    transform: translateY(-5px);
}

/* Page Titles (top-right) */
.page-display-title {
    position: fixed;
    top: 120px;
    right: 5%;
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 72px;
    color: var(--inactive-muted);
    text-transform: capitalize;
    pointer-events: none;
    z-index: 10;
}

/* Section Labels */
.section-label {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: var(--section-labels);
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 2px;
    background-color: var(--primary-accent);
}

/* Decorative Elements */
.bottom-decorations {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    pointer-events: none;
    z-index: 5;
}

.curved-line {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    border-radius: 45%;
    transform: rotate(-15deg);
}

.curved-line-1 {
    border-top: 1px solid var(--primary-accent);
    bottom: -120px;
    right: -100px;
}

.curved-line-2 {
    border-top: 1px solid var(--accent-dark);
    bottom: -140px;
    right: -80px;
}

.watermark-ampersand {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-family: var(--font-serif);
    font-size: 180px;
    color: #FFFFFF;
    opacity: 0.15;
    line-height: 1;
}

/* Floating CTAs */
.floating-ctas {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.cta-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-size: 20px;
    transition: 300ms ease;
    position: relative;
    cursor: pointer;
    border: none;
}

.cta-call {
    background-color: var(--primary-accent);
}

.cta-whatsapp {
    background-color: var(--bg-color);
    border: 1px solid #FFFFFF;
}

.cta-chatbot {
    background-color: var(--accent-dark);
}

.tooltip {
    position: absolute;
    right: 60px;
    background-color: var(--card-bg);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 300ms ease;
}

.cta-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Generic Layouts */
section {
    padding: 100px 10%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.main-footer .container {
    max-width: 1300px;
    padding: 0 5vw;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Professional 2026 Footer Styling */
.main-footer {
    background: linear-gradient(135deg, #000000 70%, #1a0a06 100%);
    padding: 100px 0 0;
    border-top: 1px solid rgba(138, 52, 30, 0.2);
    color: #FFFFFF;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 80px;
}

.footer-brand .hero-logo {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    object-fit: contain;
}

.footer-brand .hero-logo:hover {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(138, 52, 30, 0.4));
}

.footer-brand .hero-logo-container {
    margin-bottom: 0px;
    display: inline-block;
}

.brand-bio {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 16px;
    transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-icon:hover {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    transform: translateY(-5px) rotate(8deg);
    color: #FFFFFF;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: 0.6em;
    color: var(--primary-accent);
    margin-bottom: 30px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
}

.footer-nav-list li {
    margin-bottom: 15px;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.6);
    transition: 300ms ease;
    font-size: 15px;
}

.footer-nav-list a:hover {
    color: #FFFFFF;
    padding-left: 5px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: capitalize;
    margin-bottom: 5px;
}

.contact-value {
    color: #FFFFFF;
    font-size: 16px;
    display: block;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.footer-form input {
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: #FFFFFF;
    flex-grow: 1;
    font-family: var(--font-serif);
}

.footer-form input:focus {
    outline: none;
}

.footer-btn {
    background: var(--primary-accent);
    border: none;
    color: #FFFFFF;
    width: 50px;
    cursor: pointer;
    transition: 300ms;
}

.footer-btn:hover {
    background: var(--accent-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    background: #000;
}

.bottom-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.accent-text {
    color: var(--primary-accent);
    font-weight: 700;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-newsletter {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .brand-bio {
        max-width: 100%;
    }

    .bottom-content {
        flex-direction: column;
        gap: 15px;
    }
}

/* News Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background-color: var(--card-bg);
    border-top: 2px solid var(--primary-accent);
    padding: 40px;
    transition: 300ms ease;
}

.article-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(138, 52, 30, 0.2);
}

.article-date {
    font-family: var(--font-sans);
    color: var(--section-labels);
    font-size: 12px;
    margin-bottom: 15px;
    display: block;
}

.article-headline {
    font-size: 24px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    margin-bottom: 25px;
}

.read-more {
    color: var(--section-labels);
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* Forms */
.form-field {
    margin-bottom: 20px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(138, 52, 30, 0.2);
    padding: 15px 20px;
    color: #FFFFFF;
    font-family: var(--font-serif);
    font-size: 16px;
    transition: 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    background-color: rgba(138, 52, 30, 0.05);
    padding-left: 25px;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-accent);
    color: #FFFFFF;
    border: none;
    padding: 18px;
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.submit-btn:hover {
    background-color: var(--accent-dark);
    letter-spacing: 0.3em;
    box-shadow: 0 10px 30px rgba(138, 52, 30, 0.2);
}

/* Responsiveness */
@media (max-width: 1200px) {
    section {
        padding: 80px 5%;
    }
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .page-display-title {
        font-size: 48px;
        top: 100px;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-color);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 600ms cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    #nav-menu.open {
        right: 0;
    }

    #nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    #nav-menu ul li a {
        font-size: 18px;
        letter-spacing: 0.2em;
    }

    .photo-gallery,
    .video-gallery,
    .testimonials-grid,
    .timeline-container,
    .team-grid,
    .vision-mission,
    .news-grid,
    .footer-grid,
    .project-details,
    .partners-list,
    .page-content {
        grid-template-columns: 1fr !important;
        display: flex;
        flex-direction: column;
    }

    .projects-teaser .teaser-content {
        padding: 0 10px;
    }

    .photo-item.wide,
    .photo-item.tall {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .partners-list {
        flex-direction: column;
        gap: 40px;
    }

    nav {
        display: none;
    }

    header {
        padding: 15px 5%;
    }

    .logo-link img {
        height: 35px !important;
        width: 35px !important;
    }

    .page-content {
        padding-top: 100px;
    }

    .project-hero {
        flex-direction: column;
        gap: 30px;
    }

    .page-display-title {
        position: relative;
        font-size: 36px;
        top: auto;
        right: auto;
        margin: 120px 0 20px;
        text-align: center;
        width: 100%;
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 40px;
    }

    .footer-brand,
    .footer-newsletter {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .brand-bio {
        max-width: 100%;
    }

    .footer-bottom .bottom-content {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 5%;
    }

    .floating-ctas {
        bottom: 20px;
        right: 20px;
    }

    .cta-button {
        width: 45px;
        height: 45px;
    }
}