/* University Design System - Professional Academic Theme */

/* CSS Variables based on logo colors */
:root {
  /* University Brand Colors */
  --primary-color: #2e294e;
  /* --primary-color: #1a365d; */
  --primary-light: #2e294e;
  /* --primary-light: #2c5282; */
  --primary-dark: #0f2027;
  --secondary-color: #f6ad55;
  --secondary-light: #fbb040;
  --accent-color: #e2e8f0;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #1a202c;

  /* Text Colors */
  --text-primary: #1a365d;
  --text-secondary: #718096;
  --text-muted: #a0aec0;
  --text-light: #ffffff;

  /* Border & Shadow */
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--secondary-light)
  );

  /* Typography */
  --font-family: "Poppins", sans-serif;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Header Styles */
.navbar {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.logo-img {
  height: 50px;
  width: auto;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.dropdown-menu {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
}

.dropdown-item {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Button Styles */
.btn-primary {
  background: #fab12f;
  border: none;
  color: var(--text-light);
  font-weight: 600;
  /* padding: 0.75rem 1.5rem; */
  border-radius: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-cta {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Hero Carousel Styles */
.hero-carousel {
  position: relative;
  height: 550px;
}

.hero-carousel .carousel-item {
  height: 550px;
}

.hero-carousel .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.hero-carousel .carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 0 90px;
  background: linear-gradient(
    45deg,
    rgba(26, 54, 93, 0.8),
    rgba(44, 82, 130, 0.6)
  );
  color: var(--text-light);
  text-align: left;
}

.hero-title {
  /* width: 60%; */
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(26, 54, 93, 0.8);
  border-radius: 50%;
  padding: 20px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--text-light);
}

.carousel-indicators button.active {
  background-color: var(--text-light);
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  /* content: ""; */
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
}

.section-title:not(.text-center)::after {
  /* left: 0; */
  transform: none;
}

/* Feature Cards */
.feature-card {
  background: var(--bg-primary);
  padding: 10px;
  /* padding: 2rem; */
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.feature-card-1 {
  background: var(--bg-primary);
  padding: 20px;
  /* padding: 2rem; */
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
}

.feature-card-1:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 2rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Program Cards */
.program-card {
  background: var(--bg-primary);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}

.program-card .card-img-top {
  height: 350px;
  object-fit: fill;
  /* height: 250px;
  object-fit: cover; */
}

.program-card .card-body {
  padding: 2rem;
}

.program-card .card-title {
  font-size: 24px;
  /* font-size: 2rem; */
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Accordion Styles */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--bg-primary);
  color: var(--primary-color);
  font-weight: 600;
  border: none;
  padding: 1rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-body {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  padding: 1.5rem;
}

/* Footer Styles */
footer {
  background: var(--bg-dark) !important;
  color: var(--text-light);
}

.footer-logo {
  height: 60px;
  width: auto;
  background-color: #fff;
  padding: 5px;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
}

.footer-brand-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-address,
.footer-contact {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Modal Styles */
.modal-content {
  border-radius: 1rem;
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background: var(--gradient-primary);
  color: var(--text-light);
  border-radius: 1rem 1rem 0 0;
}

.modal-title {
  font-weight: 600;
}

.btn-close {
  filter: invert(1);
}

.form-control,
.form-select {
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.25rem 0.25rem;
  font-weight: 500;
  transition: var(--transition);
  font-size: 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.25);
}

/* About FLAME Home page */
.about-flame-uni {
  background: #fab12f;
  overflow: hidden;
  padding: 40px 0;
}

.liberal-title h2 {
  color: #000000;
  margin-top: 0;
  font-size: 38px;
  line-height: 1.5 !important;
}
span.big-text {
  font-size: 65px;
  line-height: 1;
}
.liberal-title {
  position: relative;
}
.link-box-style .l_hp__overview_btn {
  background: transparent !important;
  position: absolute;
  bottom: 20px;
}
.box-4-link .link-box-style .boder-box-1 {
  margin-bottom: 30px;
}

@media (min-width: 1920px) {
  .liberal-title h2 {
    color: #000000;
    margin-top: 0;
    font-size: 45px;
  }
  span.big-text {
    font-size: 90px;
    line-height: 1;
  }
}

.liberal-text p {
  margin-top: 10px;
  color: #000;
  line-height: 1.5;
  font-size: 16px;
}
.alert-latest {
  background: #000;
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .hero-carousel,
  .hero-carousel .carousel-item {
    height: 500px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .hero-carousel,
  .hero-carousel .carousel-item {
    height: 400px;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading and Transition Effects */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.transition-all {
  transition: var(--transition);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* classic-service-section-end */

.classic-service-section {
  position: relative;
  padding: 50px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  overflow: hidden;
}

.classic-service-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
  z-index: 1;
}

.text-div {
  background: linear-gradient(135deg, #1a3868 0%, #2d5aa0 100%);
  border-top-left-radius: 40%;
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(26, 56, 104, 0.3);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-div::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  transition: transform 0.6s ease;
  transform: scale(0);
}

.text-div:hover::before {
  transform: scale(1);
}

.text-div::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.text-div:hover::after {
  opacity: 1;
}

.text-div h2 {
  color: #fff;
  font-size: 45px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.text-div p {
  color: #e0e7ff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.main-div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.img-div {
  margin-left: -5px;
  position: relative;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.img-div::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(
    135deg,
    rgba(26, 56, 104, 0.1),
    rgba(45, 90, 160, 0.1)
  );
  border-radius: 20px;
  z-index: -1;
  transition: all 0.6s ease;
}

.img-div img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 10px;
  background: linear-gradient(135deg, #2e294e, #130b46);
  /* background: linear-gradient(135deg, #0056b3, #00c6ff); */
  /* gradient background */
  color: #fff;
  /* white text for contrast */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.stat-item:hover::before {
  left: 100%;
  /* shiny swipe effect on hover */
}

.stat-item:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.stat-label {
  font-size: 18px;
  font-weight: 600;
  color: #ffe082;
  /* golden tone for label */
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-number {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

/* Admission process */

:root {
  --theme-color: #1a3868;
  --outer-circle-width: 280px;
  --inner-circle-width: 180px;
}

.step {
  position: absolute;
  bottom: -50px;
  font-size: 30px !important;
  color: #fff;
}

.step-2 {
  position: absolute;
  top: -50px;
  font-size: 30px !important;
  color: #fff;
}

.circle-container {
  display: flex;
  justify-content: center;
}

.circle-container .outer-circle {
  width: var(--outer-circle-width);
  height: var(--outer-circle-width);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.circle-container .outer-circle:not(:first-child) {
  margin-left: calc(
    (var(--outer-circle-width) - var(--inner-circle-width)) / 2 - 100px
  );
}

.circle-container .outer-circle:nth-child(odd) .inner-circle {
  border-top-color: transparent;
  border-left-color: transparent;
}

.circle-container .outer-circle:nth-child(even) {
  margin-top: 1px;
}

.circle-container .outer-circle:nth-child(even) .inner-circle {
  border-bottom-color: transparent;
  border-right-color: transparent;
}

.circle-container .outer-circle:first-child .inner-circle {
  border-left-color: #2e294e;
}

.circle-container .outer-circle .inner-circle {
  width: var(--inner-circle-width);
  height: var(--inner-circle-width);
  box-sizing: content-box;
  border: calc((var(--outer-circle-width) - var(--inner-circle-width)) / 2)
    solid #2e294e;
  transform: rotate(45deg);
  border-radius: 50%;
}

.circle-container .outer-circle .inner-circle .inner-circle-content {
  width: 100%;
  height: 100%;
  background: #fff;
  border: 5px solid #fff;
  box-sizing: border-box;
  border-radius: 50%;
  transform: rotate(-45deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.circle-container .outer-circle .inner-circle .inner-circle-content span {
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
}

.circle-container .outer-circle .inner-circle .inner-circle-content img {
  margin-top: 5px;
  height: 50px;
}

.circle-container .outer-circle img {
  stroke: var(--theme-color);
  fill: var(--theme-color);
}

@media (max-width: 769px) {
  .circle-container {
    flex-direction: column;
    align-items: center;
  }

  .circle-container .outer-circle .inner-circle {
    transform: rotate(135deg);
  }

  .circle-container .outer-circle .inner-circle .inner-circle-content {
    transform: rotate(225deg);
  }

  .circle-container .outer-circle:not(:first-child) {
    margin-left: 0;
    margin-top: calc(
      (var(--outer-circle-width) - var(--inner-circle-width)) / 2 - 100px
    );
  }

  .step {
    position: absolute;
    top: -50px;
    font-size: 30px !important;
    color: #fff;
  }
}

@media (max-width: 1090px) {
  .circle-container .outer-circle {
    width: 230px;
    height: 230px;
  }

  .circle-container .outer-circle .inner-circle {
    width: 130px;
    height: 130px;
  }
  .circle-container .outer-circle .inner-circle .inner-circle-content span {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .circle-container .outer-circle {
    width: 270px;
    height: 270px;
  }

  .circle-container .outer-circle .inner-circle {
    width: 170px;
    height: 170px;
  }
}

/* Admission process */

.inner-bann {
  background: url(src/assets/inner-comm-bann.jpg) no-repeat center;
  background-size: cover;
}
.abt-bg {
  background: url(src/assets/abt-bann.jpg) no-repeat center;
  background-size: cover;
  padding: 150px 0px;
}

/* Container for floating buttons */
.floating-buttons {
  position: fixed;
  right: 0px;
  bottom: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* Common button styles */
.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, background-color 0.3s;
}

/* Phone button */
.float-btn.phone {
  background-color: #28a745;
  /* green */
}

.float-btn.phone:hover {
  background-color: #218838;
  transform: scale(1.1);
}

/* Email button */
.float-btn.email {
  background-color: #007bff;
  /* blue */
}

.float-btn.email:hover {
  background-color: #0069d9;
  transform: scale(1.1);
}

/* Responsive for smaller screens */
@media screen and (max-width: 768px) {
  .float-btn {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .float-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}
.bg-primary {
  background: rgb(46 41 78) !important;
}
.text-primary {
  color: rgb(46 41 78) !important;
}

.top-exotel {
  display: flex;
  justify-content: end;
  padding: 10px 30px;
  background-color: #2e294e;
  align-items: center;
}

.top-exotel a {
  text-decoration: none;
  color: #fff;
}
@media (max-width: 765px) {
  .top-exotel {
    flex-direction: column;
    align-items: end;
  }
}
