:root {
    --primary-color: #1a237e;
    --secondary-color: #ff6f00;
    --accent-color: #0d47a1;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a2e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    /* padding: 15px 0; */
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar-brand img {
    height: 65px;
    margin-right: 10px;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 35, 126, 0.85), rgba(13, 71, 161, 0.85)),
        url('https://images.unsplash.com/photo-1562774053-701939374585?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary-custom {
    background: var(--secondary-color);
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: #ff8f00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.3);
}

.btn-outline-custom {
    border: 2px solid #fff;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Stats Counter */
.stats-section {
    background: var(--primary-color);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 20px;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: var(--light-bg);
}

.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-img img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Why Choose Us */
.why-choose-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-choose-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.why-choose-card .icon i {
    font-size: 2rem;
    color: #fff;
}

.why-choose-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.why-choose-card p {
    color: #666;
    line-height: 1.7;
}

/* Mission Vision */
.mission-vision-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
}

.mv-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mv-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.mv-card h3 i {
    font-size: 2.5rem;
    margin-right: 15px;
    color: var(--secondary-color);
}

.mv-card p {
    line-height: 1.8;
    opacity: 0.9;
}

/* Services Section */
.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .content {
    padding: 30px;
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card .btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.service-card .btn-link:hover {
    color: var(--primary-color);
}

/* Staff Section */
.staff-card {
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-10px);
}

.staff-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--secondary-color);
    margin-bottom: 20px;
}

.staff-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.staff-card .designation {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.staff-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.staff-card .social-links {
    margin-top: 20px;
}

.staff-card .social-links a {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.staff-card .social-links a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* History Timeline */
.history-section {
    background: var(--light-bg);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    padding-left: 50px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    padding-right: 50px;
    text-align: right;
}

.timeline-content {
    width: 45%;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-content h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content .year {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Events Section */
.event-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card .content {
    padding: 25px;
}

.event-card .date {
    background: var(--secondary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-card p {
    color: #666;
    line-height: 1.6;
}

.event-card .event-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
}

/* Blog Section */
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card .content {
    padding: 25px;
}

.blog-card .category {
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}

.blog-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-card .meta {
    display: flex;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.blog-card .meta img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Testimonials */
.testimonial-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    margin: 20px;
}

.testimonial-card .quote-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 30px;
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    margin-bottom: 20px;
}

.testimonial-card p {
    color: #555;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-card .designation {
    color: var(--secondary-color);
    font-weight: 500;
}

.testimonial-card .stars {
    color: #ffc107;
    margin-top: 15px;
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
}

.contact-info-card {
    background: var(--primary-color);
    color: #fff;
    padding: 50px;
    border-radius: 20px;
    height: 100%;
}

.contact-info-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-right: 20px;
    color: var(--secondary-color);
}

.contact-info-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-item p {
    opacity: 0.9;
    line-height: 1.6;
}

.social-links-contact {
    margin-top: 40px;
}

.social-links-contact a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links-contact a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-control {
    border: 2px solid #e9ecef;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.btn-submit {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 50px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 80px 0 30px;
}

.footer h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--secondary-color);
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }

    .timeline-dot {
        left: 30px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-info-card,
    .contact-form {
        padding: 30px;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}