/* ============================
   ROOT VARIABLES
=============================== */
:root {
    --primary-blue: #0b3d93;
    --success-green: #2e8b57;
    --accent-teal: #00a3a3;
    --gray: #ababab;
    --light-gray: #d9d9d9;
    --text-dark: #333;
    --text-light: #fff;
}

/* ============================
   BASE STYLES
=============================== */
body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    background: #fff;
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-blue);
}

p {
    color: var(--gray);
}

/* ============================
   LINKS & BUTTONS
=============================== */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-blue);
}
.list-unstyled a:hover {
    color: var(--primary-blue) !important;
}

.btn-primary {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--success-green);
    border-color: var(--success-green);
}

.text-primary {
    --bs-text-opacity: 1;
    color: var(--primary-blue) !important;
}

/* ============================
   NAVBAR
=============================== */
.navbar {
    background: var(--primary-blue) !important;
}

.navbar .nav-link {
    color: var(--text-light);
    font-weight: 500;
}

.navbar .nav-link.active {
    color: var(--text-light);
    font-weight: 600;
    position: relative;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--text-light);
}

/* ============================
   HERO SLIDER
=============================== */
.hero-slider {
     position: relative;
     overflow: visible;
     min-height: 85vh;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    max-height: 85vh;
    object-fit: cover;
}

.header-logo{
  width:30% !important
}
.text-muted {
  color: #fff !important;
}


/* ============================
   SLIDER TEXT – POLISHED
=============================== */

.custom-caption {
    position: absolute;
    top: 18%;
    left: 5%;

    max-width: 520px;
    width: auto;

    padding: clamp(18px, 2.5vw, 30px);

    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.25));

    border-radius: 16px;
    backdrop-filter: blur(6px);

    display: inline-block;
}

.hero-caption.carousel-caption {
    
    bottom: auto;
    left: 10%;

    text-align: left;
}

/* ============================
   FORCE CAPTION OVER IMAGE
=============================== */

.carousel-item {
    position: relative;
}

/* ============================
   SLIDER CAPTION – FIXED
=============================== */

.carousel-item {
    position: relative;
}

.custom-caption {
    position: absolute;
    top: 18%;
    left: 5%;
    right: auto;
    bottom: auto;

    max-width: 520px;
    padding: clamp(18px, 2.5vw, 30px);

    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.25));

    border-radius: 16px;
    backdrop-filter: blur(6px);

    text-align: left;
    display: block;
    z-index: 20;
}


/* Title */
.custom-caption h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 700;
    color: #fff;

    margin-bottom: 12px;
    line-height: 1.2;
}

/* Description */
.custom-caption p {
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: #e6e6e6;

    margin-bottom: 18px;
    line-height: 1.55;
}

/* Button spacing */
.custom-caption .btn {
    padding: 10px 22px;
    font-size: 0.95rem;
}



/* ============================
   SLIDER FEATURE BOXES
=============================== */
.slider-features {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(45%);
    z-index: 25;
}

/* ---- Feature Box ---- */
.feature-box {
    position: relative;
    text-align: center;
    padding: 22px 18px;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    cursor: pointer;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    transition: all 0.4s ease;
}

/* Glow overlay */
.feature-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent,
            rgba(11, 61, 147, 0.15),
            transparent);
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.4s ease;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-14px) scale(1.05);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
}

/* ---- Feature Content ---- */
.feature-box img {
    width: 56px;
    margin-bottom: 12px;
    transition: transform 0.4s ease;
}

.feature-box:hover img {
    transform: rotate(-6deg) scale(1.15);
}

.feature-box h6 {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.feature-box p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* ============================
   FEATURE ENTRANCE ANIMATION
=============================== */
.slider-features .col-md-3 {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.slider-features .col-md-3:nth-child(1) {
    animation-delay: 0.1s;
}

.slider-features .col-md-3:nth-child(2) {
    animation-delay: 0.2s;
}

.slider-features .col-md-3:nth-child(3) {
    animation-delay: 0.3s;
}

.slider-features .col-md-3:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   SLIDER ARROWS
=============================== */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.custom-arrow i {
    font-size: 2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 10px 14px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* ============================
   RESPONSIVE ADJUSTMENTS
=============================== */

/* Tablets */
@media (max-width: 991px) {
    .slider-features {
        transform: translateY(35%);
    }

    .custom-caption h2 {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .custom-caption {
        top: 50%;
        left: 5%;
        right: 5%;
        transform: translateY(-50%);

        max-width: 100%;
        padding: 16px 18px;

        border-radius: 14px;
    }

    .custom-caption h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .custom-caption p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .custom-caption .btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .carousel-control-prev {
        left: 10px;
		top: 15% !important;
        transform: translateY(-50%) !important;
    }

    .carousel-control-next {
        right: 10px;
		top: 15% !important;
        transform: translateY(-50%) !important;
    }

    .custom-arrow i {
        font-size: 1.6rem;
        padding: 8px 12px;
    }
	 .slider-features {
        position: static;
        transform: none;
        margin-top: 20px;
    }
	.registration-text {
	    margin-top: 0px;
	}
}

@media (max-width: 576px) {
    .custom-caption {
        top: 50%;
        left: 5%;
        right: 5%;
        max-width: 100%;
        border-radius: 14px;
    }

    .custom-caption a.btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .custom-arrow i {
        font-size: 1.4rem;
        padding: 7px 10px;
    }
}

/* Space below slider */
.hero-slider+section {
    margin-top: 110px;
}

/* ============================
   RESET BOOTSTRAP CAPTION
=============================== */

/* ============================
   TEAM CARD
=============================== */

.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.22);
}

.team-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover img {
    transform: scale(1.08);
}

/* ============================
   TEAM OVERLAY
=============================== */

.team-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(180deg,
            rgba(11, 61, 147, 0.92),
            rgba(0, 163, 163, 0.92));

    color: #fff;
    padding: 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    opacity: 0;
    transform: translateY(20%);
    transition: all 0.45s ease;
}

/* Show overlay on hover */
.team-card:hover .team-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   OVERLAY CONTENT
=============================== */

.team-overlay h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.team-overlay p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
    margin: 0;
}

/* ============================
   MOBILE TOUCH SUPPORT
=============================== */

@media (max-width: 768px) {
    .team-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top,
                rgba(11, 61, 147, 0.95),
                rgba(11, 61, 147, 0.65));
    }

    .team-card img {
        height: 280px;
    }

    .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-brand.img {
        width: 90% !important;
    }
	
	.hero-slider+section {
	  margin-top: 0px;
	}

}

.navbar-brand.img {
    width: 50%;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    height: 100%;
    cursor: pointer;
}

.blog-card img {
    width: 100%;
    transition: transform 0.4s ease;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.blog-meta strong {
    font-weight: 600;
}

.blog-card:hover {
    transform: translateY(-14px) scale(1.05);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
}


.blog-card:hover img {
    transform: scale(1.08);
}

.blog-card a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}

/* ============================
   LOGO SLIDER SECTION
=============================== */

.logo-slider-section {
    background: #f8f9fb;
    overflow: hidden;
}

.logo-slider {
    position: relative;
    overflow: hidden;
}

/* Track */
.logo-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scrollLogos 28s linear infinite;
}

/* Pause on hover */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* Logo item */
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-height: 100px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.35s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Animation */
@keyframes scrollLogos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* ============================
   BLOG SLIDER
=============================== */

.blog-slider {
    overflow: hidden;
    position: relative;
}

.blog-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

/* Slide widths */
.blog-slide {
    flex: 0 0 calc(33.333% - 16px);
}

/* Blog card improvements */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 18px;
}

.blog-content h5 a {
    color: var(--primary-blue);
    text-decoration: none;
}

.blog-content p {
    font-size: 14px;
    margin-top: 8px;
}

/* Arrows */
.slider-arrows button {
    background: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.slider-arrows button:hover {
    background: var(--primary-blue);
    color: #fff;
}

@media (max-width: 992px) {
    .blog-slide {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 576px) {
    .blog-slide {
        flex: 0 0 100%;
    }

    .blog-card img {
        height: 180px;
    }
}

/* ============================
   THANK YOU MODAL
=============================== */

#thankYouModal .modal-dialog {
    max-width: 420px;
}

#thankYouModal .modal-content {
    border: none;
    border-radius: 18px;
    padding: 10px;

    background: linear-gradient(180deg,
            #ffffff,
            #f6f9ff);

    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.45s ease;
}

/* Header */
#thankYouModal .modal-header {
    justify-content: center;
    padding-top: 30px;
}

#thankYouModal .modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* Close button */
#thankYouModal .btn-close {
    position: absolute;
    top: 18px;
    right: 18px;
    opacity: 0.6;
}

#thankYouModal .btn-close:hover {
    opacity: 1;
}

/* Body */
#thankYouModal .modal-body {
    padding: 10px 30px 25px;
}

#thankYouModal .modal-body p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Footer */
#thankYouModal .modal-footer {
    padding-bottom: 30px;
}

#thankYouModal .modal-footer .btn {
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
}

/* ============================
   SUCCESS ICON
=============================== */
.thank-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 14px;

    background: linear-gradient(135deg,
            var(--primary-blue),
            var(--accent-teal));

    color: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2.2rem;
    box-shadow: 0 12px 30px rgba(0, 163, 163, 0.45);
    animation: iconBounce 0.6s ease;
}

.error-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 12px 30px rgba(0, 163, 163, 0.45);
    animation: iconBounce 0.6s ease;
}

/* Contact Info Cards */
.contact-info .card {
    border: none;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .contact-info .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.contact-info i {
    font-size: 1.5rem;
    color: #0d6efd;
    margin-right: 10px;
}

/* Form Card */
.form-card {
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #fff;
}

/* ============================
               CONTACT SPLIT LAYOUT
            =============================== */

.contact-split-section {
    background: #f8f9fb;
}

/* LEFT FORM */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

    .contact-form-card h3 {
        font-weight: 700;
        color: var(--primary-blue);
    }

    .contact-form-card .form-control,
    .contact-form-card .form-select {
        border-radius: 10px;
        padding: 12px 14px;
    }

    .contact-form-card .btn {
        border-radius: 30px;
        padding: 10px 28px;
    }

/* RIGHT INFO PANEL */
.contact-info-panel {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

    .contact-info-panel h4 {
        font-weight: 700;
        margin-bottom: 30px;
		color: #fff
    }

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

    .info-item i {
        font-size: 1.4rem;
        opacity: 0.9;
    }

    .info-item strong {
        display: block;
        font-size: 0.95rem;
    }

    .info-item p {
        margin: 0;
        font-size: 0.9rem;
        opacity: 0.9;
		color: #fff;
    }

.info-item a{
   color: #fff;
}

/* Mobile */
@media (max-width: 768px) {

    .contact-form-card,
    .contact-info-panel {
        padding: 28px;
    }
	.header-logo {
     width: 80% !important;
}
	
	.feature-box h6{
	font-size: 14px
	}
}

/* ============================
   ANIMATIONS
=============================== */
@keyframes modalPop {
    from {
        transform: scale(0.85) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes iconBounce {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    70% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


	.navbar-toggler {
		border-color: #fff !important;
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus{
  box-shadow:none;
}

footer h5{
color:#fff
}

footer a{
color:#fff;
}



.text-white p{
color:#fff !important;
}

.fade-in img{
width: 100% !important;
}

.bg-class{
 color: #fff !important;
}

.bg-class h1{
 color: #fff !important;
}
.bg-class h2{
 color: #fff !important;
}
.bg-class h3{
 color: #fff !important;
}
.bg-class h4{
 color: #fff !important;
}

/* Force equal column height */
.row.align-items-stretch > [class*="col-"] {
    display: flex;
}

/* Image wrapper fills column */
.image-wrapper {
    flex: 1;
    display: flex;
}

/* Image fills wrapper */
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner h1{
    color:#fff !important;
}
.banner h2{
    color:#fff !important;
}
.banner h3{
    color:#fff !important;
}

.banner p{
    color:#fff !important;
}

.field-validation-error{
color: red
}
