:root {
  --maroon:       #3d3082;
  --maroon-deep:  #1c0d69;
  --maroon-light: #8B1A27;
  --saffron:      #D4531A;
  --saffron-lt:   #F07235;
  --saffron-pale: #FEF0EA;
  --cream:        #fff;
  --text:         #2A0A0E;
  --muted:        #7A5A5E;
  --white:        #FFFFFF;
  --border:       rgba(212,83,26,0.15);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'DM Sans',sans-serif;background:var(--cream);color:var(--text);overflow-x:hidden;}

/* TOP BAR */
.topbar{background:var(--maroon-deep);color:rgba(255,255,255,.75);font-size:12px;padding:6px 5vw;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
.topbar a{color:rgba(255,255,255,.75);text-decoration:none;}
.topbar a:hover{color:var(--saffron-lt);}
.topbar-left{display:flex;gap:20px;flex-wrap:wrap;}
.topbar-right{display:flex;gap:16px;}

/* NAV */
nav{position:sticky;top:0;left:0;right:0;z-index:100;background:rgb(61 48 130);backdrop-filter:blur(14px);border-bottom:1px solid rgb(236 173 40);}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:0 5vw;height:70px;}
.nav-logo{display:flex;align-items:center;gap:12px;text-decoration:none;}
.nav-logo img{height:46px;width:auto;object-fit:contain;}
.nav-logo-text .name{font-family:'Playfair Display',serif;font-size:15px;font-weight:700;color:#fff;letter-spacing:.3px;line-height:1.2;}
.nav-logo-text .sub{font-size:10px;color:var(--saffron-lt);letter-spacing:1.5px;text-transform:uppercase;}
.nav-menu{display:flex;gap:2px;list-style:none;align-items:center;}
.nav-menu>li{position:relative;}
.nav-menu>li>a{text-decoration:none;font-size:12.5px;font-weight:500;color:rgba(255,255,255,.78);padding:8px 12px;border-radius:6px;display:flex;align-items:center;gap:4px;transition:background .2s,color .2s;white-space:nowrap;}
.nav-menu>li>a:hover{background:rgba(212,83,26,.18);color:#fff;}
.has-drop>a::after{content:'▾';font-size:10px;opacity:.7;}
.dropdown{position:absolute;top:calc(100% + 6px);left:0;background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px 0;min-width:240px;box-shadow:0 16px 48px rgba(107,15,26,.14);opacity:0;visibility:hidden;transform:translateY(6px);transition:.2s ease;z-index:200;}
.has-drop:hover .dropdown{opacity:1;visibility:visible;transform:none;}
.dropdown a{display:block;padding:9px 20px;font-size:13px;color:var(--text);text-decoration:none;font-weight:500;transition:background .15s,color .15s;}
.dropdown a:hover{background:var(--saffron-pale);color:var(--maroon);}
.nav-cta{background:linear-gradient(135deg,var(--saffron),var(--saffron-lt));color:#fff;font-weight:700;font-size:12.5px;padding:10px 20px;border-radius:8px;text-decoration:none;white-space:nowrap;transition:opacity .2s,transform .2s;margin-left:10px;}
.nav-cta:hover{opacity:.88;transform:translateY(-1px);}

/* HAMBURGER */
.hamburger{display:none;background:none;border:none;cursor:pointer;padding:10px;flex-direction:column;gap:5px;z-index:101;-webkit-tap-highlight-color:transparent;}
.hamburger-line{display:block;width:26px;height:3px;background:#fff;border-radius:2px;transition:transform .3s ease,opacity .3s ease;}
.hamburger.active .hamburger-line:nth-child(1){transform:translateY(8px) rotate(45deg);}
.hamburger.active .hamburger-line:nth-child(2){opacity:0;}
.hamburger.active .hamburger-line:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

/* SIDEBAR OVERLAY */
.sidebar-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:998;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;}
.sidebar-overlay.active{opacity:1;visibility:visible;}

/* SIDEBAR */
.sidebar{position:fixed;top:0;left:0;width:280px;height:100%;height:100dvh;background:var(--maroon-deep);z-index:999;overflow-y:auto;-webkit-overflow-scrolling:touch;transform:translateX(-100%);transition:transform .35s cubic-bezier(.4,0,.2,1);box-shadow:4px 0 24px rgba(0,0,0,.25);}
.sidebar.active{transform:translateX(0);}
.sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.15);}
.sidebar-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.sidebar-logo img{height:36px;width:auto;}
.sidebar-logo-text .name{font-family:'Playfair Display',serif;font-size:14px;font-weight:700;color:#fff;line-height:1.2;}
.sidebar-logo-text .sub{font-size:9px;color:var(--saffron-lt);letter-spacing:1.2px;text-transform:uppercase;}
.sidebar-close{background:none;border:none;color:#fff;font-size:30px;cursor:pointer;padding:4px 10px;line-height:1;opacity:.7;transition:opacity .2s;-webkit-tap-highlight-color:transparent;}
.sidebar-close:hover{opacity:1;}
.sidebar-menu{list-style:none;padding:0;margin:0;}
.sidebar-menu>li{border-bottom:1px solid rgba(255,255,255,.07);}
.sidebar-menu>li>a{display:block;padding:13px 20px;color:rgba(255,255,255,.88);text-decoration:none;font-size:14.5px;font-weight:500;transition:background .2s;}
.sidebar-menu>li>a:hover{background:rgba(212,83,26,.15);color:#fff;}
.sidebar-drop-toggle{display:flex;align-items:center;}
.sidebar-drop-toggle a{flex:1;display:block;padding:13px 20px;color:rgba(255,255,255,.88);text-decoration:none;font-size:14.5px;font-weight:500;transition:background .2s;}
.sidebar-drop-toggle a:hover{color:#fff;}
.sidebar-arrow{color:var(--saffron-lt);font-size:14px;padding:13px 16px;transition:transform .3s ease;user-select:none;-webkit-tap-highlight-color:transparent;cursor:pointer;}
.sidebar-has-drop.open .sidebar-arrow{transform:rotate(90deg);}
.sidebar-has-drop.open .sidebar-drop-toggle{background:rgba(212,83,26,.1);}
.sidebar-sub{list-style:none;padding:0;margin:0;max-height:0;overflow:hidden;background:rgba(0,0,0,.18);transition:max-height .35s ease;}
.sidebar-has-drop.open .sidebar-sub{max-height:500px;}
.sidebar-sub li a{display:block;padding:10px 20px 10px 40px;color:rgba(255,255,255,.58);text-decoration:none;font-size:13px;transition:background .2s,color .2s;border-left:2px solid transparent;}
.sidebar-sub li a:hover{background:rgba(212,83,26,.12);color:var(--saffron-lt);border-left-color:var(--saffron-lt);}
.sidebar-cta{display:block;margin:18px 16px;background:linear-gradient(135deg,var(--saffron),var(--saffron-lt));color:#fff;font-weight:700;font-size:13px;padding:12px 20px;border-radius:8px;text-decoration:none;text-align:center;transition:opacity .2s;}
.sidebar-cta:hover{opacity:.88;}

/* HERO */
.hero{min-height:100vh;background:var(--maroon);position:relative;overflow:hidden;display:flex;align-items:center;padding:90px 0 80px;width:100%;}
.hero-bg{position:absolute;inset:0;z-index:0;width:100%;height:100%;}
.hero-pattern{position:absolute;inset:0;opacity:.035;background-image:linear-gradient(rgba(212,83,26,1) 1px,transparent 1px),linear-gradient(90deg,rgba(212,83,26,1) 1px,transparent 1px);background-size:56px 56px;}
.hero-content{position:relative;z-index:3;max-width:660px;padding:0 5vw;}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(212,83,26,.13);border:1px solid rgba(212,83,26,.38);border-radius:100px;padding:6px 18px;font-size:11.5px;font-weight:600;color:var(--saffron-lt);letter-spacing:1.8px;text-transform:uppercase;margin-bottom:22px;animation:fadeUp .55s ease both;}
.hero-badge span{width:6px;height:6px;border-radius:50%;background:var(--saffron);}
.hero-logo{height:68px;width:auto;object-fit:contain;display:block;margin-bottom:22px;opacity:.93;animation:fadeUp .55s .06s ease both;}
h1.hero-title{font-family:'Playfair Display',serif;font-size:clamp(36px,5.2vw,66px);font-weight:900;line-height:1.1;color:#fff;margin-bottom:20px;animation:fadeUp .6s .12s ease both;}
h1.hero-title em{font-style:italic;color:var(--saffron-lt);}
.hero-sub{font-size:13.5px;font-weight:600;color:var(--saffron-lt);letter-spacing:.5px;margin-bottom:8px;animation:fadeUp .6s .18s ease both;}
.hero-desc{font-size:16px;line-height:1.72;color:rgba(255,255,255,.65);margin-bottom:36px;max-width:530px;animation:fadeUp .6s .22s ease both;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;animation:fadeUp .6s .3s ease both;}
.btn-primary{background:linear-gradient(135deg,var(--saffron),var(--saffron-lt));color:#fff;font-weight:700;font-size:14.5px;padding:14px 30px;border-radius:10px;text-decoration:none;display:inline-block;transition:transform .2s,box-shadow .2s;}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(212,83,26,.4);}
.btn-outline{background:transparent;color:#fff;font-weight:500;font-size:14.5px;padding:14px 30px;border-radius:10px;text-decoration:none;display:inline-block;border:1.5px solid rgba(255,255,255,.28);transition:border-color .2s,color .2s;}
.btn-outline:hover{border-color:var(--saffron-lt);color:var(--saffron-lt);}
.hero-stats{position:absolute;right:5vw;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:14px;z-index:3;animation:fadeLeft .7s .4s ease both;}
.stat-card{background:rgba(255,255,255,.045);backdrop-filter:blur(10px);border:1px solid rgba(212,83,26,.28);border-radius:16px;padding:22px 28px;text-align:center;min-width:152px;}
.stat-card .num{font-family:'Playfair Display',serif;font-size:38px;font-weight:900;color:var(--saffron-lt);line-height:1;}
.stat-card .lbl{font-size:10.5px;color:rgba(255,255,255,.52);text-transform:uppercase;letter-spacing:1px;margin-top:5px;}

/* HERO VIDEO */
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;animation:videoZoom 25s ease-out forwards;opacity:.95}
.hero-bg::after{content:'';position:absolute;inset:0;z-index:1;}

@keyframes videoZoom{0%{transform:scale(1.05)}100%{transform:scale(1)}}

/* NOTICE BAND */
.notice-band{background:var(--saffron-pale);border-top:3px solid var(--saffron);display:flex;align-items:center;gap:16px;overflow:hidden;position:relative;z-index:50;}
.notice-tag{background:var(--maroon);color:#fff;font-size:11px;font-weight:700;letter-spacing:1.5px;padding:15px 5vw;white-space:nowrap;flex-shrink:0;z-index:51;}
.notice-scroll{white-space:nowrap;animation:scrollText 28s linear infinite;font-size:13px;color:var(--text);font-weight:500;}
@keyframes scrollText{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* SHARED */
section{padding:88px 5vw;}
.section-label{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:700;color:var(--saffron);letter-spacing:2.2px;text-transform:uppercase;margin-bottom:14px;}
.section-label::before{content:'';width:22px;height:2px;background:var(--saffron);border-radius:2px;}
h2.section-title{font-family:'Playfair Display',serif;font-size:clamp(28px,3.2vw,44px);font-weight:800;line-height:1.15;color:var(--maroon);margin-bottom:16px;}
h2.section-title.light{color:#fff;}
.section-desc{font-size:15.5px;line-height:1.76;color:var(--muted);max-width:580px;}
.reveal{opacity:0;transform:translateY(26px);transition:opacity .65s ease,transform .65s ease;}
.reveal.visible{opacity:1;transform:none;}

/* ABOUT */
.about{background:#fff;}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center;}
.about-img-wrap{position:relative;}
.about-img-frame{width:100%;aspect-ratio:4/3;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,var(--maroon-light),var(--maroon));}
.about-img-frame img{width:100%;height:100%;object-fit:cover;}
.about-badge{position:absolute;bottom:-18px;right:-18px;background:linear-gradient(135deg,var(--saffron),var(--saffron-lt));border-radius:16px;padding:18px 24px;text-align:center;box-shadow:0 12px 40px rgba(212,83,26,.38);}
.about-badge .num{font-family:'Playfair Display',serif;font-size:34px;font-weight:900;color:#fff;line-height:1;}
.about-badge .txt{font-size:10.5px;font-weight:700;color:rgba(255,255,255,.85);text-transform:uppercase;letter-spacing:1px;}
.about-list{list-style:none;margin-top:26px;display:flex;flex-direction:column;gap:12px;}
.about-list li{display:flex;align-items:center;gap:12px;font-size:14.5px;font-weight:500;color:var(--text);}
.about-list li::before{content:'✓';width:24px;height:24px;flex-shrink:0;background:var(--saffron-pale);color:var(--saffron);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;}
.about-full{margin-top:18px;font-size:14.5px;line-height:1.78;color:var(--muted);}

/* STATS BANNER */
.stats-banner{background:var(--maroon);padding:56px 5vw;}
.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;}
.stat-box{text-align:center;padding:40px 28px;border-right:1px solid rgba(255,255,255,.08);}
.stat-box:last-child{border-right:none;}
.stat-box .big{font-family:'Playfair Display',serif;font-size:50px;font-weight:900;color:var(--saffron-lt);line-height:1;}
.stat-box .cap{font-size:12.5px;font-weight:600;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:1.2px;margin-top:8px;}
.stat-box p{font-size:13px;color:rgba(255,255,255,.38);margin-top:6px;}

/* PROGRAMS */
.programs{background:var(--cream);}
.programs-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:48px;flex-wrap:wrap;gap:20px;}
.programs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.program-card{background:#fff;border-radius:20px;border:1px solid rgba(0,0,0,.07);padding:32px 28px;transition:transform .3s,box-shadow .3s;position:relative;overflow:hidden;}
.program-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--saffron),var(--saffron-lt));transform:scaleX(0);transform-origin:left;transition:transform .3s;}
.program-card:hover{transform:translateY(-5px);box-shadow:0 18px 52px rgba(107,15,26,.1);}
.program-card:hover::before{transform:scaleX(1);}
.prog-badge{display:inline-block;background:var(--saffron-pale);color:var(--saffron);font-size:10.5px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;padding:5px 12px;border-radius:100px;margin-bottom:18px;}
.prog-icon{width:50px;height:50px;border-radius:13px;background:linear-gradient(135deg,var(--maroon),var(--maroon-light));display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:18px;}
.program-card h3{font-family:'Playfair Display',serif;font-size:19px;font-weight:700;color:var(--maroon);margin-bottom:10px;}
.program-card p{font-size:13.5px;line-height:1.68;color:var(--muted);}
.prog-subjects{margin-top:18px;}
.prog-subjects h5{font-size:11px;font-weight:700;color:var(--maroon);text-transform:uppercase;letter-spacing:1px;margin-bottom:8px;}
.prog-subjects ul{list-style:none;display:flex;flex-direction:column;gap:5px;}
.prog-subjects li{font-size:12.5px;color:var(--muted);padding-left:14px;position:relative;}
.prog-subjects li::before{content:'·';position:absolute;left:3px;color:var(--saffron);}
.prog-tags{margin-top:14px;display:flex;gap:8px;flex-wrap:wrap;}
.prog-tags span{font-size:11px;font-weight:600;color:var(--maroon);background:var(--cream);padding:4px 10px;border-radius:100px;}

/* BOARD */
.board{background:#fff;}
.board-card{background:var(--cream);border-radius:20px;padding:36px;border:1px solid var(--border);margin-top:44px;}
.board-card h3{font-family:'Playfair Display',serif;font-size:22px;font-weight:700;color:var(--maroon);margin-bottom:18px;}
.board-list{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;}
.board-list li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--text);line-height:1.55;}
.board-list li::before{content:'✓';color:var(--saffron);font-weight:700;flex-shrink:0;margin-top:1px;}

/* WHY CHOOSE */
.why{background:var(--maroon);}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin-top:52px;}
.why-item{background:rgba(255,255,255,.03);padding:42px 32px;border:1px solid rgba(212,83,26,.12);transition:background .3s;}
.why-item:hover{background:rgba(212,83,26,.08);}
.why-num{font-family:'Playfair Display',serif;font-size:50px;font-weight:900;color:rgb(236 173 40);line-height:1;margin-bottom:16px;}
.why-item h3{font-size:17px;font-weight:700;color:#fff;margin-bottom:9px;}
.why-item p{font-size:13.5px;line-height:1.7;color:rgba(255,255,255,.5);}

/* FACILITIES */
.facilities{background:var(--cream);}
.fac-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:48px;}
.fac-card{background:#f4f4f4;border-radius:18px;padding:30px 22px;text-align:center;border:1px solid rgba(0,0,0,.06);transition:transform .3s,box-shadow .3s;}
.fac-card:hover{transform:translateY(-4px);box-shadow:0 14px 40px rgba(107,15,26,.1);}
.fac-icon{font-size:34px;margin-bottom:14px;}
.fac-card h4{font-family:'Playfair Display',serif;font-size:15.5px;font-weight:700;color:var(--maroon);margin-bottom:7px;}
.fac-card p{font-size:13px;line-height:1.62;color:var(--muted);}

/* MILESTONES */
.milestones{background:#fff;}
.timeline{position:relative;margin-top:52px;max-width:860px;margin-left:auto;margin-right:auto;}
.timeline::before{content:'';position:absolute;left:50%;top:0;bottom:0;width:2px;background:linear-gradient(to bottom,var(--saffron),rgba(212,83,26,.15));transform:translateX(-50%);}
.tl-item{display:grid;grid-template-columns:1fr 64px 1fr;align-items:start;margin-bottom:40px;}
.tl-left{text-align:right;padding-right:34px;padding-top:4px;}
.tl-right{padding-left:34px;padding-top:4px;}
.tl-dot{width:64px;height:64px;border-radius:50%;background:var(--maroon);border:3px solid var(--saffron);display:flex;align-items:center;justify-content:center;font-family:'Playfair Display',serif;font-size:12px;font-weight:700;color:var(--saffron-lt);z-index:2;position:relative;}
.tl-year{font-size:11.5px;font-weight:700;color:var(--saffron);letter-spacing:1px;margin-bottom:5px;}
.tl-content h4{font-family:'Playfair Display',serif;font-size:18px;color:var(--maroon);margin-bottom:5px;}
.tl-content p{font-size:13.5px;color:var(--muted);line-height:1.65;}

/* TEAM */
.team{background:var(--saffron-pale);}
.team-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:48px;}
.team-card{background:#fff;border-radius:18px;padding:26px 18px;text-align:center;border:1px solid rgba(0,0,0,.07);transition:transform .3s,box-shadow .3s;}
.team-card:hover{transform:translateY(-4px);box-shadow:0 14px 44px rgba(107,15,26,.1);}
.team-avatar{width:80px;height:80px;border-radius:50%;margin:0 auto 13px;overflow:hidden;border:3px solid var(--saffron-pale);box-shadow:0 0 0 2px var(--saffron);}
.team-avatar img{width:100%;height:100%;object-fit:cover;}
.team-card h4{font-family:'Playfair Display',serif;font-size:15px;font-weight:700;color:var(--maroon);margin-bottom:4px;}
.team-card .role{font-size:10.5px;color:var(--saffron);font-weight:700;text-transform:uppercase;letter-spacing:.8px;margin-bottom:8px;}
.team-card p{font-size:12px;color:var(--muted);line-height:1.62;}

/* COMMITTEE */
.committee{background:#fff;}
.committee-table{width:100%;border-collapse:collapse;margin-top:36px;border-radius:16px;overflow:hidden;box-shadow:0 4px 24px rgba(107,15,26,.07);}
.committee-table th{background:var(--maroon);color:#fff;font-size:13px;font-weight:700;letter-spacing:.5px;padding:15px 24px;text-align:left;}
.committee-table td{padding:13px 24px;font-size:14px;color:var(--text);border-bottom:1px solid rgba(0,0,0,.05);}
.committee-table tr:last-child td{border-bottom:none;}
.committee-table tr:nth-child(even) td{background:var(--cream);}
.committee-table tr:hover td{background:var(--saffron-pale);}

/* ADMISSIONS */
.admissions{background:var(--cream);}
.admit-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-top:48px;}
.admit-box{background:#fff;border-radius:20px;padding:34px;border:1px solid var(--border);}
.admit-box h3{font-family:'Playfair Display',serif;font-size:21px;color:var(--maroon);margin-bottom:18px;}
.admit-steps{list-style:none;display:flex;flex-direction:column;gap:14px;}
.admit-steps li{display:flex;gap:13px;align-items:flex-start;font-size:14px;color:var(--text);line-height:1.6;}
.step-num{width:28px;height:28px;border-radius:50%;flex-shrink:0;background:var(--maroon);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;margin-top:1px;}
.admit-docs{list-style:none;display:flex;flex-direction:column;gap:9px;}
.admit-docs li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--text);line-height:1.55;}
.admit-docs li::before{content:'📄';font-size:13px;flex-shrink:0;margin-top:1px;}
.timeline-dates{list-style:none;display:flex;flex-direction:column;gap:11px;margin-top:16px;}
.timeline-dates li{display:flex;justify-content:space-between;font-size:13.5px;color:var(--text);padding-bottom:11px;border-bottom:1px solid var(--border);}
.timeline-dates li:last-child{border-bottom:none;}
.timeline-dates li span:first-child{font-weight:600;color:var(--maroon);}

/* SCHOLARSHIPS */
.scholarships{background:#fff;}
.schol-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:44px;}
.schol-card{background:var(--cream);border-radius:18px;padding:30px 26px;border:1px solid var(--border);text-align:center;}
.schol-pct{font-family:'Playfair Display',serif;font-size:46px;font-weight:900;color:var(--saffron);line-height:1;margin-bottom:8px;}
.schol-card h4{font-size:15.5px;font-weight:700;color:var(--maroon);margin-bottom:7px;}
.schol-card p{font-size:13.5px;color:var(--muted);line-height:1.65;}

/* TIMINGS */
.timings{background:var(--saffron-pale);}
.timings-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:44px;}
.timing-card{background:#fff;border-radius:16px;padding:26px 20px;text-align:center;box-shadow:0 4px 16px rgba(107,15,26,.06);}
.timing-card h4{font-family:'Playfair Display',serif;font-size:16px;color:var(--maroon);margin-bottom:9px;}
.timing-time{font-size:19px;font-weight:700;color:var(--saffron);margin-bottom:5px;}
.timing-card p{font-size:12.5px;color:var(--muted);}

/* ACHIEVEMENTS */
.achievements{background:var(--cream);}
.ach-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:48px;}
.ach-card{background:#fff;border-radius:20px;padding:34px 28px;border:1px solid rgba(0,0,0,.07);transition:transform .3s,box-shadow .3s;}
.ach-card:hover{transform:translateY(-4px);box-shadow:0 14px 44px rgba(107,15,26,.09);}
.ach-icon{font-size:38px;margin-bottom:13px;}
.ach-card h3{font-family:'Playfair Display',serif;font-size:20px;color:var(--maroon);margin-bottom:9px;}
.ach-card p{font-size:13.5px;color:var(--muted);line-height:1.7;}
.ach-big{font-family:'Playfair Display',serif;font-size:42px;font-weight:900;color:var(--saffron);margin-top:14px;}

/* SAFETY */
.safety{background:#fff;}
.safety-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:48px;}
.safety-item{display:flex;gap:14px;align-items:flex-start;padding:22px;border-radius:16px;background:var(--cream);border:1px solid var(--border);}
.safety-icon{font-size:26px;flex-shrink:0;margin-top:2px;}
.safety-item h4{font-size:15px;font-weight:700;color:var(--maroon);margin-bottom:5px;}
.safety-item p{font-size:13px;color:var(--muted);line-height:1.65;}

/* TESTIMONIALS */
.testimonials{background:var(--maroon);}
.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:48px;}
.test-card{background:rgba(255,255,255,.06);border-radius:20px;padding:32px 28px;border:1px solid rgba(212,83,26,.2);transition:background .3s;}
.test-card:hover{background:rgba(255,255,255,.09);}
.quote-mark{font-size:52px;line-height:.8;color:var(--saffron);font-family:serif;margin-bottom:13px;opacity:.8;}
.test-card p{font-size:14.5px;line-height:1.78;color:rgba(255,255,255,.8);font-style:italic;margin-bottom:20px;}
.test-author{display:flex;align-items:center;gap:11px;}
.auth-av{width:40px;height:40px;border-radius:50%;background:var(--saffron);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:15px;font-family:'Playfair Display',serif;flex-shrink:0;}
.auth-name{font-weight:700;font-size:14px;color:#fff;}
.auth-detail{font-size:12px;color:rgba(255,255,255,.5);}

/* FAQ */
.faq{background:var(--cream);}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:48px;}
.faq-item{border:1px solid rgba(0,0,0,.08);border-radius:14px;overflow:hidden;}
.faq-q{padding:18px 24px;font-weight:600;font-size:14px;color:var(--text);cursor:pointer;display:flex;justify-content:space-between;align-items:center;background:var(--cream);user-select:none;gap:12px;transition:background .2s,color .2s;}
.faq-q::after{content:'+';font-size:22px;color:var(--saffron);font-weight:300;flex-shrink:0;transition:transform .3s;}
.faq-item.open .faq-q::after{transform:rotate(45deg);}
.faq-item.open .faq-q{background:var(--maroon);color:#fff;}
.faq-item.open .faq-q::after{color:var(--saffron-lt);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.faq-a-inner{padding:18px 24px;font-size:13.5px;line-height:1.78;color:var(--muted);}
.faq-item.open .faq-a{max-height:700px;}

/* DOCUMENTS */
.documents{background:#fff;}
.docs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:44px;}
.doc-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 16px;border-radius:14px;border:1px solid var(--border);background:var(--cream);text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s;gap:10px;}
.doc-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(107,15,26,.1);background:var(--saffron-pale);}
.doc-icon{font-size:30px;}
.doc-card span{font-size:12.5px;font-weight:600;color:var(--maroon);line-height:1.4;}
.doc-card .doc-arrow{font-size:11px;color:var(--saffron);font-weight:700;letter-spacing:.5px;}

/* GALLERY */
.gallery-section{background:var(--saffron-pale);}
.gallery-links{display:flex;gap:16px;justify-content:center;margin-top:36px;flex-wrap:wrap;}
.gallery-btn{display:inline-flex;align-items:center;gap:10px;background:var(--maroon);color:#fff;text-decoration:none;font-weight:700;font-size:15px;padding:15px 30px;border-radius:12px;transition:background .2s,transform .2s;}
.gallery-btn:hover{background:var(--maroon-light);transform:translateY(-2px);}
.gallery-btn span{font-size:20px;}

/* CTA */
.cta-section{background:var(--maroon);padding:96px 5vw;position:relative;overflow:hidden;text-align:center;}
.cta-bg{position:absolute;inset:0;background:radial-gradient(ellipse 60% 80% at 50% 50%,rgba(212,83,26,.15) 0%,transparent 70%);}
.cta-section>*{position:relative;z-index:2;}
.cta-section h2{font-family:'Playfair Display',serif;font-size:clamp(28px,3.6vw,48px);font-weight:900;color:#fff;margin-bottom:16px;}
.cta-section p{font-size:16px;color:rgba(255,255,255,.62);max-width:520px;margin:0 auto 36px;}
.cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* CONTACT */
.contact-section{background:#fff;}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:52px;margin-top:48px;}
.contact-info{display:flex;flex-direction:column;gap:20px;}
.contact-item{display:flex;gap:14px;align-items:flex-start;}
.contact-icon{width:44px;height:44px;border-radius:12px;flex-shrink:0;background:var(--saffron-pale);display:flex;align-items:center;justify-content:center;font-size:19px;}
.contact-item h4{font-size:14px;font-weight:700;color:var(--maroon);margin-bottom:4px;}
.contact-item p,.contact-item a{font-size:13.5px;color:var(--muted);text-decoration:none;line-height:1.6;}
.contact-item a:hover{color:var(--saffron);}
.contact-form{background:var(--cream);border-radius:20px;padding:34px;border:1px solid var(--border);}
.contact-form h3{font-family:'Playfair Display',serif;font-size:21px;color:var(--maroon);margin-bottom:22px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.form-group{display:flex;flex-direction:column;gap:5px;margin-bottom:13px;}
.form-group label{font-size:11.5px;font-weight:700;color:var(--maroon);letter-spacing:.5px;text-transform:uppercase;}
.form-group input,.form-group select,.form-group textarea{border:1.5px solid var(--border);border-radius:10px;padding:11px 15px;font-family:'DM Sans',sans-serif;font-size:14px;color:var(--text);background:#fff;outline:none;transition:border-color .2s;}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--saffron);}
.form-group textarea{resize:vertical;min-height:88px;}
.form-submit{width:100%;background:linear-gradient(135deg,var(--saffron),var(--saffron-lt));color:#fff;font-weight:700;font-size:15px;padding:13px;border:none;border-radius:10px;cursor:pointer;transition:opacity .2s,transform .2s;}
.form-submit:hover{opacity:.88;transform:translateY(-1px);}

/* TIMELINE / MILESTONES */
.timeline{position:relative;padding:36px 0;}
.timeline::before{content:'';position:absolute;left:50%;width:2px;height:100%;background:var(--saffron);transform:translateX(-50%);}
.tl-item{display:grid;grid-template-columns:1fr 52px 1fr;gap:0;align-items:start;margin-bottom:56px;}
.tl-left{padding-right:40px;text-align:right;}
.tl-right{padding-left:40px;}
.tl-year{font-family:'Playfair Display',serif;font-size:16px;font-weight:700;color:var(--maroon);}
.tl-content{margin-top:8px;}
.tl-content h4{font-size:15px;color:var(--text);font-weight:700;}
.tl-content p{font-size:13px;color:var(--muted);margin-top:6px;line-height:1.6;}
.tl-dot{width:52px;height:52px;background:var(--saffron);border-radius:50%;position:relative;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:14px;box-shadow:0 0 0 8px var(--saffron-pale);}

/* TIMINGS */
.timings-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.timing-card{background:var(--saffron-pale);padding:26px;border-radius:12px;text-align:center;border:1px solid var(--border);}
.timing-card h4{font-size:13px;font-weight:700;color:var(--maroon);margin-bottom:12px;}
.timing-time{font-family:'Playfair Display',serif;font-size:16px;font-weight:700;color:var(--saffron);margin-bottom:6px;}
.timing-card p{font-size:12px;color:var(--muted);}

/* DOCUMENTS */
.docs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.doc-card{background:transparent;border:2px solid var(--border);border-radius:12px;padding:20px;text-align:center;text-decoration:none;color:var(--text);transition:all .3s;}
.doc-card:hover{border-color:var(--saffron);background:var(--saffron-pale);}
.doc-icon{font-size:36px;margin-bottom:12px;display:block;}
.doc-card span{display:block;font-size:13px;font-weight:600;margin-bottom:10px;color:var(--text);}
.doc-arrow{font-size:12px;color:var(--saffron);font-weight:600;}

/* COMMITTEE TABLE */
.committee-table{width:100%;border-collapse:collapse;margin-top:26px;}
.committee-table thead{background:linear-gradient(135deg,var(--saffron),var(--saffron-lt));color:#fff;}
.committee-table th{padding:14px;text-align:left;font-size:13px;font-weight:700;letter-spacing:.5px;}
.committee-table td{padding:14px;border-bottom:1px solid var(--border);font-size:13px;}
.committee-table tbody tr:hover{background:var(--saffron-pale);}

/* TEAM */
.team-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;}
.team-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px;text-align:center;transition:all .3s;}
.team-card:hover{box-shadow:0 12px 40px rgba(212,83,26,.1);border-color:var(--saffron);}
.team-avatar{width:120px;height:120px;border-radius:50%;overflow:hidden;margin:0 auto 16px;background:linear-gradient(135deg,var(--maroon-light),var(--maroon));display:flex;align-items:center;justify-content:center;}
.team-avatar img{width:100%;height:100%;object-fit:cover;}
.team-card h4{font-size:14px;font-weight:700;color:var(--text);margin-bottom:6px;}
.role{font-size:11px;color:var(--saffron);font-weight:600;letter-spacing:.5px;text-transform:uppercase;margin-bottom:10px;}
.team-card p{font-size:12px;color:var(--muted);line-height:1.6;}

/* FOOTER */
footer{background:var(--maroon-deep);padding:60px 5vw 26px;}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:44px;}
.footer-brand .tagline{font-size:13px;color:rgba(255,255,255,.4);line-height:1.72;margin-top:14px;max-width:260px;}
.footer-logo{display:flex;align-items:center;gap:11px;text-decoration:none;}
.footer-logo img{height:44px;width:auto;object-fit:contain;}
.footer-logo .fn{font-family:'Playfair Display',serif;font-size:14px;font-weight:700;color:#fff;line-height:1.2;}
.footer-logo .fs{font-size:10px;color:var(--saffron-lt);letter-spacing:1.5px;text-transform:uppercase;}
.footer-col h5{font-size:11px;font-weight:700;color:var(--saffron-lt);letter-spacing:2px;text-transform:uppercase;margin-bottom:16px;}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:8px;}
.footer-col a{text-decoration:none;font-size:13px;color:rgba(255,255,255,.46);transition:color .2s;}
.footer-col a:hover{color:var(--saffron-lt);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.07);padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;}
.footer-bottom p{font-size:12px;color:rgba(255,255,255,.3);}
.footer-bottom a{color:rgba(255,255,255,.3);text-decoration:none;}

/* ANIMATIONS */
@keyframes fadeUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes fadeLeft{from{opacity:0;transform:translateX(38px)}to{opacity:1;transform:none}}

/* RESPONSIVE */
@media(max-width:1100px){
  .team-grid{grid-template-columns:repeat(3,1fr);}
  .fac-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:768px){
  .hero-stats{display:none;}
  .about-grid,.admit-grid,.contact-grid,.footer-grid{grid-template-columns:1fr;}
  .programs-grid,.why-grid,.stats-row,.ach-grid,.safety-grid,.test-grid,.faq-grid,.schol-grid,.timings-grid,.docs-grid{grid-template-columns:1fr;}
  .board-list{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:1fr 1fr;}
  .timeline::before{left:24px;}
  .tl-item{grid-template-columns:52px 1fr;}
  .tl-left{display:none;}
  .tl-right{padding-left:16px;}
  .tl-dot{width:52px;height:52px;}
  nav .nav-menu{display:none;}
  .form-row{grid-template-columns:1fr;}
  .topbar-right{display:none;}
}

/* ========== GALLERY STYLES ========== */

/* Gallery Item Base */
.gallery-item {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: slideInUp 0.6s ease-out forwards;
}

.gallery-item.empty-item {
  background: linear-gradient(135deg, rgba(212,83,26,0.05) 0%, rgba(61,48,130,0.05) 100%);
  border: 2px dashed var(--saffron);
  border-radius: 16px;
  padding: 80px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Gallery Thumbnail Cards */
.gallery-thumbnail {
  cursor: pointer;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
  border: 1px solid rgba(212,83,26,0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08), 0 1px 3px rgba(212,83,26,0.05);
  display: flex;
  flex-direction: column;
  animation: glow 3s ease-in-out infinite;
}

.gallery-thumbnail:hover {
  animation: none !important;
  transform: translateY(-12px);
  box-shadow: 0 20px 48px rgba(212,83,26,0.25), 0 8px 16px rgba(0,0,0,0.1);
  border-color: rgba(212,83,26,0.3);
}

/* Gallery Image Container */
.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  display: block;
  aspect-ratio: 1/1;
  position: relative;
  z-index: 2;
}

.gallery-thumbnail:hover img {
  transform: scale(1.15) rotate(1deg);
  filter: brightness(1.12) saturate(1.15);
}

/* Gallery Filter Buttons */
.gallery-filter-btn {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-filter-btn span {
  position: relative;
  z-index: 1;
}

/* Inactive button style */
.gallery-filter-btn-inactive {
  background: #fff !important;
  border: 2px solid var(--saffron) !important;
  color: var(--saffron) !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.gallery-filter-btn-inactive:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(212,83,26,0.15) !important;
  background: rgba(212,83,26,0.05) !important;
}

/* Active button style - overrides everything */
.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--saffron), #F07235) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 6px 20px rgba(212,83,26,0.3), 0 2px 4px rgba(0,0,0,0.1) !important;
  max-width: none !important;
}

.gallery-filter-btn:not(.active):hover {
  transform: translateY(-2px);
}

/* ========== LIGHTBOX STYLES ========== */

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  animation: fadeIn 0.3s ease;
  display: none;
}

.lightbox-modal.active {
  display: flex;
}

/* Lightbox Close Button */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 10000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 6px;
  padding: 0;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2) !important;
  transform: rotate(90deg);
}

/* Lightbox Navigation Buttons */
.lightbox-nav-prev,
.lightbox-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
  padding: 0;
}

.lightbox-nav-prev {
  left: 30px;
}

.lightbox-nav-next {
  right: 30px;
}

.lightbox-nav-prev:hover,
.lightbox-nav-next:hover {
  background: rgba(255,255,255,0.2) !important;
  transform: translateY(-50%) scale(1.1);
}

/* Lightbox Image */
.lightbox-image {
  max-width: 90%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox-image.loaded {
  opacity: 1;
}

/* Lightbox Title */
.lightbox-title {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
  margin-top: 40px;
  margin-bottom: 12px;
  text-align: center;
}

/* Lightbox Info (Photo Counter) */
.lightbox-info {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}

/* ========== RESPONSIVE GALLERY ========== */
@media (max-width: 480px) {
  .lightbox-nav-prev,
  .lightbox-nav-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .lightbox-nav-prev {
    left: 12px;
  }
  
  .lightbox-nav-next {
    right: 12px;
  }
  
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 24px;
    width: 36px;
    height: 36px;
  }
  
  .lightbox-title {
    font-size: 20px;
    margin-top: 24px;
  }
  
  .lightbox-image {
    max-width: 100%;
    max-height: 50vh;
  }
}

/* ========== PAGE HEADER HERO ========== */
.page-header {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  position: relative;
  overflow: hidden;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 5vw 80px;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.page-header-bg-circle-lg {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.3) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.page-header-bg-circle-sm {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.2) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 24px 0;
  line-height: 1.1;
  letter-spacing: -1px;
}

.page-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin: 0 auto;
  max-width: 600px;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
  padding: 100px 5vw;
  background: #fff;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-filter-wrapper {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
  padding-bottom: 0;
}

.gallery-filter-btn-inactive {
  background: #fff;
  border: 2px solid var(--saffron);
  color: var(--saffron);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-filter-btn-inactive:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--saffron);
  box-shadow: 0 6px 16px rgba(212,83,26,0.15);
  background: rgba(212,83,26,0.05);
  color: var(--saffron);
}

/* Active filter button */
.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--saffron), #F07235) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(212,83,26,0.3), 0 2px 4px rgba(0,0,0,0.1) !important;
  position: relative;
  overflow: hidden;
}

/* ========== EMPTY GALLERY STATE ========== */
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 120px 20px;
}

.gallery-empty-icon {
  font-size: 80px;
  margin-bottom: 24px;
  animation: bounce 2s infinite;
}

.gallery-empty h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 16px;
}

.gallery-empty p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.gallery-empty-code {
  background: #f0f0f0;
  padding: 8px 12px;
  border-radius: 4px;
  font-family: monospace;
  margin-top: 12px;
  display: inline-block;
}

/* ========== EMPTY ITEM ========== */
.gallery-empty-item {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(212,83,26,0.05) 0%, rgba(61,48,130,0.05) 100%);
  border: 2px dashed var(--saffron);
  border-radius: 16px;
  transition: all 0.3s;
}

.gallery-empty-item-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.gallery-empty-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 8px;
}

.gallery-empty-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ========== GALLERY CARD WRAPPER ========== */
.gallery-card-wrapper {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  height: 100%;
  border: 1px solid rgba(212,83,26,0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08), 0 1px 3px rgba(212,83,26,0.05);
}

/* ========== GALLERY IMAGE CONTAINER ========== */
.gallery-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f5f1ed 0%, #faf8f6 100%);
}

/* ========== GALLERY OVERLAY ========== */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-thumbnail:hover .gallery-overlay {
  opacity: 0.8;
}

/* ========== MAGNIFYING GLASS ICON ========== */
.gallery-magnify-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-magnify-icon div {
  width: 48px;
  height: 48px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(212,83,26,0.3);
  backdrop-filter: blur(4px);
}

.gallery-thumbnail:hover .gallery-magnify-icon {
  opacity: 1;
}

/* ========== GALLERY CARD FOOTER ========== */
.gallery-card-footer {
  padding: 12px;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0.95) 100%);
  border-top: 1px solid rgba(212,83,26,0.05);
}

.gallery-card-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--saffron);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* ========== INSTRUCTIONS SECTION ========== */
.gallery-instructions {
  background: linear-gradient(135deg, rgba(212,83,26,0.1) 0%, rgba(61,48,130,0.1) 100%);
  border-radius: 16px;
  padding: 60px;
  margin-top: 80px;
  border-left: 4px solid var(--saffron);
}

.gallery-instructions-container {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-instructions h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--maroon);
  margin: 0 0 24px 0;
  text-align: center;
}

.gallery-instructions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.gallery-instruction-item {
  text-align: center;
}

.gallery-instruction-item-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.gallery-instruction-item h3 {
  font-weight: 700;
  color: var(--maroon);
  margin: 0 0 8px 0;
  font-size: 16px;
}

.gallery-instruction-item p {
  color: var(--text);
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.gallery-instruction-code {
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
}

/* ========== LIGHTBOX MODAL ENHANCEMENTS ========== */
.lightbox-modal-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  pointer-events: none;
}

.lightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--saffron);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 2;
  display: none;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.lightbox-content {
  margin-top: 40px;
  text-align: center;
  pointer-events: auto;
}

.lightbox-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-align: center;
}

/* ========== RESPONSIVE PAGE HEADER ========== */
@media (max-width: 1024px) {
  .page-header {
    padding: 100px 4vw 70px;
    min-height: 50vh;
  }

  .page-header h1 {
    font-size: clamp(40px, 6.5vw, 64px);
  }

  .page-header p {
    font-size: 17px;
  }

  .page-header-bg-circle-lg {
    width: 350px;
    height: 350px;
    top: -80px;
    right: -80px;
  }

  .page-header-bg-circle-sm {
    width: 250px;
    height: 250px;
    bottom: -40px;
    left: -40px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 80px 5vw 60px;
    min-height: 45vh;
  }

  .page-header h1 {
    font-size: clamp(32px, 6vw, 52px);
    margin-bottom: 16px;
  }

  .page-header p {
    font-size: 16px;
    max-width: 100%;
  }

  .page-header-bg-circle-lg {
    width: 300px;
    height: 300px;
    top: -60px;
    right: -60px;
  }

  .page-header-bg-circle-sm {
    width: 200px;
    height: 200px;
    bottom: -30px;
    left: -30px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 60px 5vw 50px;
    min-height: 40vh;
  }

  .page-header h1 {
    font-size: clamp(24px, 5vw, 40px);
    margin-bottom: 12px;
  }

  .page-header p {
    font-size: 14px;
    line-height: 1.6;
  }

  .page-header-bg-circle-lg {
    width: 250px;
    height: 250px;
    top: -50px;
    right: -50px;
  }

  .page-header-bg-circle-sm {
    width: 170px;
    height: 170px;
    bottom: -20px;
    left: -20px;
  }
}

/* ========== RESPONSIVE GALLERY SECTION ========== */
@media (max-width: 1024px) {
  .gallery-section {
    padding: 80px 4vw;
  }

  .gallery-filter-wrapper {
    margin-bottom: 60px;
    gap: 10px;
  }

  .gallery-filter-btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .gallery-filter-btn-inactive {
    padding: 10px 20px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 60px 5vw;
  }

  .gallery-container {
    max-width: 100%;
  }

  .gallery-filter-wrapper {
    margin-bottom: 50px;
    gap: 8px;
  }

  .gallery-filter-btn {
    padding: 10px 20px;
    font-size: 12px;
    border-radius: 50px;
  }

  .gallery-filter-btn span {
    font-size: 0.9em;
  }

  .gallery-filter-btn-inactive {
    padding: 8px 16px !important;
    font-size: 10px !important;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .gallery-section {
    padding: 40px 5vw;
  }

  .gallery-filter-wrapper {
    margin-bottom: 40px;
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .gallery-filter-btn {
    padding: 8px 16px;
    font-size: 11px;
    flex-shrink: 0;
  }

  .gallery-filter-btn-inactive {
    padding: 6px 12px !important;
    font-size: 9px !important;
    max-width: 150px;
  }
}

/* ========== RESPONSIVE GALLERY GRID ========== */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 7px !important;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 7px !important;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
    gap: 7px !important;
    margin-bottom: 40px !important;
  }
}

/* ========== RESPONSIVE GALLERY CARDS ========== */
@media (max-width: 768px) {
  .gallery-thumbnail {
    /* border-radius: 8px; */
  }

  .gallery-card-wrapper {
    /* border-radius: 8px; */
  }

  .gallery-card-footer {
    padding: 8px;
  }

  .gallery-card-footer p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .gallery-thumbnail {
    border-radius: 6px;
  }

  .gallery-card-wrapper {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 1px 2px rgba(212,83,26,0.02);
  }

  .gallery-thumbnail:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(212,83,26,0.15), 0 4px 8px rgba(0,0,0,0.08);
  }

  .gallery-card-footer {
    padding: 6px;
  }

  .gallery-card-footer p {
    font-size: 10px;
  }

  .gallery-magnify-icon div {
    width: 36px;
    height: 36px;
    border-width: 2px;
    font-size: 16px;
  }
}

/* ========== RESPONSIVE EMPTY GALLERY ========== */
@media (max-width: 768px) {
  .gallery-empty {
    padding: 80px 15px;
  }

  .gallery-empty-icon {
    font-size: 60px;
    margin-bottom: 16px;
  }

  .gallery-empty h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .gallery-empty p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .gallery-empty {
    padding: 60px 12px;
  }

  .gallery-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
  }

  .gallery-empty h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .gallery-empty p {
    font-size: 13px;
    line-height: 1.6;
  }

  .gallery-empty-code {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* ========== RESPONSIVE EMPTY ITEM ========== */
@media (max-width: 768px) {
  .gallery-empty-item {
    padding: 60px 20px;
  }

  .gallery-empty-item-icon {
    font-size: 44px;
    margin-bottom: 12px;
  }

  .gallery-empty-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .gallery-empty-item p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .gallery-empty-item {
    padding: 40px 15px;
  }

  .gallery-empty-item-icon {
    font-size: 40px;
    margin-bottom: 10px;
  }

  .gallery-empty-item h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .gallery-empty-item p {
    font-size: 11px;
  }
}

/* ========== RESPONSIVE LIGHTBOX ========== */
@media (max-width: 1024px) {
  .lightbox-modal {
    padding: 40px 20px;
  }

  .lightbox-nav-prev {
    left: 20px;
    width: 45px;
    height: 45px;
    font-size: 22px;
  }

  .lightbox-nav-next {
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 22px;
  }

  .lightbox-close {
    top: 25px;
    right: 25px;
    font-size: 26px;
    width: 38px;
    height: 38px;
  }

  .lightbox-image {
    max-width: 95%;
    max-height: 75vh;
  }

  .lightbox-title {
    font-size: 24px;
    margin-top: 30px;
  }

  .lightbox-info {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .lightbox-modal {
    padding: 30px 15px;
  }

  .lightbox-nav-prev {
    left: 15px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox-nav-next {
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 24px;
    width: 36px;
    height: 36px;
  }

  .lightbox-image {
    max-width: 98%;
    max-height: 65vh;
    border-radius: 6px;
  }

  .lightbox-modal-wrapper {
    padding: 40px 15px;
  }

  .lightbox-content {
    margin-top: 30px;
  }

  .lightbox-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .lightbox-info {
    font-size: 12px;
  }

  .lightbox-hint {
    font-size: 11px;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .lightbox-modal {
    padding: 20px 10px;
  }

  .lightbox-nav-prev,
  .lightbox-nav-next {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .lightbox-nav-prev {
    left: 10px;
  }

  .lightbox-nav-next {
    right: 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 20px;
    width: 32px;
    height: 32px;
  }

  .lightbox-image {
    max-width: 100%;
    max-height: 55vh;
  }

  .lightbox-modal-wrapper {
    padding: 30px 10px;
  }

  .lightbox-content {
    margin-top: 20px;
  }

  .lightbox-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .lightbox-info {
    font-size: 11px;
  }

  .lightbox-hint {
    display: none;
  }
}

/* ========== RESPONSIVE INSTRUCTIONS ========== */
@media (max-width: 1024px) {
  .gallery-instructions {
    padding: 50px 30px;
    margin-top: 60px;
  }

  .gallery-instructions h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .gallery-instructions-grid {
    gap: 28px;
  }

  .gallery-instruction-item-icon {
    font-size: 44px;
    margin-bottom: 14px;
  }

  .gallery-instruction-item h3 {
    font-size: 15px;
  }

  .gallery-instruction-item p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .gallery-instructions {
    padding: 40px 20px;
    margin-top: 50px;
    border-left-width: 3px;
  }

  .gallery-instructions h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .gallery-instructions-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .gallery-instruction-item {
    padding: 20px;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
  }

  .gallery-instruction-item-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .gallery-instruction-item h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .gallery-instruction-item p {
    font-size: 12px;
    line-height: 1.5;
  }

  .gallery-instruction-code {
    font-size: 11px;
    padding: 3px 6px;
  }
}

@media (max-width: 480px) {
  .gallery-instructions {
    padding: 30px 15px;
    margin-top: 40px;
    border-left-width: 2px;
  }

  .gallery-instructions-container {
    max-width: 100%;
  }

  .gallery-instructions h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .gallery-instructions-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .gallery-instruction-item {
    padding: 16px;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
  }

  .gallery-instruction-item-icon {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .gallery-instruction-item h3 {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .gallery-instruction-item p {
    font-size: 11px;
    line-height: 1.5;
  }

  .gallery-instruction-code {
    font-size: 10px;
    padding: 2px 4px;
  }
}

/* ========== RESPONSIVE TOUCH INTERACTIONS ========== */
@media (hover: none) and (pointer: coarse) {
  /* Touch devices - remove hover effects that don't work well */
  .gallery-thumbnail:hover {
    transform: translateY(-6px);
  }

  .gallery-filter-btn-inactive:hover {
    transform: none;
    scale: 1;
  }

  .lightbox-nav-prev:hover,
  .lightbox-nav-next:hover {
    transform: translateY(-50%);
  }
}

/* ========== VIDEO STYLES ========== */

/* Video Thumbnail Container */
.video-thumbnail {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ececec 100%);
}

.video-card-wrapper {
  display: flex;
  /* flex-direction: column; */
  height: 100%;
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-thumbnail:hover .video-card-wrapper {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(107, 15, 26, 0.18);
}

/* Video Thumbnail Container */
.video-thumbnail-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a1a1a;
}

.video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Inline Video Player */
.video-inline-player {
  cursor: pointer;
  background: #000;
}

/* Video Expand Overlay */
.video-expand-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 4;
}

.video-thumbnail:hover .video-expand-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.3);
}

/* Expand Button */
.video-expand-btn {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-lt));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 8px 24px rgba(212, 83, 26, 0.3);
  padding: 0;
}

.video-expand-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 32px rgba(212, 83, 26, 0.4);
}

.video-expand-btn:active {
  transform: scale(0.95);
}

/* Video Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  display: none;
}

.video-thumbnail:hover .video-overlay {
  opacity: 1;
}

/* Play Button Icon */
.video-play-icon {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-thumbnail:hover .video-play-icon {
  opacity: 1;
}

.play-button {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-lt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 12px 40px rgba(212, 83, 26, 0.3);
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-thumbnail:hover .play-button {
  transform: scale(1.1);
  box-shadow: 0 16px 56px rgba(212, 83, 26, 0.4);
}

/* Video Card Footer */
.video-card-footer {
  padding: 16px 14px;
  background: #fff;
  flex-grow: 1;
  display: flex;
  align-items: center;
  min-height: 60px;
}

.video-card-footer p {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* VIDEO PLAYER MODAL */
.video-modal {
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(10px);
}

.video-player-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  z-index: 9998;
}

.video-player {
  width: 100%;
  max-width: 900px;
  max-height: 60vh;
  border-radius: 12px;
  background: #000;
  border: none;
  outline: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9998;
}

.video-player {
  animation: zoomIn 0.3s ease;
}

.lightbox-modal.video-modal .video-player {
  opacity: 1;
}

/* Empty Gallery Item */
.gallery-empty-item {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
  border-radius: 16px;
  text-align: center;
  border: 2px dashed rgba(212, 83, 26, 0.2);
}

.gallery-empty-item-icon {
  font-size: 64px;
  margin-bottom: 24px;
  animation: bounce 2s ease infinite;
}

.gallery-empty-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 8px;
}

.gallery-empty-item p {
  color: var(--muted);
  font-size: 14px;
}

.gallery-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
  text-align: center;
}

.gallery-empty-icon {
  font-size: 80px;
  margin-bottom: 28px;
  animation: bounce 2s ease infinite;
}

.gallery-empty h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--text);
  margin-bottom: 12px;
  margin-top: 0;
}

.gallery-empty p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.gallery-empty-code {
  background: #f5f5f5;
  color: var(--maroon);
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'Monaco', 'Courier', monospace;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-top: 16px;
}

/* Video Responsive */
@media (max-width: 1024px) {
  .video-player {
    max-width: 85vw;
    max-height: 55vh;
  }

  .video-card-footer {
    padding: 12px 12px;
    min-height: 56px;
  }

  .video-card-footer p {
    font-size: 12px;
  }

  .play-button {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }

  .video-expand-btn {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .video-player {
    max-width: 90vw;
    max-height: 50vh;
  }

  .lightbox-modal {
    padding: 50px 20px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 24px;
  }

  .video-expand-btn {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .lightbox-nav-prev,
  .lightbox-nav-next {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .lightbox-nav-prev {
    left: 12px;
  }

  .lightbox-nav-next {
    right: 12px;
  }

  .play-button {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .video-card-footer {
    padding: 10px 10px;
    min-height: 52px;
  }

  .video-card-footer p {
    font-size: 11px;
    -webkit-line-clamp: 1;
  }

  .lightbox-title {
    font-size: 22px;
    margin-top: 30px;
  }

  .lightbox-info {
    font-size: 12px;
  }

  .gallery-empty-item {
    padding: 60px 30px;
  }

  .gallery-empty-item-icon {
    font-size: 48px;
    margin-bottom: 16px;
  }

  .gallery-empty-item h3 {
    font-size: 20px;
  }

  .gallery-empty-item p {
    font-size: 13px;
  }

  .gallery-empty {
    padding: 80px 30px;
  }

  .gallery-empty-icon {
    font-size: 60px;
    margin-bottom: 20px;
  }

  .gallery-empty h3 {
    font-size: 26px;
  }

  .gallery-empty p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .video-player {
    max-width: 95vw;
    max-height: 45vh;
  }

  .lightbox-modal {
    padding: 40px 12px;
  }

  .video-expand-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 22px;
    width: 32px;
    height: 32px;
  }

  .lightbox-nav-prev,
  .lightbox-nav-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .lightbox-nav-prev {
    left: 8px;
  }

  .lightbox-nav-next {
    right: 8px;
  }

  .play-button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .video-card-footer {
    padding: 8px 8px;
    min-height: 48px;
  }

  .video-card-footer p {
    font-size: 10px;
  }

  .lightbox-title {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .lightbox-info {
    font-size: 11px;
  }

  .lightbox-hint {
    font-size: 10px;
    bottom: 15px;
  }

  .gallery-empty-item {
    padding: 40px 20px;
    border-radius: 12px;
  }

  .gallery-empty-item-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .gallery-empty-item h3 {
    font-size: 18px;
  }

  .gallery-empty-item p {
    font-size: 12px;
  }

  .gallery-empty {
    padding: 60px 20px;
  }

  .gallery-empty-icon {
    font-size: 50px;
    margin-bottom: 16px;
  }

  .gallery-empty h3 {
    font-size: 22px;
  }

  .gallery-empty p {
    font-size: 13px;
  }

  .gallery-empty-code {
    font-size: 11px;
    padding: 6px 10px;
    margin-top: 12px;
  }
}