/* 
=====================================================
  Theme: PVEdu
  Developed by PV Web Solution
  Version: 1.0
  Website: www.pvwebsolution.com
=====================================================
*/

  :root {
            --primary-color: #1e4d92;
            --secondary-color: #0c2d5c;
            --accent-color: #ffd700;
            --text-color: #333;
            --light-bg: #f8f9fa;
        }

        /* Base Styles */
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-color);
        }

/* Base Typography */


h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.navbar-nav {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

        /* Navigation Styles */
        .top-bar {
            background: #f3b90c;
            color: white;
            padding: 8px 0;
            font-size: 0.9rem;
        }

        .top-bar a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .top-bar a:hover {
            color: var(--accent-color);
        }
        
        .logo img {
  max-height: 130px;
  height: auto;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}

.logo {
  padding: 5px 10px;
  display: inline-block;
}

/* Navbar Base */
.navbar {
    padding: 6px 0px;
    background: linear-gradient(45deg, #e6e9b7, #ffffff00);
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid #eee;
    font-family: 'Poppins', sans-serif;
    z-index: 1030;
    position: relative;
}

.navbar.scrolled {
    padding: 10px 0;
    background: #ffffffee !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Logo */
.navbar .logo img {
    max-height: 75px;
    transition: all 0.3s ease-in-out;
}
.navbar.scrolled .logo img {
    max-height: 45px;
}

/* Main Nav Links */
.navbar-nav .nav-link {
    color: #222;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    position: relative;
    padding: 10px 15px;
    margin: 0 5px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color, #007bff);
    background-color: rgba(0, 123, 255, 0.1);
}

/* Remove the old underline effect */
.navbar-nav .nav-link::after {
    display: none;
}

/* Dropdown Caret Arrow */
.navbar-nav .dropdown-toggle::after {
    font-family: "Font Awesome 6 Free";
    content: "\f078";
    font-weight: 900; /* Added font-weight for proper icon display */
    font-size: 0.6rem;
    margin-left: 5px;
    vertical-align: middle;
    line-height: 1;
    position: static;
    display: inline !important;
    float: none !important;
    border: none !important;
    transition: transform 0.3s ease;
}

/* Rotate caret when dropdown is open */
.navbar-nav .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px;
}

.dropdown-item {
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--primary-color, #007bff);
}

/* Active state for dropdown toggle */
.navbar-nav .dropdown.show > .nav-link {
    color: var(--primary-color, #007bff);
    background-color: rgba(0, 123, 255, 0.1);
}



/* Dropdown Menu Styling */
.dropdown-menu {
    border-radius: 10px;
    padding: 15px 0;
    border: none;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    min-width: 200px;
    animation: fadeIn 0.25s ease-in-out;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.25s ease;
}

.dropdown-item:hover {
    background-color: #f4f4f4;
    color: var(--primary-color, #007bff);
    padding-left: 25px;
}

/* Mega Menu */
.mega-menu {
    width: 700px;
    padding: 25px 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
}

.mega-menu h5 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color, #007bff);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.mega-menu .dropdown-item {
    padding: 10px 20px;
    color: #444;
    font-size: 0.95rem;
}

.mega-menu .dropdown-item:hover {
    background-color: #f9f9f9;
    color: var(--primary-color, #007bff);
}

/* Mobile */
@media (max-width: 768px) {
    .mega-menu {
        width: 100%;
    }

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

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            min-height: 85vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            color: white;
        }

        /* Course Cards */
        .course-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }

        /* Statistics Counter */
        .stats-counter {
            background: var(--primary-color);
            color: white;
            padding: 60px 0;
        }

        .counter-number {
            font-size: 3.5rem;
            font-weight: 700;
            color: var(--accent-color);
        }

        /* Testimonials */
        .testimonial-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .testimonial-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 3px solid var(--primary-color);
            margin: 0 auto 20px;
        }

        /* Partners Carousel */
        .partner-carousel img {
            max-height: 80px;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all 0.3s;
        }

        .partner-carousel img:hover {
            filter: grayscale(0%);
            opacity: 1;
        }

  /* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&display=swap');

/* Mail Slider */
.main-slider {
    margin-top: 0;
}

.slide-item {
    height: 65vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.slide-content {
    max-width: 700px;
    margin-left: 5%;
    z-index: 2;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.slide-content .lead {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: #f1f1f1;
}

.buttons {
    display: flex;
    gap: 20px;
}

.buttons .btn {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.buttons .btn.donate {
    background-color: #f8a100;
    color: #fff;
}

.buttons .btn.donate:hover {
    background-color: #e29100;
}

.buttons .btn.action {
    background-color: #00f9b3;
    color: #000;
}

.buttons .btn.action:hover {
    background-color: #00dba0;
}

/* Swiper Controls */
.mainSwiper .swiper-button-next,
.mainSwiper .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mainSwiper .swiper-button-next:hover,
.mainSwiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mainSwiper .swiper-button-next:after,
.mainSwiper .swiper-button-prev:after {
    font-size: 24px;
    color: white;
}

.mainSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.7;
}

.mainSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Responsive Styling */
@media (max-width: 768px) {
    .slide-item {
        height: 70vh;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content .lead {
        font-size: 1.3rem;
    }

    .buttons .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.upcoming-course {
    background: white;
    transition: all 0.3s;
}

.upcoming-course:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.btn-link {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s;
}

.btn-link:hover {
    color: var(--secondary-color);
}

.course-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.course-icon {
    background: #f8f9fa;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.course-details p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.btn-danger {
    background: #ff0000;
    border: none;
    padding: 8px 30px;
    font-weight: 500;
}

.btn-danger:hover {
    background: #cc0000;
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    .slide-item {
        height: 60vh;
    }
}

        /* Enquiry Form */
        .enquiry-form {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .form-floating > .form-control,
        .form-floating > .form-select {
            border-radius: 10px;
            border: 1px solid #dee2e6;
        }

       /* Footer */
.footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 60px 0 30px;
    font-size: 15px;
    position: relative;
}

.footer h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer p,
.footer li,
.footer a {
    color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
    color: #fff;
    text-decoration: none;
}

.footer .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    background: #fff;
    color: var(--secondary-color);
}

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

.footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}


        .social-icons a:hover {
            background: var(--accent-color);
            color: var(--secondary-color);
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            .counter-number {
                font-size: 2.5rem;
            }
            .mega-menu {
                padding: 15px;
            }
            
           
  .logo img {
    max-height: 70px;
  }


        }