:root {
    --gold: #ffa600;
    --dark-blue: #002366;
    --light-blue: #a6bff5;
    --dark-light-blue: #d6d4d056;
}

/* Reset & Base */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.circle::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    opacity: 0.7;
    animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
}

.circle-1 { background-color: #ec9b4e; }
.circle-1::before { background-color: #ec9b4e; animation-delay: 200ms; }
.circle-2 { background-color: #f1953f; }
.circle-2::before { background-color: #f1953f; animation-delay: 400ms; }
.circle-3 { background-color: #f18927; }
.circle-3::before { background-color: #f18927; animation-delay: 600ms; }
.circle-4 { background-color: #ec892c; }
.circle-4::before { background-color: #ec892c; animation-delay: 800ms; }
.circle-5 { background-color: #e67812; }
.circle-5::before { background-color: #e67812; animation-delay: 1000ms; }

@keyframes scale {
    0% { transform: scale(1); }
    50%, 75% { transform: scale(2.5); }
    78%, 100% { opacity: 0; }
}

/* Utility Classes */
.bg-gradient-blue {
    background: linear-gradient(to bottom, #000000 0%, #6e6e6e0a 100%);
}

.text-gold { color: var(--gold); }

.btn-gold {
    background-color: var(--gold);
    color: var(--dark-blue);
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.btn-gold:hover {
    background-color: var(--dark-blue);
    color: white;
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--dark-blue);
}

/* Navbar */
.navbar {
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: rgb(255, 255, 255) !important;
}

.navbar.scrolled .nav-link { color: var(--dark-blue) !important; }

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--gold) !important; 
}

.nav-link {
    color: white;
    font-weight: 500;
    position: relative;
    margin: 0 10px;
    transition: all 0.3s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gold);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.logo {
    width: 100px;
    height: 70px;
    transition: all 0.3s;
}

.navbar.scrolled .logo {
    width: 80px;
    height: 60px;
}

.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='rgba%28255, 215, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: var(--dark-blue);
        padding: 20px;
        border-radius: 5px;
        margin-top: 10px;
    }

    .nav-link {
        margin: 5px 0;
        padding: 10px 0;
        color: white;
    }

    .navbar.scrolled {
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        background: rgb(255, 255, 255) !important;
    }

    .navbar.scrolled .nav-link {
        color: white !important;
    }

    .navbar.scrolled .nav-link:hover,
    .navbar.scrolled .nav-link.active {
        color: var(--gold) !important; 
    }
    .navbar-toggler{
        color: white;
    }

    .contact-section h4{
        text-align: center;
    }
    .contact-section-info p{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-section-info i {
        margin-bottom: 5px;
        margin-right: 0 !important;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 100px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Section Background */
.section-bg { background-color: var(--dark-light-blue); }

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    min-height: 100vh;
}

.hero-slider-images {
    position: absolute;
    width: 100%;
    height: 100%;
}

.mobile-hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.slide-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: zoomEffect 15s infinite;
    background-attachment: scroll;
}

.slide-img.active { opacity: 1; }

@keyframes zoomEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.603) 40%, rgba(255, 255, 255, 0.425) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    top: 50px;
}

.hero-section h1 { font-size: 50px; }
.hero-section p { font-size: 18px; }

@media (max-width: 767.98px) {
    .hero-section .container {
        padding-top: 100px; /* Give space for navbar */
        top: 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Section Title */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--gold);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Other Classes */
.about-content { text-align: justify; }

.job-category {
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 5px 15px rgba(77, 76, 76, 0.308);
    margin-bottom: 30px;
    height: 100%;
}

.job-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(58, 57, 57, 0.13);
    background-color: rgba(184, 189, 206, 0.39);
    color: var(--dark-blue);
}

.job-category i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.job-category h4 {
    color: #000000;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 10px;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.country-flag {
    width: 130px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin: 0 45px;
}

.country-flag:hover {
    transform: scale(1.1);
}

.flag-section {
    background-image: url('images/flag-bg.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.flag-section::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 9, 32, 0.425);
    z-index: -1;
}

/* Add this to ensure content is above the overlay */
.flag-section > .container {
    position: relative;
    z-index: 2;
}

.flag-section p{
    color: white;
}

.counter-item {
    text-align: center;
    padding: 20px;
}

.counter-bg {
    background-color: var(--dark-blue);
}

.counter-item p {
    font-size: 1.2rem;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
}

.process-step {
    position: relative;
    padding-left: 120px;
    margin-bottom: 40px;
}

.process-step h4 {
    color: var(--dark-blue);
}

.process-step-number {
    position: absolute;
    left: 30px;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: var(--gold);
    color: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.recruitment-img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease-in-out;
}

.mission-box {
    position: relative;
    bottom: 0;
    left: 0;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 800px;
}

.list-unstyled a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.list-unstyled a:hover {
    color: var(--gold) !important;
    transform: translateX(5px);
}

.icon-list-unstyled a {
    color: white;
    text-decoration: none;
    display: inline-block;
    width: 40px;
    height: 40px;
    font-size: larger;
    margin-top: 10px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    background-color: #0505054f;
}

.icon-list-unstyled a:hover {
    color: #00008B !important;
    background-color: var(--gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: larger;
    color: var(--light-blue);
}

.icon-list-unstyled i {
    margin: 10px;
}

/* Contact Section */
.contact-section-bg {
    background-image: url('images/contact-bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.contact-section-bg::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 13, 48, 0.781);
    z-index: 1;
}

.contact-section-bg > .container {
    position: relative;
    z-index: 2;
}

.contact-info-container {
    max-width: 500px;
    margin: 0 auto;
}

.contact-section-info {
    align-items: flex-start;
}

.contact-section-bg .section-title,
.contact-section-bg p,
.contact-section-bg ,h4 {
    color: white;
}

.contact-section-bg .card {
    background: rgba(110, 110, 110, 0.301);
}

.contact-section-bg .card label {
    color: white;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
}

.footer-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    margin-top: -40px !important;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-blue);
    transform: translateY(-5px);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--gold) !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev { left: -50px; }
.carousel-control-next { right: -50px; }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60%;
    background-color: var(--gold) !important;
    color: var(--dark-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23002366' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23002366' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}

@media (max-width: 767.98px) {
    /* Make controls smaller on mobile */
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    /* Adjust icon size */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 35px;
        height: 35px;
        background-size: 50%;
    }
    
    /* Position controls closer to the content */
    .carousel-control-prev {
        left: 5px;
    }
    
    .carousel-control-next {
        right: 5px;
    }
}


