﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.lamda {
    background: url('../lib/pexels-aleksejs-bergmanis-681334.html') no-repeat center;
    background-size: cover;
}

.navbar {
    border-bottom: 2px solid silver;
}

.hero {
    background: url('../images/infrastructure-bg.html') no-repeat center center;
    background-size: cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.service-card {
    border: 1px solid silver;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease;
    text-align: center;
    background: linear-gradient(135deg, #0d1b2a, #1b263b, #415a77);
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

a.card-link {
    text-decoration: none;
    color: inherit;
}

.zoomable-map {
    display: block;
    width: 100%;
    height: auto;
    transform-origin: center center;
    animation: zoom-in-out 12s ease-in-out infinite;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&amp;family=Open+Sans:wght@400&amp;display=swap');

/* Body Text */
body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #2E2E2E; /* Dark grey for readability */
    margin: 0;
    padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Bold */
    /*color: black;  Navy blue for authority */
    margin-top: 0;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

/* Responsive Font Sizes */
h1 {
    font-size: clamp(2rem, 4vw, 2.5rem); /* Mobile → Desktop */
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2rem);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h5 {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

@keyframes zoom-in-out {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

 .toggle-icon {
        font-size: 20px;
        font-weight: bold;
        margin-left: 10px;
        transition: transform 0.3s ease;
    }
}

.footer-icon {
    width: 28px;
    height: 28px;
    filter: brightness(1) contrast(1);
    transition: all 0.3s ease;
    cursor: pointer;
}

    /* Chrome 3D Hover */
    .footer-icon:hover {
        transform: scale(1.2);
        filter: drop-shadow(0 0 6px #007bff) drop-shadow(0 0 12px rgba(0, 123, 255, 0.7));
    }

.chrome-text {
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s;
}

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        width: 0%;
        height: 2px;
        left: 0;
        bottom: 0;
        background-color: #007bff;
        transition: width 0.3s;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

    .navbar-nav .nav-link:hover {
        color: #007bff;
    }

.gradient-grey {
    background: linear-gradient(to right, #2e2e2e, #2e2e2e, #e0e0e0);
    min-height: 15vh;
    padding: 50px 0;
    color: #fff; /* white text for good contrast */
}

h2.fw-bold,
h3.fw-bold,
h4.fw-bold {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

    h2.fw-bold::after,
    h3.fw-bold::after,
    h4.fw-bold::after {
        content: "";
        display: block;
        width: 160px; /* underline length */
        height: 2px; /* underline thickness */
        background-color: #4169E1; /* Royal Blue */
        margin: 8px auto 0; /* centers underline */
        border-radius: 2px;
    }
/* Apply same hover highlight effect to footer links */
footer a.text-white.text-decoration-none {
    position: relative;
    transition: color 0.3s ease;
}

    footer a.text-white.text-decoration-none::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -2px;
        left: 0;
        background-color: #0d6efd; /* Bootstrap primary blue (same as navbar highlight) */
        transition: width 0.3s ease;
    }

    footer a.text-white.text-decoration-none:hover {
        color: #0d6efd; /* Change text color on hover */
    }

        footer a.text-white.text-decoration-none:hover::after {
            width: 100%;
        }

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 9999;
    transform: translateY(0);
    opacity: 1;
}

    .cookie-banner .btn-link {
        color: #fff;
        text-decoration: underline;
    }
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* center cards horizontally */
    gap: 2rem;
}

.team-card {
    background: linear-gradient(135deg, #1b263b, #415a77);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    text-align: center;
    width: 500px;
}
    /* Zoom effect for expanded card */
    .team-card.show-profile {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    }

.team-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.team-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 1rem;
    font-weight: 400;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.team-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    text-align: left;
    margin-top: 1rem;
}

.faq-section .card {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq-section .card-header {
    background: linear-gradient(135deg, #1b263b, #415a77);
    cursor: pointer;
}


.faq-section .btn-link {
    background: linear-gradient(135deg, #1b263b, #415a77);
    text-decoration: none;
    font-weight: 600;
    color: white;
}

    .faq-section .btn-link:hover {
        color: #007bff;
    }

.gradient-bg > .container > h2.fw-bold {
    display: block;
    width: 100%;
    text-align: center;
    margin: 2rem 0; /* optional spacing */
}

.toggle-icon {
    font-size: 22px;
    font-weight: bold;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.collapse.show + .card-body .toggle-icon {
    background: linear-gradient(135deg, #1b263b, #415a77);
    color: white;
    content: "-";
}

/* Map styling */
.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.services-card {
    background: linear-gradient(135deg, #0d1b2a, #1b263b, #415a77);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

    .services-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }

/* Slide-in Animations */
.services-slide-left {
    transform: translateX(-80px);
    opacity: 0;
    transition: all 0.9s ease-out;
}

.services-slide-right {
    transform: translateX(80px);
    opacity: 0;
    transition: all 0.9s ease-out;
}

.services-slide-top {
    transform: translateY(-80px);
    opacity: 0;
    transition: all 0.9s ease-out;
}

.services-slide-bottom {
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.9s ease-out;
}

.services-card.services-visible {
    transform: translateX(0) translateY(0);
    opacity: 1;
}
body {
    background: linear-gradient(135deg, #89CFF0, #ffffff, #c0c0c0);
    color: #ffffff;
    min-height: 100vh;
}

/* Project Card */
.projects-card {
    background: linear-gradient(135deg, #1b263b, #415a77);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.9s ease-out;
    opacity: 0;
}

    .projects-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    }

/* Slide Animations */
.projects-slide-left {
    transform: translateX(-80px);
}

.projects-slide-right {
    transform: translateX(80px);
}

.projects-slide-top {
    transform: translateY(-80px);
}

.projects-slide-bottom {
    transform: translateY(80px);
}

.projects-card.visible {
    transform: translateX(0) translateY(0);
    opacity: 1;
}

/* Carousel */
.projects-carousel-img {
    height: 450px;
    object-fit: cover;
    width: 100%;
    border-radius: 12px;
}

/* Expertise Section */
.projects-expertise .col-md-6 {
    background: linear-gradient(135deg, #1b263b, #415a77);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .projects-expertise .col-md-6:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }

.projects-expertise h4 {
    color: #fff;
}

.projects-expertise p {
    color: #f0f0f0;
}

.content-section {
    background: linear-gradient(135deg, #0d1b2a, #1b263b, #415a77);
    border-radius: 10px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    opacity: 0;
    transition: all 0.9s ease-out;
}

/* Slide directions */
.slide-left {
    transform: translateX(-80px);
}

.slide-right {
    transform: translateX(80px);
}

.slide-top {
    transform: translateY(-80px);
}

.slide-bottom {
    transform: translateY(80px);
}

/* When visible */
.content-section.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.content-section h2,
.content-section h4,
.content-section p,
.content-section ul,
.content-section li {
    color: #ffffff;
}

/* Make icons bright silver with subtle glow */
.content-section i {
    color: #C0C0C0;
    font-size: 1.2em;
    text-shadow: 0 0 5px #ffffff;
}

.zoomable-map {
    transition: transform 0.6s ease-in-out;
    cursor: zoom-in;
}

    .zoomable-map:hover {
        transform: scale(1.2);
    }

a.card-link {
    text-decoration: none;
    color: inherit;
}
body.services-body {
    background: linear-gradient(135deg, #89CFF0, #ffffff, #c0c0c0);
    color: #ffffff;
    min-height: 100vh;
}
/* Red border for invalid fields */
.is-invalid {
    border-color: #dc3545 !important;
}

/* Shake animation for empty fields */
@@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.3s;
}