:root {
    --bs-primary: #004E89;
    --bs-secondary: #FF6B35;
    --bs-dark: #1A1A2E;
    --bs-light: #F8F9FA;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bs-light);
    color: #212529;
    padding-top: 56px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* Stronger specificity to override Bootstrap's navbar-dark */
.navbar.navbar-expand-lg.navbar-dark .navbar-nav .nav-link {
    color: #004E89 !important;
    transition: color 0.3s ease;
}

.navbar.navbar-expand-lg.navbar-dark .navbar-nav .nav-link:hover,
.navbar.navbar-expand-lg.navbar-dark .navbar-nav .nav-link:focus,
.navbar.navbar-expand-lg.navbar-dark .navbar-nav .nav-link.active {
    color: #FF6B35 !important;
}
.navbar .nav-link {
    font-weight: 700;
}

/* Style the dropdown toggle button */
#languageDropdown {
    color: #004E89;          /* dark blue text */
    font-weight: 600;        /* semi-bold */
    border-color: #004E89;   /* dark blue border */
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

#languageDropdown:hover,
#languageDropdown:focus {
    color: #FF6B35;          /* orange on hover */
    border-color: #FF6B35;   /* orange border on hover */
    background-color: rgba(255, 107, 53, 0.1); /* subtle orange bg on hover */
}
/* Style dropdown items */
.dropdown-item {
    color: #004E89;        /* dark blue text */
    font-weight: 600;      /* semi-bold */
    transition: color 0.3s ease, background-color 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #FF6B35;        /* orange on hover */
    background-color: rgba(255, 107, 53, 0.1); /* subtle orange bg */
}


.navbar {
    --bs-navbar-color: #004E89 !important;          /* dark blue */
    --bs-navbar-hover-color: #FF6B35 !important;    /* orange on hover */
    --bs-navbar-active-color: #FF6B35 !important;   /* orange on active */
}


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

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

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

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

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #002D4A 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.service-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--bs-primary);
}



.contact-card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 78, 137, 0.25);
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.page-header {
    background-color: var(--bs-primary);
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
    text-align: center;
}

.cyber-badge {
    background-color: var(--bs-dark);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .page-header {
        padding: 60px 0;
    }
}
/* Contact Page Specific Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #002D4A 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('/assets/images/contact-pattern.svg') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card:hover .icon-circle {
    transform: rotate(15deg) scale(1.1);
    background-color: var(--bs-secondary);
}

/* Form Validation */
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-hero {
        text-align: center;
        padding: 60px 0;
    }
    
    .contact-hero::before {
        width: 100%;
        opacity: 0.05;
    }
}
.hero {
    position: relative;
    background-color: #002b49; /* Or your current blue background */
    color: white;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 50%;
    height: auto;
    object-fit: contain;
    z-index: 1;
}

@media (max-width: 992px) {
    .hero-img {
        max-width: 80%;
        opacity: 0.3;
        position: absolute;
        right: 0;
        bottom: 0;
    }
}
.hero-img {
    position: absolute;
    right: 2%;
    bottom: 0;
    max-width: 48%;
}
.nis2-list li {
    display: flex;
    align-items: start;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.nis2-list i {
    font-size: 1.25rem;
    color: #004E89; /* Braceroc blue for the icon */
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.nis2-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.commitments-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.commitments-list i {
    color: #FF6B35; /* Braceroc orange */
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.industry-box {
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: default;
    background-color: white; /* clean, borderless look */
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.industry-box:hover {
    background-color: rgba(0, 78, 137, 0.05);
    transform: translateY(-3px);
}

.industry-icon {
    width: 40px;
    height: 40px;
    background-color: #ddd; /* placeholder */
    border-radius: 50%;
    margin: 0 auto;
}

.text-primary {
    color: #004E89 !important;
}

.text-secondary {
    color: #FF6B35 !important;
}
.industry-box {
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: default;
    background-color: white;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.industry-box:hover {
    background-color: rgba(0, 78, 137, 0.05);
    transform: translateY(-3px);
}

/* Orange circular background for icons */
.industry-icon {
    width: 60px;
    height: 60px;
    background-color: #FF6B35; /* Braceroc orange */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.industry-icon img {
    width: 50%;
    height: auto;
    filter: brightness(0) invert(1); /* makes icons white for visibility on orange */
}
.bg-light-orange {
    background-color: #FFF5F0; /* Very light, soft Braceroc orange */
}
/* Hexagon Image Container */
.hexagon-wrapper {
    width: 300px;
    height: 260px; /* Correct hexagon aspect */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.hexagon-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.testimonial-text {
    font-size: 1.1rem;
    color: #333;
    max-width: 90%;
}

#testimonial-next {
    background: none;
    border: none;
    cursor: pointer;
}

#testimonial-next:hover i {
    color: #004E89; /* Braceroc blue on hover */
}

/* Circular Industry Icon with Primary Blue Background */
.industry-icon-circle {
    width: 60px;
    height: 60px;
    background-color: #004E89; /* Braceroc primary blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon-circle img {
    width: 50%;
    height: auto;
    filter: brightness(0) invert(1); /* makes icons white for visibility on blue */
}

.about-us-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px; /* optional for soft edges */
}
.btn-braceroc-primary {
    background-color: #004E89;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-braceroc-primary:hover {
    background-color: #00325d; /* darker blue on hover */
    color: #ffffff;
    transform: translateY(-2px);
}
.about-list img {
    flex-shrink: 0;
    margin-top: 4px;
}

.about-list span {
    font-size: 1rem;
    color: #333;
}

/* Ensure image scales cleanly */
.img-fluid.rounded {
    border-radius: 12px; /* soft rounding */
    max-width: 100%;
    height: auto;
}
.team-card {
    display: flex;
    flex-direction: column;
    border: 2px solid #FF6B35; /* Braceroc orange border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.team-divider {
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, #004E89 50%, #FF6B35 50%);
    margin: 0 auto;
    transform: rotate(-2deg);
}

.team-icon {
    width: 32px;
    height: auto;
    flex-shrink: 0;
}




