/* =========================================================================
   BASE STYLES & VARIABLES
   ========================================================================= */
:root {
    --primary-color: #0d1b2a;      /* Deep Trust Blue */
    --secondary-color: #1b263b;    /* Slightly lighter blue */
    --accent-color: #d4af37;       /* Premium Gold */
    --accent-hover: #b8962e;       /* Darker Gold */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* =========================================================================
   TYPOGRAPHY & TAGS
   ========================================================================= */
h1, h2, h3, h4 {
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 800;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

.highlight {
    color: var(--accent-color);
}

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

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-block {
    width: 100%;
}

/* =========================================================================
   HEADER / NAVBAR
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 16px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-quote-nav {
    padding: 10px 24px;
    background-color: var(--accent-color);
    color: var(--white) !important;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
}

.navbar.scrolled .btn-quote-nav {
    color: var(--white) !important;
}

.btn-quote-nav::after {
    display: none;
}

.btn-quote-nav:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .menu-toggle {
    color: var(--primary-color);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    color: var(--white);
}

/* Abstract architectural shapes in background */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, rgba(212,175,55,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.mission-box {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
    position: relative;
}

.mission-box i {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 3rem;
    color: var(--accent-color);
    background: var(--white);
    border-radius: 50%;
    padding: 10px;
    box-shadow: var(--shadow-sm);
}

.mission-box p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-color);
    font-style: italic;
}

.mission-box strong {
    color: var(--primary-color);
    font-style: normal;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract Graphic replacement for image */
.abstract-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.abstract-visual .circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #f7d566);
    opacity: 0.8;
}

.abstract-visual .c1 {
    width: 250px;
    height: 250px;
    top: -40px;
    right: -40px;
    filter: blur(2px);
}

.abstract-visual .c2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    left: 40px;
    opacity: 0.4;
    filter: blur(4px);
}

.glass-card {
    position: absolute;
    bottom: 40px;
    right: -30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    color: var(--white);
    z-index: 10;
}

.glass-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.glass-card span {
    font-size: 1.2rem;
    font-weight: 700;
}

/* =========================================================================
   SERVICES SECTION
   ========================================================================= */
.bg-light {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.icon-box i {
    font-size: 32px;
    color: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--accent-color);
}

.service-card:hover .icon-box i {
    color: var(--white);
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.service-link i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* =========================================================================
   WHY US SECTION
   ========================================================================= */
.container-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}

.why-content {
    flex: 1;
}

.why-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.features-list {
    margin-top: 40px;
}

.features-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.features-list h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.features-list p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.stat-box {
    background: var(--bg-light);
    padding: 40px 24px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.stat-box:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-box span {
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.box-2, .box-4 {
    transform: translateY(30px);
}

/* =========================================================================
   CTA SECTION
   ========================================================================= */
.cta {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="%230d1b2a"/></svg>') no-repeat center center/cover;
    position: relative;
    padding: 120px 0;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212,175,55,0.1) 0%, rgba(13,27,42,1) 100%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.quote-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    gap: 20px;
}

.quote-form input,
.quote-form select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.quote-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.quote-form select option {
    background: var(--primary-color);
    color: var(--white);
}

.quote-form input:focus,
.quote-form select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background-color: #060e17; /* Very Dark Blue */
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.brand-col p {
    margin-bottom: 24px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.links-col ul,
.contact-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.links-col a {
    position: relative;
    padding-left: 16px;
}

.links-col a::before {
    content: '\ebcc';
    font-family: 'boxicons';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 0.9rem;
}

.links-col a:hover {
    color: var(--accent-color);
    padding-left: 20px;
}

.contact-col li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-col i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

.footer-bottom {
    background-color: #03080d;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* =========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1;
    }
    .image-wrapper {
        height: 400px;
    }
    .container-flex {
        flex-direction: column;
    }
    .why-stats {
        width: 100%;
        margin-top: 40px;
    }
    .box-2, .box-4 {
        transform: translateY(0);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease-in-out;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .input-group {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .flex-between {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .stat-box h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .glass-card {
        right: 10px;
        bottom: 20px;
        padding: 15px 20px;
    }
    .why-stats {
        grid-template-columns: 1fr;
    }
}
