/*!
 |-----------------------------------------------------------------------------------------
 |
 |
 | Override - Start
 |
 |
 |-----------------------------------------------------------------------------------------
*/

/* Modern Statistics Section Redesign */
.statsModernWrap {
  background: linear-gradient(135deg, #FDB913 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.statsModernWrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FDB913 0%, #653331 50%, #034C8C 100%);
}

.statsHeader {
  text-align: center;
  margin-bottom: 60px;
}

.statsHeader h2 {
  font-size: 48px;
  font-weight: 900;
  color: #120459;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.statsHeader h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #FDB913;
  border-radius: 2px;
}

.statsSubtitle {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 30px auto 0;
  line-height: 1.6;
}

/* Tab Menu Styling */
.statsTabsContainer {
  background: #1e0269;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}

.statsTabMenu {
  display: flex;
  background: #fff;
  border-bottom: 2px solid #e9ecef;
}

.statsTabBtn {
  flex: 1;
  padding: 25px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #666;
  position: relative;
}

.statsTabBtn i {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.statsTabBtn:hover {
  background: #f8f9fa;
}

.statsTabBtn:hover i {
  transform: scale(1.1);
}

.statsTabBtn.active {
  color: #FDB913;
  background: #fffbf0;
}

.statsTabBtn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: #FDB913;
}

/* Tab Content */
.statsTabContent {
  display: none;
  padding: 50px 40px;
  animation: fadeIn 0.5s ease;
}

.statsTabContent.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats Cards */
.statsCard {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.statsCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.statsCardHeader {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.statsIcon {
  font-size: 32px;
  color: #FDB913;
  background: #fffbf0;
  padding: 15px;
  border-radius: 12px;
}

.statsCardHeader h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.statsCardBody {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.statsCardFooter {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.statsCardFooter p {
  color: #666;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* Student-Teacher Ratio Visual */
.ratioVisual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.ratioItem {
  text-align: center;
}

.ratioIcon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  position: relative;
  transition: all 0.3s ease;
}

.ratioIcon.students {
  background: linear-gradient(135deg, #FDB913 0%, #f0a500 100%);
  color: #fff;
}

.ratioIcon.teacher {
  background: linear-gradient(135deg, #034C8C 0%, #023a6b 100%);
  color: #fff;
}

.ratioIcon i {
  font-size: 36px;
  margin-bottom: 8px;
}

.ratioNumber {
  font-size: 32px;
  font-weight: 900;
}

.ratioSeparator {
  font-size: 48px;
  font-weight: 900;
  color: #FDB913;
}

.ratioItem p {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  margin: 0;
}

/* Athletics Cards */
.athleticsCard {
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
  margin-bottom: 20px;
}

.athleticsCard .statsNumber {
  font-size: 64px;
  font-weight: 900;
  color: #653331;
  margin-bottom: 15px;
  line-height: 1;
}

.athleticsCard .statsLabel {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  font-weight: 600;
}

.statsProgress {
  height: 8px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

.statsProgressBar {
  height: 100%;
  background: linear-gradient(90deg, #653331 0%, #8a4543 100%);
  border-radius: 10px;
  transition: width 1s ease;
}

/* Extracurricular Cards */
.extracurricularCard {
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  margin-bottom: 20px;
}

.extracurricularCard .statsNumber {
  font-size: 64px;
  font-weight: 900;
  color: #034C8C;
  margin-bottom: 15px;
  line-height: 1;
}

.extracurricularCard .statsLabel {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Circular Progress Chart */
.statCircle {
  width: 150px;
  height: 150px;
  margin: 20px auto;
}

.circularChart {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.circleBg {
  fill: none;
  stroke: #e9ecef;
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
  stroke: #034C8C;
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

.percentage {
  fill: #034C8C;
  font-size: 0.5em;
  font-weight: 900;
  text-anchor: middle;
}

/* Icon Grid */
.iconGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.iconGrid i {
  font-size: 32px;
  color: #034C8C;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.iconGrid i:hover {
  opacity: 1;
  transform: scale(1.2);
}

.extracurricularCard .statsProgress .statsProgressBar {
  background: linear-gradient(90deg, #d9eaf8 0%, #0567b8 100%);
}

/* Responsive Design */
@media (max-width: 992px) {
  .statsHeader h2 {
    font-size: 36px;
  }
  
  .statsSubtitle {
    font-size: 16px;
  }
  
  .statsTabBtn {
    font-size: 16px;
    padding: 20px 15px;
  }
  
  .statsTabBtn i {
    font-size: 20px;
  }
  
  .statsTabContent {
    padding: 40px 20px;
  }
  
  .ratioVisual {
    flex-direction: column;
    gap: 20px;
  }
  
  .ratioSeparator {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .statsModernWrap {
    padding: 60px 0;
  }
  
  .statsHeader {
    margin-bottom: 40px;
  }
  
  .statsHeader h2 {
    font-size: 32px;
  }
  
  .statsTabMenu {
    flex-direction: column;
  }
  
  .statsTabBtn {
    border-bottom: 1px solid #e9ecef;
  }
  
  .statsTabBtn.active::after {
    height: 4px;
    width: 4px;
    left: auto;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
  }
  
  .statsCard {
    margin-bottom: 20px;
  }
  
  .athleticsCard .statsNumber,
  .extracurricularCard .statsNumber {
    font-size: 48px;
  }
  
  .ratioIcon {
    width: 100px;
    height: 100px;
  }
  
  .ratioIcon i {
    font-size: 28px;
  }
  
  .ratioNumber {
    font-size: 24px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
  color: white;
  font-size: 32px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 70px;
}

.whatsapp-tooltip strong {
  color: #034C8C;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.whatsapp-tooltip span {
  color: #666;
  font-size: 12px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-button {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-button i {
    font-size: 28px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

/* Enhanced Responsive Design & Modern UI Improvements */

/* Smooth scrolling and modern box sizing */
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* Enhanced typography for better readability */
body {
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Modern button hover effects */
.btn, .button, .btn-primary, .btn-secondary {
  transition: all 0.3s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
}

.btn:hover, .button:hover, .btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced card hover effects */
.gallery-item, .campus-gallery, .staff-card, .card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateZ(0);
}

.gallery-item:hover, .campus-gallery:hover, .staff-card:hover, .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Modern image effects */
img {
  transition: all 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

/* Enhanced container responsiveness */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Improved grid system for better responsiveness */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-3, .col-lg-4, .col-lg-9, .col-md-6 {
  padding: 0 15px;
}

/* Modern mobile menu improvements */
.mobileMenu {
  transition: all 0.3s ease;
}

/* Enhanced accessibility features */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-dark: #1a1a1a;
    --color-text-dark: #ffffff;
    --color-card-dark: #2d2d2d;
  }
  
  body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-dark);
  }
  
  .statsCard, .statsModernWrap, .statsTabsContainer {
    background-color: var(--color-card-dark);
    color: var(--color-text-dark);
  }
  
  .statsHeader h2, .statsCardHeader h3 {
    color: var(--color-text-dark);
  }
  
  .statsSubtitle, .statsCardFooter p, .ratioItem p, .statsLabel {
    color: #cccccc;
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

::-webkit-scrollbar-track {
  background: #f8f8fd;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #11015c;
}

/* Responsive enhancements for smaller screens */
@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .statsHeader h2 {
    font-size: 28px;
  }
  
  .statsCard {
    padding: 20px;
  }
  
  .statsCardBody {
    min-height: 200px;
  }
  
  .ratioIcon {
    width: 80px;
    height: 80px;
  }
  
  .ratioNumber {
    font-size: 20px;
  }
  
  .statCircle {
    width: 120px;
    height: 120px;
  }
}

/*
 |-----------------------------------------------------------------------------------------
 |
 |
 | Override - End
 |
 |
 |-----------------------------------------------------------------------------------------
*/

/* Hero Section Button Styles */
.videoBannerBtns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.videoBannerBtns .btn {
  min-width: 180px;
  text-align: center;
  transition: all 0.3s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.videoBannerBtns .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.videoBannerBtns .btnHalfRoundYellow {
  background: #FDB913;
  border-radius: 50px;
  padding: 15px 30px;
}

.videoBannerBtns .btnHalfRoundYellow a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
}

.videoBannerBtns .btnHalfRoundBlack {
  background: #000;
  border-radius: 50px;
  padding: 15px 30px;
}

.videoBannerBtns .btnHalfRoundBlack a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
}

/* Responsive styles for hero buttons */
@media (max-width: 768px) {
  .videoBannerBtns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .videoBannerBtns .btn {
    min-width: 200px;
    width: 80%;
    max-width: 250px;
  }
}

@media (max-width: 576px) {
  .videoBannerBtns .btn {
    min-width: 160px;
    padding: 12px 25px;
  }
  
  .videoBannerBtns .btn a {
    font-size: 16px;
  }
}

/* History Section Redesign */
.history-section {
  background: linear-gradient(135deg, #fff 0%, #fff 100%);
  padding: 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.history-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFFFFF 0%, #f0f0f0 50%, #e0e0e0 100%);
}

.history-header {
  text-align: center;
  margin-bottom: 60px;
}

.history-header h2 {
  font-size: 48px;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.history-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #D59F0F;
  border-radius: 2px;
}

.history-subtitle {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 30px auto 0;
  line-height: 1.6;
}

.history-content {
  background: rgba(3, 76, 140, 0.2);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.history-content h3 {
  color: #D59F0F;
  font-size: 32px;
  margin-bottom: 25px;
  font-weight: 700;
}

.history-content p {
  color: white;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.history-timeline {
  margin: 50px 0;
  text-align: center;
}

.history-timeline img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.philosophy-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.philosophy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #034C8C 0%, #023a6d 50%, #01284a 100%);
}

.philosophy-header {
  text-align: center;
  margin-bottom: 60px;
}

.philosophy-header h2 {
  font-size: 48px;
  font-weight: 900;
  color: #034C8C;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.philosophy-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #D59F0F;
  border-radius: 2px;
}

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

.philosophy-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.philosophy-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #034C8C;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.philosophy-card h3 i {
  color: #D59F0F;
}

.philosophy-card p {
  color: #666;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .history-header h2,
  .philosophy-header h2 {
    font-size: 36px;
  }
  
  .history-content {
    padding: 25px;
  }
  
  .history-content h3 {
    font-size: 26px;
  }
  
  .history-content p {
    font-size: 16px;
  }
  
  .philosophy-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .history-header h2,
  .philosophy-header h2 {
    font-size: 28px;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

.content-style ._bg-navy {
  background-color: #034C8C;
  color: #fff;
}
