/* upper nav bar */
.admission-ticker{

background:linear-gradient(90deg,#7aadd1,#4a6e8b);

padding:14px 0;

color:white;

overflow:hidden;

font-family:system-ui;

}

/* wrapper */

.ticker-wrapper{

max-width:1400px;

margin:auto;

display:flex;

align-items:center;

gap:20px;

padding:0 20px;

}

/* admission badge */

.admission-badge{

display:flex;

align-items:center;

gap:8px;

background:#ff4d4d;

padding:8px 16px;

border-radius:30px;

font-weight:700;

font-size:14px;

white-space:nowrap;

}

/* pulse */

.pulse{

width:10px;
height:10px;

background:white;

border-radius:50%;

animation:pulseAnim 1.5s infinite;

}

@keyframes pulseAnim{

0%{transform:scale(1)}

50%{transform:scale(1.6)}

100%{transform:scale(1)}

}

/* limited seats */

.limited-seats{

background:#fff3cd;

color:#7a1c1c;

padding:6px 14px;

border-radius:20px;

font-weight:700;

font-size:13px;

animation:blink 1s infinite;

}

@keyframes blink{

0%{opacity:1}

50%{opacity:.4}

100%{opacity:1}

}

/* countdown */

.countdown{

font-weight:700;

font-size:14px;

white-space:nowrap;

}

/* ticker */

.ticker-area{

flex:1;

overflow:hidden;

display:flex;

flex-direction:column;

gap:6px;

}

.ticker-track{

display:flex;

gap:60px;

white-space:nowrap;

font-size:15px;

}

.slow{

animation:scrollSlow 35s linear infinite;

}

.fast{

animation:scrollFast 22s linear infinite;

opacity:.9;

}

@keyframes scrollSlow{

0%{transform:translateX(0)}

100%{transform:translateX(-50%)}

}

@keyframes scrollFast{

0%{transform:translateX(0)}

100%{transform:translateX(-50%)}

}

/* pause hover */

.admission-ticker:hover .ticker-track{

animation-play-state:paused;

}

/* buttons */

.ticker-buttons{

display:flex;

gap:10px;

}

.ticker-btn{

padding:7px 16px;

border-radius:20px;

border:1px solid white;

font-size:13px;

transition:.3s;

white-space:nowrap;

}

.ticker-btn.primary{

background:white;

color:#4a6e8b;

font-weight:600;

}

.ticker-btn:hover{

background:white;

color:#4a6e8b;

}

/* MOBILE */

@media (max-width:768px){

.ticker-wrapper{

flex-direction:column;

align-items:flex-start;

gap:10px;

}

.ticker-buttons{

flex-wrap:wrap;

width:100%;

}

.ticker-btn{

flex:1;

text-align:center;

font-size:12px;

}

.ticker-track{

font-size:13px;

gap:30px;

}

}




.nav-link{
position:relative;
transition:.3s;
}

.nav-link:hover{
color:#7aadd1;
}

/* underline hover animation */

.nav-link::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0%;
height:2px;
background:#7aadd1;
transition:.3s;
}

.nav-link:hover::after{
width:100%;
}

/* mobile links */

.mobile-link{
display:block;
padding:6px 0;
transition:.3s;
}

.mobile-link:hover{
color:#7aadd1;
padding-left:6px;
}



/* Video section */


.hero-section{
min-height:90vh;
height:90dvh;
position:relative;
overflow:hidden;
}

/* VIDEO */

.hero-video{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
}

/* DARK OVERLAY */

.hero-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.35);
}

/* GLASS CARD */

.rain-glass{

position:relative;

background:rgba(255,255,255,0.08);

backdrop-filter:blur(25px);
-webkit-backdrop-filter:blur(25px);

border-radius:30px;

border:1px solid rgba(255,255,255,0.25);

box-shadow:
0 30px 100px rgba(0,0,0,0.7),
inset 0 2px 4px rgba(255,255,255,0.5);

padding:70px;

overflow:hidden;

}

/* LIGHT REFLECTION */

.rain-glass::before{

content:"";

position:absolute;

top:0;
left:0;

width:100%;
height:60%;

background:linear-gradient(
to bottom,
rgba(255,255,255,0.4),
rgba(255,255,255,0.05)
);

pointer-events:none;

border-radius:30px;

}

/* REALISTIC RAIN TEXTURE */

.rain-layer{

position:absolute;

top:0;
left:0;

width:100%;
height:100%;

opacity:0.6;

/* droplets */

background-image:

radial-gradient(circle at 10% 20%, rgba(255,255,255,0.6) 1px, transparent 3px),
radial-gradient(circle at 30% 60%, rgba(255,255,255,0.5) 1px, transparent 4px),
radial-gradient(circle at 60% 30%, rgba(255,255,255,0.5) 2px, transparent 5px),
radial-gradient(circle at 80% 70%, rgba(255,255,255,0.4) 1px, transparent 4px),
radial-gradient(circle at 45% 45%, rgba(255,255,255,0.4) 1px, transparent 3px),

/* vertical rain streaks */

linear-gradient(
to bottom,
rgba(255,255,255,0.18) 0%,
transparent 30%
),

linear-gradient(
to bottom,
rgba(255,255,255,0.15) 0%,
transparent 50%
);

background-size:

200px 200px,
180px 180px,
220px 220px,
160px 160px,
210px 210px,

100% 100%,
100% 100%;

pointer-events:none;

}

/* MOBILE HERO FIX */

@media (max-width:768px){

.hero-section{
height:auto;
min-height:60vh;
padding-top:80px;
padding-bottom:60px;
}

/* make video 16:9 feeling */

.hero-video{
height:100%;
object-fit:cover;
}

/* smaller glass box */

.rain-glass{
padding:30px 20px;
border-radius:22px;
}

/* smaller heading */

.hero-section h1{
font-size:28px !important;
line-height:1.3;
}

/* smaller paragraph */

.hero-section p{
font-size:14px !important;
margin-bottom:20px;
}

/* buttons smaller */

.hero-section a{
padding:10px 20px !important;
font-size:14px;
}

/* button layout better */

.hero-section .flex{
gap:12px;
}

}


/* find your dream path section */
.hero-text-section{

height:140vh;
background:#ffffff;

}

/* sticky center */

.sticky-wrapper{

position:sticky;
top:0;

height:100vh;

display:flex;
align-items:center;
justify-content:center;

padding:0 4vw;

}

/* typography */

.mask-text{

width:100%;

font-family:'Outfit', sans-serif;

font-weight:900;

letter-spacing:-0.04em;

line-height:0.8;

text-transform:uppercase;

font-size:clamp(80px,14vw,220px);

display:flex;
flex-direction:column;

text-align:center;

}

/* stretch letters */

.mask-text span{

display:block;

width:100%;

background-image:url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e");

background-size:140%;

background-position:center 30%;

-webkit-background-clip:text;
background-clip:text;

color:transparent;

/* premium typography spacing */

padding:5px 0;

}

/* mobile */

@media (max-width:768px){

.hero-text-section{
height:60vh;
}

.sticky-wrapper{
height:60vh;
}

.mask-text{
font-size:24vw;
line-height:0.85;
letter-spacing:-0.03em;
}

}






/* Find College course section start */
.tab{
  position:relative;
  padding-bottom:6px;
  
}
.tab.active{
  color:#2563eb;
}
.tab.active::after{
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:2px;
  background:#f97316;
}

/* CARD */
.card{
  background:#4a6e8b;
  border-radius:16px;
  padding:20px;
  min-height:320px;
}
.card-title{
  font-weight:700;
  font-size:18px;
  margin-bottom:14px;
  color:#ffffff;
}
.card-body{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.item{
  background:white;
  border:1px solid #c7d2fe;
  padding:8px 14px;
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
}
.item:hover{
  background:#eff6ff;
  border-color:#2563eb;
  color:#1d4ed8;
}
.empty{
  color:#ffffff;
  font-size:14px;
}
.input{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid #cbd5e1;
}
.submit{
  width:100%;
  padding:12px;
  background:#2563eb;
  color:white;
  border-radius:10px;
  font-weight:600;
}

/* Ours Services start here ----  */


/* Course start here  */
.course-card{

background:#7aadd1;

color:white;

padding:32px;

border-radius:16px;

position:relative;

border:1px solid rgba(0,0,0,0.08);

/* border shadow */

box-shadow:
0 2px 6px rgba(0,0,0,0.08),
0 8px 20px rgba(0,0,0,0.12);

transition:all .35s ease;

overflow:hidden;

}

/* glowing border effect */

.course-card::before{

content:"";

position:absolute;

inset:0;

border-radius:16px;

padding:1px;

background:linear-gradient(
120deg,
transparent,
rgba(255,255,255,0.7),
transparent
);

opacity:0;

transition:opacity .35s ease;

}

/* hover */

.course-card:hover{

background:#4a6e8b;

transform:translateY(-6px);

/* stronger shadow */

box-shadow:
0 6px 16px rgba(0,0,0,0.15),
0 20px 40px rgba(0,0,0,0.25);

}

.course-card:hover::before{
opacity:1;
}

/* icon */

.course-icon{

width:52px;
height:52px;

display:flex;
align-items:center;
justify-content:center;

background:white;

color:#4a6e8b;

border-radius:12px;

font-size:22px;

margin-bottom:18px;

box-shadow:0 6px 15px rgba(0,0,0,0.15);

}


/* why choose us section */
.stat-card{

background:white;

padding:22px;

border-radius:14px;

box-shadow:0 10px 25px rgba(0,0,0,0.08);

transition:.3s;

}

.stat-card:hover{

transform:translateY(-4px);

box-shadow:0 18px 40px rgba(0,0,0,0.15);

}

.stat-card h3{

font-size:34px;

font-weight:700;

margin-bottom:4px;

}

.stat-card p{

color:#64748b;

font-size:14px;

}

/* feature box */

.feature-box{

background:white;

padding:36px;

border-radius:18px;

box-shadow:0 12px 30px rgba(0,0,0,0.08);

}

/* check icon */

.check-icon{

width:26px;

height:26px;

display:flex;

align-items:center;

justify-content:center;

background:#7aadd1;

color:white;

border-radius:50%;

font-size:14px;

flex-shrink:0;

}


/* Student Testimonials start here   */
/* carousel container */

.carousel3d{
position:relative;
height:420px;
display:flex;
align-items:center !important;
justify-content:center !important;
perspective:1400px;
overflow:hidden;
}

/* track */

.carousel3d-track{
position:relative;
width:100%;
height:100%;
transform-style:preserve-3d;
transition:transform 1s ease;
}

/* cards */

.carousel3d-card{
position:absolute;
top:50%;
left:50%;
transform-style:preserve-3d;
transition:transform .8s ease;
}

/* testimonial card */

.testimonial-card{

background:white;

padding:40px 30px;

border-radius:22px;

width:260px;

text-align:center;

box-shadow:
0 20px 40px rgba(0,0,0,0.08),
0 5px 12px rgba(0,0,0,0.05);

transition:all .4s ease;

}

/* hover effect */

.testimonial-card:hover{

transform:translateY(-8px);

box-shadow:
0 30px 60px rgba(0,0,0,0.12);

}

/* image */

.testimonial-card img{

width:90px;
height:90px;

border-radius:50%;

object-fit:cover;

margin:auto;
margin-bottom:18px;

border:4px solid #4a6e8b;

}

/* comment */

.testimonial-card p{

font-size:14px;

color:#64748b;

margin-bottom:16px;

line-height:1.6;

}

/* name */

.testimonial-card h4{

font-weight:700;

color:#1e293b;

font-size:18px;

margin-bottom:4px;

}

/* designation */

.testimonial-card span{

font-size:13px;

color:#94a3b8;

}

/* Faq start here */
/* glass cards */

.faq-item{

background:rgba(255,255,255,0.7);

backdrop-filter:blur(10px);

border-radius:16px;

border:1px solid rgba(255,255,255,0.4);

box-shadow:
0 10px 25px rgba(0,0,0,0.08);

overflow:hidden;

transition:.3s;

}

/* question */

.faq-question{

width:100%;

display:flex;

justify-content:space-between;

align-items:center;

padding:22px;

font-weight:600;

color:#1e293b;

cursor:pointer;

}

/* icon circle */

.faq-icon-circle{

width:36px;
height:36px;

display:flex;
align-items:center;
justify-content:center;

border-radius:50%;

background:linear-gradient(135deg,#7aadd1,#4a6e8b);

color:white;

font-weight:bold;

}

/* toggle */

.faq-toggle{

font-size:22px;

color:#4a6e8b;

transition:.3s;

}

/* answer */

.faq-content{

max-height:0;

overflow:hidden;

transition:max-height .4s ease;

padding:0 22px;

color:#64748b;

line-height:1.6;

}

/* open */

.faq-item.active .faq-content{

max-height:200px;

padding-bottom:20px;

}

.faq-item.active .faq-toggle{

transform:rotate(45deg);

}

/* map + Form Desigfn */
/* mini contact cards */

.contact-mini-card{

background:white;

padding:16px;

border-radius:14px;

text-align:center;

box-shadow:0 10px 25px rgba(0,0,0,0.08);

transition:.3s;

}

.contact-mini-card:hover{

transform:translateY(-5px);

box-shadow:0 20px 40px rgba(0,0,0,0.15);

}

.contact-mini-card .icon{

font-size:22px;

margin-bottom:6px;

}

.contact-mini-card p{

font-weight:600;

color:#1e293b;

}

.contact-mini-card span{

font-size:13px;

color:#64748b;

}


/* form */

.contact-form{

background:rgba(255,255,255,0.7);

backdrop-filter:blur(10px);

padding:40px;

border-radius:20px;

box-shadow:0 20px 50px rgba(0,0,0,0.08);

}


/* input groups */

.input-group{

display:flex;

align-items:center;

gap:10px;

background:white;

border:1px solid #e2e8f0;

padding:12px 14px;

border-radius:10px;

}

.input-group input,
.input-group textarea{

border:none;

outline:none;

width:100%;

background:transparent;

font-size:14px;

}

.input-group span{

font-size:18px;

color:#4a6e8b;

}


/* button */

.submit-btn{

width:100%;

background:#4a6e8b;

color:white;

padding:14px;

border-radius:10px;

font-weight:600;

transition:.3s;

}

.submit-btn:hover{

background:#355164;

}

/* Footer design */
.footer-link{
  color:#cbd5e1;
  transition:all .3s ease;
}
.footer-link:hover{
  color:#60a5fa;
  padding-left:4px;
}

/* Course page design */

.pro-course-card{
  background:white;
  padding:40px 30px;
  border-radius:24px;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
  transition:all .4s ease;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.pro-course-card:hover{
  transform:translateY(-10px);
  box-shadow:0 30px 70px rgba(0,0,0,.15);
}

.pro-course-card h3{
  font-size:20px;
  font-weight:700;
  margin:20px 0 10px;
  color:#0f172a;
}

.pro-course-card p{
  font-size:14px;
  color:#64748b;
  margin-bottom:25px;
}

.icon-circle{
  width:80px;
  height:80px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
}

.pro-btn{
  background:#0a3173;
  color:white;
  padding:10px 26px;
  border-radius:30px;
  font-weight:600;
  transition:all .3s ease;
}

.pro-btn:hover{
  background:#08285f;
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(10,49,115,.35);
}

/* Explore Course sub course section */
.sub-card{
  background:#f8fafc;
  padding:28px;
  border-radius:18px;
  text-align:center;
  box-shadow:0 15px 40px rgba(0,0,0,.05);
  transition:all .3s ease;
}

.sub-card:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.sub-card h3{
  font-weight:700;
  font-size:18px;
  margin-bottom:10px;
  color:#0f172a;
}

.sub-card p{
  font-size:14px;
  color:#64748b;
  margin-bottom:15px;
}

.sub-btn{
  background:#0a3173;
  color:white;
  padding:8px 20px;
  border-radius:25px;
  font-size:14px;
  transition:all .3s ease;
}

.sub-btn:hover{
  background:#08285f;
  transform:translateY(-3px);
}

/* Open enquiry form in course page  */
@keyframes fadeIn {
  from { opacity:0; transform:scale(.95); }
  to { opacity:1; transform:scale(1); }
}

.animate-fadeIn{
  animation:fadeIn .25s ease forwards;
}


/* Breadcrumb Design */

.float-icon {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  opacity: 0.6;
}

.float-icon:nth-child(2) {
  animation-delay: 1s;
}
.float-icon:nth-child(3) {
  animation-delay: 2s;
}
.float-icon:nth-child(4) {
  animation-delay: 3s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.fade-section.show {
  opacity: 1;
  transform: translateY(0);
}
#customCursor {
  width: 18px;
  height: 18px;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease;
  z-index: 9999;
}

.cursor-hover {
  transform: scale(2);
  background: rgba(59,130,246,0.3);
}
/* ===== Gradient Animated Border Button ===== */

.gradient-border-btn {
  position: relative;
  padding: 14px 32px;
  color: white;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 1;
}

.gradient-border-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(270deg, #3b82f6, #8b5cf6, #ec4899);
  background-size: 600% 600%;
  animation: borderAnimation 6s linear infinite;
  z-index: -1;
}

@keyframes borderAnimation {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.outline-btn {
  border: 1px solid white;
  padding: 14px 32px;
  border-radius: 999px;
  transition: 0.3s ease;
}

.outline-btn:hover {
  background: white;
  color: black;
}
.gradient-border-btn:hover {
  box-shadow: 0 0 25px rgba(59,130,246,0.6);
  transform: scale(1.05);
}


/* ================= PAGE TRANSITION ================= */

.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-transition.loaded {
  opacity: 1;
  transform: translateY(0);
}

.page-transition.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

/* services card design */
/* 3D Tilt Setup */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
  will-change: transform;
}



/* gradient text in services page cards */
.gradient-text {
  background: linear-gradient(270deg, #3b82f6, #8b5cf6, #ec4899);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.service-card {
    opacity: 1 !important;
}

/* course page glass effect */
.magnetic-btn-primary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 600;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    color: white;
    transition: all 0.3s ease;
}

.magnetic-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.magnetic-btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 600;
    border: 1px solid white;
    color: white;
    transition: all 0.3s ease;
}

.magnetic-btn-secondary:hover {
    background: white;
    color: #1e3a8a;
    transform: scale(1.05);
}

/* popup box design */
.input-field{
    width:100%;
    padding:14px 16px;
    border-radius:12px;
    border:1px solid #e2e8f0;
    background:#f8fafc;
    font-size:16px;
}

.brand-btn{
    width:100%;
    background:linear-gradient(135deg,#7aadd1,#4a6e8b);
    color:white;
    padding:14px;
    border-radius:12px;
    font-weight:600;
    transition:0.3s;
}

.brand-btn:hover{
    transform:scale(1.02);
}

.bottom-note{
    text-align:center;
    color:#64748b;
    margin-top:10px;
}

/* 🔥 MOST IMPORTANT FIX */
#modalBox{
    height:auto;
}

@media(max-width:768px){
    #modalBox{
        max-height:90vh;
        overflow-y:auto;
        border-radius:20px 20px 0 0;
    }
}

/* Course details in course page  */
/* ===== COURSE SECTION ===== */

.course-section{
padding:120px 0;
background:#ffffff;
}

/* ===== GLASS PANEL ===== */

.glass-panel{

background:rgba(255,255,255,0.7);

backdrop-filter:blur(12px);

border-radius:20px;

padding:50px;

box-shadow:
0 20px 50px rgba(0,0,0,0.08);

transition:all .4s ease;

}

.glass-panel:hover{

transform:translateY(-6px);

box-shadow:
0 30px 70px rgba(0,0,0,0.15);

}

/* ===== TITLE ===== */

.course-title{

font-size:44px;

font-weight:800;

color:#1e293b;

margin-bottom:16px;

line-height:1.2;

}

/* ===== TEXT ===== */

.course-text{

font-size:17px;

color:#64748b;

line-height:1.7;

margin-bottom:28px;

max-width:520px;

}

/* ===== BUTTON ===== */

.course-btn{

background:#7aadd1;

color:#ffffff;

padding:14px 30px;

border-radius:30px;

font-weight:600;

display:inline-block;

transition:.3s;

box-shadow:0 10px 20px rgba(0,0,0,0.1);

}

.course-btn:hover{

background:#4a6e8b;

transform:translateY(-3px);

}

/* ===== IMAGE ===== */

.course-image{

width:100%;

border-radius:20px;

box-shadow:
0 30px 60px rgba(0,0,0,0.25);

transition:.4s;

object-fit:cover;

}

.course-image:hover{

transform:scale(1.03);

}

/* ===== FLOATING BADGES ===== */

.floating-card{

position:absolute;

background:white;

padding:10px 16px;

border-radius:10px;

font-weight:600;

font-size:14px;

color:#1e293b;

box-shadow:
0 10px 25px rgba(0,0,0,0.15);

animation:float 4s ease-in-out infinite;

white-space:nowrap;

}

/* ===== BADGE POSITIONS ===== */

.card-1{
top:20px;
left:-20px;
}

.card-2{
bottom:30px;
right:-20px;
}

.card-3{
top:30px;
right:-20px;
}

.card-4{
bottom:30px;
left:-20px;
}

/* ===== FLOAT ANIMATION ===== */

@keyframes float{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-10px);
}

100%{
transform:translateY(0);
}

}

/* ===== IMAGE CONTAINER ===== */

.course-image-wrapper{

position:relative;

overflow:visible;

}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width:1024px){

.course-title{
font-size:36px;
}

.course-text{
font-size:16px;
}

}

@media (max-width:768px){

.glass-panel{
padding:30px;
}

.course-title{
font-size:30px;
}

.course-text{
font-size:15px;
}

/* floating badges smaller */

.floating-card{

font-size:12px;

padding:6px 10px;

}

/* reposition badges */

.card-1{
top:10px;
left:10px;
}

.card-2{
bottom:10px;
right:10px;
}

.card-3{
top:10px;
right:10px;
}

.card-4{
bottom:10px;
left:10px;
}

}

@media (max-width:480px){

/* hide floating cards on very small screens */

.floating-card{
display:none;
}

}


/* For blog page designj */
.filter-btn{
padding:8px 16px;
border-radius:20px;
border:1px solid #e2e8f0;
font-weight:500;
transition:.3s;
}

.filter-btn.active,
.filter-btn:hover{
background:#4a6e8b;
color:white;
border-color:#4a6e8b;
}



.blog-card{

background:white;

border-radius:20px;

overflow:hidden;

box-shadow:0 15px 40px rgba(0,0,0,0.08);

transition:.4s;

}

.blog-card:hover{

transform:translateY(-10px);

box-shadow:0 30px 60px rgba(0,0,0,0.15);

}

.blog-card img{

width:100%;
height:220px;
object-fit:cover;

}

.blog-card h3{

font-size:20px;
font-weight:700;
color:#1e293b;
margin:10px 0;

}

.blog-card p{

color:#64748b;
font-size:14px;
margin-bottom:12px;

}

.blog-card a{

color:#4a6e8b;
font-weight:600;

}

.blog-tag{

background:#7aadd1;
color:white;
padding:4px 10px;
border-radius:12px;
font-size:12px;

}



.blog-content{
font-size:19px;
line-height:1.9;
color:#1e293b;
}

/* HEADINGS */
.blog-content h1,
.blog-content h2{
font-size:30px;
font-weight:800;
margin-top:35px;
margin-bottom:12px;
color:#0f172a;
}

.blog-content h3{
font-size:22px;
font-weight:700;
margin-top:25px;
}

/* TEXT */
.blog-content p{
margin-bottom:18px;
color:#475569;
}

/* LIST */
.blog-content ul{
margin:15px 0;
padding-left:20px;
}

.blog-content li{
margin-bottom:8px;
}

/* IMAGE */
.blog-content img{
margin:25px auto;
border-radius:16px;
max-height:420px;
object-fit:cover;
}

/* BLOCKQUOTE */
.blog-content blockquote{
border-left:4px solid #4a6e8b;
padding-left:16px;
font-style:italic;
margin:25px 0;
color:#475569;
}

/* SHARE BUTTON */
.share-btn{
width:45px;
height:45px;
border-radius:50%;
background:white;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
transition:0.3s;
}

.share-btn:hover{
transform:scale(1.1);
}

/* popupform design in blog single page */
@keyframes popupFade {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-popup {
    animation: popupFade 0.3s ease;
}

#popupForm {
    backdrop-filter: blur(6px);
}