/* Home */
:root {
    --primary-color: #007bff;
    --secondary-color: #ff9800;
    --background-color: #f5f5f5;
    --text-color: #333333;
    --cta-color: #ff5722;
    --navbar-bg-color: #ffffff;
    --navbar-text-color: #333333;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 0;
}

/* ── Navbar spacer (pushes content below fixed nav on non-hero pages) ── */
.nav-spacer { height: 76px; }

/* ── Site navbar (dark, glass) ──────────────────────────────────── */
.site-navbar {
    --nav-h: 76px;
    --nav-bg: rgba(0, 0, 0, 0.8);
    --nav-text: #e2e8f0;          /* 13.9:1 on #0f172a */
    --nav-text-hover: #ffffff;
    --nav-accent: #3b82f6;
    --nav-cta: #0d6efd;
    --nav-cta-hover: #3b82f6;
    --nav-border: rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    min-height: var(--nav-h);
    padding: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-navbar > .container { min-height: var(--nav-h); }

.site-navbar.scrolled {
    /* background intentionally unchanged: the navbar never switches theme */
    border-bottom-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Logo: light-text variant of the original artwork, colours untouched */
.site-brand { padding: 0; margin-right: 1rem; display: inline-flex; align-items: center; }
.site-logo {
    height: 28px;
    width: auto;
    aspect-ratio: 397 / 42;
    display: block;
}

/* Nav links */
.site-link {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--nav-text) !important;
    padding: 0.5rem 0.8rem !important;
    position: relative;
    transition: color 0.2s ease;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
}
.site-link i {
    width: 1.1em;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1;
    color: inherit;
    opacity: 0.85;
}
.site-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.8rem;
    right: 0.8rem;
    height: 2px;
    background: var(--nav-accent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.site-link:hover { color: var(--nav-text-hover) !important; }
.site-link.active { color: var(--nav-text-hover) !important; }
.site-link.active::after { opacity: 1; }
.site-link.active i { color: #60a5fa; opacity: 1; }

/* CTA button */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 10px;
    text-decoration: none !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: #fff !important;
    background: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nav-cta-btn i { font-size: 0.85rem; }
.nav-cta-btn:hover,
.nav-cta-btn.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    transform: translateY(-1px);
}

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--nav-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}
.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    border-radius: 7px;
    opacity: 0.6;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}
.lang-btn img { display: block; width: 22px; height: 16px; border-radius: 2px; }
.lang-btn:hover { opacity: 0.9; }
.lang-btn.active {
    opacity: 1;
    background: rgba(59, 130, 246, 0.22);
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.7);
}

/* Visible keyboard focus */
.site-link:focus-visible,
.nav-cta-btn:focus-visible,
.lang-btn:focus-visible,
.site-brand:focus-visible,
.site-toggler:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

/* ── Hamburger toggler ──────────────────────────────────────────── */
.site-toggler {
    padding: 6px 9px !important;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-toggler:hover { background: rgba(255, 255, 255, 0.06) !important; }
.site-navbar .navbar-toggler-icon {
    display: inline-block !important;
    width: 1.5em !important;
    height: 1.5em !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23e2e8f0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.site-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23e2e8f0' stroke-linecap='round' stroke-width='2' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e") !important;
}

/* ── Tablet / mobile menu ───────────────────────────────────────── */
@media (max-width: 991.98px) {
    .site-navbar > .container { flex-wrap: wrap; }
    .site-navbar .navbar-brand { margin-right: auto; }

    #mainNavCollapse {
        padding: 0.5rem 0 1.25rem;
        border-top: 1px solid var(--nav-border);
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }
    .site-link {
        padding: 0.8rem 0.25rem !important;
        border-radius: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        width: 100%;
    }
    .site-link::after { display: none; }
    .site-link.active { color: #60a5fa !important; }
    .nav-cta-btn { margin: 1rem 0 0.25rem; }  /* keeps outlined style */
    .lang-switcher { margin-top: 0.75rem; display: inline-flex; }
}

@media (max-width: 575.98px) {
    .site-navbar { --nav-h: 64px; }
    .nav-spacer { height: 64px; }
    .site-logo { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-navbar, .site-link, .site-link::after, .nav-cta-btn, .lang-btn, .site-toggler {
        transition: none !important;
    }
    .nav-cta-btn:hover, .nav-cta-btn.active { transform: none; }
    .collapsing { transition: none !important; }
}

.carousel {
    height: 700px; 
}

.carousel-inner, .carousel-item {
    height: 100%;
}

.carousel-item img, .carousel-item video {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}


.carousel-item {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 700px; /* Increase the height for a bigger slideshow */
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 20px; /* Adjust the position of the caption */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    width: 60%;
    background: #000000;
    opacity: 0.8;
    z-index: 2; /* Ensure the caption is above the overlay */

}

.carousel-caption h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.carousel-caption .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 20px;
    font-size: 1rem;
}

.carousel-caption .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Adjust the last value (0.5) for transparency */
    z-index: 1;
}


.video-fit {
    object-fit: cover;
    object-position: center;
}

.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

footer {
    background-color: var(--primary-color);
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #FFD700;
    /* Gold color on hover */
}

/* Newsletter Section Contrast Fix */
section.newsletter {
    background-color: #004d00; /* Dark green - WCAG AA compliant */
    color: #ffffff !important;
}

section.newsletter p.lead {
    color: #f0f0f0 !important; /* Slightly off-white for better readability */
    font-weight: 500;
}
  
/* Technologies section styles are in index.php inline <style> */
  
.client-card {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    width: 300px;
    margin: 0 10px;
    flex: 0 0 auto;
}

.client-card img {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    margin-bottom: 15px;
}

.technologies img {
    width: 120px;
    height: 120px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.technologies img:hover {
    transform: scale(1.1);
}

.btn-success {
    background-color: var(--cta-color);
    border-color: var(--cta-color);
}

.btn-success:hover {
    background-color: #e64a19;
    border-color: #e64a19;
}

.client-trail {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.client-trail::-webkit-scrollbar {
    display: none;
}

.client-trail .client-card {
    min-width: 300px;
}

.service-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box h3 {
    margin-bottom: 15px;
}

.service-box p {
    margin-bottom: 20px;
}

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

.service-box .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}


.video-fit {
    height: 55vh; /* Makes video take full viewport height */
    object-fit: cover; /* Ensures video fills the area like an image */
}


 /* Contact */
     
 .contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form .form-control {
    margin-bottom: 15px;
}

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

.contact-form .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.alert {
    transition: opacity 0.5s ease-in-out;
    display: block !important;
}

.alert.fade-out {
    opacity: 0;
}

.language-flag {
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border 0.3s ease;
    cursor: pointer;
}

.language-flag:hover {
    opacity: 0.8;
}

.language-flag.active-lang {
    border-color: #007bff; /* or any highlight color */
}




/* Add to your CSS file */
.alert:empty {
    display: none !important;
}

/* Override Font Awesome's font-display:block (causes 3-second invisible text / FOIT).
   Our style.css loads after FA CSS, so these rules win and let text render immediately
   with a system fallback while the webfonts finish downloading. */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-solid-900.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-solid-900.ttf") format("truetype");
}
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-regular-400.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-regular-400.ttf") format("truetype");
}
@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-brands-400.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-brands-400.ttf") format("truetype");
}

















