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

  :root {
            --primary-color: #f3060f;
            --secondary-color: #262c4e;
            --accent-color: #ffd700;
            --text-color: #333;
            --light-bg: #f8f9fa;
        }

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

/* Base Typography */

 body {
    overflow-x: hidden; /* Hides horizontal scrollbar */
  }

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: var(--primary-color, #007bff);
            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, #fff, #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: #F44336;
    background-color: rgb(255 0 0 / 10%);
}

/* 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(0%);
            opacity: 0.9;
            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');

/* Main 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.9;
}

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


.ticker-wrap {
    width: 100%;
    height: 80px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    height: 3.5rem;
    background-color: #f3060f;
    color: #fff;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  margin-top: 8px;
  animation: marquee 30s linear infinite;
  padding-left: 100%; /* ensures it starts off-screen right */
}


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

.item-collection-1 {
  position: relative;
  left: 0%;
  animation: swap 20s linear infinite;
}


.item {
    display: inline-block;
    padding: 0 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 800;
    font-family: sans-serif;
}

/* Transition */
@keyframes marquee {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-100%)
  }
}

@keyframes swap {
  0%, 50% {
    left: 0%;
  }
  50.01%,
  100% {
    left: 100%;
  }
}

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

    .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;
}


.icon-circle-red {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4e50, #f9d423);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 0 10px rgba(255, 78, 80, 0.3);
}


.swiper-slide {
  width: 300px;
  opacity: 0.9;
  transition: 0.3s ease;
}
.swiper-slide-active {
  opacity: 1;
  transform: scale(1.05);
}
.avatar-ring-sm {
  width: 80px;
  height: 80px;
  border: 3px solid #dc3545;
  border-radius: 50%;
  overflow: hidden;
  padding: 2px;
}
.testimonial-card {
  min-height: 300px;
}

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

        /* 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;
  }

    }

/****** GALLERY ************/
    .photo-stack {
      position: relative;
      margin-bottom: 40px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .photo-stack:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }

    .photo-stack::before,
    .photo-stack::after {
      content: "";
      position: absolute;
      top: 8px;
      left: 8px;
      width: 100%;
      height: 100%;
      background: white;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      z-index: -1;
      border-radius: 4px;
    }

    .photo-stack::before {
      transform: rotate(-2deg);
    }

    .photo-stack::after {
      transform: rotate(2deg);
    }

    .gallery-card {
      position: relative;
      background: #fff;
      overflow: hidden;
      border-radius: 6px;
      transition: all 0.3s ease;
    }

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 32px;
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(3px);
    color: #333;
    height: 86px;
}

    .gallery-title {
      font-size: 1.0rem;
      font-weight: 600;
      margin: 0;
    }

    .gallery-count {
      font-size: 0.95rem;
      color: #666;
    }

    .gallery-col {
      padding: 0 15px;
    }

    @media (max-width: 767.98px) {
      .gallery-img {
        height: 200px;
      }
    }

 
 
/******** STICKY CONTACT BUTTONS ******/
  /* Styles for sticky WhatsApp button */
        .sticky-whatsapp {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #25D366; /* WhatsApp green */
            color: white;
            font-size: 24px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            cursor: pointer;
        }

        .sticky-whatsapp:hover {
            background-color: #1ebe57;
            text-decoration:none;
        }

        /* Tooltip container */
        .sticky-whatsapp .tooltip {
            visibility: hidden;
            background-color: black;
            color: white;
            text-align: center;
            padding: 5px 10px;
            border-radius: 4px;
            position: absolute;
            bottom: 70px; /* Adjust position above the button */
            right: 0;
            white-space: nowrap;
            font-size: 12px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        /* Show the tooltip on hover */
        .sticky-whatsapp:hover .tooltip {
            visibility: visible;
            opacity: 1;
        }
        
       /* Custom styling for the modal */
        .modal-content {
            border-radius: 10px;
            padding: 20px;
        }

        /* Adjust modal header title and close button */
        .modal-header {
            border-bottom: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header .btn-close {
            font-size: 20px;
            background-color: transparent;
            color: #000;
            border: none;
            outline: none;
            cursor: pointer;
        }

        .modal-header .btn-close:hover {
            background-color: #e0e0e0;
            border-radius: 50%;
        }

        .modal-title {
            font-size: 1.5rem;
            font-weight: bold;
        }

        /* Sticky button to open modal */
        .sticky-contact-btn {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background-color: #007BFF;
            color: white;
            font-size: 24px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            cursor: pointer;
            text-decoration:none;
        }

        .sticky-contact-btn:hover {
            background-color: #0056b3;
        }
        
        @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.sticky-contact-btn i {
    animation: bounce 1.2s infinite;
}

        
        /* Tooltip for contact button */
.sticky-contact-btn .tooltip {
    visibility: hidden;
    background-color: black;
    color: white;
    text-align: center;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    bottom: 70px; /* adjust spacing above the button */
    left: 0;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Show the tooltip on hover */
.sticky-contact-btn:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


 
        
        @media (max-width: 768px) {
    .sticky-contact-btn {
        bottom: 10px; /* Adjusted for mobile */
        right: auto;   /* Adjusted for mobile */
        width: 50px;  /* Smaller size for mobile */
        height: 50px; /* Smaller size for mobile */
        font-size: 20px; /* Smaller font for mobile */
    }

   .sticky-whatsapp {
    bottom: 10px;
    left: auto;
    width: 50px;
    height: 50px;
    font-size: 20px;
}
}