/* =====================================================
   GLOBAL STYLES
   ===================================================== */
* {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html body {
    background: #F4F6F8;
    color: #343A40;
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
}

/* =====================================================
   TOP BAR
   ===================================================== */
.top-bar {
    background: #F1F3F5;
    color: #343A40;
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.2px;
}

.top-bar a {
    color: #343A40;
    text-decoration: none;
    transition: 0.3s;
}

.top-bar a:hover {
    color: #343A40;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 0;
    color: #343A40;
    vertical-align: middle;
    width: max-content;
    max-width: 100%;
    flex: 0 0 auto;
}

.language-switcher > i {
    color: #248AFD;
    font-size: 15px;
}

#google_translate_element {
    display: inline-block;
    vertical-align: middle;
    flex: 0 0 auto;
}

#google_translate_element .goog-te-gadget {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #343A40;
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    font-size: 12px;
    white-space: nowrap;
}

#google_translate_element .goog-te-gadget br {
    display: none;
}

#google_translate_element .goog-te-gadget > span {
    display: inline-flex !important;
    align-items: center;
}

#google_translate_element .goog-te-gadget .goog-te-combo {
    max-width: 135px;
    margin: 0;
    padding: 4px 24px 4px 8px;
    border: 1px solid #d8dee5;
    border-radius: 6px;
    background: #ffffff;
    color: #343A40;
    font: inherit;
}

.top-bar-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.language-switcher-label {
    font-size: 12px;
    font-weight: 600;
}

#google_translate_element .goog-te-gadget .goog-te-combo:focus {
    border-color: #248AFD;
    outline: 2px solid rgba(36, 138, 253, 0.18);
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
        text-align: center;
    }
    .top-bar .row > div:first-child {
        margin-bottom: 5px;
    }
    .top-bar-links {
        justify-content: center;
        text-align: center !important;
    }
    .top-bar .language-switcher {
        justify-content: center;
        margin: 6px 0;
    }
}

.top-bar .text-white {
    color: #343A40 !important;
}

/* =====================================================
   MAIN NAVIGATION - FULLY RESPONSIVE
   ===================================================== */
.main-nav {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(52, 58, 64, 0.08);
    padding: 4px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #F4F6F8;
}

.navbar-brand-custom {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    padding: 0;
    margin-right: 1rem;
    line-height: 1;
    text-decoration: none;
}

.navbar-brand-custom img {
    display: block;
    width: auto;
    height: 104px;
    object-fit: contain;
}

.navbar-toggler {
    border: none;
    padding: 10px 12px;
    background: #F5A623;
    border-radius: 8px;
    transition: 0.3s;
}

.navbar-toggler:hover {
    background: #248AFD;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(52,58,64,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-links {
    text-align: center;
}

.nav-links a {
    color: #343A40;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 15px;
    transition: 0.3s;
    display: inline-block;
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #343A40;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #F5A623;
    border-radius: 2px;
}

@media (max-width: 991px) {
    .nav-links {
        padding: 15px 0;
    }
    .nav-links a {
        display: block;
        margin: 8px 0;
        padding: 12px 15px;
        border-radius: 8px;
        text-align: center;
    }
    .nav-links a.active::after {
        display: none;
    }
    .nav-links a:hover,
    .nav-links a.active {
        background: #ffffff;
        color: #343A40;
    }
}

@media (max-width: 576px) {
    .navbar-brand-custom {
        margin-right: 0.5rem;
    }
    .navbar-brand-custom img {
        height: 80px;
    }
}

/* =====================================================
   HERO / GALLERY CAROUSEL
   ===================================================== */
.gallery-carousel {
    position: relative;
    margin-top: 0;
}

.carousel-item {
    height: 550px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Text Overlay */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24, 90, 165, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.carousel-content {
    max-width: 900px;
    padding: 40px;
    border-radius: 12px;
}

.carousel-content h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.carousel-content p {
    font-size: 1.08rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-carousel {
    background: #F5A623;
    color: #343A40;
    font-weight: 600;
    padding: 13px 38px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(24, 90, 165, 0.3);
}

.btn-carousel:hover {
    background: #248AFD;
    color: #343A40;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24, 90, 165, 0.4);
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(24, 90, 165, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-carousel:hover .carousel-control-prev,
.gallery-carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 18px;
    height: 18px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.carousel-indicators .active {
    background: #F5A623;
    border-color: #F5A623;
}

@media (max-width: 992px) {
    .carousel-item {
        height: 450px;
    }
    .carousel-content h1 {
        font-size: 2rem;
    }
    .carousel-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    .carousel-content h1 {
        font-size: 1.5rem;
    }
    .carousel-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .carousel-control-prev,
    .carousel-control-next {
        opacity: 1;
        width: 36px;
        height: 36px;
        background: rgba(24, 90, 165, 0.95);
    }
    .carousel-content {
        padding: 20px;
    }
    .btn-carousel {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 350px;
    }
    .carousel-content h1 {
        font-size: 1.25rem;
    }
    .carousel-content p {
        font-size: 0.82rem;
    }
}

/* =====================================================
   SECTION TITLES
   ===================================================== */
.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #343A40;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.3px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #F5A623;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* =====================================================
   SERVICE CARDS
   ===================================================== */
.service-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(52, 58, 64, 0.06);
    border: 1px solid #F4F6F8;
    height: 100%;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(52, 58, 64, 0.1);
    border-color: #F5A623;
}

.card-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #248AFD, #F5A623);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 30px;
    color: #343A40;
}

.service-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #343A40;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: 0.1px;
}

.service-card p {
    font-size: 0.85rem;
    color: #5a6470;
    margin: 0;
    line-height: 1.6;
}

.highlight-card {
    border: 2px solid #F4F6F8;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff, #F4F6F8);
}

.highlight-card::before {
    content: "★";
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    color: #343A40;
    font-weight: bold;
}

/* =====================================================
   HOMEPAGE HERO
   ===================================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0;
    background: linear-gradient(115deg, #ffffff 0%, #ffffff 53%, #eef6ff 100%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 590px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 9px 15px;
    border: 1px solid rgba(245, 166, 35, 0.35);
    border-radius: 999px;
    background: #fff8e9;
    color: #9b5b00;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero h1 {
    max-width: 620px;
    margin-bottom: 20px;
    color: #26384a;
    font-size: clamp(2.4rem, 4.3vw, 3.8rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.5px;
}

.hero h1 span {
    color: #e68a00;
}

.hero-text {
    max-width: 550px;
    margin-bottom: 28px;
    color: #5d6a77;
    font-size: 1.08rem;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.btn-hero {
    background: #F5A623;
    color: #343A40;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(180, 111, 8, 0.2);
}

.btn-hero:hover {
    background: #ed9a13;
    color: #26384a;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(180, 111, 8, 0.25);
}

.hero-link-secondary {
    display: inline-flex;
    align-items: center;
    color: #315c82;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-link-secondary:hover {
    color: #e68a00;
}

.hero-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.hero-pillars span {
    padding: 7px 13px;
    border: 1px solid #dce8f2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #52677a;
    font-size: 0.84rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    max-width: 590px;
    margin: 0 auto;
    padding: 0 12px 18px 0;
}

.hero-image-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 390px;
    border: 8px solid #ffffff;
    border-radius: 22px;
    background: #e8f0f7;
    box-shadow: 0 24px 60px rgba(37, 67, 96, 0.18);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.hero-image-caption {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 28px);
    padding: 14px 19px 14px 14px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(37, 67, 96, 0.16);
}

.hero-caption-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 12px;
    background: #fff1d7;
    color: #dc8500;
}

.hero-image-caption strong,
.hero-image-caption small {
    display: block;
}

.hero-image-caption strong {
    color: #34495c;
    font-size: 0.9rem;
}

.hero-image-caption small {
    margin-top: 3px;
    color: #748291;
    font-size: 0.78rem;
}

.hero-decor {
    position: absolute;
    z-index: 0;
    display: block;
    border-radius: 50%;
}

.hero-decor-one {
    top: -22px;
    right: -12px;
    width: 110px;
    height: 110px;
    background: rgba(245, 166, 35, 0.2);
}

.hero-decor-two {
    bottom: 36px;
    left: -24px;
    width: 76px;
    height: 76px;
    background: rgba(36, 138, 253, 0.15);
}

@media (max-width: 991px) {
    .hero {
        padding: 60px 0;
    }

    .hero-copy {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .hero h1,
    .hero-text {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .hero-pillars {
        justify-content: center;
    }

    .hero-visual {
        width: min(100%, 640px);
    }

    .hero-image-frame {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 42px 0 48px;
        background: linear-gradient(160deg, #ffffff 0%, #f2f8ff 100%);
    }

    .hero-kicker {
        margin-bottom: 15px;
        font-size: 0.82rem;
    }

    .hero h1 {
        margin-bottom: 14px;
        font-size: 2.05rem;
        letter-spacing: 0;
    }

    .hero-text {
        margin-bottom: 22px;
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .hero-actions {
        flex-direction: column;
        gap: 14px;
    }

    .hero-actions .btn-hero {
        width: 100%;
        max-width: 340px;
    }

    .hero-pillars {
        gap: 8px;
        margin-top: 24px;
    }

    .hero-pillars span {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .hero-visual {
        padding: 0 8px 16px 0;
    }

    .hero-image-frame {
        height: 265px;
        border-width: 6px;
        border-radius: 17px;
    }

    .hero-image-caption {
        gap: 9px;
        padding: 10px 13px 10px 10px;
    }

    .hero-caption-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .hero-image-caption strong {
        font-size: 0.8rem;
    }

    .hero-image-caption small {
        font-size: 0.7rem;
    }

    .hero-decor-one {
        right: 0;
        width: 76px;
        height: 76px;
    }

    .hero-decor-two {
        left: -8px;
        width: 54px;
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-hero,
    .hero-link-secondary {
        transition: none;
    }

    .btn-hero:hover {
        transform: none;
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* =====================================================
   PILLAR CARDS (Main Aayam)
   ===================================================== */
.pillars-section {
    background: #F4F6F8;
    padding: 60px 0;
}

.pillar-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(52, 58, 64, 0.06);
    border: 1px solid #F4F6F8;
    height: 100%;
    margin-bottom: 30px;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(52, 58, 64, 0.12);
    border-color: #F5A623;
}

.pillar-header {
    background: #248AFD;
    color: #ffffff;
    padding: 20px 15px;
    text-align: center;
}

.pillar-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.pillar-icon {
    width: 68px;
    height: 68px;
    background: #F5A623;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -18px auto 0;
    position: relative;
    z-index: 1;
    border: 4px solid #ffffff;
}

.pillar-icon i {
    font-size: 30px;
    color: #343A40;
}

.pillar-body {
    padding: 25px 20px;
}

.pillar-body p {
    color: #5a6470;
    line-height: 1.65;
    margin-bottom: 15px;
    font-size: 0.92rem;
}

.pillar-objectives {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.pillar-objectives li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.88rem;
    color: #5a6470;
    line-height: 1.5;
}

.pillar-objectives li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #343A40;
    font-weight: bold;
}

.read-more {
    color: #343A40;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
    letter-spacing: 0.2px;
}

.read-more:hover {
    color: #343A40;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .pillar-header h3 {
        font-size: 1.15rem;
    }
    .pillar-card {
        margin-bottom: 20px;
    }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-custom {
    background: #F5A623;
    color: #343A40;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 4px;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-custom:hover {
    background: #248AFD;
    color: #343A40;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(24, 90, 165, 0.4);
}

/* =====================================================
   BADGE
   ===================================================== */
.badge-success {
    background: #71C02B;
    color: #343A40;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    letter-spacing: 0.3px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: #F1F3F5;
    color: #343A40;
    padding: 45px 0 20px;
    border-top: 3px solid #F5A623;
}

.footer h5 {
    color: #343A40;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.footer a {
    color: #343A40;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer a:hover {
    color: #343A40;
}

.footer .text-white {
    color: #343A40 !important;
}

.footer hr {
    border-color: rgba(52, 58, 64, 0.2);
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
    .footer h5 {
        margin-bottom: 15px;
    }
}

/* =====================================================
   RESPONSIVE HELPER CLASSES
   ===================================================== */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }
    .mb-mobile {
        margin-bottom: 15px !important;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* =====================================================
   MISC UTILITY
   ===================================================== */
.required-field::after {
    content: " *";
    color: #343A40;
    font-weight: bold;
}

.alert-warning-custom {
    background: #F4F6F8;
    border-left: 4px solid #F5A623;
    border-radius: 6px;
    padding: 15px 20px;
    color: #343A40;
}

/* =====================================================
   SCROLLBAR STYLING
   ===================================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background: #F5A623;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #248AFD;
}