/* =================================================
   styles.css  —  Global / Common Styles Only
   Aberdeen Holdings
   ================================================= */

/* --- Variables --- */
:root {
    --primary-color: #014f6e;
    --primary-light: #026b95;
    --primary-dark: #00364c;
    --secondary-color: #1bbfdd;
    --secondary-light: #44cde7;
    --secondary-dark: #129bb5;
    --dark-color: #000000;
    --light-color: #f3f7fa;
    --white-color: #ffffff;
    --gray-color: #718096;
    --gray-light: #e2e8f0;
    --gray-dark: #2d3748;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.25;
}

h1 {
    font-size: 65px;
    font-weight: 600;
}

h2 {
    font-size: 45px;
    font-weight: 600;
}

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

/* --- Utilities --- */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--white-color) !important;
}

.text-black {
    color: var(--dark-color) !important;
}

.text-white-mute {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 34px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    /* Pill-shaped */
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn i {
    font-size: 14px;
    margin-left: 2px;
    transition: transform 0.3s ease;
}

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

/* Specific overlay background for primary button */
.btn-primary::before {
    background-color: var(--white-color);
}

.btn-primary:hover {
    color: var(--primary-color);
    border-color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover::before {
    left: 0;
}

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

/* Custom class modifier for the About Us, Hero banner, Contact page, and Team section button hover slide color */
.about-section .btn-primary::before,
.hero-slider-section .btn-primary::before,
.people-section .btn-primary::before,
.contact-main-section .btn-primary::before {
    background-color: var(--secondary-color);
    /* Light blue / Teal */
}

.about-section .btn-primary:hover,
.hero-slider-section .btn-primary:hover,
.people-section .btn-primary:hover,
.contact-main-section .btn-primary:hover {
    color: var(--dark-color);
    /* Dark text for contrast against light blue background */
    border-color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(27, 191, 221, 0.3);
}

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

.btn-outline:hover {
    color: var(--dark-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 191, 221, 0.3);
}

.btn-outline:hover::before {
    left: 0;
}

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

.btn-block {
    display: flex;
    width: 100%;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--secondary-color);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Default alignment */
    margin-bottom: 48px;
}

.section-header.text-center {
    align-items: center;
    /* Center-align flex items (like section-tag) when text-center is active */
    text-align: center;
}

.section-title {
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: var(--dark-color);
}

.section-desc {
    font-size: 16px;
    color: var(--gray-color);
    max-width: 850px;
    margin-top: 0;
    margin-bottom: 0;
}

/* =================================================
   GLOBAL SCROLL ANIMATIONS
   ================================================= */

/* --- Base state: hidden before animation --- */
[data-anim] {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* --- Directional starting positions --- */
[data-anim="fade-up"] {
    transform: translateY(50px);
}

[data-anim="fade-down"] {
    transform: translateY(-40px);
}

[data-anim="fade-left"] {
    transform: translateX(60px);
}

[data-anim="fade-right"] {
    transform: translateX(-60px);
}

[data-anim="fade-in"] {
    transform: none;
}

[data-anim="zoom-in"] {
    transform: scale(0.88);
}

[data-anim="zoom-up"] {
    transform: scale(0.92) translateY(30px);
}

/* --- Triggered state: visible --- */
[data-anim].is-visible {
    opacity: 1;
    transform: none !important;
}

/* --- Delay helpers (applied as data-delay="Nms") --- */
[data-delay="100"] {
    transition-delay: 0.10s;
}

[data-delay="150"] {
    transition-delay: 0.15s;
}

[data-delay="200"] {
    transition-delay: 0.20s;
}

[data-delay="250"] {
    transition-delay: 0.25s;
}

[data-delay="300"] {
    transition-delay: 0.30s;
}

[data-delay="350"] {
    transition-delay: 0.35s;
}

[data-delay="400"] {
    transition-delay: 0.40s;
}

[data-delay="450"] {
    transition-delay: 0.45s;
}

[data-delay="500"] {
    transition-delay: 0.50s;
}

[data-delay="600"] {
    transition-delay: 0.60s;
}

[data-delay="700"] {
    transition-delay: 0.70s;
}

[data-delay="800"] {
    transition-delay: 0.80s;
}

/* --- Stagger container: children auto-staggered by JS --- */
[data-anim-stagger]>* {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-anim-stagger].is-visible>* {
    opacity: 1;
    transform: none;
}

/* Legacy scroll-reveal compatibility (kept for any existing classes) */
.scroll-reveal {
    opacity: 1;
}


/* =================================================
   HEADER
   ================================================= */
#header-corporate {
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

#header-corporate.scrolled {
    position: fixed;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

#header-corporate.scrolled .header-top-bar,
#header-corporate.scrolled .header-info-bar {
    display: none;
}

#header-corporate.scrolled .header-nav-bar {
    border-bottom: 2px solid var(--secondary-color);
}

/* Top Bar */
.header-top-bar {
    background-color: #070a12;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-welcome p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 400;
}

.top-bar-socials {
    display: flex;
    gap: 16px;
}

.top-bar-socials a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: var(--transition-smooth);
}

.top-bar-socials a:hover {
    color: var(--secondary-color);
}

/* Info Bar */
.header-info-bar {
    background-color: #fff;
    height: 90px;
    position: relative;
    overflow: hidden;
}

.header-info-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 260px);
    height: 100%;
    background-color: var(--primary-color);
    clip-path: polygon(60px 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

.header-info-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 0 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo-polygon {
    height: 100%;
    display: flex;
    align-items: flex-start;
    min-width: 280px;
    padding: 10px 60px 10px 0px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
}

.corporate-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.info-blocks-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    padding-left: 40px;
    height: 100%;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white-color);
    height: 100%;
    padding: 0 32px;
    position: relative;
}

.info-block+.info-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.info-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.info-block:hover .info-icon {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
}

.info-text span {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.info-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--white-color);
    white-space: nowrap;
}

/* Nav Bar */
.header-nav-bar {
    background-color: #0b0f19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.header-nav-bar .nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100%;
}

.header-nav-bar .nav-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--white-color);
    position: relative;
    padding: 18px 0;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-nav-bar .nav-item:hover,
.header-nav-bar .nav-item.active {
    opacity: 1;
    color: var(--secondary-color);
}

.header-nav-bar .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.header-nav-bar .nav-item:hover::after,
.header-nav-bar .nav-item.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-action-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    font-size: 16px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.nav-action-btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-color: var(--secondary-color);
}

.get-quote-btn {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
    border-radius: 50px;
    /* Modern Pill Shape */
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.get-quote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
    z-index: -1;
}

.get-quote-btn i {
    transition: transform 0.3s ease;
}

.get-quote-btn:hover {
    color: var(--white-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 79, 110, 0.3);
}

.get-quote-btn:hover::before {
    left: 0;
}

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

/* Desktop Dropdown */
@media (min-width: 769px) {
    .header-nav-bar .dropdown {
        position: relative;
    }

    .header-nav-bar .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        width: 250px;
        background-color: #0b0f19;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }

    .header-nav-bar .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background-color: #0b0f19;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-nav-bar .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .header-nav-bar .dropdown-menu.mega-menu-2col {
        width: 520px;
        display: flex;
        flex-direction: row;
        gap: 16px;
        padding: 16px 14px;
    }

    .header-nav-bar .dropdown-menu.mega-menu-2col .mega-menu-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .header-nav-bar .dropdown-menu.mega-menu-2col .mega-menu-col+.mega-menu-col {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 16px;
    }

    .header-nav-bar .dropdown-menu a {
        color: rgba(255, 255, 255, 0.9);
        padding: 9px 16px;
        font-size: 13px;
        font-family: var(--font-body);
        font-weight: 500;
        text-transform: none;
        letter-spacing: 0.5px;
        transition: var(--transition-smooth);
        display: block;
        white-space: nowrap;
        position: relative;
        z-index: 1;
        border-radius: 6px;
    }

    .header-nav-bar .dropdown-menu a:hover,
    .header-nav-bar .dropdown-menu a.active {
        background-color: rgba(27, 191, 221, 0.18) !important;
        color: var(--secondary-color) !important;
        padding-left: 20px;
        font-weight: 700;
    }
}

.dropdown-menu a.active {
    background-color: rgba(27, 191, 221, 0.18) !important;
    color: var(--secondary-color) !important;
    font-weight: 700;
}

/* =================================================
   GLOBAL UNIFIED PAGE HERO BANNER SYSTEM
   ================================================= */
.page-hero {
    position: relative;
    padding: 250px 0 50px;
    color: var(--white-color);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    animation: heroImageZoom 18s ease-in-out infinite alternate;
    z-index: 0;
}

.page-hero-container {
    position: relative;
    z-index: 2;
}

@keyframes heroImageZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.06);
    }
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgb(40 67 120 / 45%) 0%, rgba(1, 79, 110, 0.25) 50%, rgb(0 0 0 / 65%) 100%);
    z-index: 1;
}

/* Global Breadcrumb Nav */
.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--white-color);
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumb-nav a {
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.breadcrumb-nav a:hover {
    color: var(--secondary-color);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Global Page Title */
.page-title {
    font-family: var(--font-heading);
    font-size: 60px;
    line-height: 1.1;
    color: var(--white-color);
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 700px;
    padding: 0 24px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--secondary-color);
    color: var(--white-color);
    font-size: 24px;
    padding: 12px 0;
    font-family: var(--font-heading);
    outline: none;
}

.search-close {
    background: transparent;
    border: none;
    color: var(--white-color);
    font-size: 24px;
    cursor: pointer;
    margin-left: 20px;
}

/* Mobile toggle (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* =================================================
   FOOTER
   ================================================= */
.main-footer {
    background-color: #0b0f19;
    color: var(--white-color);
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr 1fr 1.4fr 1.1fr;
    gap: 35px;
    padding-bottom: 50px;
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    height: 110px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.footer-social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    align-items: flex-start;
}

.footer-contact-list li i {
    color: var(--secondary-color);
    font-size: 14px;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact-list li a:hover {
    color: var(--secondary-color);
}

.footer-col-title {
    font-size: 18px;
    color: var(--white-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

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

.footer-col-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40px;
    width: 15px;
    height: 2px;
    background-color: var(--secondary-color);
    opacity: 0.4;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.footer-links a i {
    font-size: 12px;
    color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links a:hover i {
    transform: translateX(4px);
    color: var(--white-color);
}

.footer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 180px;
}

.footer-gallery-img {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
    background-color: rgba(255, 255, 255, 0.05);
}

.footer-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.footer-gallery-img img:hover {
    transform: scale(1.12);
}

.footer-bottom-bar {
    background-color: #070a12;
    padding: 15 px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0px;
}

.copyright-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.copyright-text .text-accent {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.footer-legal-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: var(--secondary-color);
}

.scroll-to-top-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(27, 191, 221, 0.25);
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    cursor: pointer;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* =================================================
   RESPONSIVE — Header & Footer
   ================================================= */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 24px;
        transition: var(--transition-smooth);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.05);
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        margin-top: 10px;
        padding: 5px 0;
        border-radius: 4px;
    }

    .dropdown-menu a {
        display: block;
        padding: 8px 20px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 15px;
        font-weight: 500;
        text-transform: none;
        transition: var(--transition-smooth);
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active,
    .dropdown-menu a.active {
        color: var(--secondary-color) !important;
        background-color: rgba(27, 191, 221, 0.15) !important;
        padding-left: 25px;
        font-weight: 700;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-item {
        font-size: 18px;
        width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal-links {
        margin-left: 0;
    }
}

/* =================================================
   GLOBAL CALL-TO-ACTION (CTA V3 BOUNDED FLOATING CARD DESIGN)
   ================================================= */
.cta-v3-section {
    padding: 90px 0px;
    background-color: #ffffff;
    position: relative;
    z-index: 5;
}

.cta-v3-card {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(135deg, #070c16 0%, #014f6e 65%, #050912 100%);
    padding: 55px 65px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(1, 79, 110, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-v3-accent-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 191, 221, 0.3) 0%, rgba(1, 79, 110, 0.1) 50%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.cta-v3-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 1;
}

.cta-v3-ring-1 {
    width: 380px;
    height: 380px;
    bottom: -150px;
    right: -80px;
}

.cta-v3-ring-2 {
    width: 550px;
    height: 550px;
    bottom: -220px;
    right: -150px;
}

.cta-v3-inner {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-v3-text {
    max-width: 620px;
}

.cta-v3-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 191, 221, 0.15);
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(27, 191, 221, 0.3);
    margin-bottom: 18px;
}

.cta-v3-heading {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--white-color);
    line-height: 1.25;
    margin-bottom: 12px;
}

.cta-v3-heading .highlight {
    color: var(--secondary-color);
}

.cta-v3-subtext {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.cta-v3-button-wrapper {
    flex-shrink: 0;
}

.cta-v3-btn.btn-primary {
    background-color: var(--white-color) !important;
    color: var(--primary-color) !important;
    padding: 16px 36px;
    font-size: 15px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: none;
}

.cta-v3-btn.btn-primary::before {
    background-color: #e0f7fc !important;
}

.cta-v3-btn.btn-primary:hover {
    color: var(--primary-color) !important;
    background-color: #e0f7fc !important;
    border-color: #e0f7fc !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(224, 247, 252, 0.4);
}

@media (max-width: 991px) {
    .cta-v3-card {
        padding: 40px 30px;
        border-radius: 20px;
    }

    .cta-v3-inner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }

    .cta-v3-heading {
        font-size: 28px;
    }
}

/* =================================================
   COMPREHENSIVE RESPONSIVE ENGINE (MOBILE & TABLET)
   ================================================= */

/* Desktop / Laptop Medium (under 1200px) */
@media (max-width: 1200px) {
    .header-info-bar::after {
        width: 100%;
        clip-path: none;
    }
    .info-blocks-wrapper {
        gap: 20px;
        padding-left: 20px;
    }
    .info-block {
        padding: 0 16px;
    }
    .page-title {
        font-size: 48px !important;
    }
}

/* Tablets (under 992px) */
@media (max-width: 992px) {
    .header-info-bar {
        height: auto;
        padding: 15px 0;
    }
    .header-info-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
    .logo-polygon {
        min-width: auto;
        padding: 0;
        clip-path: none;
        justify-content: center;
    }
    .corporate-logo {
        height: 55px;
    }
    .info-blocks-wrapper {
        padding-left: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    .page-hero {
        padding: 180px 0 40px !important;
    }
    .page-title {
        font-size: 42px !important;
    }
}

/* Mobile Screens (under 768px) */
@media (max-width: 768px) {
    /* Header & Mobile Nav Menu */
    .header-info-bar {
        display: none; /* Hide top bar info blocks on mobile for clean UX */
    }
    .header-nav-bar .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #0b0f19;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 0;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .header-nav-bar .nav-menu.active {
        transform: translateX(0);
    }
    .header-nav-bar .nav-item {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .header-nav-bar .dropdown-menu.mega-menu-2col {
        position: static;
        width: 100%;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        border: none;
        background: transparent;
        flex-direction: column;
        padding: 10px 0 0 15px;
        display: none;
    }
    .header-nav-bar .dropdown.active .dropdown-menu.mega-menu-2col {
        display: flex;
    }
    .header-nav-bar .dropdown-menu.mega-menu-2col .mega-menu-col+.mega-menu-col {
        border-left: none;
        padding-left: 0;
    }
    
    /* Page Hero */
    .page-hero {
        padding: 140px 0 35px !important;
    }
    .page-title {
        font-size: 32px !important;
    }
    .breadcrumb-nav {
        font-size: 12px;
        padding: 4px 14px;
    }

    /* Grids & Cards */
    .companies-bento-grid,
    .contact-info-grid,
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Floating Scroll Top Button */
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Extra Small Phones (under 480px) */
@media (max-width: 480px) {
    .page-hero {
        padding: 120px 0 30px !important;
    }
    .page-title {
        font-size: 26px !important;
    }
    .cta-v3-card {
        padding: 30px 20px;
    }
    .cta-v3-heading {
        font-size: 22px;
    }
}