/* Global Variables for Colors */
:root {
    --bg-color: #171717;
    --text-color: rgba(255, 255, 255, 0.8);
    --heading-color: #FFFFFF;
    --accent-color: #CAB08C;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* General Body Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-top: 0;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* Paragraphs */
p {
    line-height: 1.6;
    margin-bottom: 1em;
    max-width: 65ch; /* Improve readability */
}

/* Links */
a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--heading-color);
}

/* Full Screen Block Sections */
.full-block {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
    position: relative;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.full-block:last-of-type {
    border-bottom: none;
}

.content-wrapper {
    width: 100%;
    max-width: 1100px;
}

/* Hero Section */
.hero-section {
    padding-top: 12rem; /* Make space for header */
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 0.5em;
    color: var(--heading-color);
}

.hero-section p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 1.5em;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
}

/* Buttons */
.button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border: 1px solid var(--accent-color);
}

.button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    background-color: rgba(23, 23, 23, 0.8);
    border-bottom: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-weight: 600;
    font-size: 1.5em;
    color: var(--heading-color);
}

.main-nav .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

.nav-cta {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--heading-color);
    transition: all 0.3s ease-in-out;
}

/* Services Section */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
    margin-top: 3rem;
}

.service-card {
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Trust Section */
.testimonial-carousel { margin-bottom: 4rem; }
blockquote {
    font-size: 1.5rem;
    font-style: italic;
    border-left: 3px solid var(--accent-color);
    padding-left: 2rem;
    margin: 0 auto 1rem;
    max-width: 700px;
    text-align: left;
}
cite { font-style: normal; color: var(--text-color); }
.strategic-alliances h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.partner-logos { display: flex; justify-content: center; gap: 3rem; filter: grayscale(1) brightness(1.5); }
.partner-logo { height: 40px; }

/* About Section */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}
.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    text-align: left;
    margin-top: 2rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--text-color); }
.form-group input, .form-group textarea {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px;
    color: var(--heading-color);
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}
.contact-details { padding-top: 2.5rem; }
.contact-details p { margin-bottom: 1rem; }
.contact-details a { color: var(--accent-color); font-weight: 500; }

/* Footer */
.main-footer {
    background-color: #111;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.main-footer {
    font-size: 0.9rem;
    color: var(--text-color);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-links, .footer-social { display: flex; gap: 1.5rem; }
.footer-social i { font-size: 1.5rem; }

/* Responsive Design */
@media (max-width: 900px) {
    .three-column-grid, .about-layout, .contact-container {
        grid-template-columns: 1fr;
    }
    .about-layout { text-align: center; }
    .about-image { margin: 0 auto 2rem; }
    .contact-container { text-align: center; }
    .contact-details { padding-top: 1rem; }
}

@media (max-width: 768px) {
    .main-nav .nav-links, .nav-cta {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .main-header.nav-open .nav-links {
        display: flex;
        position: fixed;
        top: 65px; /* Height of header */
        left: 0;
        width: 100%;
        height: calc(100vh - 65px);
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    .main-header.nav-open .nav-links a {
        font-size: 1.8rem;
    }
    .main-header.nav-open .hamburger-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .main-header.nav-open .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .main-header.nav-open .hamburger-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .footer-content {
        flex-direction: column;
        justify-content: center;
    }
}