/* CSS Variables & Theme Setup - Design 4 (Classic Corporate Trust) */
:root {
    --primary-color: #0b2545;       /* Deep Classic Blue */
    --primary-light: #134074;       /* Lighter Corporate Blue */
    --accent-color: #cca43b;        /* Antique Gold */
    --accent-hover: #b58e2d;
    --whatsapp-color: #25d366;
    --whatsapp-hover: #20ba5a;
    --dark-bg: #08203e;
    --light-bg: #f4f6f9;            /* Corporate ice-blue gray background */
    --card-bg: #ffffff;
    --text-main: #1f3044;           /* Dark Slate */
    --text-muted: #627284;          /* Slate Gray */
    --text-light: #f4f6f9;
    --border-color: #d0dbe5;
    --shadow-sm: 0 2px 4px rgba(11, 37, 69, 0.05);
    --shadow-md: 0 4px 10px rgba(11, 37, 69, 0.08);
    --shadow-lg: 0 10px 20px rgba(11, 37, 69, 0.1);
    --shadow-xl: 0 20px 35px rgba(11, 37, 69, 0.15);
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Georgia', serif;  /* Elegant Serif Font for Headings */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 4px;            /* Sharp corporate corners */
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

section {
    padding: 50px 0;
    background: #ffffff;
}

/* Corporate Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    background: #ffffff;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-trb {
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 2px;
}

.brand-sub {
    font-weight: 300;
    color: var(--accent-color);
}

.call-btn-header {
    background: var(--primary-color);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.call-btn-header:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 60px 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.badge-container {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.badge {
    background: rgba(11, 37, 69, 0.05);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 700;
    border-left: 3px solid var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge i {
    color: var(--accent-color);
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-title-top {
    display: block;
    font-family: var(--font-main);
    font-size: 0.4em;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 6px;
    font-weight: 800;
}

.hero-title-main {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    font-weight: 400;
}

.contact-card {
    background: var(--light-bg);
    border-top: 4px solid var(--primary-color);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    max-width: 580px;
}

.owner-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-1px);
}

/* Image panels on the right side of hero */
.hero-bg-container {
    display: flex;
    gap: 16px;
    height: 480px;
    position: relative;
}

.hero-bg-img {
    width: calc(50% - 8px);
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.hero-bg-img:last-child {
    margin-top: 30px;
    height: calc(100% - 30px);
}

/* Badges section */
.core-badges {
    display: flex;
    justify-content: space-around;
    background: var(--primary-color);
    color: #ffffff;
    padding: 30px 24px;
    flex-wrap: wrap;
    gap: 24px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 320px;
}

.badge-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
    font-size: 1.3rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.badge-text p {
    font-size: 0.85rem;
    color: #cbd5e1;
}

/* Services */
.services {
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.service-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--accent-color);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Process Section */
.process {
    background: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.process-step {
    text-align: left;
    position: relative;
    border-left: 2px solid var(--border-color);
    padding-left: 24px;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.process-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Gallery */
.gallery {
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.gallery-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.gallery-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Info CTA */
.info-cta-section {
    background: var(--primary-color);
    color: #ffffff;
    text-align: center;
    padding: 50px 0;
}

.info-action h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.info-action p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ */
.faq {
    background: #ffffff;
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #cbd5e1;
    padding: 50px 0 25px 0;
    border-top: 3px solid var(--accent-color);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 30px;
}

.footer-brand h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 400px;
    line-height: 1.6;
}

.footer-contact-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-contact-info p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-info a {
    color: #ffffff;
    font-weight: 600;
    border-bottom: 1px solid var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    font-size: 0.85rem;
}

/* Floating Call Action & Modal Popup */
.floating-call-btn {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 320px;
    background: var(--accent-color);
    color: #ffffff;
    text-align: center;
    padding: 14px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 37, 69, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--light-bg);
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-group.half {
    width: 50%;
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 10px;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.w-100 {
    width: 100%;
}

/* Mobile responsive bottom bar */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    display: none;
    grid-template-columns: 1fr 1fr;
    padding: 12px 20px 24px 20px;
    gap: 12px;
    z-index: 1000;
}

.bottom-bar-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
}

.bottom-bar-btn.call-btn {
    background: var(--primary-color);
    color: #ffffff;
}

.bottom-bar-btn.wa-btn {
    background: var(--whatsapp-color);
    color: #ffffff;
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: grid;
    }
    
    .floating-call-btn {
        display: none !important;
    }
    
    body {
        padding-bottom: 80px;
    }

    .hero {
        padding-top: 120px !important;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .hero-bg-container {
        height: 280px;
    }

    .glass-header {
        padding: 12px 0;
    }

    .header-contact .open-quote-modal {
        display: none !important;
    }

    .hero-cta {
        display: none !important;
    }

    section {
        padding: 35px 0 !important;
    }

    .core-badges {
        padding: 24px 15px !important;
        gap: 20px !important;
    }

    .section-title {
        margin-bottom: 20px !important;
    }
}
