
/* =========================
   GLOBAL STYLES
========================= */

:root {
    --primary-blue: #0d6efd;
    --dark-blue: #003366;
    --light-blue: #eaf4ff;
    --gold: #ffc107;
    --text-dark: #222;
    --text-light: #666;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: #f8f9fa;
    line-height: 1.7;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    transition: 0.3s ease;
}

.navbar-brand {
    font-size: 1.2rem;
}

.navbar-brand img {
    border-radius: 50%;
}

.nav-link {
    font-weight: 500;
    margin-left: 8px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #ffd54f !important;
}

/* =========================
   HERO SECTION
========================= */

.hero-section {
    background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--dark-blue)
    );
    color: white;
    padding: 90px 0;
}

.hero-section h1 {
    line-height: 1.2;
}

.hero-logo {
    max-width: 420px;
    width: 100%;
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================
   BUTTONS
========================= */

.btn {
    border-radius: 10px;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* =========================
   SERVICE CARDS
========================= */

.service-card {
    border: none;
    border-radius: 18px;
    transition: 0.35s;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.service-card .card-body {
    padding: 30px;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* =========================
   GENERAL CARDS
========================= */

.card {
    border: none;
    border-radius: 16px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 25px;
}

/* =========================
   SECTION HEADINGS
========================= */

section h2 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

section p {
    color: var(--text-light);
}

/* =========================
   WHY CHOOSE US
========================= */

.bg-light {
    background-color: var(--light-blue) !important;
}

/* =========================
   CTA SECTION
========================= */

.cta-section {
    background: linear-gradient(
        135deg,
        var(--dark-blue),
        var(--primary-blue)
    );
    color: white;
    padding: 80px 20px;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
}

/* =========================
   FOOTER
========================= */

footer {
    margin-top: 0;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: var(--gold) !important;
}

/* =========================
   PAGE BANNER
========================= */

.page-banner {
    background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--dark-blue)
    );
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* =========================
   ABOUT PAGE
========================= */

.about-image {
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.mission-card,
.vision-card,
.value-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* =========================
   CONTACT PAGE
========================= */

.contact-card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.form-control {
    border-radius: 10px;
    padding: 12px;
}

textarea.form-control {
    min-height: 140px;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-blue);
}

/* =========================
   TRAVEL GALLERY
========================= */

.travel-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.4s;
}

.travel-image:hover {
    transform: scale(1.03);
}

/* =========================
   PROJECTS
========================= */

.project-card {
    height: 100%;
}

.project-card a {
    text-decoration: none;
}

/* =========================
   CODE WITH KAMATE
========================= */

.youtube-section {
    background: white;
    padding: 60px 0;
}

.youtube-logo {
    max-width: 120px;
}

.youtube-card {
    border-radius: 18px;
    overflow: hidden;
}

/* =========================
   BADGES
========================= */

.badge {
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* =========================
   SIMPLE FADE-IN
========================= */

.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .hero-section {
        text-align: center;
        padding: 70px 0;
    }

    .hero-logo {
        max-width: 280px;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }

}

@media (max-width: 768px) {

    .hero-section h1 {
        font-size: 2rem;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .travel-image {
        height: 220px;
    }

}

@media (max-width: 576px) {

    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

}
