@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
    /* Modern Corporate Palette */
    --primary-navy: #012557;
    --primary-light: #153e75;
    --accent-blue: #0066cc;
    --accent-cyan: #00d4ff;
    
    --text-dark: #111827;
    --text-muted: #4b5563;
    --text-light: #9ca3af;
    
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Styling */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-navy);
}

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

ul {
    list-style: none;
}

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

/* --- COMPONENTS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--accent-blue);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--accent-blue);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-blue);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.section-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
    font-family: var(--font-heading);
}

/* --- TOP BAR --- */
.top-bar {
    background: var(--primary-navy);
    color: var(--bg-white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.client-login-link {
    color: var(--bg-white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}

.client-login-link:hover {
    color: var(--accent-cyan);
}

/* --- HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.header-container {
    padding: 16px 24px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 45px;
    width: auto;
}

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

.main-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-blue);
}

.main-nav a.btn-nav-special {
    background: var(--primary-navy);
    color: var(--bg-white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary-navy);
}

.main-nav a.btn-nav-special:hover {
    background: transparent;
    color: var(--primary-navy) !important;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-navy);
    cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-nav-toggle {
        display: block;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    .main-nav.active {
        max-height: 400px;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }
    .main-nav li {
        width: 100%;
        text-align: center;
    }
    .main-nav a {
        display: block;
        padding: 16px 0;
    }
    .main-nav a.btn-nav-special {
        margin: 10px 24px;
        display: inline-block;
        width: calc(100% - 48px);
    }
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    min-height: 80vh;
    width: 100%;
    overflow: hidden;
    background: var(--primary-navy);
    margin-top: 110px; /* offset for fixed header */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 37, 87, 0.7); /* Professional dark blue overlay */
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    color: var(--bg-white);
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
    font-family: var(--font-heading);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--bg-white);
}

.hero-title span {
    color: var(--accent-cyan);
}

.hero-desc {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 32px;
    font-weight: 300;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.dot.active {
    background: var(--accent-cyan);
    transform: scale(1.3);
}

/* --- FACILITIES GRID --- */
.facilities-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.facility-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.facility-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--accent-blue);
}

.card-img-wrapper {
    height: 240px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.facility-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 32px;
}

.card-badge {
    display: inline-block;
    background: var(--bg-main);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.map-link {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

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

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

.card-link {
    color: var(--accent-blue);
    font-weight: 600;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
}

.card-link:hover {
    text-decoration: underline;
}

/* --- SERVICES --- */
.services-section {
    padding: 100px 0;
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

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

.service-item {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-blue);
}

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

.service-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-item ul {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-item ul li {
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.service-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

/* --- HISTORY TIMELINE --- */
.history-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent-blue);
    border: 4px solid var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--border-color);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-date {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-blue);
    margin-bottom: 8px;
    display: block;
    font-family: var(--font-heading);
}

.timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .history-timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 48px;
        padding-right: 0;
        text-align: left !important;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
        right: auto;
    }
}

/* --- FORMS --- */
.contact-wrapper, .form-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 48px;
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-main);
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* --- FOOTER --- */
.main-footer {
    background: var(--primary-navy);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

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

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

.footer-col h3 {
    color: var(--bg-white);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: #cbd5e1;
    font-size: 0.85rem;
}

/* Scroll To Top */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-navy);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--accent-blue);
}

/* --- PAGE HERO (SUBPAGES) --- */
.page-hero {
    height: 40vh;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 110px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 37, 87, 0.8);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
}

.page-title {
    font-size: 3.5rem;
    color: var(--bg-white);
    margin-bottom: 16px;
}

/* Subpage details */
.details-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.info-block h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.address-box {
    background: var(--bg-main);
    padding: 24px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-blue);
    border-radius: var(--radius-sm);
    margin-bottom: 32px;
    font-weight: 600;
    color: var(--text-dark);
}

.map-container {
    height: 450px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
/* Fix for footer logo on dark background */
.main-footer .logo-img {
    background-color: var(--bg-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* --- MODALS --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px);
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: var(--bg-white); width: 90%; max-width: 900px; max-height: 90vh;
    border-radius: var(--radius-md); overflow-y: auto; position: relative;
    transform: translateY(30px) scale(0.95); transition: var(--transition);
    display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.close-modal {
    position: absolute; top: 20px; right: 25px; font-size: 2.5rem; color: var(--primary-navy); cursor: pointer; z-index: 10; line-height: 0.8;
}
.modal-body { display: flex; flex-wrap: wrap; height: 100%; }
.modal-image-wrapper { flex: 1 1 400px; min-height: 300px; position: relative; overflow: hidden; }
.modal-image-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-info { flex: 1 1 400px; padding: 40px; display: flex; flex-direction: column; }
.modal-subtitle { color: var(--accent-blue); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 15px; display: block; font-family: var(--font-heading); }
.modal-title { font-size: 2.5rem; color: var(--primary-navy); margin-bottom: 20px; font-weight: 800; line-height: 1.1; font-family: var(--font-heading); }
.modal-description { color: var(--text-muted); margin-bottom: 30px; line-height: 1.8; font-size: 1.05rem; }
.modal-address { font-size: 1.1rem; color: var(--primary-navy); margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); font-weight: 600; }
.modal-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; margin-bottom: 25px; }
.spec-item { background: var(--bg-main); padding: 12px; border-radius: var(--radius-sm); border-left: 3px solid var(--accent-blue); }
.spec-label { display: block; font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-bottom: 5px; letter-spacing: 1px; }
.spec-value { display: block; font-size: 0.95rem; color: var(--primary-navy); font-weight: 600; line-height: 1.4; }
.modal-map-container { margin-top: auto; width: 100%; height: 300px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }

@media (max-width: 768px) {
    .modal-body { flex-direction: column; }
    .modal-image-wrapper { flex: 0 0 200px; min-height: 200px; }
    .modal-info { padding: 25px; }
    .modal-title { font-size: 1.8rem; }
}

/* --- ADDITIONAL FORM STYLES FOR QUOTE.HTML --- */
.form-section-title {
    font-size: 1.5rem; color: var(--primary-navy); border-bottom: 2px solid var(--accent-cyan);
    padding-bottom: 10px; margin-bottom: 25px; margin-top: 30px; font-family: var(--font-heading); font-weight: 700;
}
.form-section-title:first-of-type { margin-top: 0; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
    /* Fix overlap if elements wrap */
.form-col { flex: 1; min-width: 0; }
.radio-group, .checkbox-group { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.radio-option, .checkbox-option { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text-dark); }
@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 0; }
}
