body {
  margin: 0;
  font-family: Arial, sans-serif;
  min-height: 100vh; /* ✅ allow page to grow */
  overflow-x: hidden; /* optional: prevent horizontal scroll */
}
/* Snow canvas */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}
.register {
  background: url("../images/bg.jpg") no-repeat center center/cover;
  height: 100vh;
  overflow: hidden;
}
/* Center form container */
.form-container {
  position: relative;
  z-index: 2;
  width: 380px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.form-container h2 {
  margin-bottom: 10px;
  color: #405189;
}

.home-btn {
  background: #ff6b4a;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.options {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 10px 0;
}

.signup-btn {
  width: 100%;
  padding: 12px;
  background: #1abc9c;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.bottom-text {
  margin-top: 12px;
  font-size: 14px;
}

.bottom-text a {
  color: #405189;
  text-decoration: none;
  font-weight: bold;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #4b5d9a;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}
/* ===== Banner ===== */

.page-banner {
  background: url("../images/college.jpg") no-repeat center center/cover;
  height: 340px;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.banner-content {
  position: relative;
  z-index: 2;
  margin-left: 80px;
}

.banner-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.banner-content p a {
  color: white;
  text-decoration: none;
}

.banner-content p strong {
  font-size: 17px;
  color: #ffc107;
}

/* ===== Search Box ===== */

.search-container {
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.search-box {
  width: 90%;
  max-width: 1100px;
  background: #f5f5f5;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  border: 2px solid #337ab7;
}

/* Row Layout */

.search-row {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.field {
  flex: 1;
  min-width: 250px;
}

.field label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
}

.field span {
  color: red;
}

.field select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Button */

.button-field {
  flex: 0 0 180px;
}

.search-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #7b1f00, #d60000);
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

/* ===== Table Container ===== */

.table-container {
  width: 95%;
  margin: 30px auto;
  overflow-x: auto;
}

/* ===== Table Style ===== */

.college-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.college-table th {
  background: #2f6ea3;
  color: white;
  padding: 12px;
  text-align: left;
}

.college-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
}

.college-table tr:hover {
  background: #f5f5f5;
}

/* Image */

.college-img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
}

/* View Button */

.view-btn {
  background: #4caf50;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 5px;
  cursor: pointer;
}
/* ===== Consultant Section ===== */

.consultant-section {
  padding: 60px 0;
  background: #f2f2f2;
}

.consultant-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== Card ===== */

.consultant-card {
  background: white;
  width: 320px;
  padding: 40px 25px 30px;
  border-radius: 12px;
  position: relative;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* Blue corner shape */

.consultant-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: #0d3b6f;
  border-bottom-left-radius: 100%;
}

/* Icon circle */

.icon-circle {
  width: 70px;
  height: 70px;
  background: #b11217;
  color: white;
  border-radius: 50%;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

/* Title */

.consultant-card h3 {
  font-size: 18px;
  color: #0d3b6f;
  margin-bottom: 12px;
}

/* Text */

.consultant-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* ===== Consultant Panel ===== */

.consultant-panel {
  width: 95%;
  max-width: 1100px;
  margin: 40px auto;
  border: 2px solid #2f6ea3;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
}

/* Alert */

.alert-box {
  background: #efe8cf;
  color: #6c5a00;
  padding: 14px;
  text-align: center;
  font-size: 15px;
}

/* Header */

.panel-header {
  background: #3f78a8;
  color: white;
  text-align: center;
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
}

/* Filter Area */

.panel-filters {
  padding: 25px;
}

.panel-filters form {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* Dropdown */

.panel-filters select {
  padding: 12px;
  width: 260px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* Filter Button */

.filter-btn {
  padding: 12px 28px;
  border: none;
  color: white;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  background: linear-gradient(90deg, #7b1f00, #d60000);
}
/* ===== Testimonial Section ===== */

.testimonial-section {
  background: url("../images/bg.jpg") no-repeat center center/cover;
  position: relative;
  padding: 50px 20px;
  margin-top: 30px;
  color: white;
}

/* Overlay */

.testimonial-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 45, 0.85);
}

.testimonial-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

/* Slides */

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

/* Text */

.testimonial-slide p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Name */

.testimonial-slide h3 {
  color: #ffc107;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 2px dashed #ffc107;
  display: inline-block;
  padding-bottom: 6px;
}

/* Navigation buttons */

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffc107;
  border: none;
  color: black;
  font-size: 24px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  border-radius: 4px;
}

.nav-btn.left {
  left: -60px;
}

.nav-btn.right {
  right: -60px;
}

/* ===== Contact Section ===== */

.contact-section {
  padding: 60px 0;
  background: #f5f5f5;
}

.contact-container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

/* Form */

.contact-form {
  flex: 1;
}

.contact-form h3 {
  margin-bottom: 20px;
}

.contact-form .row {
  display: flex;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.send-btn {
  background: #f0c000;
  border: none;
  padding: 12px 30px;
  font-weight: bold;
  cursor: pointer;
}

/* Info */

.contact-info {
  flex: 1;
}

.info-item {
  margin-bottom: 25px;
}

.info-item h4 {
  margin-bottom: 8px;
  color: #1a2b49;
}

.admin-btn i {
  font-size: 18px;
  margin-right: 6px;
}

.dropdown a i {
  margin-right: 8px;
}

/* ============================= */
/*        FIXED ENQUIRY BUTTON   */
/* ============================= */

.fixed-enquiry-btn {
  position: fixed;
  left: 0;
  top: 45%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: linear-gradient(180deg, #ff2a2a, #b30000);
  color: #fff;
  padding: 16px 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.fixed-enquiry-btn:hover {
  transform: translateY(-50%) rotate(180deg) translateX(-5px);
  background: linear-gradient(180deg, #ff4d4d, #800000);
  box-shadow: 0 15px 30px rgba(255, 0, 0, 0.6);
}

/* ============================= */
/*         OVERLAY BACKGROUND    */
/* ============================= */

.enquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

/* ============================= */
/*          MODAL BOX            */
/* ============================= */

.enquiry-box {
  width: 420px;
  max-width: 95%;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalZoom 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ============================= */
/*          HEADER               */
/* ============================= */

.enquiry-header {
  background: linear-gradient(to right, #8b0000, #ff0000);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.enquiry-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.close-btn {
  font-size: 22px;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  transform: rotate(90deg);
}

/* ============================= */
/*            BODY               */
/* ============================= */

.enquiry-body {
  padding: 20px;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff0000;
  outline: none;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

/* ============================= */
/*            FOOTER             */
/* ============================= */

.enquiry-footer {
  padding: 15px 20px;
  background: #f5f5f5;
  text-align: right;
}

.submit-btn {
  background: linear-gradient(to right, #8b0000, #ff0000);
  color: #fff;
  border: none;
  padding: 9px 25px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(to right, #a00000, #cc0000);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* ============================= */
/*         ANIMATION             */
/* ============================= */

@keyframes modalZoom {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================= */
/*         RESPONSIVE            */
/* ============================= */

@media (max-width: 576px) {
  .enquiry-box {
    width: 95%;
    max-height: 90vh;
  }

  .fixed-enquiry-btn {
    font-size: 12px;
    padding: 14px 8px;
  }
}

.testimonial-section {
  position: relative;
  background: url("https://images.unsplash.com/photo-1523580494863-6f3031224c94")
    center/cover no-repeat;
  padding: 100px 0;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 50, 0.85);
}

.testimonial-content {
  position: relative;
  max-width: 800px;
  margin: auto;
  color: #fff;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.testimonial-name {
  color: #ffc107;
  font-weight: 700;
  letter-spacing: 1px;
}

.slider-arrow {
  background: #ffc107;
  color: #000;
  padding: 12px 18px;
  font-size: 22px;
  border-radius: 4px;
  transition: 0.3s;
}

.slider-arrow:hover {
  background: #e0a800;
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 1;
}

@media (max-width: 768px) {
  .testimonial-section {
    padding: 60px 20px;
  }

  .testimonial-text {
    font-size: 15px;
  }
}

.main-footer {
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  color: #fff;
  padding: 50px 0 20px;
  margin-top: 30px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #a82020;
  position: absolute;
  left: 0;
  bottom: -8px;
}

.main-footer p {
  font-size: 14px;
  margin-bottom: 10px;
}

.main-footer i {
  color: #a82020;
  margin-right: 8px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #a82020;
  padding-left: 5px;
}

.form-control {
  border-radius: 8px;
  border: none;
  padding: 10px;
}

.footer-btn {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 25px;
  background: #a71010;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.footer-btn:hover {
  background: #a82020;
}

.footer-bottom-links a {
  color: #ccc;
  font-size: 13px;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #a82020;
}

.map-container iframe {
  border-radius: 10px;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 14px;
  color: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
  .main-footer {
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ===========================
   JOIN OUR EVENT – MODERN UI
=========================== */

.faq-style1-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.faq-style1-title:after {
  content: "";
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #1e40af);
  position: absolute;
  left: 0;
  bottom: -10px;
  border-radius: 4px;
}

/* Main Event Card */

.event-inner {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px);
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

/* Gradient Border Effect */

.event-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #2563eb, #1e3a8a);
}

/* Hover Effect */

.event-inner:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.15);
}

/* Image Style */

.event-thumb {
  overflow: hidden;
  border-radius: 15px;
}

.event-thumb img {
   height: 50%;
  width: 20%;

  transition: transform 0.5s ease;
  border-radius: 15px;
}

.event-inner:hover .event-thumb img {
  transform: scale(1.08);
}

/* Overlay */

.event-overlay {
  transition: all 0.4s ease !important;
}

.event-inner:hover .event-overlay {
  opacity: 1 !important;
}

/* Title */

.event-desc h4 a {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b !important;
  transition: 0.3s;
}

.event-desc h4 a:hover {
  color: #2563eb !important;
}

/* Meta Styling */

.event-meta ul li {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

.event-meta i {
  color: #2563eb;
  margin-right: 5px;
}

/* Paragraph */

.event-desc p {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.6;
  color: #475569;
}

/* Responsive */

@media (max-width: 991px) {
  .event-inner {
    flex-direction: column !important;
  }

  .event-thumb {
    max-height: 220px !important;
    margin-bottom: 15px;
  }

  .event-thumb img {
    height: 220px !important;
    object-fit: cover;
  }

  .event-desc {
    padding: 15px !important;
  }
}

@media (max-width: 576px) {
  .faq-style1-title {
    font-size: 22px;
  }

  .event-desc h4 a {
    font-size: 17px;
  }

  .event-meta ul {
    flex-direction: column !important;
    gap: 5px !important;
  }
}

.stats-counter-area {
  /* Replace the URL with your actual background image */
  background:
    linear-gradient(rgba(0, 45, 91, 0.85), rgba(0, 45, 91, 0.85)),
    url("https://topcolleges.co.in/uploads/your-background-image.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax effect */
  padding: 80px 0;
}

.counter-number {
  font-size: 48px;
  font-weight: 700;
  color: #ffc107;
  /* Golden yellow color from screenshot */
  margin-bottom: 5px;
  display: block;
}

.counter-text {
  font-size: 18px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* Mobile responsive font sizes */
@media (max-width: 767px) {
  .counter-number {
    font-size: 36px;
  }

  .counter-text {
    font-size: 16px;
  }
}

/* --- Featured Cards Section Styling --- */

/* --- Modern ServiceBox Styling --- */

.serviceBox {
  background: #fff;
  padding: 40px 25px 30px;
  /* Extra top padding for the floating icon */
  border-radius: 1.5rem;
  /* Large Bootstrap-style rounded corners */
  border: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  height: 100%;
  margin-top: 40px;
  /* Creates space for the icon to float above the card */
}

/* Floating Icon Container */
.service-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: -40px;
  /* Pulls exactly half the icon above the card */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.service-icon span {
  width: 68px;
  height: 68px;
  line-height: 68px;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  font-size: 28px;
}

/* Color Palette using Bootstrap-friendly Gradients */
.serviceBox.blue .service-icon span {
  background: linear-gradient(135deg, #007bff, #00bfff);
}

.serviceBox.green .service-icon span {
  background: linear-gradient(135deg, #28a745, #48c774);
}

.serviceBox.yellow .service-icon span {
  background: linear-gradient(135deg, #ffc107, #ffdb6e);
}

/* Typography Improvements */
.serviceBox .title {
  font-weight: 800;
  font-size: 1.3rem;
  color: #2d3436;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.serviceBox .description {
  font-size: 0.95rem;
  color: #636e72;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Stylish Bootstrap Button Override */
.serviceBox .btn-primary {
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border: none;
  transition: all 0.3s ease;
}

/* --- HOVER EFFECTS --- */

.serviceBox:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.serviceBox:hover .service-icon {
  transform: translateX(-50%) translateY(-5px) scale(1.05);
}

/* Button Hover matching Card Color */
.serviceBox.blue:hover .btn-primary {
  background-color: #007bff !important;
}

.serviceBox.green:hover .btn-primary {
  background-color: #28a745 !important;
}

.serviceBox.yellow:hover .btn-primary {
  background-color: #ffc107 !important;
  color: #000;
}

/* 1. Make the main container a horizontal row */
.bottom-row.text-center {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  /* Forces one single line */
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

/* 2. The MAGIC TRICK: Make nested divs 'disappear' as layout blocks */
.bottom-row > div {
  display: contents !important;
}

/* 3. Reset social icons container so they stay grouped together */
.teacher-social-icons {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  margin: 0 !important;
  /* Removes the mb-3 */
}

/* 4. Fix button styles so they don't break the line */
.bottom-row .btn {
  margin: 0 !important;
  /* Removes mb-2 */
  width: auto !important;
  /* Overrides the inline 150px width */
  padding: 6px 12px !important;
  font-size: 13px !important;
  white-space: nowrap !important;
  /* Prevents text wrapping */
}

/* 5. Scale down social icons slightly to fit the line */
.teacher-social-icons a {
  font-size: 18px !important;
}

/* Container and Section Styling */
.event-sec {
  background-color: #f8f9fa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Card Styling */
.event-inner {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #eee;
  margin-bottom: 20px;
}

.event-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Image/Thumb Section */
.event-thumb {
  width: 200px;
  min-width: 250px;
  position: relative;
}

.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Description Content */
.event-desc {
  padding: 35px;
  flex-grow: 1;
}

.event-desc h2 {
  font-size: 25px;
  margin-bottom: 10px;
}

.event-desc h2 a {
  font-weight: 700;
  color: #ff0000;
  text-decoration: none;
  transition: color 0.2s;
}

.event-desc h2 a:hover {
  color: #007bff;
}

/* Meta Data (Location & Courses) */
.event-meta ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.event-meta ul li {
  font-size: 17px;
  color: #666;
  display: flex;
  align-items: center;
}


.event-meta ul li i {
  margin-right: 8px;
  color: #007bff;
}

/* Social Icons */
.teacher-social-icons a {
  transition: transform 0.2s ease;
  text-decoration: none;
}

.teacher-social-icons a:hover {
  transform: scale(1.2);
}

/* Button Customization */
.btn {
  border-radius: 6px;
  font-weight: 600;
  padding: 8px 20px;
  text-transform: uppercase;
  font-size: 13px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .event-inner {
    flex-direction: column;
  }

  .event-thumb {
    width: 100%;
    height: 200px;
  }
}

:root {
  --primary-red: #991a1a;
  --dark-bg: #160101;
  --glass: rgba(255, 255, 255, 0.95);
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Modern Header */
.marquee-strip {
  background: var(--dark-bg);
  color: #fff;
  padding: 8px 0;
  font-size: 0.9rem;
}

.navbar {
  background: var(--glass);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
  font-weight: 600;
  color: #444 !important;
  transition: 0.3s;
}

.nav-link:hover {
  color: var(--primary-red) !important;
}

/* Hero Section */
.hero-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  color: white;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

/* Course Cards */
.course-card {
  border: none;
  border-radius: 20px;
  transition:
    transform 0.4s,
    box-shadow 0.4s;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: white;
}

.blue-icon {
  background: #007bff;
}

.green-icon {
  background: #28a745;
}

.yellow-icon {
  background: #ffc107;
}

/* College Listing Styles */
.college-item {
  background: #fff;
  border-radius: 15px;
  margin-bottom: 20px;
  padding: 20px;
  display: flex;
  gap: 20px;
  border-left: 5px solid var(--primary-red);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.college-thumb img {
  width: 180px;
  height: 130px;
  border-radius: 10px;
  object-fit: cover;
}

/* Buttons */
.btn-apply {
  background: var(--primary-red);
  color: white;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
}

.btn-apply:hover {
  background: #000;
  color: white;
}

@media (max-width: 768px) {
  .college-item {
    flex-direction: column;
  }

  .college-thumb img {
    width: 100%;
  }
}

/* ===== NAVBAR FIX ===== */

.custom-navbar {
  background: var(--glass);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Keep items in one line on desktop */
.navbar-nav {
  white-space: nowrap;
}

/* Proper spacing */
.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

/* Profile style */
.profile-nav .nav-link {
  font-weight: 600;
}

/* Icon size */
.profile-nav i {
  font-size: 20px;
}

/* Fix mobile stacking */
@media (max-width: 991px) {
  .navbar-nav {
    align-items: flex-start !important;
  }

  .navbar-nav .nav-item {
    width: 100%;
    margin: 5px 0;
  }

  .profile-nav .nav-link {
    padding-left: 0;
  }
}

/* body {
  background: #f4f6fb;
  font-family: Poppins, sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
} */

.top-bg {
  height: 50vh;
  background: url("../images/top.jpg") no-repeat center center/cover;
  background-size: cover;
  filter: blur(1px);
  transform: scale(1.1);
  clip-path: ellipse(75% 100% at 50% 0%);
}

.card-box {
  max-width: 500px;
  margin: -120px auto 0;
  transform: translateY(-140px);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 35px;
  background: #fff;
  position: relative;
  z-index: 2;
}

.btn-main {
  background: #18a689;
  color: #fff;
  font-weight: 600;
}

.btn-main:hover {
  background: #099885;
  color: #fff;
}

.eye {
  position: absolute;
  right: 15px;
  top: 38px;
  cursor: pointer;
}

.form-group {
  position: relative;
}

.forgot {
  text-align: right;
}

.forgot a {
  text-decoration: none;
  font-size: 14px;
  color: #595c5f;
  margin-top: 50px;
  margin-bottom: 50px;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}
.hero-text h2 {
  color: white;
  font-weight: 700;
}

.hero-text p {
  color: white;
  opacity: 0.9;
}

.top-gb {
  height: 50vh;
  background: url("../images/top1.jpg") no-repeat center center/cover;
  filter: blur(2px);
  transform: scale(1.1);
  clip-path: ellipse(75% 100% at 50% 0%);
}

/* Root Variables */
:root {
  --primary-red: #991a1a;
  --dark-bg: #160101;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* ============================= */
/* Top Marquee Strip */
/* ============================= */
.marquee-strip {
  background: var(--dark-bg);
  color: #fff;
  padding: 8px 0;
  font-size: 0.9rem;
}

/* ============================= */
/* Navbar */
/* ============================= */
.navbar {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
  font-weight: 600;
  color: #444 !important;
  transition: 0.3s;
}

.nav-link:hover {
  color: var(--primary-red) !important;
}

/* Apply Now Button */
.btn-apply {
  background-color: #dc3545;
  /* Red */
  color: #ffffff !important;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: none;
}

.btn-apply:hover {
  background-color: #000000;
  /* Black */
  color: #ffffff !important;
  /* White text */
}

/* ============================= */
/* Hero Section */
/* ============================= */
.hero-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
    url("../images/image.png");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  color: white;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

/* ============================= */
/* Testimonial Section */
/* ============================= */
.testimonial-section {
  position: relative;
  background: url("https://images.unsplash.com/photo-1523580494863-6f3031224c94")
    center/cover no-repeat;
  padding: 100px 0;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 50, 0.85);
}

.testimonial-content {
  position: relative;
  max-width: 800px;
  margin: auto;
  color: #fff;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.testimonial-name {
  color: #ffc107;
  font-weight: 700;
  letter-spacing: 1px;
}

.slider-arrow {
  background: #ffc107;
  color: #000;
  padding: 12px 18px;
  font-size: 22px;
  border-radius: 4px;
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 1;
}

/* ============================= */
/* Footer */
/* ============================= */
.main-footer {
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  color: #fff;
  padding: 50px 0 20px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 20px;
}

.main-footer p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #a82020;
}

.form-control {
  border-radius: 8px;
  border: none;
  padding: 10px;
}

.footer-btn {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 25px;
  background: #a71010;
  color: #fff;
  font-weight: 500;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 14px;
  color: #bbb;
}

/* ============================= */
/* Fixed Enquiry Button */
/* ============================= */
.fixed-enquiry-btn {
  position: fixed;
  left: 0;
  top: 45%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: linear-gradient(180deg, #ff2a2a, #b30000);
  color: #fff;
  padding: 16px 10px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  z-index: 9999;
}

/* ============================= */
/* Enquiry Modal */
/* ============================= */
.enquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

.enquiry-box {
  width: 420px;
  max-width: 95%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.enquiry-header {
  background: linear-gradient(to right, #8b0000, #ff0000);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
}

.enquiry-body {
  padding: 20px;
}

.enquiry-body input,
.enquiry-body textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}

.submit-btn {
  background: linear-gradient(to right, #8b0000, #ff0000);
  color: #fff;
  border: none;
  padding: 9px 25px;
  font-size: 14px;
  border-radius: 6px;
  margin: 15px;
}

:root {
  --primary-red: #991a1a;
  --dark-bg: #160101;
}

/* ============================= */
/* Related College Slider */
/* ============================= */

.related-college-section {
  background: #f5f5f5;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #0d1b2a;
}

/* Card */
.college-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.college-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.college-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.college-content {
  padding: 20px;
}

.college-content h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.college-content p {
  font-size: 14px;
  color: #555;
}

.read-more {
  text-decoration: none;
  font-weight: 600;
  color: #0d1b2a;
}

.read-more:hover {
  color: #dc3545;
}

/* Custom Yellow Arrows */
.custom-arrow {
  width: auto;
}

.arrow-box {
  background: #ffc107;
  color: #000;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 18px;
}

/* REMOVE ALL GAPS */
.college-details-section {
  padding: 25px;
  margin: 25px;
}

.left-content,
.sidebar-content {
  padding: 0;
}

/* LEFT CONTENT */
.college-small-title {
  font-weight: 600;
  font-size: 16px;
  margin-left: 15px;
}

.college-highlight-box {
  background: #e9edf3;
  padding: 40px;
  margin: 20px 15px;
  border-left: 6px solid #1b4f8a;
  border-radius: 8px;
}

.college-highlight-box h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.tagline {
  font-weight: 600;
  margin-bottom: 15px;
}

/* SIDEBAR */
.top-colleges-box {
  background: #f8f9fa;
  padding: 30px;
  border-left: 1px solid #ddd;
  min-height: 100%;
}

.top-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

.college-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

.college-item:last-child {
  border-bottom: none;
}

.college-name {
  font-weight: 600;
  font-size: 15px;
  flex: 1;
}

.college-name i {
  color: #ffc107;
  margin-right: 8px;
}

.apply-btn {
  background: linear-gradient(to right, #8b0000, #ff0000);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.apply-btn:hover {
  background: #000;
  color: #fff;
}

/* Section Background */
.why-choose-section {
  background: #f8f9fb;
}

/* Heading */
.section-heading {
  font-size: 30px;
  font-weight: 700;
  color: #0d1b2a;
}

/* Left Style Box */
.why-box {
  background: #e9edf3;
  padding: 30px 25px;
  border-left: 6px solid #1b4f8a;
  border-radius: 10px;
  transition: 0.3s ease;
}

/* Hover Effect */
.why-box:hover {
  background: #dfe7f2;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Title */
.why-box h5 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #0d1b2a;
}

/* List */
.why-box ul {
  padding-left: 18px;
  margin: 0;
}

.why-box ul li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #444;
}

/* SECTION HEADING */
.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: #0d1b2a;
}

/* TABLE STYLING */
.program-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.program-table thead {
  background: #f1f4f8;
}

.program-table th {
  font-weight: 600;
  padding: 15px;
}

.program-table td {
  padding: 18px 15px;
  vertical-align: top;
}

.program-table tbody tr:hover {
  background: #f9fbfd;
  transition: 0.3s ease;
}

/* SECTION HEADING */
.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: #0d1b2a;
}

/* MAIN BOX */
.admission-box {
  background: #e9edf3;
  padding: 30px;
  border-left: 6px solid #1b4f8a;
  border-radius: 10px;
}

/* STEPS */
.admission-steps {
  padding-left: 18px;
}

.admission-steps li {
  margin-bottom: 12px;
  font-size: 15px;
}

/* IMPORTANT DATES BOX */
.important-dates {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.important-dates h5 {
  font-weight: 700;
  margin-bottom: 15px;
}

/* Highlight Link */
.highlight-link {
  color: #1b4f8a;
  font-weight: 600;
}

/* COMMON HEADING */
.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: #0d1b2a;
}

/* FACILITY BOX */
.facility-box {
  background: #e9edf3;
  padding: 25px;
  border-left: 5px solid #1b4f8a;
  border-radius: 8px;
  transition: 0.3s ease;
  height: 100%;
}

.facility-box:hover {
  background: #dfe7f2;
  transform: translateY(-5px);
}

.facility-box h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

/* PLACEMENT TABLE */
.placement-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.placement-table thead {
  background: #f1f4f8;
}

.placement-table th {
  font-weight: 600;
}

.placement-table tbody tr:hover {
  background: #f9fbfd;
}

/* COMMON HEADING */
.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: #0d1b2a;
}

/* TESTIMONIAL BOX */
.testimoniall-box {
  background: #e9edf3;
  padding: 25px;
  border-left: 5px solid #1b4f8a;
  border-radius: 8px;
  transition: 0.3s ease;
  height: 100%;
}

.testimoniall-box:hover {
  background: #dfe7f2;
  transform: translateY(-5px);
}

.testimoniall-box p {
  font-style: italic;
  margin-bottom: 15px;
}

/* CTA SECTION */
.cta-box {
  background: linear-gradient(135deg, #2c6ea4, #3f8dd8);
  padding: 40px;
  border-radius: 12px;
  color: #fff;
}

.cta-box h4 {
  font-weight: 700;
}

.cta-box p {
  font-size: 16px;
}
.share-box{
text-align:center;
margin-top:30px;
}

.share-buttons{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

.share-btn{
display:flex;
align-items:center;
gap:8px;
padding:10px 18px;
border-radius:30px;
color:white;
font-weight:500;
border:none;
cursor:pointer;
text-decoration:none;
transition:0.3s;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.share-btn i{
font-size:18px;
}

.share-btn:hover{
transform:translateY(-3px);
box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

.whatsapp{
background:#25D366;
}

.facebook{
background:#1877F2;
}

.twitter{
background:#1DA1F2;
}

.copy{
background:#333;
}


