/* === Full-Width Hero Styling === */
/* Initial hidden state */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother "out" curve */
    will-change: transform, opacity;
}

/* State when active (scrolled into view) */
.reveal.show {
    opacity: 1 !important;
    transform: translateY(0) scale(1);
}

/* Ensure Lottie doesn't cause layout shift during reveal */
lottie-player {
    max-width: 100%;
}

/* Optional: Staggered delay for cards in a row */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.hero-section a.btn {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    border: none;
    white-space: nowrap;
    
    /* DYNAMIC FONT SIZE: Scales between 14px and 18px based on screen width */
    font-size: clamp(0.875rem, 2vw + 0.5rem, 1.125rem);
    color: #fff;
    transition: all 0.3s ease;
}

.hero-section a.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.25);
}

.internship-highlight {
    max-width: 900px;
    background: #e9f1f7;
    /* soft green background */
    border: 2px solid #285ba7;
    /* Bootstrap success green */
}

.internship-highlight .trust-item {
    font-size: small;
    font-weight: 700;
    color: #152a57;
    /* dark green text */
    margin-bottom: 0.6rem;
}


/* Optional subtle hover */

.internship-highlight:hover {
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.15);
    transition: all 0.3s ease;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    color: #fff;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-section {
        min-height: 75vh;
    }
}


/* === Global Layout === */


    body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
               scroll-behavior: smooth;
}
    



/* === Modern Footer === */

.footer-modern {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15), transparent 60%), radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1), transparent 60%);
    filter: blur(100px);
    opacity: 0.7;
    z-index: 0;
}

.footer-modern .container {
    position: relative;
    z-index: 2;
}

.footer-modern h5,
.footer-modern h6 {
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-modern p {
    color: rgba(255, 255, 255, 0.85);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.4rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(4px);
}


/* === Social Icons === */

.social-icon {
    color: #fff;
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.3);
}


/* Brand-specific hover colors */

.social-icon.linkedin:hover {
    background: #0077b5;
}

.social-icon.instagram:hover {
    background: #e1306c;
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.telegram:hover {
    background: #0088cc;
}


/* Responsive */

@media (max-width: 768px) {
    .footer-modern h5,
    .footer-modern h6 {
        text-align: center;
    }
    .footer-modern ul,
    .footer-modern p {
        text-align: center;
    }
    .footer-modern .d-flex {
        justify-content: center !important;
    }
}


/* === Navbar Enhancements === */

.navbar {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    transition: transform 0.3s ease, height 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.03);
}

.navbar .nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #0d6efd !important;
}

.navbar .btn-gradient {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar .btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.25);
}


/* Navbar shrink on scroll */

.navbar-shrink {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.navbar-shrink .navbar-brand img {
    height: 70px !important;
}


/* === Footer === */

.footer-section {
    background: #f8f9fa;
    color: #444;
    font-size: 0.95rem;
}


/* === Responsive === */

@media (max-width: 991px) {
    .navbar .nav-link {
        text-align: center;
        padding: 0.6rem 0;
    }
    .navbar .btn-gradient {
        margin-top: 0.5rem;
        width: 100%;
    }
    
}


/* === Gradient Button === */

.btn-gradient {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff !important;
    border: none;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.3);
}


/* === Mobile Toggle === */

.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}


/* === Responsive Tweaks === */

@media (max-width: 991px) {
    .navbar .nav-link {
        padding: 0.6rem 0;
        text-align: center;
    }
    .navbar .btn-gradient {
        margin-top: 0.5rem;
        width: 100%;
    }
}


/* === Why Choose Us Section === */

section.text-center.py-5.bg-white {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

section.text-center.py-5.bg-white::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.1), transparent 60%), radial-gradient(circle at 80% 80%, rgba(111, 66, 193, 0.08), transparent 60%);
    filter: blur(100px);
    z-index: 0;
}

section.text-center.py-5.bg-white .container {
    position: relative;
    z-index: 2;
}


/* Heading and Description */

section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 1rem;
}

section p.fs-5 {
    color: #444;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}


/* === Cards === */

.card {
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    transition: all 0.35s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff !important;
    box-shadow: 0 10px 35px rgba(13, 110, 253, 0.25);
}

.card:hover .card-title {
    color: #fff;
}

.card:hover .card-text {
    color: rgba(255, 255, 255, 0.9);
}


/* Card Title and Text */

.card-title {
    color: #0d6efd;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}


/* Hover-up transition class (for subtle lift) */

.hover-up {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hover-up:hover {
    transform: translateY(-8px);
}


/* Responsive */

@media (max-width: 768px) {
    section h2 {
        font-size: 2rem;
    }
    .card {
        margin-bottom: 1rem;
    }
}


/* === Who We Are Section (Modern Glass-Gradient Style) === */
.who-we-are-section a.btn {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}
.who-we-are-section {
  position: relative;
  background-image: url("/static/img/bg/who-we-are-bg.png"); /* your bg image */
  background-repeat: no-repeat;
  background:
    radial-gradient(circle at top left, rgba(13,110,253,0.12), transparent 45%),
    radial-gradient(circle at bottom right, rgba(111,66,193,0.12), transparent 45%),
    linear-gradient(135deg, #f6f9ff, #ffffff);
  overflow: hidden;
}#flare-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.flare-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(3px); /* Increased blur for a softer "flare" look */
}

.flare-path {
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 200; /* Longer dash for a tapered line effect */
    stroke-dashoffset: 200;
    animation: flowFlare var(--duration) linear infinite;
}

@keyframes flowFlare {
    0% { stroke-dashoffset: 200; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { stroke-dashoffset: -200; opacity: 0; }
}
.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centers cards horizontally */
  gap: 20px;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #0d6efd;
}
.section-title-mobile {
    font-size: clamp(1.8rem, 5vw, 2.4rem); /* Fluid sizing */
}
.about-internship {
  position: relative;
  background-image: url("/static/img/bg/why-choose-us.jpg");
  background-repeat: no-repeat;
  /* 150% width ensures the image is wide enough, 
     200% height gives it "room" to slide upward */
  background-size: 150% 200%; 
  background-position: 50% 0%; 
  animation: moveUpward 20s linear infinite alternate;
  overflow: hidden;
}

/* Single keyframe for both devices */
@keyframes moveUpward {
  0% {
    background-position: 50% 0%; /* Start at the top */
  }
  100% {
    background-position: 50% 100%; /* Slide to the bottom (makes image look like it's moving up) */
  }
}

@media (max-width: 768px) {
  .about-internship {
    /* Mobile needs a much larger height scale to move 
       without showing white gaps since the screen is tall */
    background-size: auto 300%; 
    animation: moveUpward 30s linear infinite alternate;
  }
}

@media (max-width: 768px) {
    

    /* Adjusted Title and Subtitle for Mobile */
    .about-internship h2 {
        font-size: 1.8rem !important;
    }

    .responsive-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.6;
        margin-bottom: 2rem !important;
    }
}



    /* Cards spacing and sizing */
    .about-internship .row.g-3 {
        --bs-gutter-y: 1.25rem; /* Tighter vertical gap between cards */
    }

    .about-internship .card {
        max-width: 340px; /* Keeps cards from getting too wide on tablets */
        margin: 0 auto;   /* Centers cards */
    }

    .about-internship .card-body {
        padding: 1.5rem !important; /* Less bulky padding */
    }

    .about-internship .card-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .about-internship .card-text {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }

.section-subtitle {
  max-width: 800px;
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.section-subtitle .highlight {
  color: #6f42c1;
  font-weight: 600;
}
.ux-card {
  position: relative;
  height: 100%;
  padding: 2.2rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(13,110,253,0.12);
  transition: all 0.35s ease;
  text-align: center;
  opacity: 0.8;
}

.ux-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(13,110,253,0.18);
}
.ux-card.active {
  background:
    linear-gradient(135deg, rgba(13,110,253,0.08), rgba(111,66,193,0.08)),
    rgba(255,255,255,0.9);
  border: 1px solid rgba(13,110,253,0.2);
}
.ux-icon {
    opacity: 1 !important;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d6efd, #6f42c1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(13,110,253,0.35);
}
.ux-card h4 {
    opacity: 1 !important;
  margin: 1rem 0 0.6rem;
  font-weight: 700;
  color: #0d6efd;
}

.ux-card p {
    opacity: 1 !important;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
}

.btn-ui-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(13,110,253,0.3);
}

@media (max-width: 768px) {
    
  .row.g-3 {
    --bs-gutter-y: 1rem; 
  }

  .ux-card {
    /* Ensures card doesn't feel too bulky on small screens */
    padding: 1.5rem !important;
    margin: 0 auto; /* Extra insurance for centering */
    max-width: 320px; /* Prevents the card from getting too wide on tablets */
  }
  


  .ux-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
    .section-title {
    /* Scaled down from 3.5rem to 2.2rem */
    font-size: 2.2rem !important; 
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    /* Scaled down from 1.15rem to 1rem */
    font-size: 0.8rem !important;
    line-height: 1.7; /* Tighter line height for mobile */
    max-width: 800px; /* Ensure it doesn't hit the screen edges */
  }
  
  .section-subtitle br {
    display: none; /* Prevents awkward line breaks on small screens */
  }
}

/* Extra Small Devices (Phones under 400px) */
@media (max-width: 400px) {
  .section-title {
    font-size: 1.8rem !important;
  }

}

/* === Internships We Offer Section === */

.internships-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef3ff 0%, #ffffff 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.internships-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.1), transparent 60%), radial-gradient(circle at 80% 80%, rgba(111, 66, 193, 0.08), transparent 60%);
    filter: blur(90px);
    z-index: 0;
}
/* --- Optimized Internships Header --- */

.internships-section h2 {
    /* Fluid typography: 1.8rem on mobile, scales to 2.4rem on desktop */
    font-size: clamp(1.75rem, 5vw, 2.4rem); 
    color: #0d6efd;
    font-weight: 700;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.internships-section p.fs-5 {
    position: relative;
    z-index: 1;
    margin: 0 auto 3rem;
    font-size: 0.8rem !important;
    line-height: 1.7; /* Tighter line height for mobile */
    max-width: 800px;
}

/* --- Mobile Specific Tweaks --- */
@media (max-width: 768px) {
    .internships-section {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }

    .internships-section h2 {
        /* Ensuring it doesn't wrap awkwardly on very small phones */
        letter-spacing: -0.5px;
        line-height: 1.2;
    }

    .internships-section p.fs-5 {
        /* Reducing Bootstrap's fs-5 (1.25rem) to something more mobile-friendly */
        font-size: 0.9rem !important; 
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 2rem !important; /* Less gap before the cards */
    }
}
.internship-card {
    position: relative;
    background: radial-gradient(circle at top left, rgba(0, 150, 255, 0.25), transparent 50%), radial-gradient(circle at bottom right, rgba(255, 80, 80, 0.25), transparent 50%), linear-gradient(135deg, #020617, #050b2e);
    color: #fff;
    border-radius: 18px;
    border: 1px solid rgba(13, 110, 253, 0.12);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    z-index: 1;/* Ensure the section has a defined stacking context */
}

.section-dots {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    /* This container now exactly matches the height of your section */
}

.dot {
    position: absolute;
    background: #0d6efd; 
    border-radius: 50%;
    z-index: 1;
    /* Using transform for better performance */
    animation: floatRandom var(--speed) linear infinite;
}

@keyframes floatRandom {
    0% {
        /* Start slightly below the visible section */
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }
    10% {
        opacity: var(--opacity);
    }
    90% {
        opacity: var(--opacity);
    }
    100% {
        /* Move 120% of the section height upward */
        transform: translate3d(var(--drift), -1200px, 0); 
        opacity: 0;
    }
}

/* Ensure the card and text are clearly on top */
.internships-section .container {
    position: relative;
    z-index: 2;
}

/* Optional: Adding a slight blur to the dots layer for a depth effect */
.section-dots {
    filter: blur(0.1px);
}
.internship-card a.btn {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.internship-card a.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.25);
}

.internship-card::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.12), transparent 60%);
    animation: glowMove 8s linear infinite;
    pointer-events: none;
}

@keyframes glowMove {
    0% {
        transform: translateX(-30%);
    }
    100% {
        transform: translateX(30%);
    }
}

.internship-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, transparent 30%, rgba(0, 255, 247, 0.25), rgba(150, 255, 80, 0.25), transparent 70%);
    filter: blur(35px);
    opacity: 0.75;
    pointer-events: none;
    transform: translateX(-40%);
    animation: streakMove 10s linear infinite;
}

@keyframes streakMove {
    0% {
        transform: translateX(-40%);
    }
    100% {
        transform: translateX(40%);
    }
}

.internship-card>* {
    position: relative;
    z-index: 2;
}

.internship-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(13, 110, 253, 0.18);
}


/* 
.internship-card:hover::before {
    opacity: 1;
    animation: gradientShift 6s ease infinite;
} */


/* .internship-card:hover {
    transform: translateY(-8px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 35px rgba(13, 110, 253, 0.25);
} */


/* 
/* .internship-card:hover .icon {
    color: #fff;
    transform: scale(1.15);
} */

*/ .internship-card .icon {
    color: #0d6efd;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.internship-card h5 {
    z-index: 2;
    position: relative;
    transition: color 0.3s ease;
}


/* 
.internship-card:hover h5 {
    color: #fff;
} */

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .internship-card {
        padding: 2rem 1rem;
    }
}
/* === Internship Highlights Section === */

.internship-highlights {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #9bafd9 0%, /* blue */
    #96d4ca 33%, #ea5753 55%, /* purple */
    #103783 66%, /* orange */
    #42047e 100%/* teal/green */
    );
    background-size: 400% 400%;
    animation: gradientFlow 12s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* faint glow layer behind cards */

.internship-highlights::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 60%), radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.15), transparent 60%);
    filter: blur(80px);
    z-index: 0;
}


/* === Glass Cards === */

.highlight-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    transition: all 0.35s ease;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.highlight-box:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.highlight-box .icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 0.6rem 0.9rem;
    border-radius: 50%;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease;
}

.highlight-box:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.highlight-box h5 {
    color: #fff;
    font-size: 1.15rem;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* === Responsive tweaks === */

@media (max-width: 768px) {
    .highlight-box {
        padding: 2rem 1.3rem;
    }
    .highlight-box h5 {
        font-size: 1.05rem;
    }
}


/* === Community Section === */

.community-section {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.community-box {
    border-radius: 20px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s ease;
    border: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.community-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}


/* === Platform-Specific Styles === */


/* 💙 LinkedIn */

.linkedin-card {
    background: linear-gradient(135deg, #0077b5 0%, #0a66c2 100%);
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

.linkedin-card:hover {
    background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
}


/* 🔵 Telegram */

.telegram-card {
    background: linear-gradient(135deg, #0088cc 0%, #29b6f6 100%);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.telegram-card:hover {
    background: linear-gradient(135deg, #29b6f6 0%, #007bb5 100%);
}


/* 🟣 Instagram */

.instagram-card {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 40%, #8134af 70%, #515bd4 100%);
    box-shadow: 0 6px 20px rgba(221, 42, 123, 0.5);
}

.instagram-card:hover {
    background: linear-gradient(135deg, #fd1d1d 0%, #833ab4 100%);
}


/* 🔵 Facebook */

.facebook-card {
    background: linear-gradient(135deg, #1877f2 0%, #0d47a1 100%);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.facebook-card:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #002171 100%);
}


/* Text styling */

.community-box .fs-2 {
    font-size: 2rem !important;
}

.community-box small {
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 768px) {
    .community-box {
        padding: 1.5rem 1rem;
    }
}


/* === Services Section Styling === */

.services-section {
    background: linear-gradient(135deg, #eef3ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(13, 110, 253, 0.12), transparent 60%), radial-gradient(circle at 70% 80%, rgba(111, 66, 193, 0.1), transparent 60%);
    filter: blur(100px);
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-section h2 {
    font-size: 2.4rem;
    color: #0d6efd;
    font-weight: 700;
}

.services-section p {
    color: #444;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}


/* === Service Cards === */

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: all 0.4s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.25);
}

.service-card:hover .text-secondary {
    color: rgba(255, 255, 255, 0.9) !important;
}

.service-card:hover .btn-outline-primary {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.service-card .service-icon {
    color: #0d6efd;
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: #fff;
}


/* Gradient text for icons */

.text-gradient {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Responsive */

@media (max-width: 768px) {
    
    .services-section h2 {
        font-size: 2rem;
    }
    .service-card {
        padding: 2rem 1.5rem;
    }
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #e6f9f0;
  color: #0f5132;
  border-radius: 30px;
  font-weight: 600;
  animation: pulse 1.5s infinite;
}

.checkmark {
  background: #198754;
  color: #fff;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(25,135,84,.4); }
  70% { box-shadow: 0 0 0 12px rgba(25,135,84,0); }
  100% { box-shadow: 0 0 0 0 rgba(25,135,84,0); }
}

/* Full width header */
.contact-hero {
  background: linear-gradient(135deg, #0d6efd, #6f42c1);
  border-bottom: 1px solid #e5e7eb;
}


/* Shared box styling */
.contact-box {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #0d6efd, #6f42c1) border-box;
  border: 1.5px solid transparent;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

/* Prevent inherited hover effects */
.contact-box:hover {
  transform: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
}

/* Inputs consistency */
.contact-box input,
.contact-box textarea {
  border-radius: 8px;
}

/* Labels */
.contact-box label {
  font-weight: 600;
  margin-bottom: 6px;

}
.recognition-section {
  background: #f9fbff;
}

.recognition-section h2 {
  color: #0d6efd;
  font-size: 2.4rem;
}

.recognition-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.8rem;
  border: 1.5px solid transparent;
  background-image:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(135deg, #0d6efd, #6f42c1);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.recognition-logo {
  max-height: 70px;
  max-width: 180px;
  object-fit: contain;
}
/* =========================
   MOBILE FOOTER FIX ONLY
   ========================= */
@media (max-width: 576px) {

  /* Quick Links + Legals side by side */
  .footer-links-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
  }

  .footer-links,
  .footer-legals {
    padding: 0;
  }

  .footer-links h6,
  .footer-legals h6 {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .footer-links ul li a,
  .footer-legals ul li a {
    font-size: 13px;
    line-height: 1.8;
  }
}
/* Desktop layout for footer links */
.footer-links-wrap {
  display: flex;
  gap: 60px;
}

/* Mobile override */
@media (max-width: 576px) {
  .footer-links-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
  }
}


/* =========================
   CONTACT PAGE — MOBILE FIX
   ========================= */
@media (max-width: 768px) {

  /* Hero text sizing */
  .contact-hero h1 {
    font-size: 1.7rem !important;
    opacity: 0.85;
  }

  .contact-hero p {
    font-size: 0.8rem !important;
    opacity: 0.85;
    padding: 0 10px;
  }

  /* Stack boxes nicely */
  .contact-box {
    padding: 1.25rem !important;
    border-radius: 12px;
  }

  /* Section spacing */
  section.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* Headings inside boxes */
  .contact-box h4 {
    font-size: 1.25rem;
    text-align: center;
  }

  .contact-box p {
    font-size: 0.9rem;
  }

  /* Contact details alignment */
  .contact-box h6 {
    font-size: 0.9rem;
  }

  /* Form inputs */
  .contact-box input,
  .contact-box textarea {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  /* Full-width button */
  .contact-box button {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }

  /* Success message */
  .alert {
    font-size: 0.85rem;
  }
}
/* reCAPTCHA alignment */
.g-recaptcha {
  display: inline-block;
}

/* Required star */
label span.text-danger {
  font-size: 1rem;
}

/* Floating Button */
#help-toggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  
  /* Chatbot Box */
  #chatbot-box {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 320px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    display: none;
    flex-direction: column;
    z-index: 9999;
  }
  /* FAQ Buttons */
.faq-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }
  
  .faq-buttons button {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 18px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  .faq-buttons button:hover {
    background: #f1f3f5;
  }
  
  /* Header */
  .chatbot-header {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 14px 14px 0 0;
  }
  
  .chatbot-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }
  
  /* Body */
  .chatbot-body {
    padding: 12px;
    height: 260px;
    overflow-y: auto;
    background: #f8f9fa;
  }
  
  /* Messages */
  .bot-msg, .user-msg {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    max-width: 85%;
    font-size: 14px;
  }
  
  .bot-msg {
    background: #e9ecef;
    color: #333;
  }
  
  .user-msg {
    background: #0d6efd;
    color: #fff;
    margin-left: auto;
  }
  
  /* Footer */
  .chatbot-footer {
    display: flex;
    border-top: 1px solid #e5e7eb;
  }
  
  .chatbot-footer input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
  }
  
  .chatbot-footer button {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 0 16px;
    cursor: pointer;
  }
  .chatbot-contact-form {
    margin-top: 10px;
  }
  
  .chatbot-contact-form input {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    font-size: 14px;
  }
  
  .send-contact-btn {
    width: 100%;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px;
    font-weight: 600;
    cursor: pointer;
  }
  