/* BASE RESETS & VARIABLES */
:root {
    --color-primary: #0A1128;
    /* Deep Navy */
    --color-primary-light: #1C2A53;
    --color-accent: #D4AF37;
    /* Elegant Gold */
    --color-accent-hover: #C5A017;
    --color-bg-light: #F8F9FA;
    --color-white: #FFFFFF;
    --color-text-dark: #1A1A1A;
    --color-text-muted: #666666;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* LAYOUT UTILITIES */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-sm {
    max-width: 1000px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--color-accent);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: var(--color-white);
}

.btn-primary-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: 2px solid var(--color-accent);
    cursor: pointer;
}

.btn-primary-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.25rem;
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.logo span {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
}

.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav a:not(.btn-primary-outline):hover {
    color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* MOBILE NAV */
.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    padding: 2rem;
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-nav a {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-block;
    width: 100%;
}

.mobile-nav a.btn-primary {
    margin-top: 1rem;
    padding: 1rem;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    background-image: linear-gradient(135deg, rgba(10, 17, 40, 0.92) 0%, rgba(28, 42, 83, 0.92) 100%), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    /* Accounts for fixed header */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--color-white);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 650px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-actions {
    animation: fadeInUp 1.4s ease-out;
}

/* SECTION UTILITIES */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--color-accent);
    margin: 0 auto;
}

.divider.align-left {
    margin: 0;
}

.section-description {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-top: 1.5rem;
}

/* AUTHORITY SECTION */
.authority {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.authority-card {
    padding: 2.5rem 2rem;
    background-color: var(--color-bg-light);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.authority-card:hover {
    transform: translateY(-10px);
    background-color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--color-accent);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.authority-card h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.authority-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* SERVICES SECTION */
.services {
    padding: 8rem 0;
    background-color: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-icon {
    background-color: rgba(10, 17, 40, 0.05);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: var(--color-accent);
}

.service-card h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    line-height: 1.4;
    margin: auto 0;
}

/* FINAL CTA SECTION */
.final-cta {
    padding: 8rem 0;
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0) 70%);
}

.final-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

.cta-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

/* FOOTER */
.footer {
    background-color: #050914;
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .logo h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand .logo span {
    color: var(--color-accent);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-about {
    max-width: 300px;
}

.footer-contact h4,
.footer-social h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-contact i {
    color: var(--color-accent);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .authority-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .authority-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}