/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 126px;
    margin: 0;
}

/* Top Bar Styles */
.top-bar {
    border-bottom: 1px solid #eee;
    background-color: #fff;
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 80px;
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link:hover {
    color: #333;
    text-decoration: none;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Header Controls */
.font-controls .btn {
    padding: 0 0.3rem;
    color: #333;
    font-weight: 500;
}

.btn-link {
    text-decoration: none;
    color: #333;
}

.btn-link:hover {
    color: #2e3192;
}

/* Navbar Styles */
.navbar {
    padding: 0;
    background-color: #2e3192 !important;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 1029;
    height: 46px;
    margin: 0;
}

.navbar-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 46px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 0 1.5rem;
    font-weight: 500;
    height: 46px;
    line-height: 46px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Search Box Styles */
.search-box {
    position: relative;
    max-width: 200px;
    margin-left: 20px;
}

.search-box .form-control {
    padding: 6px 35px 6px 15px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    height: 34px;
    font-size: 14px;
    width: 100%;
}

.search-box .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
    color: white;
    outline: none;
}

.search-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.search-box .search-btn {
    position: absolute;
    right: 2px;
    top: 2px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-box .search-btn:hover {
    color: white;
}

/* Dropdown Styles */
.dropdown-menu {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 0;
    border: none;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Buttons */
.btn-outline-primary {
    border-color: #2e3192;
    color: #2e3192;
}

.btn-outline-primary:hover {
    background-color: #2e3192;
    border-color: #2e3192;
    color: white;
}

.btn-primary {
    background-color: #2e3192;
    border-color: #2e3192;
}

.btn-primary:hover {
    background-color: #232578;
    border-color: #232578;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    body {
        padding-top: 170px;
    }

    .navbar {
        top: 124px;
        height: auto;
    }

    .navbar-container {
        flex-direction: column;
        height: auto;
    }

    .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-item {
        width: 100%;
    }

    .navbar-dark .navbar-nav .nav-link {
        height: auto;
        line-height: normal;
        padding: 10px 1.5rem;
        white-space: normal;
    }

    .search-box {
        width: 100%;
        max-width: 100%;
        margin: 1rem 0;
    }

    .search-box .form-control {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .carousel-item {
        height: 400px;
    }

    .carousel-caption {
        padding: 0 10%;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem;
    }

    .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Hero Carousel */
#heroCarousel {
    margin-top: -126px;
    position: relative;
    z-index: 1;
}

.carousel-item {
    height: 600px;
    background-color: #000;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    opacity: 0.7;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0 20%;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-caption .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.feature-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    color: #0d6efd;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(45deg, #0d6efd, #0099ff);
    padding: 5rem 0;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta .btn-light {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta .btn-light:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Statistics Section */
.stats {
    padding: 5rem 0;
    background: #f8f9fa;
}

.stats .display-4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0d6efd;
}

.stats p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Service Boxes */
.service-box {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

/* Team Member Cards */
.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* Process Accordion */
.process-accordion .accordion-button:not(.collapsed) {
    background-color: #0d6efd;
    color: white;
}

/* Contact Form */
.contact-form {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Footer Styles */
footer {
    background-color: #2e3192 !important;
    font-size: 14px;
}

footer h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

footer .list-unstyled li {
    margin-bottom: 8px;
}

footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    font-size: 13px;
}

footer .list-unstyled a:hover {
    color: #fff;
    text-decoration: underline !important;
}

/* Social Media Section */
footer .social-links {
    display: flex;
    align-items: center;
}

footer .social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    margin-right: 10px;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Copyright Section */
footer .border-top {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

footer small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer .row > div {
        margin-bottom: 30px;
    }
    
    footer .social-links {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    footer .text-md-end {
        text-align: center !important;
    }
}

/* Quick Links */
.quick-links {
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #2e3192 #f8f9fa;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(46, 49, 146, 0.1);
}

.quick-links::-webkit-scrollbar {
    width: 6px;
}

.quick-links::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.quick-links::-webkit-scrollbar-thumb {
    background-color: #2e3192;
    border-radius: 3px;
}

.quick-links h5 {
    color: #2e3192;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(46, 49, 146, 0.1);
}

.quick-links a {
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    background: transparent;
}

.quick-links a:hover {
    background: #ffffff;
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(46, 49, 146, 0.08);
}

.quick-link-icon {
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 49, 146, 0.1);
    border-radius: 8px;
    margin-right: 12px !important;
    color: #2e3192;
    transition: all 0.3s ease;
}

.quick-links a:hover .quick-link-icon {
    transform: scale(1.1) rotate(5deg);
    background: #2e3192;
    color: white;
}

/* Latest Updates */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
}

/* Things To Know */
.nav-pills .nav-link {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:not(.active) {
    background: rgba(46, 49, 146, 0.1);
    color: #2e3192;
}

.nav-pills .nav-link.active {
    background: linear-gradient(145deg, #2e3192, #232578);
    box-shadow: 0 4px 15px rgba(46, 49, 146, 0.2);
}

.video-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 49, 146, 0.1);
}

.video-card img {
    transition: all 0.3s ease;
}

.video-card:hover img {
    transform: scale(1.05);
}

.video-card h6 {
    padding: 15px;
    margin: 0;
    background: white;
    font-weight: 500;
}

/* Slider Styles */
#mainSlider {
    margin-top: 0; /* Remove the top margin since it's now in container */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#mainSlider .carousel-item {
    height: 350px; /* Adjust height to match content area */
}

#mainSlider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

#mainSlider .carousel-indicators {
    bottom: 10px;
}

#mainSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    transition: all 0.3s ease;
}

#mainSlider .carousel-indicators button.active {
    background: #2e3192;
    transform: scale(1.2);
}

#mainSlider .carousel-control-prev,
#mainSlider .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 10px;
}

#mainSlider .carousel-control-prev-icon,
#mainSlider .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Responsive Slider */
@media (max-width: 992px) {
    #mainSlider {
        margin-top: 1rem;
    }

    #mainSlider .carousel-item {
        height: 250px;
    }
}

@media (max-width: 576px) {
    #mainSlider .carousel-item {
        height: 200px;
    }
}

/* News Ticker Styles */
.news-ticker {
    display: flex;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(46, 49, 146, 0.1);
    overflow: hidden;
}

.ticker-label {
    background: linear-gradient(145deg, #2e3192, #232578);
    color: white;
    padding: 15px 25px;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    min-width: 180px;
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 46px;
}

.ticker-content {
    position: absolute;
    top: 0;
    animation: ticker 20s linear infinite;
    width: 100%;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    height: 46px;
    line-height: 46px;
    padding: 0 20px;
    white-space: nowrap;
    color: #333;
}

.ticker-item i {
    color: #2e3192;
}

@keyframes ticker {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-46px);
    }
    50% {
        transform: translateY(-92px);
    }
    75% {
        transform: translateY(-138px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive News Ticker */
@media (max-width: 768px) {
    .news-ticker {
        flex-direction: column;
    }
    
    .ticker-label {
        justify-content: center;
        padding: 8px;
    }
    
    .ticker-wrap {
        height: 40px;
    }
    
    .ticker-item {
        height: 40px;
        line-height: 40px;
        text-align: center;
    }
    
    @keyframes ticker {
        0% {
            transform: translateY(0);
        }
        25% {
            transform: translateY(-40px);
        }
        50% {
            transform: translateY(-80px);
        }
        75% {
            transform: translateY(-120px);
        }
        100% {
            transform: translateY(0);
        }
    }
}

/* Quick Links Icons */
.quick-link-icon {
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e3192;
    transition: all 0.3s ease;
}

.quick-links a:hover .quick-link-icon {
    transform: scale(1.1);
    color: #1a1b5e;
}

.quick-links h5 i {
    color: #2e3192;
} 