/* Custom CSS for Dron Defence Academy */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #111c2f;
    --rnkhead-color: #010b34;
    --amazing-color: #c0c683;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    margin: 0;
     font-family: "Quicksand", sans-serif !important;
      font-weight: 500;
}
.sales-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    animation: slideIn 0.6s ease;
    z-index: 9999;
}

.sales-popup img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.sales-popup strong {
    font-size: 14px;
    display: block;
}

.sales-popup small {
    color: #888;
    font-size: 12px;
}

.close-popup {
    cursor: pointer;
    margin-left: 10px;
    font-size: 18px;
}

@keyframes slideIn {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
ul,
li {
    font-family: "Quicksand", sans-serif !important;
     
}
h1,
h2,
h3,
h4,
h5,
h6{
    font-weight: 600 !important;
}
/* Mobile Contact Widget - Hidden by default (Desktop/Tablet) */
.mobile-contact-widget {
    display: none;
}

/* Show contact info in top-bar on desktop */
.contact-info-desktop {
    display: flex;
}

/* Top Bar Styles */
.top-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    background-color: #0f172a;
    color: white;
    padding: 0.5rem 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    display: block;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    width: 100%;

}

.top-bar .container {
    padding: 0 1rem;
}

.social-links-top {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: nowrap;
    overflow: hidden;
    flex: 1;
}

.social-link-top {
    color: #f1f5f9;
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
    padding: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.social-link-top:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.1rem;
    font-weight: 600;
    flex-wrap: nowrap;
    overflow: hidden;
    flex: 1;
}

.contact-link {
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    border-radius: 2px;
}

.contact-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    text-decoration: none;
}

.contact-link:hover::after {
    width: 100%;
}

/* Navigation Styles */
.navbar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
 
    width: 100%;
 
    padding: 0px;
}

.navbar-expand-lg {
    flex-wrap: wrap;
    justify-content: flex-start;
}

.navbar.scrolled {
    padding: 0.4rem 0;
    background: rgba(24, 72, 206, 0.95) !important;
    min-height: 45px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: white;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
}
.register{
    background-image: linear-gradient(260deg, #FFCC02 0%, #EB9202 100%);
}
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
       padding: 8px 15px !important;
    transition: var(--transition);
    position: relative;
    line-height: 1.2;
    white-space: nowrap;
    font-size: 0.98rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    
    transform: translateY(-2px);
}

.navbar-nav .nav-link i {
    margin-right: 5px;
}

.dropdown-menu {
    background: white;
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: 0px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
      border-bottom: 1px solid gainsboro;
    border-radius: 0px !important;
    text-align: left !important;
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 0;
 
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 20;
    color: white !important;
    padding: 1rem 2rem;
    text-align: left;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
    text-align: left;
    letter-spacing: 1px;
    color: #ffffff;
    max-width: 100%;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    margin-bottom: 1.8rem;
    opacity: 0.95;
    max-width: 650px;
    line-height: 1.6;
    text-align: left;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    text-align: center;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
}

.carousel-indicators button.active {
    background: white;
}

/* Responsive adjustments for hero-section */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        min-height: 50vh;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0;
    }

    .hero-content {
        padding: 0 1rem;
    }
}

/* Fee Hero Section Specific Styles */
.fee-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    position: relative;
    min-height: 60vh;
    padding: 4rem 0;
    overflow: hidden;
}

.fee-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 1;
}

.fee-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    z-index: 5;
}

.fee-hero .container {
    z-index: 10;
}

.fee-hero .hero-title {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.fee-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.fee-hero i.fa-rupee-sign {
    color: #fbbf24;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive adjustments for fee-hero */
@media (max-width: 768px) {
    .fee-hero {
        padding: 2rem 0;
        min-height: 50vh;
    }

    .fee-hero .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }

    .fee-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .fee-hero i.fa-rupee-sign {
        font-size: 2.5x;
    }
}

@media (max-width: 576px) {
    .fee-hero {
        padding: 1.5rem 0;
    }

    .fee-hero .hero-content {
        padding: 0 1rem;
    }
}

/* Slider size and background image fit for all screen types */
#heroCarousel .carousel-inner {
    height: 100%;
}

#heroCarousel .carousel-item {
    height: 100%;
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--light-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.feature-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Enhanced responsiveness for feature cards */
@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-card h4 {
        font-size: 1.3rem;
    }

    .feature-card ul li {
        font-size: 0.95rem;
    }
}

/* Quick Links Section */
.quick-links-section {
    padding: 100px 0 120px;
}

.service-card {
    position: relative;
    min-height: 350px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.army-card {
    background: linear-gradient(45deg, #059669, #10b981),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff20" width="100" height="100"/></svg>');
    background-color: #059669;
    /* Fallback */
}

.navy-card {
    background: linear-gradient(45deg, #0369a1, #0ea5e9),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff20" width="100" height="100"/></svg>');
    background-color: #0369a1;
    /* Fallback */
}

.airforce-card {
    background: linear-gradient(45deg, #7c3aed, #a855f7),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff20" width="100" height="100"/></svg>');
    background-color: #7c3aed;
    /* Fallback */
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.service-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    height: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.service-content h3,
.service-content p,
.service-content .btn {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-icon {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Notifications Section */
.notifications-section {
    padding: 100px 0;
    background: white;
}

.notifications-list {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.notification-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.notification-date {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-right: 1.5rem;
    min-width: 80px;
}

.notification-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.notification-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.notification-content h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.notification-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.quick-stats {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.quick-stats h3 {
    margin-bottom: 2rem;
    font-weight: 700;
}

.stat-item {
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
    color: white;
    margin-top: 2rem;
}

.footer h5,
.footer h6 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
     font-size: 14px;
    margin-bottom: 0px;
}

.footer-links a,
.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    color: white;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #9ca3af;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info i {
    width: 25px;
    color: var(--secondary-color);
    margin-right: 15px;
    flex-shrink: 0;
    text-align: center;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.shadow-custom {
    box-shadow: var(--box-shadow);
}

.border-radius-custom {
    border-radius: 15px;
}

.transition-custom {
    transition: var(--transition);
}

/* Responsive Design */
/* Mobile Responsive Top Bar */
@media (max-width: 991px) {
   
    .top-bar {
        padding: 0.6rem 0;
        min-height: 50px;
        font-size: 0.95rem;
    }

    .top-bar .container {
        padding: 0 0.5rem;
    }

    .social-links-top {
        gap: 0.2rem;
        justify-content: flex-start;
        order: 1;
        width: auto;
        margin-top: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-right: 0.25rem;
    }

    .social-link-top {
        font-size: 1.1rem;
        width: 36px;
        height: 36px;
        padding: 4px;
        flex-shrink: 0;
    }

    .contact-info {
        flex-direction: row;
        justify-content: flex-end;
        gap: 0.3rem;
        font-size: 0.85rem;
        order: 2;
        width: auto;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-left: 0.25rem;
    }

    .contact-link {
        padding: 0.3rem 0.5rem;
        border-radius: 6px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .navbar {
        
        top: 50px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 90px !important;
        background: var(--gradient-primary) !important;
        padding: 0.75rem 1rem !important;
        width: 100% !important;
        border: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .navbar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient-primary);
        z-index: -1;
        border-radius: 0 !important;
    }

    .navbar-brand {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute !important;
        left: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1032 !important;
    }

    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        padding: 0.6rem !important;
        margin-left: auto !important;
        order: 3 !important;
        background: rgba(255, 255, 255, 0.1) !important;
        position: absolute !important;
        right: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1035 !important;
        width: 50px !important;
        height: 50px !important;
        border-radius: 8px !important;
    }

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

    .navbar-toggler-icon {
        display: inline-block !important;
        width: 1.8em !important;
        height: 1.8em !important;
        vertical-align: middle !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 100% 100% !important;
        border: none !important;
    }

    .logo-img {
        width: 40px !important;
        height: 40px !important;
    }

    .logo-text {
        font-size: 1.1rem !important;
    }

    .hero-section {
        margin-top: 0;
        height: calc(100vh - 140px);
    }

    main.container {
        margin-top: 0 !important;
    }

    .hero {
        margin-top: 0 !important;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Site-wide Responsiveness Enhancements */
body {
    overflow-x: hidden;
}

.btn,
.nav-link,
.dropdown-item {
    min-height: 44px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {

    .btn,
    .nav-link,
    .dropdown-item {
        min-height: 48px;
        font-size: 16px;
        padding: 0.75rem 1rem;
    }
}

.container,
.container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
        max-width: 1220px;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
   
    background: #e6e6e6;
    padding: 10px;
    border-radius: 40px;
    width: 40px !important;
}
.swiper-button-next, .swiper-button-prev{
    width: 40px !important;

}
@media (min-width: 576px) {

    .container,
    .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.row {
    flex-wrap: wrap;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.col-*,
.col-sm-*,
.col-md-*,
.col-lg-* {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {

    .col-*,
    .col-sm-*,
    .col-md-*,
    .col-lg-* {
        margin-bottom: 0;
    }
}

p,
.hero-subtitle,
.feature-card p,
.service-content p {
    font-size: clamp(1rem, 4vw, 1.2rem);
    line-height: 1.6;
}

h1,
.hero-title,
.section-title {
    font-size: clamp(1.5rem, 6vw, 3rem);
}

h2,
h3,
h4 {
    font-size: clamp(1.2rem, 5vw, 2rem);
}

img,
.carousel-item img,
.service-card {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.form-control,
.form-select {
    min-height: 44px;
    font-size: 16px;
}

@media (max-width: 576px) {

    .form-control,
    .form-select {
        min-height: 48px;
        font-size: 16px;
    }
}

/* Device-specific Smooth Scrolling */
@supports (-webkit-overflow-scrolling: touch) {
    html {
        -webkit-overflow-scrolling: touch;
    }
}

/* iOS Safe Area for Fixed Elements */
@supports (padding-top: env(safe-area-inset-top)) {
    .fixed-top {
        padding-top: env(safe-area-inset-top);
    }

    .top-bar {
        padding-top: env(safe-area-inset-top);
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

@media (max-width: 576px) {
    

    .top-bar {
        padding: 0.7rem 0;
        min-height: 55px;
        font-size: 1rem;
    }

    .top-bar .container {
        padding: 0 0.5rem;
    }

    .social-links-top {
        gap: 0.2rem;
        justify-content: flex-start;
        order: 1;
        width: auto;
        flex: 1;
        overflow: hidden;
    }

    .social-link-top {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        padding: 5px;
        flex-shrink: 0;
    }

    .contact-info {
        gap: 0.3rem;
        font-size: 0.85rem;
        order: 2;
        flex: 1;
        justify-content: flex-end;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-left: 0.25rem;
    }

    .contact-link {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
        min-width: auto;
        white-space: nowrap;
    }

    .navbar {
         
        top: 55px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 95px !important;
        background: var(--gradient-primary) !important;
        padding: 0.85rem 1rem !important;
        width: 100% !important;
        border: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .navbar-brand {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
    }

    .logo-container {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .logo-img {
        width: 42px !important;
        height: 42px !important;
    }

    .logo-text {
        font-size: 1.15rem !important;
        white-space: nowrap !important;
    }

    .navbar-collapse {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--gradient-primary) !important;
        z-index: 1029 !important;
        overflow: hidden !important;
        max-height: none !important;
    }

    .navbar-collapse.show {
        display: flex !important;
        flex-direction: column !important;
        padding-top: 0.5rem !important;
        max-height: 100vh !important;
    }

    .navbar-toggler {
        display: block !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        padding: 0.65rem !important;
        order: 2 !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(255, 255, 255, 0.1) !important;
        position: relative !important;
        z-index: 1031 !important;
        margin-left: auto !important;
        width: 52px !important;
        height: 52px !important;
        border-radius: 8px !important;
    }

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

    .navbar-toggler-icon {
        display: inline-block !important;
        width: 1.9em !important;
        height: 1.9em !important;
        vertical-align: middle !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 100% 100% !important;
        border: none !important;
    }

    .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        margin: 0 !important;
        ms-auto: none !important;
    }

    .navbar-nav .nav-item {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .navbar-nav .nav-link {
        font-size: 1rem !important;
        padding: 1rem 1.25rem !important;
        width: 100% !important;
        text-align: left !important;
        margin: 0 !important;
        border-radius: 0 !important;
        display: block !important;
        color: white !important;
        min-height: 52px !important;
        align-items: center !important;
    }

    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 0 !important;
    }

    .dropdown-item {
        padding: 0.85rem 1.75rem !important;
        font-size: 0.95rem !important;
        margin: 0 !important;
        width: 100% !important;
        text-align: left !important;
    }

    .hero-section {
        margin-top: 0 !important;
        height: calc(100vh) !important;
        overflow: hidden !important;
    }

    .hero-content {
        text-align: left !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        padding: 1rem 0.5rem !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
        text-align: left !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        text-align: left !important;
        max-width: 100% !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 0.5rem !important;
        width: 100% !important;
        align-items: stretch !important;
    }

    .hero-buttons .btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        min-width: auto !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 !important;
    }

    main.container {
        margin-top: 110px !important;
    }

    .hero {
        margin-top: 110px !important;
    }

    #heroCarousel {
        position: relative !important;
        overflow: hidden !important;
    }

    #heroCarousel .carousel-item img {
        height: calc(100vh - 150px) !important;
        object-fit: cover !important;
        width: 100% !important;
    }

    .carousel-caption.d-flex.align-items-end.justify-content-center.h-100.p-0.pb-0 {
        position: relative !important;
        bottom: auto !important;
        left: 7% !important;
        right: 0% !important;
        padding: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        opacity: 0.5 !important;
        width: 5% !important;
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1 !important;
    }

    .carousel-indicators {
        bottom: 1rem !important;
        z-index: 20 !important;
    }

    .carousel-indicators button {
        width: 10px !important;
        height: 10px !important;
    }
}

/* Tablet Responsiveness (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar-expand-lg {
        flex-direction: row;
        justify-content: space-between;
    }

    .navbar-nav {
        flex-direction: row !important;
        width: auto !important;
    }

    .navbar-nav .nav-item {
        border-bottom: none !important;
    }

    .navbar-nav .nav-link {
        width: auto !important;
        padding: 0.5rem 1rem !important;
        text-align: center !important;
        min-height: 44px !important;
    }

    .col-lg-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .hero-buttons {
        gap: 1rem !important;
        flex-direction: row !important;
    }

    .hero-buttons .btn {
        width: auto !important;
        min-width: 140px !important;
        padding: 10px 20px !important;
    }

    .feature-card,
    .service-card {
        padding: 2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .section-title {
        font-size: 2.2rem !important;
    }

    .form-row .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 1rem !important;
    }

    .advertise-item {
        flex: 0 0 120px !important;
        height: 120px !important;
    }
}

@media (min-width: 577px) and (max-width: 991px) {
  
    .top-bar {
        min-height: 48px;
        padding: 0.5rem 0;
    }

    .contact-info {
        flex-direction: row;
        gap: 0.25rem;
    }

    .contact-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }

    .social-link-top {
        width: 34px;
        height: 34px;
        font-size: 1.05rem;
    }

    .navbar {
        top: 0px;
        min-height: 82px;
    }

    .logo-img {
        width: 42px !important;
        height: 42px !important;
    }

    .logo-text {
        font-size: 1.15rem !important;
    }

    .navbar-toggler {
        width: 48px !important;
        height: 48px !important;
    }

    .hero-section {
        margin-top: 0;
        height: calc(100vh - 130px);
    }

    main.container {
        margin-top: 0 !important;
    }

    .hero {
        margin-top: 0 !important;
    }
}

@media (min-width: 992px) {
    

    .top-bar {
        min-height: 45px;
        padding: 0.5rem 0;
    }

    .contact-info {
        flex-direction: row;
        gap: 0.4rem;
    }

    .contact-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .social-links-top {
        gap: 0.6rem;
    }

    .social-link-top {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .navbar {
        top: 0px !important;
        min-height: 60px;
                z-index: 1024;
    }

    .logo-img {
        width: 45px;
        height: 45px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero-section {
        margin-top: 0;
 
    }

    main.container {
        margin-top: 0 !important;
    }

    .hero {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
     

    .top-bar {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        min-height: 40px;
    }

    .contact-info {
        justify-content: center;
        margin-bottom: 0.25rem;
        gap: 8px;
    }

    .social-links-top {
        justify-content: center;
        gap: 12px;
    }

    .social-link-top {
        font-size: 1.1rem;
        padding: 6px;
        width: 35px;
        height: 35px;
    }

    .navbar {
        
        top: 40px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 70px !important;
        background: var(--gradient-primary) !important;
        padding: 0.5rem 1rem !important;
        width: 100% !important;
        border: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .navbar-brand {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        border: none !important;
        padding: 0.25rem 0.5rem !important;
        margin-left: auto !important;
        background: none !important;
    }

    .navbar-toggler-icon {
        display: inline-block !important;
        width: 1.5em !important;
        height: 1.5em !important;
        vertical-align: middle !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 100% 100% !important;
    }

    .hero-section {
        padding-top: 0;
        height: calc(100vh - 110px);
        margin-top: 0;
    }

    .hero-content {
        text-align: left;
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: left;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: left;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .carousel-caption {
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0 0 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card {
        margin-bottom: 2rem;
    }

    .service-card {
        height: 300px;
        margin-bottom: 1.5rem;
        min-height: auto;
    }

    .service-content {
        width: 100%;
        padding: 0.5rem;
    }

    .service-icon {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .service-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .service-content .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }

    .notification-item {
        flex-direction: column;
        text-align: center;
    }

    .notification-date {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .carousel-item img {
        height: 60vh !important;
    }

    .quick-links-section {
        padding: 50px 0 80px;
    }

    .footer {
        margin-top: 1.5rem;
        padding: 2rem 0 1rem;
    }
}

@media (max-width: 576px) {
     

    .top-bar .container {
        padding: 0 1rem;
    }

    .contact-info,
    .social-links-top {
        flex-wrap: wrap;
        gap: 10px;
    }

    .top-bar {
        position: fixed !important;
        top: 0 !important;
        z-index: 1040 !important;
        min-height: 40px !important;
    }

    .navbar {
         
        top: 40px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 80px !important;
        min-height: 80px !important;
        background: var(--gradient-primary) !important;
        padding: 0.5rem 1rem !important;
        width: 100% !important;
        border: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .navbar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient-primary);
        z-index: -1;
        border-radius: 0 !important;
    }

    .navbar-brand {
        position: absolute !important;
        left: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1032 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        border: none !important;
        padding: 0.5rem !important;
        background: none !important;
        position: absolute !important;
        right: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1035 !important;
        width: 40px !important;
        height: 40px !important;
        margin-left: auto !important;
        order: 3 !important;
    }

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

    .navbar-toggler-icon {
        display: inline-block !important;
        width: 1.5em !important;
        height: 1.5em !important;
        vertical-align: middle !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 100% 100% !important;
        border: none !important;
    }

    .hero-section {
        padding-top: 0 !important;
        margin-top: 0 !important;
        min-height: calc(100vh - 120px) !important;
        height: auto !important;
    }

    .hero-content {
        padding: 1rem 0 !important;
        text-align: center !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
        text-align: center !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        text-align: center !important;
        max-width: 100% !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 0.5rem !important;
        width: 100% !important;
        align-items: stretch !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        margin: 0 !important;
        justify-content: center !important;
    }

    .features-section,
    .quick-links-section,
    .notifications-section {
        padding: 50px 0 150px !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .feature-card {
        padding: 1.5rem 1rem !important;
    }

    .feature-card h4 {
        font-size: 1.2rem !important;
    }

    .service-card {
        height: 280px !important;
        margin-bottom: 1.5rem !important;
    }

    .service-content h3 {
        font-size: 1.2rem !important;
    }

    .service-icon {
        font-size: 2.5rem !important;
    }

    .service-content p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }

    .service-content .btn {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        width: 100% !important;
        max-width: 200px !important;
    }

    .btn {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }

    .carousel-indicators button {
        width: 10px !important;
        height: 10px !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 5% !important;
        opacity: 0.5 !important;
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1 !important;
    }

    #heroCarousel .carousel-item {
        min-height: calc(100vh - 120px) !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .quick-links-section {
        padding: 50px 0 80px !important;
    }

    .footer {
        padding: 1.5rem 0 !important;
        margin-top: 1rem !important;
    }

    .footer .contact-info {
        gap: 0.5rem !important;
    }

    .contact-info p {
        font-size: 0.9rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .contact-info i {
        margin-right: 0 !important;
        margin-bottom: 0.25rem !important;
        width: auto !important;
    }

    /* Reinforce navbar for extra small screens */
    nav.navbar,
    nav.navbar.fixed-top,
    .navbar-expand-lg {
        height: 80px !important;
        min-height: 80px !important;
        padding: 0 !important;
    }

    nav.navbar .container-fluid {
        padding: 0.75rem 1rem !important;
    }

    .logo-img {
        width: 30px !important;
        height: 30px !important;
    }

    .logo-text {
        font-size: 0.9rem !important;
    }

    .navbar-toggler {
        padding: 0.5rem !important;
    }

    .navbar-toggler-icon {
        width: 1.25em !important;
        height: 1.25em !important;
    }
}

/* Adjust content margin for fixed top bar and navbar */
/* main.container {
    margin-top: 90px !important;
}

.hero {
    margin-top: 90px !important;
} */

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

/* Advertisement Section */
.advertise-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
}

.advertise-track {
    display: flex;
    animation: scroll 60s linear infinite;
    gap: 1.5rem;
    padding: 1rem 0;
    align-items: center;
    justify-content: flex-start;
    width: max-content;
}

.advertise-track:hover {
    animation-play-state: paused;
}

.advertise-track a {
    flex: 0 0 180px;
    min-width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.4s ease;
}

.advertise-item {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 12px rgba(16, 9, 82, 0.967);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) 1;
}

.advertise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.advertise-item:hover::before {
    opacity: 1;
}

.advertise-track a:hover .advertise-item {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4), 0 0 20px rgba(59, 130, 246, 0.5);
}

.advertise-track a:hover {
    transform: scale(1.05);
    cursor: pointer;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .advertise-track a {
        flex: 0 0 140px;
        min-width: 140px;
        height: 140px;
    }
}

@media (min-width: 769px) and (max-width: 1366px) {
    .advertise-slider {
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .advertise-track a {
        flex: 0 0 200px;
        min-width: 200px;
        height: 200px;
    }

    .advertise-item .placeholder-text {
        font-size: 1.1rem;
    }
}

@media (min-width: 1367px) {
    .advertise-slider {
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .advertise-track a {
        flex: 0 0 220px;
        min-width: 220px;
        height: 220px;
    }

    .advertise-item .placeholder-text {
        font-size: 1.2rem;
    }
}

/* Remove conflicting media query */
@media (min-width: 768px) and (max-width: 1024px) {
    .col-lg-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .hero-buttons {
        gap: 1rem !important;
        flex-direction: row !important;
    }

    .hero-buttons .btn {
        width: auto !important;
        min-width: 140px !important;
        padding: 10px 20px !important;
    }

    .feature-card,
    .service-card {
        padding: 2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .section-title {
        font-size: 2.2rem !important;
    }

    .form-row .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 1rem !important;
    }
}

/* Login & Register Button Styles */
.login-action-wrap {
    margin-left: 10px;
}

.login-btn {
    border-radius: 30px !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    transition: 0.3s ease;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px);
}

.register-btn {
    border-radius: 30px !important;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    color: #000 !important;
    transition: 0.3s ease;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

.register-btn:hover {
    background: #eab308 !important;
    /* deeper golden touch */
    transform: translateY(-2px);
}

/* Mobile full-width buttons */
@media (max-width: 991px) {
    .login-action-wrap {
        width: 100% !important;
        flex-direction: column !important;
        margin-top: 10px;
        padding: 0 1rem;
    }

    .login-btn,
    .register-btn {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ===============================
   HERO SECTION - RESPONSIVE SLIDER FIX
   =============================== */

/* General Hero Section Styling */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.hero-section .carousel-item {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: stretch;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(10 20 40 / 0%);
    z-index: 1;
}

/* Caption & Content Area */
.carousel-caption {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
}

.hero-content {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    color: #fff;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
    color: #f1f5f9;
}

.hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s ease;
}

/* Desktop View (default) */
@media (min-width: 992px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-content {
        background: transparent;
        padding: 0;
    }
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1.8rem 1.25rem;
        background: rgba(0, 0, 0, 0.4);
    }

    .hero-buttons .btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .hero-section {
        min-height: 85vh;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }

    .hero-content {
        background: rgba(0, 0, 0, 0.55);
        padding: 1.25rem 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        font-size: 1rem;
    }

    /* Carousel control icons size fix */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 0.65rem 1.1rem;
    }
}

/* Smooth transitions on slide change */
.carousel-item {
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

/* ===============================
   BLOG PAGE STYLING
   =============================== */

.blog-hero {
    background: linear-gradient(135deg, #020617, #1e293b);
    color: #ffffff;
    padding: 90px 0 70px;
}

.blog-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* Blog Card */
.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
    transition: all 0.4s ease;
    height: 100%;
}

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

/* Blog Image */
.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Blog Content */
.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
}

.blog-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #020617;
    margin-bottom: 10px;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* Read More Button */
.blog-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    background: #1e3a8a;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.blog-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

/* Mobile */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2.2rem;
    }

    .blog-card img {
        height: 200px;
    }
}

/* MAIN SIDEBAR CONTAINER */
.fixed-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    /* ZERO SPACE */
}

/* RESET */
.fixed-sidebar * {
    box-sizing: border-box;
    margin: 0;
}

/* =============== ENQUIRE NOW SECTION =============== */

.enquire-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* HIDDEN FORM */
.form-panel {
    position: absolute;
    right: 45px;
    /* show at left side of yellow bar */
    top: 0;
    width: 0;
    overflow: hidden;
    opacity: 0;
    background: #fff;
    transition: .3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, .15);
    border-radius: 12px 0 0 12px;
}

/* HOVER → OPEN FORM */
.enquire-wrapper:hover .form-panel {
    width: 280px;
    opacity: 1;
    padding: 10px;
    border: 1px solid #ddd;
}

/* Yellow Button */
.enquire-bar {
    background: #224AB9;
    width: 45px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 0;
    cursor: pointer;
}

.enquire-bar span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: bold;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =============== FORM FIELDS =============== */
.form-panel h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.form-panel input,
.form-panel textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-panel button {
    width: 100%;
    padding: 5px;
    background: #FFB800;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

/* =============== WHATSAPP / CALL BUTTONS =============== */

.action-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: .3s;
}

.whatsapp {
    background: #62D36D;
}

.call {
    background: #0FC48A;
    border-radius: 0 0 0 12px;
}

/* HOVER EXPAND */
.action-btn:hover {
    width: 140px;
    justify-content: space-between;
    padding: 0 12px;
    border-radius: 10px 0 0 10px;
    color: white;
}

.btn-label {
    display: none;
    font-weight: 600;
    white-space: nowrap;
}

.action-btn:hover .btn-label {
    display: inline;
}

/* ===============================
   GALLERY SECTION STYLING
   =============================== */
.dropdown-menu {
    padding: 0px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: var(--transition);
    border-radius: 5px;
    margin: 0px;
}

.gallery-section {
    background: #f8fafc;
}

.gallery-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #020617;
}

.gallery-section .section-subtitle {
    color: #64748b;
    margin-top: 0.5rem;
}

/* Gallery Card */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    transition: all 0.4s ease;
    background: #000;
}

/* Images */
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.4s ease;
}

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.85;
}

/* Overlay (optional, subtle) */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(2, 6, 23, 0.1),
        rgba(2, 6, 23, 0.55));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery-item img {
        height: 180px;
    }
}


.gallery-item img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
}

/* ===============================
   FAQ SECTION STYLING
   =============================== */

.faq-section .subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
}

/* Accordion container */
.faq-section .accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

/* Accordion header button */
.faq-section .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    padding: 20px;
    transition: all 0.3s ease;
}

/* Remove default Bootstrap arrow */
.faq-section .accordion-button::after {
    background-image: none;
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #2563eb;
    transition: transform 0.3s ease;
}

/* Rotate icon when open */
.faq-section .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

/* Active state */
.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: #ffffff;
    padding: 20px;
    border-radius: 20px;
}

/* Accordion body */
.faq-section .accordion-body {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    padding: 25px;
    background: #ffffff;
    font-weight: 400;
}

/* Focus fix */
.faq-section .accordion-button:focus {
    box-shadow: none;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .faq-section .subsection-title {
        font-size: 1.5rem;
    }

    .faq-section .accordion-button {
        font-size: 0.95rem;
    }

    .faq-section .accordion-body {
        font-size: 0.9rem;
    }
}

.carousel-item {
    display: none !important;
}

.carousel-item.active {
    display: block !important;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
    color: #f1f5f9;
    margin-left: 0px;
}

.hero-section {
    display: block;
}

#heroCarousel .carousel-item {
    align-content: center;
}

.testimonial-section {
    text-align: center;
    padding: 40px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #083565;
}

.section-subtitle {
    color: #0dbf66;
    font-weight: 600;
    margin-bottom: 25px;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e4e4;
    padding: 18px;
    text-align: left;
    min-height: 240px;
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.student-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.quote {
    position: absolute;
    right: 5px;
    top: -5px;
    font-size: 26px;
    color: #777;
}

.stars {
    color: #ffb300;
    font-size: 14px;
}

.role {
    font-size: 13px;
    color: #777;
}
footer ul li .fas {
    color: #FFCE00;
}
.testimonial-text {
    margin-top: 12px;
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

/* Swiper styling */
.swiper-pagination-bullet-active {
    background: #0dbf66;
}

.swiper-button-next,
.swiper-button-prev {
    color: #0dbf66;
    /* arrow icon size */
}

#popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: none;
    z-index: 9998;
    transition: opacity .4s ease;
}

/* POPUP MAIN BOX */
#enquiry-popup {
    width: 800px;
    max-width: 95%;
    background: #2751AC;
    color: #fff;
    border-radius: 12px;
    padding: 25px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
    display: flex;
    gap: 25px;

    opacity: 0;
    transform: translate(-50%, -45%);
    transition: all .4s ease;

    max-height: 90vh;
    /* ⭐ popup screen se bahar na nikle */
    overflow-y: auto;
    /* ⭐ andar scroll ho jayega */
}

/* jab popup dikhe */
#enquiry-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* close button */
#close-popup {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    font-size: 22px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    padding: 4px 9px;
}

/* LEFT SIDE */
.popup-left {
    width: 45%;
}

.popup-left h2 {
       font-size: 22px;
    font-weight: 600;
}

.badge {
    background: #ffb000;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 6px;
    color: #000;
}

/* ⭐ FIXED HEIGHT IMAGE WITH CROP */
.student-img-popup {
    width: 100%;
    height: 310px;
    margin-top: 10px;
    border-radius: 10px;
    object-fit: fill;
    object-position: center;
}

/* RIGHT SIDE */
.popup-right {
    width: 55%;
}

.popup-right h3 {
    margin-bottom: 10px;
}

/* ========= 📱 MOBILE RESPONSIVE ========= */
@media(max-width:768px) {

    #enquiry-popup {
        flex-direction: column;
        padding: 18px;
        width: 95%;
        max-height: 95vh;
        /* aur comfortable */
    }

    .popup-left,
    .popup-right {
        width: 100%;
    }

    .popup-left h2 {
        font-size: 20px;
        text-align: center;
    }

    .badge {
        display: block;
        text-align: center;
    }

    /* ⭐ MOBILE IMAGE SIZE PERFECT */
    .student-img-popup {
        height: 220px;
    }

    .popup-right h3 {
        text-align: center;
    }
}


 


.sec-top p {
    max-width: 850px;
    margin: 0 auto;
}


.courses-section {
   background: #6a4115;
    padding: 70px 0;
    color: #fff;
    text-align: center;
    font-family: Arial;
}

.btn.btn-blue{
    background: #224AB9;
color:#fff;
font-weight: bold;
}
.btn.btn-blue:hover{
color:#fff !important;
}
.btn.btn-green:hover{
  color:#fff !important;  
}
.newsection{
        background: #fff;
    border-radius: 8px 8px 8px 8px;
    box-shadow: 2px 2px 8px -2px rgba(0, 0, 0, 0.5);
    margin: 40px 0px;
    padding: 20px;
}
.courses-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 800;
}

.subtitle {
    max-width: 850px;
    margin: 0 auto 30px;
    color: #e4e4e4;
    font-size: 14px;
}
.newlist i{
    color: #FFCE00;
}
.list-unstyled {
    line-height: 30px;
}/* Card */
.course-card {
    border: 2px solid #fff;
    border-radius: 6px;
        padding: 6px;
    height: 100%;
        background: #fff;
}

.course-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 4px;
}

.course-card h3 {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 800;
    color: #000;
}

.divider {
    width: 60px;
    height: 3px;
    background: #fff;
    margin: 10px auto;
    border-radius: 6px;
}

.course-card p {
    font-size: 16px;
        color: #333;
    min-height: 60px;
}

/* Buttons */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-outline {
    padding: 10px 18px;
    border: 2px solid #000;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
    font-size: 13px;
    font-weight: 700;
}

.btn-green {
    padding: 10px 18px;
    background: #28a745;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* View all */
.view-btn-wrap {
    margin-top: 25px;
}

.view-all {
    padding: 12px 22px;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    font-weight: 800;
}


.text-left{
    text-align: left;
}
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: .3s;
    border-radius: 10px;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media(max-width:768px) {
    .gallery-item img {
        height: 200px;
    }
}
.newlist1 i{color:#083565}

.facility-card {
    border: 2px solid #fff;
    border-radius: 6px;
    padding: 6px;
    background: #fff;
}

.facility-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.facility-card h4 {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 800;
        color: #333;
}

.facility-card p {
    font-size: 16px;
        color: #333;
    min-height: 60px;
}

form {
    width: 100%;
    border-radius: 10px;
}

/* Inputs */
.form-control {
    width: 100%;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: .2s;
}

.form-control:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, .15);
}

/* Button */
.mybtn {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.modal-header{
    background: #ffb000;
    padding: 6px;
    text-align: center;
}
.close_modal{
font-size: 30px;
    width: 30px;
    height: 30px;
    line-height: 20px;
    float: right;
    position: absolute;
    right: 5px;
    background: #fff7f7;
    border: 0px;
    border-radius: 50%;
}
.mybtn-success {
    background: #2ecc71;
    color: #fff;
}

.mybtn-success:hover {
    background: #27ae60;
}
 
@media(min-width:768px){
    .desktop_header{display:block;width: 100%;}
    .mobile_header{ display:none}
}
@media(max-width:767px){
    .desktop_header{display:none}
    .mobile_header{ display:block}
}

.blink-text {
       font-size: 18px;
    font-weight: bold;
    color: #b31516;
    text-transform: capitalize;
    border-radius: 5px;
    animation: blink-txt 2100ms infinite;
    margin: 14px 0;
    line-height: 25px;
}
@keyframes blink-txt{
0% {
    color: #F9DB06;
    text-shadow: 0 0 3px #B31415;
}
50% {
    color: #B31415;
    text-shadow: 0 0 3px #F9DB06;
}
100% {
    color: #F9DB06;
    text-shadow: 0 0 3px #B31415;
}
}
.btn-outline-light {
    color: #000;
    border-color: #f8f9fa;
    background: #fff;
}