:root {
    --primary-blue: #25253b; /* A guess for the dark blue */
    --secondary-blue: #30318c;
    --primary-red: #dc3545; /* Bootstrap danger, close to image */
    --light-gray-bg: #f8f9fa; /* Bootstrap light gray */
    --text-dark: #343a40;
    --text-light: #f8f9fa;
    --accent-red: #c0392b; /* A slightly darker red for accents */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}
p{
    text-align:justify;
    font-size: 18px;
}

.navbar-toggler-icon {
   
    filter: brightness(0.5);
}

h1,h2,h3,h4,h5,h7{
    color: #30318c;
    font-family: 'Playfair Display';
}


.breadcrumb-banner {
      background: url('../images/Inner-Banner.webp') no-repeat;
      /* background-color: #222020; */
      background-size: cover;
      padding: 80px 0;
      color: white;
      
    }
    .breadcrumb a {
      color: #fff;
      text-decoration: underline;
    }
    .breadcrumb .active {
      color: #fff;
    }




.fill-button {
  position: relative;
    top: 20px;
    padding: 7px 17px;
    background-color: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    font-size: 16px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    z-index: 1;
    text-decoration: none;
}

.fill-button::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0%;
  width: 100%;
  background-color: var(--accent-red);
  z-index: -1;
  transition: height 0.4s ease;
}

.fill-button:hover::before {
  height: 100%;
}

.fill-button:hover {
  color: white;
}


/* Top Announcement Bar */
.top-announcement {
    background-color: var(--accent-red);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Header & Navbar */
.main-navbar {
    background-color: var(--secondary-blue);
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand .college-name-main {
    color: #30318c;
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    line-height: 15px;
}
.navbar-brand .college-name-sub {
       color: #be1f24;
    font-size: 1.2rem;
    display: block;
    font-weight: 600;
}
.navbar-brand .college-location {
    color: #30318c;
    font-size: 0.75rem;
    display: block;
    line-height: 1.2;
}


.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: white;
    background: #c0392b;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}
.navbar-toggler-icon {
    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.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Custom dropdown hover styles */
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    transition: all 0.3s ease;
  }

  .dropdown-menu {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .dropdown-menu a.dropdown-item:hover {
    color: white;
    background: #c0392b;
    font-weight: 500;
  }


.btn-apply-now {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}
.btn-apply-now:hover {
    background-color: #a52f23; /* Darker red */
    border-color: #a52f23;
}


/* Hero Section */
.hero-section {
    height: 60vh; /* Adjust as needed */
    background: url('../images/hero-background.jpg') no-repeat center center/cover;
    /* Replace with your actual hero image path */
}


 .carousel-item {
    position: relative;
  }

  .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Black overlay with 50% opacity */
    z-index: 1;
  }

  .carousel-caption.left-align {
    left: 10%;
    right: auto;
    text-align: left;
    top: 68%;
    transform: translateY(-50%);
    z-index: 2;
    position: absolute;
  }
  .carousel-caption p{
      font-size:1.8rem;
      text-shadow: 2px 2px 5px #222020;
  }

  .carousel-caption.left-align h2 {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px #222020;
  }

  @media (max-width: 768px) {
    .carousel-caption.left-align h2 {
      font-size: 2rem;
    }
    .carousel-caption p{
      font-size:1rem;
  }
  }

/* Section Titles & Subtitles */
.section-subtitle {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}
.section-subtitle.underline-after {
  position: relative;
  display: inline-block;
}

.section-subtitle {
  display: inline-block;
  position: relative;
  font-weight: bold; /* Optional styling */
}

.section-subtitle::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 77%;
    transform: translateY(-84%);
    left: 97%;
    height: 1px;
    width: 35px;
    background-color: #be1f24;
    margin-left: 10px;
}


.section-subtitle i {
    font-size: 0.8em;
    background: #be1f24;
    padding: 3px;
    border-radius: 63px;
    color: #fff;
}

.section-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}


.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%); /* Center the line for centered titles */
}


/* About Section */
.about-section p {
    line-height: 1.7;
}
.about-img{
    border-radius:10px;
}

/* Features Section */
.bg-light-custom {
    background-color: #f7f7f9; /* A slightly different light gray */
}
.features-list li {
    padding: 0.3rem 0;
    font-size: 1.05rem;
}
.features-list li i {
    color: var(--accent-red);
    margin-right: 0.5rem;
}
.knowledge-quote {
    color: var(--primary-blue);
    font-weight: 300;
    font-style: italic;
}


/* Courses Offered Section */
.course-card {
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background:#dbdbff;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background: #fff;
    border: none;
}
.course-icon-wrapper {
    width: 100px;
    height: 100px;
    background-color: #be1f24; /* Light red/pinkish background for icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -50px; /* Pull icon up */
    margin-bottom: 1.5rem;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.course-icon {
    max-width: 50px;
    max-height: 50px;
}
.course-card .card-title {
    color: var(--secondary-blue);
    font-weight: 600;
    min-height: 48px; /* Ensure consistent title height */
}
.course-card .card-text {
    
    color: #555;
    min-height: 100px; /* Adjust as needed for text length */
}
.course-know-more {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
}
.course-know-more:hover {
    color: #a52f23;
}


/* Enquiry Section */
.enquiry-section {
    background-color: #e0e0e0; /* Light grayish blue background */
    /* If using image: background: url('../images/enquiry-bg.jpg') no-repeat center center/cover; */
}
.enquiry-illustration {
    max-width: 90%;
}
.enquiry-form-wrapper {
    background-color: #eef2f5;
}
/*.enquiry-form-wrapper .form-control {*/
/*    padding: 0.9rem 1rem;*/
/*}*/

/* News & Events Section */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #e0e0e0;
    border: none;
    padding: 20px;
}
.news-card img{
    border-radius:20px;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.news-card .card-img-top {
    height: 200px; /* Fixed height for images */
    object-fit: cover;
}
.custom-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 10px; /* space between text and underline */
}

.custom-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%; /* Adjust to control underline width */
  height: 3px; /* Thickness of the underline */
  background-color: #dc3545; /* Choose your color */
  border-radius: 2px;
}
.notification p{
  margin-bottom: 0;
  padding-bottom: 0;
}
.img-rounded{
  border-radius: 10px;
}
.news-card .card-title {
    color: var(--secondary-blue);
    font-weight: 600;
}
.news-card .card-text {
   
    color: #555;
}
.news-read-more {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start; /* Align button to the start of flex item */
}
.news-read-more:hover {
     color: #a52f23;
}

.lead{
    margin-bottom: 90px;
}


    .sidebar ul li img{
        width: 25%;
    }

    .blog-hero h1 {
      position: absolute;
      bottom: 20px;
      left: 30px;
      color: #fff;
      background: rgba(0,0,0,0.5);
      padding: 10px 20px;
      border-radius: 8px;
    }

    .blog-meta {
      font-size: 0.9rem;
      color: #6c757d;
    }

    .blog-content img {
      max-width: 100%;
      height: auto;
      margin: 20px 0;
    }

    .sidebar {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 8px;
    }

    .sidebar h5 {
      margin-bottom: 15px;
    }



@keyframes zoomin {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.gallery-item {
  display: block;
}

.gallery-item img {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s;
}

.gallery-item:hover img {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.35);
}

.lightbox-modal .modal-content {
  background-color: var(--lightbox);
}

.lightbox-modal .btn-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.25rem;
  z-index: 10;
  filter: invert(1) grayscale(100);
}

.lightbox-modal .modal-body {
  display: flex;
  align-items: center;
  padding: 0;
}

.lightbox-modal .lightbox-content {
  width: 100%;
}

.lightbox-modal .carousel-indicators {
  margin-bottom: 0;
}

.lightbox-modal .carousel-indicators [data-bs-target] {
  background-color: var(--carousel-text) !important;
}

.lightbox-modal .carousel-inner {
  width: 75%;
}

.lightbox-modal .carousel-inner img {
  animation: zoomin 10s linear infinite;
}

.lightbox-modal .carousel-item .carousel-caption {
  right: 0;
  bottom: 0;
  left: 0;
  padding-bottom: 2rem;
  background-color: var(--lightbox);
  color: var(--carousel-text) !important;
}

.lightbox-modal .carousel-control-prev,
.lightbox-modal .carousel-control-next {
  width: auto;
}

.lightbox-modal .carousel-control-prev {
  left: 1.25rem;
}

.lightbox-modal .carousel-control-next {
  right: 1.25rem;
}

@media (min-width: 1400px) {
  .lightbox-modal .carousel-inner {
    max-width: 60%;
  }
}

[data-bs-theme = "dark"] .lightbox-modal .carousel-control-next-icon,
[data-bs-theme = "dark"] .lightbox-modal .carousel-control-prev-icon {
    filter: none;
}

.btn-fullscreen-enlarge,
.btn-fullscreen-exit {
  position: absolute;
  top: 1.25rem;
  right: 3.5rem;
  z-index: 10;
  border: 0;
  background: transparent;
  opacity: .6;
  font-size: 1.25rem;
}


  .contact-section {
      padding: 60px 0;
    }

    .contact-details i {
      font-size: 24px;
      color: #c0392b;
      margin-right: 15px;
    }

    .contact-details li {
      margin-bottom: 15px;
    }

    .map-container {
      width: 100%;
      height: 400px;
    }

    .form-control:focus {
      border-color: #0d6efd;
      box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
    }



/* Footer */
.footer-section {
    background-color: var(--primary-blue);
}
.footer-section .college-name-main {
    font-weight: bold;
    font-size: 1.1rem;
}
.footer-section .college-name-sub {
    font-size: 1.2rem;
    color: #e0e0e0;
}
.footer-section .tagline {
    font-style: italic;
    color: #f0f0f0;
    margin-bottom: 0.5rem;
}
.footer-section .small {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.6;
}
.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-links li a {
    color: #ccc;
    text-decoration: none;
    /*font-size: 0.9rem;*/
    transition: color 0.2s ease;
    display: inline-block;
    padding: 0.2rem 0;
}
.footer-links li a:hover {
    color: white;
}
.footer-contact-link {
    color: #ccc;
    text-decoration: none;
    /*font-size: 0.9rem;*/
}
.footer-contact-link:hover {
    color: white;
}
.footer-contact-link i {
    color: var(--accent-red); /* Or a lighter color like #e0e0e0 */
}
.social-icons .social-icon {
    color: #ccc;
    font-size: 1.5rem;
    margin-right: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.social-icons .social-icon:hover {
    color: white;
}
.footer-hr {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.card-body a{
    text-decoration:none;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .main-navbar{
        background-color: #fff;
    }
    .main-navbar .navbar-nav {
        background-color: var(--primary-blue); /* Ensure dropdown has bg */
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.25rem;
    }
    .main-navbar .nav-item {
        margin-bottom: 0.5rem;
    }
    .hero-section {
        height: 40vh;
    }
    .course-icon-wrapper {
        margin-top: 1.5rem; /* No negative margin on smaller screens */
    }
    .enquiry-form-wrapper {
        margin-top: 2rem;
    }
}



@media (max-width: 767.98px) {
    .navbar-brand div { text-align: left; }
    .navbar-brand .college-name-main { font-size: 1rem; }
    .navbar-brand .college-name-sub { font-size: 0.8rem; }
    .navbar-brand .college-location { font-size: 0.7rem; }
    .btn-apply-now { display: block; width: 100%; text-align: center;}
    .section-title { font-size: 1.8rem; }
    .knowledge-quote { font-size: 1.5rem; }
}

@media (min-width: 991.98px) {
    .features-content{
        transform: translateX(-35%);
    }
    .features-content p{
        width:43rem;
    }
}