html { scroll-behavior: smooth; }

.slider-img {
  height: 300px;
  object-fit: cover;
}
body {
  font-family: 'Montserrat', sans-serif;
}

/* Brand Colors */
:root {
  --brand-blue: #20254e;
  --brand-yellow: #6699ff;
}

/* Subtle Texture */
.header-texture {
  background-color: #f9fafb;
  background-image: radial-gradient(rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Strong Title Compression */
.title-strong {
  letter-spacing: -0.4px;
}

/* Navy Contact Box Using Brand Blue */
.contact-brand {
  background: linear-gradient(135deg, #0001f8 0%, #0b1eff 100%);
  
}

/* Accent Divider */
.brand-divider {
  background: linear-gradient(to right, var(--brand-yellow), var(--brand-blue));
}

/* Animated underline */
logo-highlight{
  border:3px solid var(--brand-yellow);
  border-radius:50%;
  padding:4px;
  box-shadow:0 0 12px rgba(42, 31, 252, 0.35);
}


.u_title{
    color: #bf8930;
}
/* Solid Premium Gold Title */
.gold-title{
  color: #000066;
  
  font-weight: 800;
  letter-spacing: -0.4px;
  text-shadow:
      0 1px 0 #c7a800,
      0 2px 3px rgba(0,0,0,0.25);
}

/* Optional subtle glow on hover */
.gold-title:hover{
  text-shadow:
      0 1px 0 #c7a800,
      0 2px 4px rgba(0,0,0,0.35),
      0 0 6px rgba(252,217,31,0.4);
  transition: 0.3s ease;
}
/* Navbar Base */
/* Premium brand navbar */
/* Base Navbar */
.navbar-brand{
  background: var(--brand-blue);
}

/* Link styling */
.nav-link{
  position:relative;
  padding-bottom:6px;
  transition:all .3s ease;
}

.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:var(--brand-yellow);
  transition:width .3s ease;
}

.nav-link:hover{
  color:var(--brand-yellow);
}

.nav-link:hover::after{
  width:100%;
}

/* Active */
.nav-active{
  color:var(--brand-yellow);
}
.nav-active::after{
  width:100%;
}

/* Desktop Dropdown */
.dropdown-menu{
  background:white;
  border-top:3px solid var(--brand-yellow);
}

/* Tricolor Strip */
.tricolor{
  height:4px;
  display:flex;
}
.tricolor div:nth-child(1){ background:#f97316; width:33.33%; }
.tricolor div:nth-child(2){ background:white; width:33.33%; }
.tricolor div:nth-child(3){ background:#16a34a; width:33.33%; }


/* Hero Background */
/* Hero Background with depth */
.hero-bg{
  background: linear-gradient(rgba(0,0,30,0.75), rgba(0,0,50,0.85)),
              url('https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Professional Glass Card */
.glass-pro{
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* Subtle highlight line */
.hero-accent{
  height:4px;
  background: linear-gradient(to right,var(--brand-yellow),white,var(--brand-yellow));
}

/* Button Style */
.btn-primary{
  background: var(--brand-yellow);
  color: var(--brand-blue);
  transition: all .3s ease;
}
.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(252,217,31,0.5);
}
.btn-outline{
  border:1px solid rgba(255,255,255,0.6);
  transition: all .3s ease;
}
.btn-outline:hover{
  background:white;
  color:var(--brand-blue);
}

/* Slider Background */
.hero-slide{
  background-size: cover;
  background-position: center;
  position: absolute;
  inset: 0;
  transition: opacity 1s ease-in-out;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

/* Slow Zoom Animation */
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Dark Overlay */
.hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(rgba(0,0,50,0.75), rgba(0,0,70,0.85));
}

/* Glass Card */
.glass-card{
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 25px 60px rgba(0,0,0,0.45);
}

/* Button */
.btn-primary{
  background: var(--brand-yellow);
  color: var(--brand-blue);
  transition: .3s;
}
.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow:0 10px 25px rgba(252,217,31,0.6);
}

/* Wave Divider */
.wave-divider{
  line-height:0;
}

/* Stats */
.stats-card{
  background:white;
  border-radius:12px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

/* about us section */
.section-texture{
  background-color:#f9fafc;
  background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Counter animation */
.counter{
  font-weight:800;
  color: var(--brand-blue);
}

/* Timeline vertical line */
.timeline-line{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:3px;
  background:var(--brand-yellow);
}

/* Students testimonials section */
.testimonial-card{
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: all .3s ease;
}

.testimonial-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.testimonial-section{
  background: linear-gradient(to bottom, #f9fafc, #ffffff);
}

/* video section start */
/* Subtle Background Pattern */
.video-pattern{
  background-color:#0f1a4d;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Parallax Effect */
.parallax-bg{
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Play Button */
.play-btn{
  width:80px;
  height:80px;
  background: var(--brand-yellow);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 15px 40px rgba(0,0,0,0.3);
  transition:0.3s;
}
.play-btn:hover{
  transform:scale(1.1);
}

/* maps and form section */
.contact-pattern{
  background-color:#f9fafc;
  background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size:22px 22px;
}

.form-input{
  width:100%;
  padding:14px 16px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:white;
  transition:all 0.3s ease;
}

.form-input:focus{
  outline:none;
  border-color:var(--brand-blue);
  box-shadow:0 0 0 3px rgba(0,1,248,0.08);
}

.form-label{
  font-size:14px;
  font-weight:600;
  color:#374151;
  margin-bottom:6px;
  display:block;
}

/* footer design  */
.footer-pattern{
  background-color:#0f1a4d;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size:22px 22px;
}
.footer-link{
  transition:0.3s ease;
}
.footer-link:hover{
  color:var(--brand-yellow);
  padding-left:4px;
}

/* floating icon design */
.floating-wrapper{
  position:fixed;
  right:20px;
  bottom:30px;
  z-index:999;
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* Button */
.floating-btn{
  display:flex;
  align-items:center;
  background:var(--brand-blue);
  border-radius:50px;
  padding:12px 20px;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
  cursor:pointer;
  transition:all 0.3s ease;
  color:white; /* default text white */
}

/* Icon */
.floating-btn svg{
  width:18px;
  height:18px;
  margin-right:10px;
  transition:color 0.3s ease;
}

/* Text default */
.floating-btn span{
  color:white; /* DEFAULT WHITE */
  font-size:14px;
  font-weight:500;
  transition:color 0.3s ease;
}

/* Hover */
.floating-btn:hover{
  background:var(--brand-yellow);
}

.floating-btn:hover span{
  color:var(--brand-blue); /* BLUE ON HOVER */
}

.floating-btn:hover svg{
  color:var(--brand-blue);
}

/* Mobile */
/* MOBILE VERSION */
@media(max-width:768px){

  .floating-wrapper{
    right:10px;
    bottom:18px;
    gap:8px; /* smaller gap */
  }

  .floating-btn{
    padding:10px 12px; /* smaller padding */
    border-radius:12px; /* slightly less rounded */
  }

  .floating-btn svg{
    width:16px; /* smaller icon */
    height:16px;
    margin-right:0; /* remove spacing */
  }

  .floating-btn span{
    display:none; /* hide text on mobile */
  }

}

/* multimedia page design  */
.cube {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #fcd91f, #ff7b00);
  position: absolute;
  transform-style: preserve-3d;
  animation: rotateCube 12s infinite linear;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

@keyframes rotateCube {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  50% { transform: rotateX(180deg) rotateY(180deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}