﻿ * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }

 html {
   scroll-behavior: smooth;
   overflow-x: hidden;
 }

 body {
   font-family: 'Outfit', sans-serif;
   background-color: #fafbfc;
   color: #1f2937;
   line-height: 1.6;
   overflow-x: hidden;
   width: 100%;
 }

 .container {
   max-width: 1280px;
   margin: 0 auto;
   padding: 0 24px;
 }

 /* header / navbar */
 .header {
   background: rgba(255, 255, 255, 0.96);
   backdrop-filter: blur(8px);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
   position: sticky;
   top: 0;
   z-index: 100;
 }

 .nav-bar {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   padding: 16px 0;
 }

 .logo h1 {
   font-size: 1.7rem;
   font-weight: 800;
   background: linear-gradient(135deg, #0f2b3d, #1e4a6e);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
   letter-spacing: -0.3px;
 }

 .logo span {
   font-size: 0.75rem;
   font-weight: 500;
   color: #e67e22;
   display: block;
 }

 .nav-links {
   display: flex;
   gap: 28px;
   list-style: none;
 }

 .nav-links a {
   text-decoration: none;
   font-weight: 600;
   color: #1f2937;
   transition: 0.2s;
   font-size: 0.95rem;
 }

 .nav-links a:hover {
   color: #e67e22;
 }

 /* buttons */
 .btn-primary {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   background: linear-gradient(135deg, #e67e22, #f39c12);
   color: white;
   font-weight: 600;
   padding: 14px 32px;
   border-radius: 50px;
   text-decoration: none;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   border: none;
   cursor: pointer;
   font-size: 1rem;
   box-shadow: 0 8px 20px rgba(230, 126, 34, 0.25);
 }

 .btn-primary:hover {
   transform: translateY(-3px) scale(1.02);
   box-shadow: 0 12px 25px rgba(230, 126, 34, 0.4);
 }

 .btn-outline {
   display: inline-block;
   background: transparent;
   border: 2px solid white;
   color: white;
   font-weight: 600;
   padding: 10px 24px;
   border-radius: 40px;
   text-decoration: none;
   transition: 0.2s;
 }

 .btn-outline:hover {
   background: white;
   color: #e67e22;
 }

 /* ----- HERO SLIDER (FULL WIDTH) ----- */
 .hero-slider {
   position: relative;
   width: 100%;
   height: 85vh;
   min-height: 500px;
   overflow: hidden;
 }

 .slides-container {
   position: relative;
   width: 100%;
   height: 100%;
 }

 .slide {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-position: center;
   opacity: 0;
   transition: opacity 0.8s ease-in-out;
   display: flex;
   align-items: center;
   justify-content: flex-start;
 }

 .slide.active {
   opacity: 1;
   z-index: 2;
 }

 /* overlay gradient for readability */
 .slide::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   /* background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%); */
   z-index: 1;
 }

 .slide-content {
   position: relative;
   z-index: 3;
   max-width: 650px;
   margin-left: 8%;
   color: white;
   text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
 }

 .slide-content h2 {
   font-size: 3.2rem;
   font-weight: 800;
   margin-bottom: 1rem;
   line-height: 1.2;
 }

 .slide-content p {
   font-size: 1.2rem;
   margin-bottom: 2rem;
   opacity: 0.95;
 }

 .slide-badge {
   background: #e67e22;
   display: inline-block;
   padding: 6px 18px;
   border-radius: 40px;
   font-size: 0.85rem;
   font-weight: 600;
   margin-bottom: 1rem;
   letter-spacing: 0.5px;
 }

 /* slider controls */
 .slider-btn {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background: rgba(255, 255, 255, 0.25);
   backdrop-filter: blur(6px);
   border: none;
   color: white;
   font-size: 1.8rem;
   padding: 12px 18px;
   cursor: pointer;
   border-radius: 50px;
   z-index: 10;
   transition: 0.2s;
 }

 .slider-btn:hover {
   background: rgba(255, 255, 255, 0.5);
   color: #e67e22;
 }

 .btn-prev {
   left: 20px;
 }

 .btn-next {
   right: 20px;
 }

 .dots {
   position: absolute;
   bottom: 25px;
   left: 0;
   right: 0;
   display: flex;
   justify-content: center;
   gap: 12px;
   z-index: 10;
 }

 .dot {
   width: 12px;
   height: 12px;
   background: rgba(255, 255, 255, 0.5);
   border-radius: 50%;
   cursor: pointer;
   transition: 0.2s;
 }

 .dot.active {
   background: #e67e22;
   width: 28px;
   border-radius: 20px;
 }

 /* sections */
 .section-pad {
   padding: 80px 0;
 }

 .section-title {
   text-align: center;
   font-size: 2rem;
   font-weight: 700;
   margin-bottom: 16px;
   color: #0f2b3d;
 }

 .section-sub {
   text-align: center;
   color: #4b5563;
   max-width: 680px;
   margin: 0 auto 50px auto;
 }

 /* class cards */
 .class-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
   gap: 30px;
 }

 .class-card {
   background: rgba(255, 255, 255, 0.8);
   backdrop-filter: blur(10px);
   border-radius: 24px;
   padding: 40px 30px;
   text-align: center;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   border: 1px solid rgba(255, 255, 255, 0.6);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
   position: relative;
   overflow: hidden;
 }

 .class-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, rgba(230, 126, 34, 0.05), transparent);
   z-index: 0;
 }

 .class-card>* {
   position: relative;
   z-index: 1;
 }

 .class-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
   border-color: rgba(230, 126, 34, 0.3);
 }

 .class-card i {
   font-size: 3rem;
   background: linear-gradient(135deg, #e67e22, #f39c12);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   margin-bottom: 24px;
 }

 .class-card h3 {
   font-size: 1.5rem;
   margin-bottom: 12px;
 }

 /* features two col */
 .two-col-flex {
   display: flex;
   flex-wrap: wrap;
   gap: 40px;
 }

 .info-card {
   flex: 1;
   background: rgba(255, 255, 255, 0.7);
   backdrop-filter: blur(15px);
   border-radius: 32px;
   padding: 40px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
   border: 1px solid rgba(255, 255, 255, 1);
   transition: all 0.3s ease;
 }

 .info-card:hover {
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
   transform: translateY(-5px);
 }

 .info-card h3 {
   font-size: 1.5rem;
   margin-bottom: 20px;
   border-left: 5px solid #e67e22;
   padding-left: 18px;
 }

 .feature-list {
   list-style: none;
 }

 .feature-list li {
   margin-bottom: 14px;
   display: flex;
   gap: 12px;
   align-items: center;
 }

 .feature-list li i {
   color: #e67e22;
   width: 24px;
 }

 .subject-badge {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 20px;
 }

 .subject-badge span {
   background: #fef3e8;
   padding: 6px 16px;
   border-radius: 40px;
   font-size: 0.8rem;
   font-weight: 500;
 }

 .venue-block {
   background: linear-gradient(135deg, #0f2b3d, #1e4a6e);
   border-radius: 40px;
   padding: 50px;
   color: white;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   gap: 30px;
   position: relative;
   overflow: hidden;
   box-shadow: 0 20px 40px rgba(15, 43, 61, 0.2);
 }

 .venue-block::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
   pointer-events: none;
 }

 .venue-block>* {
   position: relative;
   z-index: 1;
 }

 .venue-info i {
   margin-right: 12px;
   color: #e67e22;
 }

 .contact-form-box {
   background: rgba(255, 255, 255, 0.8);
   backdrop-filter: blur(20px);
   border-radius: 48px;
   padding: 50px;
   margin-top: 30px;
   box-shadow: 0 15px 50px rgba(0, 0, 0, 0.04);
   border: 1px solid rgba(255, 255, 255, 0.8);
 }

 input,
 select,
 textarea {
   width: 100%;
   padding: 16px 20px;
   border-radius: 20px;
   border: 1px solid #e2e8f0;
   background: rgba(255, 255, 255, 0.9);
   font-family: inherit;
   transition: all 0.3s;
 }

 input:focus,
 select:focus,
 textarea:focus {
   outline: none;
   border-color: #e67e22;
   box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
   background: white;
 }

 .pro-footer {
   background: #0f172a;
   color: #cbd5e1;
   padding: 80px 0 30px;
   margin-top: 60px;
 }

 .footer-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
   gap: 40px;
   margin-bottom: 40px;
 }

 .footer-col h3 {
   font-size: 1.8rem;
   font-weight: 800;
   color: white;
   margin-bottom: 16px;
   background: linear-gradient(135deg, #e67e22, #f39c12);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
 }

 .footer-col h4 {
   font-size: 1.2rem;
   color: white;
   margin-bottom: 20px;
   position: relative;
   padding-bottom: 10px;
 }

 .footer-col h4::after {
   content: '';
   position: absolute;
   left: 0;
   bottom: 0;
   width: 40px;
   height: 3px;
   background: #e67e22;
 }

 .footer-col ul {
   list-style: none;
 }

 .footer-col ul li {
   margin-bottom: 12px;
 }

 .footer-col ul li a {
   color: #cbd5e1;
   text-decoration: none;
   transition: 0.3s;
 }

 .footer-col ul li a:hover {
   color: #e67e22;
   padding-left: 8px;
 }

 .footer-col p {
   margin-bottom: 12px;
   display: flex;
   align-items: flex-start;
   gap: 12px;
 }

 .footer-col p i {
   color: #e67e22;
   margin-top: 5px;
 }

 .footer-bottom {
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   padding-top: 30px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 20px;
 }

 .social-links {
   display: flex;
   gap: 16px;
 }

 .social-links a {
   width: 40px;
   height: 40px;
   background: rgba(255, 255, 255, 0.05);
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   color: white;
   transition: 0.3s;
 }

 .social-links a:hover {
   background: #e67e22;
   transform: translateY(-3px);
 }

 .top-notice-bar {
   background: #e67e22;
   color: white;
   text-align: center;
   padding: 8px 15px;
   font-size: 0.85rem;
   font-weight: 600;
 }

 .notice-board {
   background: #fff3e0;
   border-left: 4px solid #e67e22;
   padding: 10px 20px;
   margin: 20px 0;
   display: flex;
   align-items: center;
   border-radius: 0 8px 8px 0;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
 }

 .notice-board i {
   color: #e67e22;
   font-size: 1.2rem;
   margin-right: 15px;
 }

 .notice-board marquee {
   font-weight: 500;
   color: #b91c1c;
 }

 .toppers-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 30px;
   margin-top: 40px;
 }

 .topper-card {
   background: rgba(255, 255, 255, 0.9);
   backdrop-filter: blur(10px);
   border-radius: 24px;
   padding: 30px 20px;
   text-align: center;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
   border: 1px solid rgba(255, 255, 255, 0.8);
   position: relative;
   overflow: hidden;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .topper-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
 }

 .topper-card::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 6px;
   background: linear-gradient(90deg, #e67e22, #f39c12);
 }

 .topper-img img {
   width: 110px;
   height: 110px;
   border-radius: 50%;
   object-fit: cover;
   border: 5px solid white;
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
   margin-bottom: 20px;
   transition: transform 0.3s;
 }

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

 .topper-info h4 {
   font-size: 1.1rem;
   color: #0f2b3d;
   margin-bottom: 5px;
 }

 .topper-info .score {
   font-size: 1.4rem;
   font-weight: 700;
   color: #e67e22;
   margin-bottom: 5px;
 }

 .topper-info .board {
   font-size: 0.85rem;
   color: #64748b;
 }

 .mobile-menu-btn,
 .mobile-menu-close,
 .nav-overlay {
   display: none;
 }

 @media (max-width: 1024px) {
   .section-pad {
     padding: 40px 0 !important;
   }

   #venue {
     padding-top: 40px !important;
   }

   .section-title {
     font-size: 1.6rem !important;
     margin-bottom: 12px !important;
   }

   .nav-bar {
     flex-direction: row;
     justify-content: space-between;
     align-items: center;
     text-align: left;
     gap: 0;
   }

   .logo h1 {
     font-size: 1.4rem;
   }

   .mobile-menu-btn {
     display: block;
     font-size: 1.8rem;
     color: #0f2b3d;
     cursor: pointer;
   }

   .nav-links {
     position: fixed;
     top: 0;
     right: -300px;
     width: 280px;
     height: 100vh;
     background: white;
     flex-direction: column;
     justify-content: flex-start;
     align-items: flex-start;
     padding: 80px 30px 30px;
     box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
     transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     z-index: 1001;
     gap: 20px;
     overflow-y: auto;
   }

   .nav-links.active {
     right: 0;
   }

   .nav-links a {
     font-size: 1.1rem;
     padding: 0;
     background: transparent;
     border: none;
     border-bottom: 1px solid #f1f5f9;
     display: block;
     width: 100%;
     padding-bottom: 12px;
     border-radius: 0;
     font-weight: 500;
   }

   .mobile-menu-close {
     display: block;
     position: absolute;
     top: 25px;
     right: 25px;
     font-size: 1.8rem;
     color: #64748b;
     cursor: pointer;
   }

   .nav-overlay {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     backdrop-filter: blur(3px);
     z-index: 1000;
   }

   .nav-overlay.active {
     display: block;
   }

   .hero-slider {
     height: 35vh !important;
     min-height: 200px !important;
   }

   .info-card,
   .class-card,
   .topper-card {
     padding: 24px 20px !important;
   }

   #venue .container>div {
     grid-template-columns: 1fr !important;
     gap: 20px !important;
   }

   #venue .container>div>div {
     padding: 24px !important;
   }

   .notice-board {
     flex-direction: column;
     align-items: flex-start;
     text-align: left;
     padding: 15px;
     border-radius: 8px;
     border-left: 4px solid #e67e22;
   }

   .notice-board i {
     margin-bottom: 8px;
   }

   .pro-footer {
     padding: 50px 0 20px !important;
     margin-top: 40px !important;
   }

   .footer-grid {
     gap: 30px;
     grid-template-columns: 1fr !important;
   }

   .footer-bottom {
     flex-direction: column;
     text-align: center;
     gap: 15px;
   }

   .top-notice-bar {
     font-size: 0.75rem;
     padding: 8px 10px;
   }

   .slider-btn {
     font-size: 1.2rem;
     padding: 8px 12px;
   }

   #contact>div[style*="absolute"] {
     display: none !important;
   }

   h3 {
     font-size: 1.4rem !important;
   }

   .class-grid,
   .toppers-grid {
     grid-template-columns: 1fr !important;
   }

   /* Make inputs a bit smaller on mobile */
   input,
   select {
     padding: 14px 18px !important;
     font-size: 0.95rem !important;
   }
 }