:root{
  --ink:#0d1b2a;
  --navy:#102640;
  --navy-2:#183b63;
  --orange:#ef5b17;
  --orange-dark:#c9440d;
  --cream:#fff7ef;
  --soft:#f6f8fb;
  --line:#e2e8f0;
  --muted:#607084;
  --white:#ffffff;
  --shadow:0 20px 50px rgba(15,35,64,.12);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,"Noto Sans Kannada",system-ui,-apple-system,sans-serif;color:var(--ink);background:#fff;line-height:1.65}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.section{padding:88px 0}
.section-soft{background:var(--soft)}
.section-dark{background:var(--navy);color:#fff}
.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:16px;top:16px;z-index:999;background:#fff;padding:10px 14px;border-radius:10px}

.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(15,35,64,.08)}
.nav-wrap{width:100%;margin-inline:0;height:76px;padding:0 52px 0 96px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:12px}.brand img{width:52px;height:52px;object-fit:contain}.brand div{height:52px;display:flex;flex-direction:column;justify-content:center;line-height:1.05}.brand strong{font-size:17px;font-weight:800;letter-spacing:.03em}.brand span{display:block;font-size:0;letter-spacing:.22em;color:var(--orange);margin-top:5px;font-weight:700}.brand span::after{content:"MYSORE";font-size:10px}
.site-nav{display:flex;align-items:center;gap:27px;font-size:14px;font-weight:600}.site-nav a{color:#334155;transition:.2s}.site-nav a:hover{color:var(--orange)}
.menu-btn{display:none;border:0;background:transparent;font-size:25px;color:var(--navy);cursor:pointer}

.hero-photo{position:relative;min-height:540px;display:flex;align-items:end;overflow:hidden;background:linear-gradient(135deg,#102640 0%,#1d4564 100%)}
.hero-content{position:relative;z-index:2;padding-bottom:62px}.hero-copy{max-width:620px;color:#fff}.hero-copy h1{font-size:clamp(38px,4.8vw,60px);line-height:1.06;letter-spacing:-.04em;margin:12px 0 16px}.hero-copy p{font-size:17px;max-width:590px;color:#e7eef6;margin:0 0 22px}
.eyebrow{display:inline-block;font-size:14px;font-weight:800;letter-spacing:.18em;color:var(--orange);margin-bottom:8px}.light-eyebrow{color:#ffb089}
.hero-copy .eyebrow{font-size:14px}
.batch-banner{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(10px);padding:8px 12px;border-radius:999px;margin-bottom:20px}.batch-banner span{font-size:10px;font-weight:800;letter-spacing:.14em;color:#ffd2bd}.batch-banner strong{font-size:14px}
.hero-actions,.inline-actions,.batch-actions{display:flex;flex-wrap:wrap;gap:12px}
.announcement-ticker{overflow:hidden;background:var(--orange);color:#fff;white-space:nowrap;font-size:13px;font-weight:800;letter-spacing:.12em}.ticker-track{display:inline-flex;align-items:center;gap:24px;min-width:max-content;padding:12px 0;animation:ticker-scroll 24s linear infinite}.ticker-track b{color:#ffd8c5;font-size:16px}@keyframes ticker-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 19px;border-radius:12px;font-weight:700;font-size:14px;transition:.2s;border:1px solid transparent}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--orange);color:#fff}.btn-primary:hover{background:var(--orange-dark)}.btn-secondary{background:#fff;border-color:#d8e0e9;color:var(--navy)}.btn-glass{color:#fff;border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.08)}.btn-white{background:#fff;color:var(--navy)}.btn-outline-white{border-color:rgba(255,255,255,.5);color:#fff}

.about-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:70px;align-items:center}.about-grid h2,.section-head h2,.director-message h2,.test-paper-grid h2,.contact-grid h2,.batch-card h2{font-family:Inter,"Noto Sans Kannada",system-ui,-apple-system,sans-serif;font-size:24px;font-weight:800;line-height:1.12;letter-spacing:.03em;margin:4px 0 18px}.lead-small{font-size:18px;color:#334155;line-height:1.7}.about-grid p{color:#4c5a6b}.value-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px}.value-row span{padding:9px 12px;background:var(--cream);color:#8d3c16;border:1px solid #ffd8c5;border-radius:999px;font-size:12px;font-weight:700}
.about-grid h2{font-family:Inter,"Noto Sans Kannada",system-ui,-apple-system,sans-serif;font-weight:800;letter-spacing:.03em}
h2{font-family:Inter,"Noto Sans Kannada",system-ui,-apple-system,sans-serif;font-weight:800;letter-spacing:.03em}
.about-photo-stack{position:relative;min-height:520px}.about-photo-stack img{position:absolute;border-radius:24px;object-fit:cover;box-shadow:var(--shadow)}.photo-main{width:78%;height:430px;left:0;top:35px}.photo-small{width:42%;height:230px;right:0}.photo-small.top{top:0}.photo-small.bottom{bottom:0}

.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:38px}.section-head>div{max-width:720px}.section-head h2{margin-bottom:0}.section-head p{max-width:390px;color:var(--muted);margin:0}.section-head.light p{color:#bac8d8}.compact-head{margin-bottom:28px}
.photo-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.photo-strip figure{margin:0;position:relative;overflow:hidden;border-radius:20px;height:280px;background:#ddd}.photo-strip img{width:100%;height:100%;object-fit:cover}.photo-strip figcaption{position:absolute;left:14px;bottom:14px;background:rgba(10,28,50,.82);color:#fff;padding:8px 11px;border-radius:10px;font-size:12px;font-weight:700;backdrop-filter:blur(5px)}

.course-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.course-card{border:1px solid var(--line);border-radius:22px;padding:27px;background:#fff;display:flex;flex-direction:column;min-height:330px;transition:.25s}.course-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.course-icon{width:56px;height:56px;border-radius:16px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:800;letter-spacing:.08em;margin-bottom:34px}.group-c-icon{width:82px;font-size:11px;letter-spacing:.03em}.course-card h3{font-size:22px;margin:0 0 10px}.course-card p{font-size:14px;color:var(--muted);margin:0 0 22px;flex:1}.text-link{color:var(--orange);font-weight:800;font-size:13px}

.batch-section{padding:32px 0 88px}.batch-card{background:linear-gradient(135deg,var(--navy),#24517d);border-radius:28px;padding:42px 46px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.batch-card h2{margin:0 0 10px}.batch-card p{margin:0;color:#dbe7f2}

.test-paper-grid{display:grid;grid-template-columns:.62fr 1.38fr;gap:42px;align-items:center}.test-cover-wrap{background:#fff;padding:14px;border-radius:18px;box-shadow:var(--shadow);max-width:340px}.test-cover-wrap img{border-radius:10px;width:100%}.test-facts{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.test-facts div{min-width:120px;padding:15px 18px;border-radius:16px;background:#fff;border:1px solid var(--line);display:flex;flex-direction:column}.test-facts strong{font-size:22px;color:var(--navy)}.test-facts span{font-size:12px;color:var(--muted);font-weight:600}.check-list{padding:0;margin:20px 0 28px;list-style:none}.check-list li{padding:8px 0 8px 28px;position:relative;color:#435164}.check-list li:before{content:"✓";position:absolute;left:0;color:var(--orange);font-weight:800}

.director-grid{display:grid;grid-template-columns:360px 1fr;gap:65px;align-items:center}.director-photo img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:26px;box-shadow:var(--shadow)}.director-message p{font-size:17px;color:#4b5a6c;max-width:720px}.director-signoff{font-weight:800;color:var(--navy)!important;border-left:3px solid var(--orange);padding-left:18px;margin-top:25px}

.mentor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;max-width:850px;margin-inline:auto}.mentor-card{text-align:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);padding:22px;border-radius:24px}.mentor-card img{width:166px;height:166px;object-fit:contain;object-position:var(--photo-position,center);border-radius:26px;margin:0 auto 17px;background:#fff}.photo-manohar{--photo-position:center top}.photo-chandan{--photo-position:center top}.photo-prathap{--photo-position:center top}.mentor-card .photo-prathap{object-fit:cover}.mentor-card h3{font-size:20px;margin:0;color:#fff}
.guidance-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.guidance-card{text-align:center;border:1px solid var(--line);border-radius:20px;padding:17px 12px;background:#fff}.guidance-card img{width:120px;height:120px;border-radius:50%;object-fit:cover;margin:0 auto 14px}.guidance-card h3{font-size:15px;margin:0 0 4px}.guidance-card p{font-size:11px;color:var(--muted);margin:0;line-height:1.4}
.guidance-photo{width:120px;height:120px;overflow:hidden;border-radius:50%;margin:0 auto 14px}.guidance-card .guidance-photo img{width:104%;height:104%;max-width:none;margin:0;transform:translateX(6px)}

.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.gallery-grid figure{margin:0;overflow:hidden;border-radius:20px;background:#fff;border:1px solid var(--line)}.gallery-grid figure.wide{grid-column:span 2}.gallery-grid img{width:100%;height:300px;object-fit:cover}.gallery-grid .wide img{height:420px}.gallery-grid figcaption{padding:12px 14px;font-size:12px;font-weight:700;color:#425067}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.contact-lines{display:flex;flex-direction:column;gap:8px;margin:20px 0 28px}.contact-lines strong{color:var(--navy);font-size:14px}.contact-lines a{font-weight:700;color:var(--navy)}.contact-map{height:430px;overflow:hidden;border-radius:26px;box-shadow:var(--shadow)}.contact-map iframe{display:block;width:100%;height:100%;border:0}

.footer{background:#0b1d31;color:#fff;padding:35px 0}.footer-grid{display:grid;grid-template-columns:1fr auto auto;gap:35px;align-items:center}.footer-brand{display:flex;align-items:center;gap:11px}.footer-brand img{width:38px}.footer-brand div{display:flex;flex-direction:column}.footer-brand span{font-size:11px;color:#aab9c8}.footer-links{display:flex;gap:18px;font-size:12px;color:#c8d3de}.footer-copy{font-size:11px;color:#8394a5}

/* Syllabus pages */
.subpage-hero{background:linear-gradient(135deg,var(--navy),#214b74);color:#fff;padding:72px 0 55px}.subpage-hero .breadcrumb{font-size:12px;color:#b9c9d9;margin-bottom:18px}.subpage-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.06;letter-spacing:-.04em;margin:0 0 14px}.subpage-hero p{max-width:760px;color:#d6e2ee;font-size:17px}.syllabus-source{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.source-chip{display:inline-flex;padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);font-size:11px;font-weight:700;color:#e7f0f8}
.syllabus-layout{display:grid;grid-template-columns:260px 1fr;gap:38px}.syllabus-nav{position:sticky;top:100px;align-self:start;border:1px solid var(--line);border-radius:18px;padding:16px;background:#fff}.syllabus-nav strong{font-size:12px;color:var(--muted);display:block;margin-bottom:8px;text-transform:uppercase;letter-spacing:.12em}.syllabus-nav a{display:block;padding:10px 9px;border-radius:9px;font-size:13px;font-weight:700;color:#435164}.syllabus-nav a:hover{background:var(--soft);color:var(--orange)}
.syllabus-content h2{font-size:24px;margin:0 0 18px}.syllabus-content h3{font-size:22px;margin:32px 0 10px}.syllabus-content h4{font-size:16px;margin:22px 0 8px;color:var(--navy)}.syllabus-content p,.syllabus-content li{color:#475569}.syllabus-content ul{padding-left:22px}.syllabus-content li{margin:7px 0}.exam-pattern{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 30px}.pattern-card{border:1px solid var(--line);border-radius:16px;padding:18px;background:#fff}.pattern-card strong{display:block;color:var(--navy);font-size:17px;margin-bottom:4px}.pattern-card span{font-size:12px;color:var(--muted)}
.syllabus-block{border-top:1px solid var(--line);padding-top:26px;margin-top:30px}.syllabus-note{background:var(--cream);border:1px solid #ffd4c0;border-left:4px solid var(--orange);padding:16px 18px;border-radius:12px;color:#6b3a21;margin-top:25px}.syllabus-note strong{display:block;margin-bottom:4px}.source-box{margin-top:40px;background:var(--soft);padding:22px;border-radius:16px;font-size:13px;color:#4b5a6a}.source-box a{color:var(--orange);font-weight:700}

.pdf-page{background:var(--soft);min-height:100vh}.pdf-shell{padding:34px 0 50px}.pdf-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.pdf-toolbar h1{font-size:24px;margin:0}.pdf-frame{width:100%;height:82vh;border:1px solid var(--line);border-radius:18px;background:#fff}

@media (max-width:1050px){
  .course-grid{grid-template-columns:repeat(2,1fr)}
  .guidance-grid{grid-template-columns:repeat(3,1fr)}
  .photo-strip{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr}.footer-links{flex-wrap:wrap}
}
@media (max-width:840px){
  .section{padding:66px 0}.container{width:min(100% - 28px,1180px)}
  .nav-wrap{padding:0}
  .menu-btn{display:block}.site-nav{display:none;position:absolute;top:76px;left:14px;right:14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:0}.site-nav.open{display:flex}.site-nav a{padding:11px 10px}
  .hero-photo{min-height:500px}.hero-content{padding-bottom:42px}
  .about-grid,.director-grid,.test-paper-grid,.contact-grid,.syllabus-layout{grid-template-columns:1fr}.about-photo-stack{min-height:460px}.director-grid{gap:36px}.director-photo{max-width:330px}.test-cover-wrap{max-width:360px}.syllabus-nav{position:static}.section-head{display:block}.section-head p{margin-top:10px;max-width:none}.batch-card{display:block;padding:34px 28px}.batch-actions{margin-top:24px}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid figure.wide{grid-column:span 2}.guidance-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  .brand strong{font-size:14px}.brand span{font-size:0}.brand span::after{font-size:9px}.hero-copy h1{font-size:38px}.hero-copy p{font-size:15px}.hero-actions .btn{width:100%}
  .about-photo-stack{min-height:380px}.photo-main{height:310px;width:82%}.photo-small{height:170px;width:45%}
  .photo-strip,.course-grid,.mentor-grid,.gallery-grid,.guidance-grid,.exam-pattern{grid-template-columns:1fr}.photo-strip figure{height:240px}.gallery-grid figure.wide{grid-column:auto}.gallery-grid img,.gallery-grid .wide img{height:280px}.mentor-card img{width:160px;height:160px}.guidance-card img{width:130px;height:130px}.batch-banner{border-radius:18px;align-items:flex-start;flex-direction:column;gap:2px}.test-facts{display:grid;grid-template-columns:repeat(3,1fr)}.test-facts div{min-width:0;padding:12px}.footer-links{display:none}.pdf-frame{height:74vh}.pdf-toolbar{align-items:flex-start;flex-direction:column}
}

/* Final homepage additions: Current Affairs, social links and carousels */
.site-nav{gap:18px}
.site-nav .nav-current-affairs{color:#334155;font-weight:600}
.nav-socials,.footer-socials{display:flex;align-items:center;gap:8px}
.social-icon{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;display:inline-flex!important;align-items:center;justify-content:center;padding:0!important;color:var(--navy);background:#fff;transition:.2s}
.social-icon:hover{color:var(--orange);border-color:#ffc8ae;transform:translateY(-1px)}
.social-icon svg{width:18px;height:18px;display:block}
.social-icon svg rect,.social-icon svg circle{fill:none;stroke:currentColor;stroke-width:1.8}
.social-icon svg path{fill:currentColor;stroke:none}
.social-icon svg .play{fill:#fff}
.footer-social-icon{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.15);color:#dbe7f2}
.footer-social-icon:hover{color:#fff;border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.1)}
.footer-grid{grid-template-columns:1fr auto auto auto}

.carousel{position:relative}
.carousel-viewport{overflow:hidden;padding:3px}
.carousel-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px 0 4px}
.carousel-track::-webkit-scrollbar{display:none}
.carousel-item{scroll-snap-align:start;flex-shrink:0}
.guidance-carousel-track .guidance-card{flex-basis:calc((100% - 48px)/4)}
.campus-carousel-track .campus-card{flex-basis:calc((100% - 32px)/3)}
.carousel-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:rgba(255,255,255,.96);color:var(--navy);font-size:30px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 28px rgba(15,35,64,.16);transition:.2s}
.carousel-btn:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.carousel-btn.prev{left:-18px}.carousel-btn.next{right:-18px}
.carousel-btn:disabled{opacity:.35;cursor:not-allowed}

.campus-card{margin:0;overflow:hidden;border-radius:20px;background:#fff;border:1px solid var(--line)}
.campus-card img{width:100%;height:340px;object-fit:cover}
.campus-card figcaption{padding:12px 14px;font-size:12px;font-weight:700;color:#425067}

@media (max-width:1050px){
  .guidance-carousel-track .guidance-card{flex-basis:calc((100% - 32px)/3)}
  .campus-carousel-track .campus-card{flex-basis:calc((100% - 16px)/2)}
  .footer-grid{grid-template-columns:1fr}.footer-socials{margin-top:-10px}
}
@media (max-width:840px){
  .site-nav .nav-socials{padding:10px;display:flex;gap:10px}
  .site-nav .social-icon{width:38px;height:38px;padding:0!important}
  .carousel-btn.prev{left:8px}.carousel-btn.next{right:8px}
  .guidance-carousel-track .guidance-card{flex-basis:calc((100% - 16px)/2)}
  .campus-carousel-track .campus-card{flex-basis:calc((100% - 16px)/2)}
}
@media (max-width:560px){
  .guidance-carousel-track .guidance-card,.campus-carousel-track .campus-card{flex-basis:100%}
  .campus-card img{height:300px}
  .carousel-btn{width:40px;height:40px;font-size:26px}
}
