/* Color Variables based on your Logo */
:root {
    --navy: #0B1F3B;      /* From Logo main text */
    --red: #C53030;       /* From Logo tagline */
    --light-blue: #F0F4F8;
    --text-dark: #1F2933;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.icon-box i,
.b-icon i,
.info-item .icon i {
  font-size: 22px;
  color: #1f3c88; 
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 { 
    font-family: 'Montserrat', sans-serif; 
}

/* Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background: transparent;
    transition: all 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- ADDED: Hides hamburger on Desktop --- */
.menu-toggle {
    display: none;
}

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: auto; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}

.navbar.scrolled {
    background: var(--white);
    padding: 5px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo img { 
    height: 70px;
    width: auto;
    border-radius: 50px;
    transition: 0.3s ease;
}

.navbar.scrolled .nav-links a { 
    color: var(--text-dark); 
}

.nav-links { 
    display: flex; 
    list-style: none; 
    align-items: center; 
}
.nav-links li { 
    margin-left: 30px; 
    position: relative; 
}
.nav-links a { 
    text-decoration: none; 
    color: var(--navy); 
    font-weight: 500; 
    letter-spacing: 0.5px; 
    transition: 0.3s; 
}

/* Dropdown Logic */
.dropdown-menu {
    position: absolute;
    top: 100%;
    background: var(--white);
    display: none;
    min-width: 220px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
}
.dropdown:hover .dropdown-menu { 
    display: block; 
    animation: fadeInUp 0.3s ease; 
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&w=1600') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(to right, rgba(11, 31, 59, 0.9), rgba(11, 31, 59, 0.4));
}

.hero-content {  
    position: relative;  
    z-index: 2;  
    display: flex;
    flex-direction: column;  
    align-items: flex-start;
    max-width: 700px;
    padding: 120px 20px 20px; 
}
.hero h1 { 
    font-size: 4rem; 
    line-height:1.1; 
    margin-bottom: 25px; }
.highlight { 
    color: var(--red); 
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary { 
    background: var(--red); 
    color: white; 
}
.btn-secondary { 
    background: transparent; 
    color: white; 
    border: 2px solid white; 
}
.btn-secondary:hover { 
    background: white; 
    color: var(--navy); 
}

/* Animation Classes */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease-out; 
}
.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.btn-red { 
    background: var(--red); 
    color: white !important; 
    padding: 12px 25px; 
    border-radius: 5px; 
}

.btn-red:hover { 
    background: #a02626; 
    transform: translateY(-3px); 
}

/* Layout Helpers */
.flex-column { 
    flex-direction: column; 
    text-align: center; 
}

/* Services Section */
.services-section { 
    padding: 80px 0; 
    background-color: var(--light-blue); 
}

.section-header { 
    margin-bottom: 50px; 
}

.section-header h5 { 
    color: var(--red); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.4s ease;
    text-align: left;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--red);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 25px;
    transition: 0.3s ease;
}

.icon-box i { font-size: 32px; color: var(--navy); }
.service-card:hover .icon-box { background: var(--red); }
.service-card:hover .icon-box i { color: var(--white); }

/* About Us Section */
.about-section { padding: 100px 0; }
.about-image { flex: 1; position: relative; padding-right: 50px; }
.about-image img { width: 100%; border-radius: 15px; }

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    background: var(--navy);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.about-content { 
    flex: 1.2; 
}

.mission-vision { 
    display: flex; 
    gap: 20px; 
    margin: 30px 0; 
}

.mv-item { 
    background: #f9f9f9; 
    padding: 20px; 
    border-left: 4px solid var(--navy); 
}

/* Certifications Section with 3D Carousel */
.certificates-section {
  background: #f6f8fb;
  padding: 80px 0;
}

.cert-wrapper {
  display: flex;
  justify-content: center;
}

.cert-img {
  max-width: 820px;
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* Arrow visibility */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .cert-img {
    height: 300px;
    padding: 20px;
  }
}


/* Regional Coverage Styling */

.regions-section .section-label {
  margin-top: 1.5rem;
}

.regions-section {
    padding: 80px 0;
    background-color: var(--light-blue);
}
.regions-grid {
  display: grid;
  /* Automatically fits as many cards as possible, minimum 280px wide */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 2rem;
  width: 100%;
  margin-top: 3rem;
}

.region-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.region-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--highlight-color); /* Use your theme color here */
}

.flag-wrapper {
  width: 80px;
  height: 50px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.flag-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.region-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #333;
}

.city {
  font-weight: 700;
  color: var(--highlight-color); /* Matches your "Operational Reach" text */
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Why Choose Us Styling */
.why-section {
    padding: 100px 0;
    background-color: var(--navy);
    color: var(--white);

}

.why-section .container {
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Counter Grid */
.why-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 10px;
}

/* Benefit List */
.why-content { 
    flex: 1.2; 
}

.benefit-list { 
    margin-top: 30px; 
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.b-icon {
    font-size: 24px;
    background: var(--red);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}


/* Contact Section Styling */
.contact-section { 
    padding: 100px 0; 
    background: var(--light-blue); 
}

.contact-info { 
    flex: 1; 
    padding-right: 50px; 
}
.info-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
    margin-bottom: 30px; 
}

.info-item .icon {
    font-size: 24px;
    color: var(--red);
    background: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form {
    flex: 1.2;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.form-group { 
    margin-bottom: 20px; 
}

input, select, textarea { 
    width: 100%; 
    padding: 15px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-family: 'Inter', sans-serif; 
    font-size: 16px; 
    transition: 0.3s; 
}

input:focus, select:focus, textarea:focus { 
    border-color: var(--red); 
    outline: none; 
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--red);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Footer Styling */

.main-footer {
    background-color: var(--navy);
    color: #e0e0e0;
    padding: 80px 0 0;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    height: 70px;
    background: var(--white); 
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.footer-motto {
    font-style: italic;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--red);
}

.footer-col ul { 
    list-style: none; 
}

.footer-col ul li { 
    margin-bottom: 12px; 
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--red);
    padding-left: 5px;
}

.footer-registration {

    margin-top: 20px;
    border: 1px dashed rgba(255,255,255,0.3);
    padding: 10px;
    display: inline-block;

}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
}

.social-links a {
  text-decoration: none;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4; /* Light background for the circle */
  color: #333; /* Icon color */
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
}

/* Premium Hover Effects */
.social-links a:hover {
  transform: translateY(-5px);
  background-color: var(--highlight-color); /* Your theme color */
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--highlight-color);
}

/* Specific Brand Colors on Hover (Optional) */
.social-links a:hover .fa-facebook { color: #fff; }
.social-links a:hover .fa-whatsapp { background-color: #25D366; border-color: #25D366; }
.social-links a:hover .fa-tiktok { background-color: #000; border-color: #000; }

/* Bottom Bar */
.footer-bottom {

    background-color: #05101f; /* Darker Navy */
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);

}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.mt-20 { margin-top: 20px; }



/* --- MOBILE & TABLET OPTIMIZATIONS --- */
@media (max-width: 768px) {
    
    .container {
        flex-direction: column;
        text-align: center;
    }

    .nav-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 95%;
        height: 70px;
        padding: 0 15px;
    }

    /* Shows hamburger ONLY on mobile */
    .menu-toggle {
        display: block !important;
        font-size: 26px;
        color: var(--navy);
        z-index: 1100;
        cursor: pointer;
    }

    .nav-links {
        display: none; 
        flex-direction: column !important;
        position: fixed;
        top: 0;
        left: -100%; 
        width: 80%;
        height: 100vh;
        background: #ffffff !important; 
        padding: 100px 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        text-align: left;
    }

    .nav-links.active {
        display: flex !important;
        left: 0;
    }

    .nav-links li {
        margin: 15px 0 !important;
        margin-left: 0 !important;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.2rem !important;
        color: var(--navy) !important;
        font-weight: 600;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links .btn-red {
        display: inline-block;
        margin-top: 20px;
        text-align: center;
        border-bottom: none;
    }

    .hero {
        height: auto !important;
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .hero-content {
        align-items: center !important;
        padding: 0 20px;
        max-width: 100%;
    }

    .hero h1 { font-size: 2.2rem !important; text-align: center; }
    .hero p { font-size: 1.1rem !important; text-align: center; }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-primary, .btn-secondary { width: 100%; text-align: center; }

    .about-image, .about-content, .contact-info, .contact-form, .why-stats, .why-content {
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 30px;
    }

    .services-grid, .why-stats { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr !important; text-align: center; }
}