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

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

:root {
    --primary-red: #8b001a;      /* Crimson Red matching reference */
    --bright-red: #c4001d;
    --dark-navy: #121214;       /* Deep dark color from flyer banner */
    --light-bg: #fdfbf7;         /* Off-white background color from reference text section */
    --text-dark: #222222;
    --text-light: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--text-light);
}

h1, h2, h3, .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Top Contact Bar --- */
.top-bar {
    background-color: #0b0b0c;
    border-bottom: 1px solid rgba(196, 0, 29, 0.35);
    padding: 8px 0;
    font-size: 0.82rem;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.lang-switch:hover {
    background: var(--bright-red);
    border-color: var(--bright-red);
    color: #ffffff;
}

.top-bar-tagline {
    color: #c9a227;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    flex: 1;
}

.top-bar-phone {
    color: #cccccc;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.top-bar-phone:hover {
    color: var(--text-light);
}

.top-bar-phone i {
    color: var(--bright-red);
    margin-right: 6px;
    font-size: 0.75rem;
}

/* --- Navigation / Header --- */
header {
    background-color: var(--dark-navy);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-red);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    line-height: 1.2;
}

.logo-accent {
    color: var(--bright-red);
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-links a.active:not(.btn-secondary) {
    color: var(--text-light);
    border-bottom: 2px solid var(--bright-red);
    padding-bottom: 2px;
}

/* --- Mobile Menu --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    display: none;
}

.menu-toggle:focus-visible {
    outline: 3px solid var(--bright-red);
    outline-offset: 2px;
}

body.nav-open {
    overflow: hidden;
}

/* --- Buttons --- */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--bright-red);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-red);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--text-light);
    color: var(--dark-navy) !important;
    border: 1px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--text-light) !important;
    border-color: var(--primary-red);
}

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

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--dark-navy);
}

/* --- Hero Section with Top-Right Cut --- */
.hero-section {
    background-color: var(--dark-navy);
    color: var(--text-light);
    min-height: 85vh;
    min-height: 85dvh;
    padding: 120px 0 140px 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), calc(100% - 140px) 100%, 0 100%);
}

.hero-bg {
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    height: 140%;
    z-index: 0;
    background-image: url('images/dhradun-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, rgba(8, 8, 10, 0.45) 0%, rgba(8, 8, 10, 0.72) 70%, rgba(8, 8, 10, 0.82) 100%),
        linear-gradient(180deg, rgba(8, 8, 10, 0.4) 0%, rgba(8, 8, 10, 0.25) 45%, rgba(8, 8, 10, 0.7) 100%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.tagline {
    color: #e8e8e8;
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: rgba(196, 0, 29, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffe0e5;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.hero-availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 36px;
    max-width: 640px;
    font-size: 0.9rem;
    color: #f0d78c;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero-availability i {
    flex-shrink: 0;
    color: var(--bright-red);
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 14px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.hero-sub {
    font-size: 1.25rem;
    color: #f2f2f2;
    margin-bottom: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.text-highlight {
    color: #ff4d6a;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-content p {
    font-size: 1.1rem;
    color: #f2f2f2;
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.hero-content p strong {
    color: #ffffff;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.hero-cta .btn-outline:hover {
    background: var(--text-light);
}

.hero-wave {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.bounce-icon {
    font-size: 1.5rem;
    color: var(--bright-red);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- About Section & Stats Background Adjustment --- */
.about-section {
    background-color: var(--light-bg);
    padding: 80px 0 60px 0; /* Extra top padding to handle the overlap seamlessly */
    margin-top: -30px; /* Pulls the section up behind the hero cut */
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-navy);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 0 auto 25px auto;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444444;
}

.about-corporate-no {
    max-width: 800px;
    margin: 24px auto 0;
    padding: 14px 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #555555;
    background: white;
    border-radius: 4px;
    border-left: 4px solid var(--primary-red);
    box-shadow: var(--card-shadow);
}

.about-corporate-no i {
    color: var(--bright-red);
    margin-right: 8px;
}

.about-text-secondary {
    margin-top: 24px;
}

/* --- Page Banner (inner pages) --- */
.page-banner {
    background-color: var(--dark-navy);
    color: var(--text-light);
    padding: 48px 0;
    text-align: center;
    border-bottom: 2px solid var(--primary-red);
}

.page-banner h1 {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-banner p {
    color: #cccccc;
    font-size: 1.05rem;
}

.page-content {
    margin-top: 0;
}

.about-section.page-content {
    padding-top: 60px;
    padding-bottom: 80px;
}

.gallery-section.page-content {
    padding-top: 60px;
}

.contact-section.page-content {
    padding-top: 60px;
}

/* --- Stats Dashboard --- */
.stats-section {
    background-color: var(--light-bg);
    padding: 5rem 0 5rem 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: white;
    padding: 40px 20px;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
    border-top: 3px solid var(--primary-red);
}

.stat-card {
    text-align: center;
    flex: 1;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.feature-card h3 {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--bright-red);
    margin-bottom: 14px;
}

.features-grid {
    align-items: stretch;
}

.feature-card {
    padding: 10px 16px;
}

.stat-card p {
    font-size: 0.95rem;
    color: #666666;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: #dddddd;
}

/* --- Services Vertical with Bottom-Left Cut --- */
.services-section {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 100px 0 80px 0; /* Increased top padding to accommodate the entry cut */
    position: relative;
    margin-top: -30px; /* Overlaps seamlessly with the off-white section above */

    /* This clip-path creates the cut on the top-left side of the red section:
       Starts from top-left, but skips inward diagonally (140px 0),
       goes flat across the top edge to top-right (100% 0),
       then drops straight down the right edge (100% 100%),
       flat along the bottom (0 100%),
       and travels up the left side, cutting back in at the top (0 25px).
    */
    clip-path: polygon(140px 0, 100% 0, 100% 100%, 0 100%, 0 25px);
}

.section-header.invert {
    text-align: center;
}

.section-header.invert h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-top: 10px;
}

.section-header.invert .sub-header {
    color: #dddddd;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.service-statement {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #f0e8e8;
}

.service-main-icon {
    font-size: 2.5rem;
    color: var(--text-light);
}

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

.service-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 4px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #eeeeee;
}

/* --- Interactive Gallery System --- */
.gallery-section {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 24px;
    border: 1px solid #dddddd;
    background: white;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--dark-navy);
    color: var(--text-light);
    border-color: var(--dark-navy);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 280px;
    padding: 0;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: #ddd;
    opacity: 1;
    cursor: pointer;
    text-align: left;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
}

.gallery-item:focus-visible {
    outline: 3px solid var(--bright-red);
    outline-offset: 3px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 20px;
    color: white;
    opacity: 0.9;
    pointer-events: none;
}

.gallery-item .overlay span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.overlay-zoom {
    flex-shrink: 0;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .overlay-zoom {
    opacity: 1;
    transform: scale(1);
}

/* --- Gallery Lightbox --- */
body.lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 10, 0.92);
    backdrop-filter: blur(6px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.94);
    transition: transform 0.35s ease;
}

.gallery-lightbox.is-open .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.lightbox-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 0 4px;
}

.lightbox-caption {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.lightbox-counter {
    font-size: 0.85rem;
    color: #aaaaaa;
    letter-spacing: 1px;
    white-space: nowrap;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--bright-red);
    border-color: var(--bright-red);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.25rem;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.1rem;
}

.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* --- Contact & Forms --- */
.contact-section {
    padding: 80px 0;
    background-color: var(--dark-navy);
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #cccccc;
}

.contact-details i {
    color: var(--bright-red);
    margin-right: 12px;
    width: 20px;
}

.contact-details a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--bright-red);
}

.contact-form-container {
    background-color: rgba(255,255,255,0.05);
    padding: 32px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 22px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
}

.form-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #aaaaaa;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.form-tab:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.form-tab.active {
    color: var(--text-light);
    background: var(--bright-red);
    border-color: var(--bright-red);
}

.form-panel {
    display: none;
}

.form-panel.active {
    display: block;
}

.form-panel-intro {
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: #bbbbbb;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #dddddd;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-group select option {
    background-color: var(--dark-navy);
    color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bright-red);
    background-color: rgba(255,255,255,0.1);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid,
.form-group .form-file.is-invalid {
    border-color: #ff6b6b;
}

.form-file {
    padding: 12px !important;
    cursor: pointer;
}

.form-file::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    background: var(--bright-red);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #888888;
}

.form-error {
    display: none;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #ff8a8a;
}

.form-group.has-error .form-error {
    display: block;
}

.full-width {
    width: 100%;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background-color: var(--dark-navy);
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--primary-red);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--bright-red);
    border-color: var(--bright-red);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--bright-red);
    outline-offset: 3px;
}

/* --- WhatsApp Chat Widget --- */
.whatsapp-widget {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 901;
}

.whatsapp-fab {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #25d366;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

.whatsapp-fab-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    background: #e53935;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.whatsapp-popup {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 320px;
    max-width: calc(100vw - 48px);
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.whatsapp-popup.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #075e54;
    color: #ffffff;
}

.whatsapp-popup-logo-wrap {
    position: relative;
    flex-shrink: 0;
}

.whatsapp-popup-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-popup-online {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 12px;
    height: 12px;
    background: #25d366;
    border: 2px solid #075e54;
    border-radius: 50%;
}

.whatsapp-popup-info {
    flex: 1;
    min-width: 0;
}

.whatsapp-popup-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.whatsapp-popup-status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.whatsapp-popup-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.whatsapp-popup-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.whatsapp-popup-body {
    padding: 20px 16px;
    background-color: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8c0b8' fill-opacity='0.35'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    min-height: 140px;
}

.whatsapp-popup-time {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #8696a0;
    margin-bottom: 14px;
}

.whatsapp-bubble {
    display: inline-block;
    max-width: 85%;
    padding: 10px 14px;
    margin-bottom: 8px;
    background: #ffffff;
    border-radius: 0 12px 12px 12px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #303030;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.whatsapp-popup-footer {
    padding: 12px 16px 16px;
    background: #f0f0f0;
}

.whatsapp-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: background 0.3s ease, transform 0.2s ease;
}

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

.whatsapp-start-btn i {
    font-size: 1.3rem;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-navy);
    color: var(--text-light);
    padding: 0;
    border-top: 1px solid #1a1a1c;
}

.footer-main {
    padding: 56px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.25s ease;
}

.footer-nav a:hover,
.footer-nav a.is-active {
    color: var(--bright-red);
}

.footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px;
}

.footer-company {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.35;
}

.footer-address {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 320px;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 8px;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.15rem;
    transition: color 0.25s ease;
}

.footer-social a:hover {
    color: var(--bright-red);
}

.footer-tagline-mini {
    margin-top: 8px;
    color: #c9a227;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-cta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-response-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--bright-red);
}

.footer-phone {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--bright-red);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.25s ease;
}

.footer-phone:hover {
    opacity: 0.85;
}

.footer-phone-alt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-phone-alt:hover {
    color: var(--text-light);
}

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    text-align: center;
    background: #0b0b0c;
}

.footer-credit {
    margin: 0;
    font-size: 0.8rem;
    color: #666666;
}

.footer-credit .footer-heart {
    color: var(--bright-red);
    margin: 0 3px;
    font-size: 0.75rem;
}

.footer-credit a {
    color: #999999;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.footer-credit a:hover,
.footer-credit a:focus {
    color: var(--text-light);
}

.contact-details a:hover {
    color: var(--bright-red);
}

/* --- Security Page Loader --- */
html.skip-loader #pageLoader {
    display: none;
}

body.loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1a1a22 0%, var(--dark-navy) 55%, #080809 100%);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(196, 0, 29, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 0, 29, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 75%);
}

.loader-scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bright-red), transparent);
    box-shadow: 0 0 20px var(--bright-red);
    animation: loaderScan 1.8s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes loaderScan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}

.loader-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 360px;
}

.loader-radar {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 28px;
}

.loader-radar-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(196, 0, 29, 0.35);
    border-radius: 50%;
    animation: loaderPulse 1.6s ease-out infinite;
}

.loader-radar-ring--delay {
    animation-delay: 0.8s;
}

@keyframes loaderPulse {
    0% { transform: scale(0.55); opacity: 0.9; }
    100% { transform: scale(1.15); opacity: 0; }
}

.loader-radar-sweep {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(196, 0, 29, 0.45) 50deg, transparent 80deg);
    animation: loaderSweep 1.4s linear infinite;
}

@keyframes loaderSweep {
    to { transform: rotate(360deg); }
}

.loader-shield {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
    filter: drop-shadow(0 0 12px rgba(196, 0, 29, 0.5));
}

.loader-shield .fa-shield-halved {
    animation: loaderShieldPulse 1.2s ease-in-out infinite;
}

.loader-lock {
    position: absolute;
    font-size: 0.95rem;
    bottom: 34px;
    color: var(--bright-red);
    opacity: 0;
    animation: loaderLockSnap 1.8s ease forwards;
}

@keyframes loaderShieldPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes loaderLockSnap {
    0%, 65% { opacity: 0; transform: scale(0.5); }
    80%, 100% { opacity: 1; transform: scale(1); }
}

.loader-logo {
    display: block;
    width: 110px;
    height: auto;
    margin: 0 auto 16px;
    object-fit: contain;
    border-radius: 6px;
    opacity: 0;
    animation: loaderFadeUp 0.5s ease 0.2s forwards;
}

.loader-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 20px;
    opacity: 0;
    animation: loaderFadeUp 0.5s ease 0.2s forwards;
}

.loader-status {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #aaaaaa;
    text-transform: uppercase;
    margin-bottom: 16px;
    min-height: 1.2em;
}

.loader-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 14px;
}

.loader-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-red), var(--bright-red));
    border-radius: 3px;
    animation: loaderProgress 1.7s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(196, 0, 29, 0.6);
}

@keyframes loaderProgress {
    0% { width: 0; }
    40% { width: 45%; }
    75% { width: 82%; }
    100% { width: 100%; }
}

.loader-secure {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--bright-red);
    text-transform: uppercase;
    opacity: 0;
    animation: loaderFadeUp 0.4s ease 1.5s forwards;
}

.loader-secure i {
    margin-right: 6px;
}

@keyframes loaderFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .hero-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-tabs {
        grid-template-columns: 1fr;
    }

    .form-tab {
        font-size: 0.82rem;
    }

    .contact-form-container {
        padding: 24px 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .footer-nav ul {
        align-items: center;
    }

    .footer-cta {
        align-items: center;
        text-align: center;
    }

    .footer-main {
        padding: 44px 0 36px;
    }

    .hero-section {
        clip-path: none;
        min-height: 70vh;
        min-height: 70dvh;
        padding: 80px 0 90px 0;
    }
    .hero-overlay {
        background:
            radial-gradient(ellipse at center, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.78) 100%),
            linear-gradient(180deg, rgba(8, 8, 10, 0.45) 0%, rgba(8, 8, 10, 0.75) 100%);
    }
    .hero-bg {
        top: -10%;
        height: 120%;
    }
    .hero-availability {
        flex-wrap: wrap;
        font-size: 0.8rem;
    }
    .services-section {
        clip-path: none;
        padding-top: 60px;
    }
    .about-section {
        margin-top: 0;
        padding-top: 60px;
    }
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1001;
        width: min(300px, 85vw);
        height: 100%;
        height: 100dvh;
        padding: 90px 28px 32px;
        background-color: var(--dark-navy);
        border-left: 2px solid var(--primary-red);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        overflow-y: auto;
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .main-nav .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .main-nav .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav .nav-links a.btn-secondary {
        margin-top: 12px;
        text-align: center;
        border-bottom: none;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
    }

    .top-bar-right {
        gap: 12px;
    }

    .top-bar-tagline {
        font-size: 0.72rem;
        letter-spacing: 1px;
        order: -1;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .logo-img {
        width: 44px;
        height: 44px;
    }

    .hero-availability {
        font-size: 0.82rem;
    }

    .page-banner h1 {
        font-size: 1.75rem;
    }

    .service-statement {
        font-size: 0.95rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .stats-grid {
        flex-direction: column;
        gap: 25px;
    }
    .stat-divider {
        width: 50%;
        height: 1px;
    }

    .gallery-item {
        height: 240px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }

    .lightbox-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .lightbox-caption {
        font-size: 0.9rem;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }

    .whatsapp-widget {
        right: 16px;
        bottom: 80px;
    }

    .whatsapp-fab {
        width: 54px;
        height: 54px;
        font-size: 1.75rem;
    }

    .whatsapp-popup {
        width: min(300px, calc(100vw - 32px));
        bottom: 66px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .bounce-icon {
        animation: none;
    }

    .hero-bg {
        top: 0;
        height: 100%;
        transform: none !important;
    }

    .main-nav,
    .nav-overlay,
    .menu-toggle-bar {
        transition: none;
    }

    .loader-scanline,
    .loader-radar-ring,
    .loader-radar-sweep,
    .loader-shield .fa-shield-halved,
    .loader-lock,
    .loader-logo,
    .loader-brand,
    .loader-progress-bar,
    .loader-secure {
        animation: none;
    }

    .loader-brand,
    .loader-logo,
    .loader-secure,
    .loader-lock {
        opacity: 1;
        transform: none;
    }

    .loader-progress-bar {
        width: 100%;
    }

    .gallery-lightbox,
    .lightbox-content {
        transition: none;
    }

    .back-to-top {
        transition: none;
    }

    .whatsapp-popup,
    .whatsapp-fab {
        transition: none;
    }
}