/* CROW Design System for RENATECH DEV WEBSITE */

:root {
    --primary-blue: #00A5D7;
    --dark-text: #1a1a1a;
    --light-text: #1a1a1a;
    --bg-grey: #f8f9fa;
    --bg-white: #ffffff;
    --bg-white-rgb: 255, 255, 255;
    --white: #ffffff;
    --border-color: #eee;
    --font-main: 'proxima-nova', sans-serif !important;
    --mdb-btn-box-shadow: none !important;
    --mdb-btn-box-shadow-active: none !important;
}

body.dark-mode {
    --dark-text: #e0f2f1;
    --light-text: #e0f2f1;
    --bg-grey: #001220;
    /* Deep Navy */
    --bg-white: #0a192f;
    /* Dark Navy */
    --bg-white-rgb: 10, 25, 47;
    --border-color: #1e3a5a;
    --card-bg: #112240;
    background-color: #001220;
    color: #e0f2f1;
}

body {
    font-family: var(--font-main) !important;
    color: var(--dark-text);
    line-height: 1.6;
    padding-top: 70px;
    background-color: var(--bg-white);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden !important;
    /* Prevent horizontal scroll */
}

html {
    overflow-x: hidden !important;
}

@media (max-width: 576px) {
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

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


.footer_brand .d-flex.align-items-center.mb-3 img {
    max-width: 10% !important;
}
/* Navbar */
.navbar {
    background: rgba(var(--bg-white-rgb), 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 1050 !important;
    min-height: 70px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-text) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
    border: none !important;
    box-shadow: none !important;
}

.dropdown-item {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-blue);
    color: var(--white) !important;
}

.navbar .btn.nav-link:focus,
.navbar .btn.nav-link:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Global button cleanup to remove square shadows/borders */
.btn,
.btn-group .btn {
    --mdb-btn-box-shadow: none !important;
    --mdb-btn-box-shadow-active: none !important;
    --mdb-btn-hover-box-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
}

.btn:focus,
.btn:hover,
.btn:active,
.btn-check:checked+.btn {
    --mdb-btn-hover-box-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* Specific fix for btn-group shadows */
.btn-group,
.btn-group-vertical,
.btn-group.gap-3 .btn,
.btn-group.gap-3 .btn:hover,
.btn-group.gap-3 .btn:focus,
.btn-group.gap-3 .btn:active {
    --mdb-btn-box-shadow: none !important;
    --mdb-btn-box-shadow-active: none !important;
    --mdb-btn-hover-box-shadow: none !important;
    --mdb-btn-focus-box-shadow: none !important;
    --mdb-btn-active-box-shadow: none !important;
    box-shadow: none !important;
}

.btn_border {
    border: 2px solid var(--primary-blue) !important;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.btn_primary {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Increased space below buttons as requested */
}

/* Logo Styles */
.navbar-logo {
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.footer-logo {
    max-width: 10%;
}

.partner-logo {
    height: 86px;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .partner-logo {
        height: auto !important;
        max-height: 70px;
    }
}

.btn_primary:hover {
    background-color: #008eb8;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 165, 215, 0.2);
}

.btn_border {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn_border:hover {
    background: var(--primary-blue);
    color: var(--white) !important;
}

.btn-former {
    background-color: var(--white);
    border: 1px solid var(--primary-blue) !important;
    color: var(--primary-blue) !important;
    padding: 10px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 2px var(--white);
    position: relative;
    outline: none !important;
}

.btn-former:hover, 
.btn-former:focus,
.btn-former:active,
.btn-former:not(.collapsed) {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    border: 1px solid var(--primary-blue) !important;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}

body.dark-mode .btn-former {
    background-color: var(--card-bg);
    box-shadow: inset 0 0 0 2px var(--card-bg);
    border-color: var(--primary-blue) !important;
}

body.dark-mode .btn-former:hover,
body.dark-mode .btn-former:focus,
body.dark-mode .btn-former:not(.collapsed) {
    background-color: var(--primary-blue) !important;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.common_hero_logo_banner_section {
    padding: 120px 0 80px;
    background-color: var(--bg-grey);
    overflow: hidden;
}

.common_banner_content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.common_banner_content p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 500px;
}

.colourful,
.highlight-text {
    color: #228f87;
    font-weight: bold;
}

.renatech-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.renatech-link:hover {
    color: var(--primary-blue) !important;
    text-decoration: underline;
}

.hal-text {
    background: linear-gradient(90deg, #ff4b08, #ce4222, #a73838, #81334b, #682e72, #461b8c, #1e1e79);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Sections */
.custome_spacing_sec {
    padding: 80px 0;
}

.bg-grey {
    background-color: var(--bg-grey);
}

.custom_pera_sec {
    text-align: center;
}

.custom_pera_sec h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.custom_pera_sec span {
    color: var(--primary-blue);
}

/* Feature Boxes */
.Streamline_two_box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 24px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.Streamline_two_box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.box_prea_img_area img {
    height: 60px;
    margin-bottom: 25px;
}

.box_prea_heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Case Study Section */
.Case_study_inner_box {
    padding: 60px 0;
}

.Case_study_inner_heading {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.Case_study_inner_box ul {
    list-style: none;
    padding: 0;
}

.Case_study_inner_box ul li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark-text);
    transition: transform 0.3s ease;
}

.Case_study_inner_box ul li:hover {
    transform: translateX(8px);
}

.Case_study_inner_box ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(0, 165, 213, 0.3);
}

.Case_study_inner_box_img {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.Case_study_inner_box_img img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Featured Wrapper */
.feature_box {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.feature_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.feature_box img {
    height: 50px;
    margin-bottom: 15px;
}

.feature_box span {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

/* Dark Mode Overrides */
body.dark-mode .Streamline_two_box,
body.dark-mode .feature_box,
body.dark-mode .timeline-content,
body.dark-mode .member-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--dark-text);
}

body.dark-mode .text-muted {
    color: var(--light-text) !important;
}

body.dark-mode .btn_border {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

body.dark-mode .Case_study_inner_box_content p,
body.dark-mode .Case_study_inner_box_content .lead,
body.dark-mode .common_banner_content p {
    color: var(--dark-text) !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #e0f2f1 !important;
}

body.dark-mode .navbar {
    background: rgba(0, 18, 32, 0.8) !important;
    border-color: var(--border-color);
}

body.dark-mode .navbar-brand,
body.dark-mode .navbar-brand span,
body.dark-mode footer span {
    color: var(--dark-text) !important;
}

body.dark-mode .dark-mode-show {
    color: var(--dark-text) !important;
}

body.dark-mode .swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.5;
}

body.dark-mode .swiper-pagination-bullet-active {
    background: #ffffff !important;
    opacity: 1;
}

/* Fix for specific sections that might have hardcoded bg-white/bg-grey/bg-light classes */
body.dark-mode .bg-white,
body.dark-mode .bg-light {
    background-color: var(--bg-white) !important;
    color: var(--dark-text) !important;
}

body.dark-mode .border,
body.dark-mode .border-top,
body.dark-mode .border-bottom,
body.dark-mode .border-start,
body.dark-mode .border-end {
    border-color: var(--border-color) !important;
}

body.dark-mode .bg-grey {
    background-color: var(--bg-grey) !important;
}

body.dark-mode .text-primary {
    color: #00BFFF !important;
    /* Slightly lighter blue for better contrast on dark */
}

body.dark-mode .btn_primary {
    background-color: #00A5D7;
    color: #ffffff !important;
}

body.dark-mode .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

body.dark-mode .navbar-toggler-icon {
    filter: invert(1) brightness(2) !important;
}

body.dark-mode .footer {
    border-color: var(--border-color);
}

/* Dark Mode Visibility Helpers */
.dark-mode-show {
    display: none !important;
}

body.dark-mode .dark-mode-hide {
    display: none !important;
}

body.dark-mode .dark-mode-show {
    display: block !important;
}

body.dark-mode .dark-mode-show.d-inline-block {
    display: inline-block !important;
}

/* Counter Section */
.counter_success_wrapper {
    background: linear-gradient(135deg, #001f3f 0%, #00a5d7 100%);
    color: white;
}

.counter_box {
    text-align: center;
    padding: 30px;
}

.odometer {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    display: inline-block !important;
    margin-bottom: 0.5rem;
}

.odometer-inside {
    display: inline-flex !important;
    align-items: baseline;
    vertical-align: middle;
}

.odometer[data-suffix]::after {
    content: attr(data-suffix);
    display: inline-block !important;
    font-size: 0.6em;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: 700;
}

.counter_box p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.8;
}

body.dark-mode .counter_success_wrapper {
    background: linear-gradient(135deg, #0a0a0a 0%, #1e2a33 100%);
}

/* Horizontal Timeline */
.horizontal-timeline {
    position: relative;
    padding: 20px 0 0 0;
    /* Reduced padding as requested */
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.horizontal-timeline::-webkit-scrollbar {
    display: none;
}

.timeline-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    min-width: 100%;
}

.horizontal-timeline {
    position: relative;
    padding: 20px 0 0 0;
}

/* Connecting line now on the container to stay static */
.horizontal-timeline .swiper::before {
    content: "";
    position: absolute;
    top: 30px;
    /* Aligned with center of 40px dot + 10px padding */
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-item {
    position: relative;
    padding: 10px 15px 0;
    /* Add 10px top padding to avoid shadow cut-off */
    z-index: 2;
    white-space: normal;
    height: auto;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    margin: 0 auto 30px;
    border: 8px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--primary-blue);
    position: relative;
}

.timeline-content {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.timeline-date {
    display: block;
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.member-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    max-width: 260px;
    min-height: 380px;
    /* Consistent base height, allows growth if content is long */
    margin: 0 auto;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
}

.member-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem !important;
}

.member-image {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 2px solid var(--primary-blue);
    padding: 2px;
}

.member-body {
    padding: 1rem !important;
}

.member-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.member-subtitle {
    font-size: 0.8rem;
    color: var(--primary-blue) !important;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.member-comment {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-muted);
}

/* Base header adjustments */
.common_banner_content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.common_banner_content p {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.85;
    text-align: justify;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.Case_study_inner_box_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    overflow-wrap: break-word;
}

.Case_study_inner_box_content p,
.Case_study_inner_box_content .lead {
    text-align: justify;
}

.lead, .text-muted {
    color: var(--dark-text) !important;
}

/* Ensure text-primary uses the Renatech branding color */
.text-primary {
    color: rgb(0, 165, 215) !important;
}

/* ==========================================================================
   RESPONSIVENESS (Mobile & Tablet)
   ========================================================================== */

/* Large Tablets and smaller (992px) */
@media (max-width: 991.98px) {
    .common_hero_logo_banner_section {
        padding: 20px 0 60px !important;
        text-align: center;
    }

    .common_hero_logo_banner_section .row {
        display: flex !important;
        flex-direction: column !important;
    }

    .home_hero .row {
        flex-direction: column-reverse !important;
        /* Logo above title for home page */
    }

    .common_banner_content h1 {
        font-size: 3rem;
        margin-top: 20px;
    }

    .common_banner_content p {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 2rem !important;
    }

    .common_banner_content .btn-group {
        justify-content: center;
        width: auto;
    }

    .custome_spacing_sec {
        padding: 60px 0 !important;
    }

    .navbar-collapse {
        background: var(--bg-white);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    body.dark-mode .navbar-collapse {
        background: var(--bg-grey);
        border: 1px solid var(--border-color);
    }
}

/* Tablets and Phones (Mobile Optimization) */
@media (max-width: 767.98px) {
    .common_hero_logo_banner_section .row {
        flex-direction: column;
    }

    .home_hero .row {
        flex-direction: column-reverse;
    }

    .common_hero_logo_banner_section .col-md-5 {
        margin-bottom: 30px;
    }

    .header_image img,
    .common_hero_logo_banner_section img {
        max-width: 100%;
        height: auto;
    }

    .common_banner_content h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .btn-group {
        display: flex !important;
        flex-direction: column;
        gap: 15px !important;
        width: 100%;
    }

    .btn-group .btn,
    .btn_primary {
        width: 100% !important;
        margin-bottom: 10px !important;
        padding: 12px 20px;
    }

    .btn_border {
        width: 100% !important;
        margin-bottom: 10px !important;
        padding: 10px 20px;
        border: 2px solid var(--primary-blue) !important;
    }

    .Impact_sec .border-end {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

/* Very Small Phones */
@media (max-width: 480px) {
    .common_banner_content h1 {
        font-size: 2.2rem;
    }

    .display-1 {
        font-size: 3rem !important;
    }

    .common_banner_content p {
        font-size: 1rem;
    }
}

/* Additional Responsive Fixes */
@media (max-width: 575.98px) {
    .horizontal-timeline .swiper::before {
        top: 25px;
    }

    .timeline-dot {
        width: 30px;
        height: 30px;
        border-width: 5px;
    }

    .timeline-content {
        padding: 15px;
    }

    .member-card {
        max-width: 100%;
        height: auto;
        /* Allow auto height on mobile */
    }

    .footer-logo+span {
        display: block;
        margin-top: 5px;
        margin-left: 0 !important;
    }
}

.counter_success_wrapper .row {
    flex-wrap: wrap !important;
}

@media (max-width: 991px) {
    .counter_box {
        padding: 15px 5px;
    }

    .odometer {
        font-size: 2rem;
        display: inline-block !important;
    }

    .counter_box p {
        font-size: 0.8rem;
    }

    .footer-logo+span {
        font-size: 0.8rem;
    }
}

/* FAQ Accordion Styles */
.faq-accordion .accordion-item {
    background: var(--bg-white);
    transition: all 0.3s ease;
    border-radius: 16px !important;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color) !important;
}

.faq-accordion .accordion-button {
    background: var(--bg-white);
    color: var(--dark-text);
    box-shadow: none !important;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.5rem 2rem;
    border-radius: 16px !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--dark-text);
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.faq-accordion .accordion-button::after {
    background-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-blue);
}

.faq-accordion .accordion-body {
    padding: 1.5rem 2rem;
    color: var(--light-text);
    line-height: 1.7;
}

.faq-accordion .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--primary-blue) !important;
}

body.dark-mode .faq-accordion .accordion-item {
    background-color: var(--card-bg);
}

body.dark-mode .faq-accordion .accordion-button {
    background-color: var(--card-bg);
    color: var(--dark-text);
}

body.dark-mode .faq-accordion .accordion-button:not(.collapsed) {
    color: var(--dark-text);
    background-color: var(--card-bg);
}

.faq-accordion .accordion-body {
    color: var(--primary-blue);
    font-weight: bold;
}

body.dark-mode .faq-accordion .accordion-body {
    color: var(--primary-blue);
}

/* Contact Form Styles */
.contact-form-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.contact-form-wrapper.show {
    max-height: 1000px;
    opacity: 1;
    margin-top: 40px;
    padding-bottom: 40px;
}

.contact_card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

body.dark-mode .contact_card {
    background: var(--card-bg);
}

.contact_card .form-label {
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact_card .form-control {
    border-radius: 12px;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-grey);
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.contact_card .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 165, 215, 0.1);
    background: var(--bg-white);
}

body.dark-mode .contact_card .form-control {
    background: rgba(0, 0, 0, 0.2);
    border-color: var(--border-color);
}
/* Hero Video Container */
.hero_video_container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.hero_video_container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Compact Award Section */
.award-compact-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.dark-mode .award-compact-box {
    background: var(--card-bg);
}

/* Deployment Section Styles */
.deployment-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.deployment-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 165, 215, 0.1);
}

.deployment-logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark-text);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.deployment-card:hover .deployment-logo-text {
    color: var(--primary-blue);
}

body.dark-mode .deployment-card {
    background: var(--card-bg);
}

/* Project Text Links */
.project-text-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline;
    margin: 0 0.15rem;
}

.nav-link .project-text-link {
    color: inherit;
}

.project-text-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
    filter: brightness(1.2);
}

/* Footer Background Customization */
footer.bg-grey {
    background-color: #eceff2 !important;
}

body.dark-mode footer.bg-grey {
    background-color: #0c1e35 !important; /* Lighter navy/blue */
}
