:root {
    --primary-blue: #0b3c5d;
    --accent-red: #c0392b;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gray: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header & Logo styling */
/* Header - Full width gray with 1px top padding */
header {
    background-color: #e5e5e5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
  margin-top: -17px;
    z-index: 1000;
    width: 100%;
    padding-top: 1px; /* Sets top padding to 1px */
}

/* Navbar Cntent Container with minimal padding */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1px; /* Sets navbar top padding to 1px */
    padding-bottom: 5px;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Logo container with minimum gap between logo and text */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0px; /* Reduces space between logo image and text */
}

/* Remove default browser margin from h2 and keep top margin 1px */
.logo-text h2 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    line-height: 1.1;
    margin-top: 1px; /* Sets h2 top margin to 1px */
    margin-bottom: 0;
}




.brand-logo {
    height: 115px;
    width: auto;
    margin-top: -5px;
  
}




.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-red);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(11, 60, 93, 0.85), rgba(11, 60, 93, 0.85)), url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1200&q=80') center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero-content h1 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
}

.btn-primary:hover {
    background-color: #962d22;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--dark);
}

/* NIMATION AND WHY US  */
/* --- Why Choose Us Section Professional Styling & Animations --- */

.why-choose-section {
    position: relative;
    overflow: hidden;
}

/* Base Card Styling */
.why-choose-section .card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-align: center;
    position: relative;
}

/* Icon Box Styling */
.why-choose-section .icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background: rgba(11, 60, 93, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.why-choose-section .card i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: color 0.3s ease;
    margin-bottom: 0; /* Override old margin */
}

.why-choose-section .card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.why-choose-section .card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
}

/* --- Hover Effects --- */
.why-choose-section .card:hover {
    transform: translateY(-8px); /* Lifts the card up smoothly */
    box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12); /* Deepens shadow on hover */
    border-top-color: var(--accent-red); /* Changes top border accent color */
}

.why-choose-section .card:hover .icon-box {
    background: var(--primary-blue);
    transform: scale(1.08); /* Slightly enlarges the icon background */
}

.why-choose-section .card:hover i {
    color: #ffffff; /* Turns icon white on hover */
}

/* --- Entrance Fade-In Animation --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    animation: fadeInUp 0.8s ease forwards;
}

/* Stagger animation delay for a cascading effect */
.why-choose-section .grid-3 .card:nth-child(1) {
    animation-delay: 0.1s;
}
.why-choose-section .grid-3 .card:nth-child(2) {
    animation-delay: 0.25s;
}
.why-choose-section .grid-3 .card:nth-child(3) {
    animation-delay: 0.4s;
}
/* Sections & Grids */
.section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-blue);
    font-size: 2rem;
}

.grid-3, .grid-4 {
    display: grid;
    gap: 20px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card, .team-card, .process-step {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-blue);
}

.card i {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 15px;
}

/* Team Photo Styling */
.team-card {
    text-align: center;
    
}
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f1f2f6; /* Soft background color for the circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto; /* Centers the circle horizontally */
    border: 3px solid var(--primary-blue);
}

.team-avatar i {
    font-size: 2.8rem; /* Size of the avatar icon */
    color: var(--primary-blue);
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-card .role {
    display: block;
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Contact Grid & Multiple WhatsApp Rows */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--accent-red);
}

.number-whatsapp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.number-whatsapp-row p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.mini-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #25d366;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.mini-whatsapp-btn:hover {
    background-color: #1ebd59;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.w-100 { width: 100%; }

/* Footer */
footer {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responsive Menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}







/* =========================================
   PROFESSIONAL AGENCY SECTIONS
========================================= */

:root {
    --primary: #0b3d5c;
    --primary-light: #126a94;
    --accent: #f4a62a;
    --dark: #102a43;
    --text: #52606d;
    --light: #f5f8fb;
    --white: #ffffff;
    --border: #e4eaf0;
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
    padding: 90px 20px;
    position: relative;
    overflow: hidden;
}

.bg-light {
    background: linear-gradient(135deg, #f5f8fb, #eef4f8);
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 55px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 15px auto 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(5, 30, 45, 0.96),
            rgba(11, 61, 92, 0.88)
        ),
        url("../images/hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(244, 166, 42, 0.12);
    top: -150px;
    right: -100px;
    animation: floatCircle 7s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.08);
    bottom: -100px;
    left: 5%;
    animation: floatCircle 5s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    animation: heroFade 1s ease forwards;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.8;
    color: #dce8ef;
    margin-bottom: 35px;
}


/* =========================================
   BUTTONS
========================================= */

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: #17202a;
    box-shadow: 0 8px 25px rgba(244, 166, 42, 0.25);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(244, 166, 42, 0.4);
}

.btn-secondary {
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-4px);
}


/* =========================================
   WHY CHOOSE US CARDS
========================================= */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 35px rgba(16, 42, 67, 0.07);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--accent)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(16, 42, 67, 0.14);
    border-color: rgba(11, 61, 92, 0.15);
}

.card h3 {
    color: var(--dark);
    font-size: 21px;
    margin: 20px 0 12px;
}

.card p {
    color: var(--text);
    line-height: 1.7;
}


/* ICON */

.icon-box {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    color: white;
    font-size: 25px;

    transition: all 0.4s ease;
}

.card:hover .icon-box {
    transform: rotate(-5deg) scale(1.1);
    background: linear-gradient(
        135deg,
        var(--accent),
        #ffbf47
    );
    color: var(--dark);
}


/* =========================================
   RECRUITMENT PROCESS
========================================= */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.process-step {
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px 25px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.process-step::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(11, 61, 92, 0.05);
    border-radius: 50%;
    right: -40px;
    bottom: -40px;
    transition: all 0.4s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    background: var(--primary);
    box-shadow: 0 20px 40px rgba(11, 61, 92, 0.2);
}

.process-step:hover h3,
.process-step:hover p {
    color: white;
}

.process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: #eef4f8;
    color: var(--primary);

    font-size: 17px;
    font-weight: 800;

    margin-bottom: 20px;

    transition: all 0.4s ease;
}

.process-step:hover span {
    background: var(--accent);
    color: var(--dark);
    transform: scale(1.1);
}

.process-step h3 {
    color: var(--dark);
    font-size: 19px;
    margin-bottom: 12px;
    transition: 0.3s;
}

.process-step p {
    color: var(--text);
    line-height: 1.65;
    transition: 0.3s;
}


/* =========================================
   TEAM CARDS
========================================= */


/* ==========================================
   8. Team Cards with Pro Image Containers & Hover
   ========================================== */
.team-card {
    text-align: center;
    background: var(--card-bg);
    border-radius: 18px;
    padding: 35px 25px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.team-avatar-img {

    width: 165px;
    height: 165px;
    margin: 0 auto 22px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    background-color: #e2e8f0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar-img {
    transform: scale(1.06);
    border-color: var(--accent-red);
    box-shadow: 0 12px 25px rgba(192, 57, 43, 0.25);
}

.team-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-avatar-img img {
    transform: scale(1.08);
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--dark);
    font-weight: 700;
}

.team-card .role {
    display: block;
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text);
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes heroFade {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes floatCircle {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(25px);
    }

}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1000px) {

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: 580px;
    }

}


@media (max-width: 650px) {

    .section {
        padding: 65px 18px;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 600px;
        text-align: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-btns {
        justify-content: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

}

.developer-credit a {
    color: #f4a62a;
    text-decoration: none;
    font-weight: 700;
}

.developer-credit a:hover {
    text-decoration: underline;
}
