:root {
    --primary-color: #1E293B;
    --accent-color: #38BDF8;
    --bg-color: #f1f5f9;
    --text-color: #0f172a;
    --text-light-color: #fff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #38BDF8 0%, #06B6D4 100%);
    --shadow-primary: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 35px rgba(0,0,0,0.15);
}

body {
    font-family: "Nunito", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding-top: 70px;
}

h1,h2,h3,h4,h5,h6{
    font-family: "Montserrat", sans-serif;
}

.navbar {
    background-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

label.error {
    color:red;
}

.text-accent {
    color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}
.top-bar {
    background-color: var(--primary-color);
    color: var(--text-light-color);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.website-logo{
    height: 55px;
}

.section{
  padding: 50px 0;
}
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
    background: white;
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* footer section start*/
.footer-section{
    background-color: var(--primary-color);
    color: #dae3f1;
    padding: 40px 0;
}

.footer-logo{
    height: 65px;
    margin-bottom: 20px;
}

a{
    text-decoration: none;
    color: var(--text-light-color);
    transition: all ease 0.3s;
}

a:hover{
    color: var(--accent-color);
}

.nav-link:focus, .nav-link:hover{
    color: var(--accent-color);
}

.footer-list li{
    list-style: none;
}

.footer-list li a {
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-list li a:hover {
    color: var(--accent-color)!important;
    padding-left: 5px;
}

.footer-category{
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-list li, .footer-list li a{
    margin-bottom: 10px;
    color: #dae3f1;
}

.footer-section .fa-chevron-right{
    font-size: 12px;
}
/* footer section end*/

/* hero section start */
.hero-section .hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section .hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-content h1 .highlight {
  color: var(--accent-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons .btn {
  margin: 0 10px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
}
/* hero section end */

/* stats section start */
.stats-section {
    background-color: var(--primary-color);
    color: var(--text-light-color);
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

.stat-item {
  border-right: 2px solid var(--accent-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 1.2rem;
  margin: 0;
}

/* stats section end */

/* about section start */
.about-section-badge{
  background:var(--accent-color)
}
/* about section end */

/* notice dashboard section start */
.dashboard-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-primary);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.dashboard-card:hover::before {
    opacity: 1;
}

.card-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title .icon {
    font-size: 1.3rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-body {
    padding: 1rem 1.5rem;
    height: calc(100% - 120px);
    position: relative;
}

.card-footer {
    padding: 11px 23px;
    background: rgba(248, 250, 252, 0.8);
    border-top: 1px solid #f1f5f9;
}

/* Notice Board Scrolling */
.notice-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.1) 20%, rgba(255,255,255,0.1) 80%, transparent 100%);
    border-radius: 12px;
    padding: 10px 0;
}

.notice-scroll {
    animation: scrollUp 15s linear infinite;
    padding: 0;
}

.notice-container:hover .notice-scroll {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

.notice-item {
    padding: 12px 16px 12px 5px;
    margin: 8px 0;
    background: rgba(56, 189, 248, 0.05);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-item:hover {
    background: rgba(56, 189, 248, 0.1);
    transform: translateX(5px);
}

.notice-icon {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Mission Statement */
.mission-list {
    list-style: none;
    padding: 0;
}

.mission-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.mission-item:last-child {
    border-bottom: none;
}

.mission-item:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.mission-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Toppers Section */
.toppers-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.toppers-scroll {
    animation: scrollUpSlow 20s linear infinite;
}

.toppers-container:hover .toppers-scroll {
    animation-play-state: paused;
}

@keyframes scrollUpSlow {
    0% {
        transform: translateY(50%);
    }
    100% {
        transform: translateY(-50%);
    }
}

.topper-card {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.topper-card:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    transform: scale(1.02);
}

.topper-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.topper-name {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.8rem;
}

.topper-details {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
}

/* Downloads Section */
.downloads-list {
  list-style: none;
  padding: 0;
}

.download-item {
  padding: 12px 16px;
  margin: 8px 0;
  background: rgba(56, 189, 248, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.download-item:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.download-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.download-info {
    flex-grow: 1;
    margin-left: 12px;
}

.download-title {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    font-size: 0.9rem;
}

.download-size {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

/* Badge styles */
.badge-new {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 1px 8px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* View All Button */
.btn-view-all {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-card {
        min-height: 320px;
    }
    
    .notice-container,
    .toppers-container {
        height: 150px;
    }
}
/* notice dashboard section start */

/* facilities section start */
.facilities.section {
    background-color: var(--bg-color);
    padding: 40px 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    height: 600px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 41, 59, 0.8), rgba(56, 189, 248, 0.6));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

/* Grid Layout */
.gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}

.gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.gallery-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1 / 3;
}

.gallery-item:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
}

.gallery-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2 / 4;
}

.gallery-item:nth-child(6) {
    grid-column: 3;
    grid-row: 3;
}

/* Navigation Arrow */
.nav-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.nav-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-grid {
      grid-template-columns: 1fr;
      height: auto;
      gap: 10px;
  }

  .gallery-item {
      grid-column: 1 !important;
      grid-row: auto !important;
      height: 200px;
  }

  .section-title {
      font-size: 2rem;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
      height: 500px;
  }

  .gallery-item:nth-child(1) {
      grid-column: 1;
      grid-row: 1 / 3;
  }

  .gallery-item:nth-child(2) {
      grid-column: 2;
      grid-row: 1;
  }

  .gallery-item:nth-child(3) {
      grid-column: 2;
      grid-row: 2;
  }

  .gallery-item:nth-child(4) {
      grid-column: 1;
      grid-row: 3;
  }

  .gallery-item:nth-child(5) {
      grid-column: 2;
      grid-row: 3;
  }

  .gallery-item:nth-child(6) {
      grid-column: 1 / 3;
      grid-row: 4;
      height: 200px;
  }
}
.section-title::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -11px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}
/* facilities section end */

/* free class section */
.free-class-request {
    background-color: var(--bg-color);
    padding: 2rem 0;
}

.request-box {
    background-color: var(--primary-color);
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    margin: 0 auto;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.request-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.request-content {
    padding: 2rem 5.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.info-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-heading {
    color: var(--text-light-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-icon {
    border: 2px solid var(--text-light-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: ring 1s ease-in-out infinite;
}
@keyframes ring {
   0%, 100% {
       transform: rotate(0deg);
   }
   10%, 30% {
       transform: rotate(-10deg);
   }
   20%, 40% {
       transform: rotate(10deg);
   }
   50% {
       transform: rotate(0deg);
   }
}

.phone-icon:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.phone-icon i {
    color: var(--text-light-color);
    font-size: 1.1rem;
}

.phone-number {
    color: var(--text-light-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-request {
    background: var(--accent-color);
    border: none;
    color: var(--text-light-color);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.btn-request:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    color: var(--text-light-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .request-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .info-section {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info {
        justify-content: center;
    }

    .main-heading {
        font-size: 1.2rem;
    }

    .phone-number {
        font-size: 1.5rem;
    }

    .btn-request {
        padding: 0.8rem 2.5rem;
        font-size: 1rem;
    }

    .request-box {
        border-radius: 0 40px 40px 0;
        margin: 0 1rem;
    }
}

@media (max-width: 576px) {
    .phone-number {
        font-size: 1.3rem;
    }

    .request-box {
        border-radius: 0 30px 30px 0;
    }
}
/* free class section end */
/* faqs section start */
.faqs-section {
  background-color: var(--bg-color);
  padding: 3rem 0;
}
.section-subtitle {
  color: var(--text-color);
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--text-light-color);
  border: none;
  border-radius: 12px !important;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-primary);
  transition: all 0.3s ease;
  overflow: hidden;
}

.accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.accordion-button {
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(6, 182, 212, 0.05));
  box-shadow: none;
}

.accordion-button:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(6, 182, 212, 0.05));
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-button h5 {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0 1rem;
}

.accordion-button::after {
  background-image: none;
  content: '\f078';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent-color);
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.02), rgba(6, 182, 212, 0.02));
}

.faq-number {
  background: var(--gradient-accent);
  color: var(--text-light-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
}

.faq-number {
  background: var(--gradient-accent);
  color: var(--text-light-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .section-title {
      font-size: 2rem;
  }

  .faq-question {
      padding: 1.2rem 1.5rem;
  }

  .faq-question h5 {
      font-size: 1.1rem;
  }

  .faq-item.active .faq-answer {
      padding: 0 1.5rem 1.2rem;
  }

  .faq-number {
      width: 25px;
      height: 25px;
      font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .faqs-section {
      padding: 3rem 0;
  }

  .section-header {
      margin-bottom: 2.5rem;
  }

  .section-title {
      font-size: 1.8rem;
  }

  .faq-container {
      padding: 0 1rem;
  }
}
.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.5 5.5L8 12l6.5-6.5-.7-.7L8 10.6 2.2 4.8l-.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}

/* faqs section end */
/* gallery page start */
.page-content{
    margin-top: 100px;
}
/* gallery page end */

/* vision and misison page start */
.vision-box {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 40px 30px;
}
.mission-box {
    background-color: #f8f9fa;
    padding: 40px 30px;
}
.icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.sub-section-title {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    .vision-box, .mission-box {
    padding: 25px 20px;
    }
}
.hover-box:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    transform: translateY(-3px);
    transition: all 0.3s ease;
    border-color: var(--primary-color)!important;
  }
    /* vision and misison page end */