/* --- GLOBAL STYLES --- */
:root {
    --primary-blue: rgb(221, 213, 213);
    --accent-gold: #f5f5f5;
    --govt-orange: #a9a7a0;
    --govt-green: hsl(115, 65%, 56%);
    --light-gray: #faf2f2;
    backdrop-filter: blur(5px);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #0e0101;
}

/* --- HEADER --- */
header {
    /* background-color: var(--primary-blue); */
    color: rgb(6, 8, 12);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1000;
    
}

.top-bar {
    background-color: #abcbeb;
    color: #ccc;
    font-size: 12px;
    text-align: center;
    padding: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
   margin: 0 auto;
    
    padding: 15px 40px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: -1px;
}

.logo span { color: var(--accent-gold); }

nav a {
    color: rgb(29, 23, 23);
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 500;
}

nav a:hover { color: var(--accent-gold); }

/* --- HERO SECTION --- */
.hero {
    min-height: calc(100vh - 70px); /* Full screen minus header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url('https://images.unsplash.com/photo-1485871981535-5be6698a3b34')
        center/cover no-repeat;

    color: #fff;
}
.hero {
    /* ... keep your existing styles ... */
    
    /* Add this for smooth fading */
    transition: background-image 1s ease-in-out;

    /* Ensures the image covers the whole section */
    background-size: cover;
    background-position: center;
}
@keyframes zoomEffect {
    0% { background-size: 100%; }
    100% { background-size: 110%; } /* Zooms in slightly */
}

.hero {
    /* Add this animation line */
    animation: zoomEffect 20s infinite alternate;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 300;
}
.shaba {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent; /* Fully see-through */
    
}
.visa-title {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    padding: 8px 22px;
    margin-top: 15px;
    
    /* Pill Shape Curves */
    border-radius: 50px; 
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Premium Text Style */
.visa-title span {
    font-family: 'Garamond', serif;
    font-size: 0.95rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.8px;
    color: #ffffff;
    z-index: 2;
}

/* Verified Icon */
.visa-title::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #2ecc71;
    color: white;
    font-size: 10px;
    border-radius: 50%;
    margin-right: 10px;
    z-index: 2;
}

/* --- THE SLOW MOTION SHIMMER --- */
.visa-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%; /* Slightly wider for a softer look */
    height: 100%;
    background: linear-gradient(
        to right, 
        transparent, 
        rgba(255, 255, 255, 0.15), /* Softer light */
        transparent
    );
    transform: skewX(-20deg);
    
    /* Increased to 8s for very slow movement */
    animation: slowShimmer 8s infinite linear;
}

@keyframes slowShimmer {
    0% { left: -150%; }
    15% { left: 150%; } /* Finishes the sweep quickly... */
    100% { left: 150%; } /* ...then stays hidden for the rest of the 8 seconds */
}

/* Interaction */
.visa-title:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}
.founder-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
    margin-top: 20px;
}

.btn-main {
    background-color: rgb(72, 172, 72);
    color: var(--primary-blue);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    margin-top: 20px;
    text-transform: uppercase;
}

/* --- SECTIONS --- */
.section {
    padding: 60px 10%;
}

.section-title {
    text-align: center;
    color: var(rgb(247, 240, 240));
    margin-bottom: 40px;
    text-transform: uppercase;
    border-bottom: 3px solid var(--accent-gold);
    display: inline-block;
    text-shadow: #333;
    
}

/*why choose us?*/
/* Styling for the Why Choose Us Section */
.why-choose-us {
    padding: 60px 20px;
    background-color: #f8f9fa; /* Light professional grey */
    font-family: 'Arial', sans-serif;
    text-align: center;
}

.section-title {
    color: #002868; /* Deep Navy Blue (USA Style) */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid #bf0a30; /* Red accent color */
}

.icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #002868;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* --- SERVICES & LOCATIONS --- */
/* Section & Grid Styling */
.section {
    padding: 60px 20px;
    background-color: #b3aaaa;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    /* This creates a grid that fits as many 280px columns as possible */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1280px;
    margin: 0 auto;
}

/* Specific styling for Service Cards */
.service-card {
    padding: 30px 20px;
    border: 1px solid #eee;
    background: linear-gradient(145deg, #ffffff, #fdfdfd);
}

/* Icon Container Styling */
.service-icon {
    width: 60px;
    height: 60px;
    background: #eef2f7; /* Soft blue background */
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

/* Color accents for each icon on hover */
.service-card:hover .service-icon {
    background: #007bff; /* Primary brand color */
    transform: rotate(10deg);
}

/* Typography polish */
.service-card h3 {
    font-weight: 700;
    color: #524f4f;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: #bbb1b1;
    padding: 0; /* Removing previous padding */
}



/* Add a subtle bottom border accent */
.service-card::after {
    content: "";
    width: 0%;
    height: 4px;
    background: #007bff;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.service-card:hover::after {
    width: 100%;
}
/* Card Design */
.card {
    background: #fcfbfb;
    border-radius: 12px;
    overflow: hidden; /* Ensures images follow border radius */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures all cards in a row are same height */
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Image Handling (Consulates) */
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Prevents stretching */
}

/* Icon Handling (Services) */
.card span {
    font-size: 3rem;
    display: block;
    margin-top: 25px;
}

/* Typography within cards */
.card h3 {
    margin: 15px 10px 10px;
    color: #333;
    font-size: 1.3rem;
}

.card p {
    padding: 0 20px 25px;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* --- MOCK CONFIRMATION PAGE --- */
.confirmation-viewer {
    background-color: #fcfcfc;
    padding: 40px;
    border-radius: 8px;
}

.paper {
    background-color: rgb(221, 213, 213);
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    font-family: 'Times New Roman', Times, serif;
    color: #000;
}

.paper-header {
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.barcode-mock {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 5px;
    font-weight: bold;
}

.detail-box {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
}

.kv-pair {
    display: flex;
    margin-bottom: 5px;
}
.kv-key { font-weight: bold; width: 180px; }

/* --- BOOKING TABLE --- */
table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th {
    background-color: var(--primary-blue);
    color: white;
    padding: 15px;
    text-align: left;
}

td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

tr:nth-child(even) { background-color: #f9f9f9; }

.status-success {
    color: green;
    font-weight: bold;
    background: #e6fffa;
    padding: 5px 10px;
    border-radius: 15px;
}

/* --- PARTNERS --- */
/* --- PARTNERS MARQUEE SLIDER --- */
.partner-slider {
    background: #f9f9f9;
    padding: 40px 0;
    overflow: hidden; /* Hides the scrollbar */
    position: relative;
    width: 100%;
}

/* Optional: Fades on the edges for a professional look */
.partner-slider::before,
.partner-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}
.partner-slider::before {
    left: 0;
    background: linear-gradient(to right, #f9f9f9, transparent);
}
.partner-slider::after {
    right: 0;
    background: linear-gradient(to left, #f9f9f9, transparent);
}

/* The Moving Track */
.partner-grid {
    display: flex;
    gap: 30px; /* Nice spacing between cards */
    width: max-content; /* Force track to be as wide as content */
    /* Animation speed: 30s. Adjust faster/slower by changing this number */
    animation: scroll-left 30s linear infinite; 
}

/* Pause animation when user hovers over it */
.partner-grid:hover {
    animation-play-state: paused;
}

/* The Card Look */
.partner-card {
    background: #ffffff;
    width: 220px;       /* Fixed width for uniformity */
    height: 180px;      /* Fixed height avoids uneven rows */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Soft shadow */
    border: 1px solid #eee;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;     /* Prevents cards from being squished */
    padding: 15px;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.partner-card img {
    width: 100%;
    max-width: 120px;   /* Prevents logos from being too big */
    height: 90px;       /* allocates space for logo */
    object-fit: contain; /* Keeps logo proportions perfect */
    margin-bottom: 10px;
    display: block;
}

.partner-card h3 {
    font-size: 14px;
    color: #333;
    margin: 5px 0 0 0;
    text-align: center;
}

.partner-card p {
    font-size: 11px;
    color: #888;
    margin: 2px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hide the dots since it's continuous now */
/* --- REFINED DOTS --- */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.dot {
    height: 2px;
    width: 2px;
    background-color: #ddd; /* Light gray for inactive */
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

/* We will animate these dots in CSS to match the "vibe" of the slider */
.dot:nth-child(1) { animation: pulse-dot 3s infinite 2.0s; }
.dot:nth-child(2) { animation: pulse-dot 3s infinite 1.5s; }
.dot:nth-child(3) { animation: pulse-dot 3s infinite 1.0s; }
.dot:nth-child(4) { animation: pulse-dot 3s infinite 0.5s; }
.dot:nth-child(5) { animation: pulse-dot 3s infinite 0.0s; }


@keyframes pulse-dot {
    0%, 100% { background-color: #ddd; transform: scale(1); }
    50% { background-color: var(--primary-blue); transform: scale(1.5); }
}

/* The Animation Keyframes */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly half way (because we will duplicate the content in JS) */
        transform: translateX(-50%);
    }
}
/* --- FOOTER --- */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 10%;
    text-align: center;
}

.official-text {
    color: #aaa;
    font-size: 12px;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 20px;
}
.whatsapp{
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  z-index: 1000;
}

/* FOOTER/CONTACT STYLING */
footer{
  background:var(--dark);
  color:white;
  padding:70px 10%;
  text-align:center;
}

footer input, footer textarea{
  width:100%;
  padding:12px;
  margin:8px 0;
  border:none;
  border-radius:6px;
}

footer button{
  width:100%;
  padding:14px;
  background:var(--gold);
  color:black;
  border:none;
  font-weight:bold;
  border-radius:30px;
  cursor:pointer;
}

:root {
  --dark: #1b1b1b;
}
footer {
  background: var(--dark); /* This applies the #1b1b1b color */
  color: white;
  padding: 70px 10%;
  text-align: center;
}

footer button {
  width: 100%;
  padding: 14px;
  background: #f4d03f; /* This is the --gold variable */
  color: black;
  border: none;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
}
.card img {
    width: 100%;
    height: 180px; /* Slightly taller for better visibility */
    object-fit: cover;
    display: block;
    background-color: #eee; /* Placeholder color while loading */
}

/*slide smoothly*/
/* Smooth Scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

.main-header {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; /* Keeps the menu at the top when you scroll */
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #002868;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #bf0a30; /* Turns red on hover */
}

.btn-nav {
    background: #002868;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

/*contact */
.contact-section {
    padding: 80px 20px;
    background-color: #a2a4aa; /* Dark background to match logo */
    color: #ffffff;
    text-align: center;
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background: #1a2235;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #5d82aa; /* Light blue accent */
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #334155;
    background: #0f172a;
    color: white;
    font-size: 16px;
    
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #2688d8; /* Professional Red */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #2faf56;
    transform: translateY(-2px);
}

.header-logo {
    height: 45px;        /* perfect professional size */
    width: auto;         /* keeps aspect ratio */
    object-fit: contain;
}
/* ================= MOBILE NAVIGATION ================= */

/* Hamburger icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav-menu a {
        margin: 15px 0;
        font-size: 16px;
    }

    /* Show menu when active */
    .nav-menu.active {
        display: flex;
    }
}
.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Logo responsive fix */
.header-logo {
    height: 45px;
    width: auto;
}

/* Smaller logo on mobile */
@media (max-width: 768px) {
    .header-logo {
        height: 34px;
    }
}
@media (max-width: 768px) {
    .nav-container {
        padding: 12px 20px;
    }
}
@media (max-width: 768px) {
    .hero {
        padding-top: 90px;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        border-top: 1px solid #eee;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }

    .nav-menu a:hover {
        background: #f4f4f4;
    }
}
