/* ============================================================
   GURUCHARYA — Institutional Redesign
   Clean/Standard/Utilitarian
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
    --primary:      #0C3C91; /* Gurucharya Blue */
    --primary-dark: #082a66;
    --secondary:    #E31837; /* Crimson Red */
    --secondary-hover: #c71430;
    --bg-light:     #F4F7F6;
    --bg-white:     #FFFFFF;
    --text-main:    #333333;
    --text-muted:   #666666;
    --border-color: #E2E8F0;
    
    --font-standard: 'Inter', sans-serif;

    /* Legacy aliases */
    --font-display: var(--font-standard);
    --font-body:    var(--font-standard);
    --font-accent:  var(--font-standard);

    --radius:       6px;
    --radius-lg:    10px;
    --trans:        all 0.3s ease;
    
    --shadow-soft:  0 4px 15px rgba(0,0,0,0.06);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.1);
}

/* ── Reset ────────────────────────────────────────────────── */
::selection { background: var(--secondary); color: #fff; }
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
    font-family: var(--font-standard);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    color: var(--text-main);
    background: var(--bg-light);
    margin: 0;
    zoom: 1.2; /* Scales the entire website up by 120% */
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }

p, li {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-muted);
}

a { text-decoration: none; color: var(--primary); transition: var(--trans); }
a:hover { color: var(--secondary); text-decoration: none; }

/* ── Header / Navbar ──────────────────────────────────────── */
header {
    width: 100%; z-index: 1020;
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar { min-height: 80px; padding: 0; display: flex; align-items: center; justify-content: space-between; }
.navbar-brand img { height: 60px; object-fit: contain; }

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    align-items: center;
}

.navbar-nav .nav-link {
    font-family: var(--font-standard);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    padding: 10px 20px;
    text-transform: uppercase;
}
.navbar-nav .nav-link:hover { color: var(--secondary); }

/* CTA button */
.navbar-nav .nav-item:last-child .nav-link,
.navbar-nav .nav-link.nav-cta {
    background: var(--secondary);
    color: var(--bg-white) !important;
    border-radius: var(--radius);
    padding: 10px 24px;
    margin-left: 15px;
}
.navbar-nav .nav-link.nav-cta:hover {
    background: var(--primary);
}

/* ── Hero ───────────────────────────────────────── */
@keyframes heroFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}
.hero-shape {
    position: absolute;
    z-index: 10;
    animation: heroFloat 5s ease-in-out infinite;
    opacity: 0.8;
}
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(to right, rgba(244, 247, 246, 0.95), rgba(255, 255, 255, 0.8)), url('../images/study_bg.png') center/cover;
    position: relative;
    overflow: hidden;
}
.hero_title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    z-index: 20;
}
.hero_accent { color: var(--secondary); }

.hero_desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.hero_list {
    list-style: none; padding-left: 0; margin-bottom: 30px;
}
.hero_list li {
    font-size: 15px; color: var(--text-main);
    padding: 5px 0 5px 25px; position: relative;
}
.hero_list li::before {
    content: '\2713'; position: absolute; left: 0; color: var(--secondary); font-weight: bold;
}
.hero_left img {
    max-width: 90%;
    margin-top: 25px; /* Give breathing room so the top is visible */
    object-fit: contain;
    position: relative;
    z-index: 15;
}

.hero_btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary);
    color: var(--bg-white) !important;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.hero_btn:hover { background: var(--secondary); color:#fff !important; }
.btn_invers { background: transparent; border: 2px solid var(--primary); color: var(--primary) !important; }
.btn_invers:hover { background: var(--primary); color: var(--bg-white) !important; }

/* ── Section Headings ──────────────────────────────────────── */
.heading { margin-bottom: 40px; text-align: center; }
.heading h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}
.heading h3::after {
    content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; background: var(--secondary);
}
.heading p { color: var(--text-muted); font-size: 16px; margin-top: 15px; }
.heading h6 { display: none; }

/* ── Features Overlay (Commitment, Hardwork, Practice, Techniques) ── */
.features-section {
    background: var(--primary-dark);
    padding: 60px 0;
    color: #fff;
}
.features-section .heading h3 { color: #fff; }
.feature-box {
    text-align: center;
    padding: 30px 20px;
}
.feature-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}
.feature-box p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

/* ── Standard Cards (Courses/Stats) ───────────────────────────────── */
.standard-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 30px;
    transition: var(--trans);
    text-align: center;
    height: 100%;
}
.standard-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: var(--primary);
}
.standard-card img {
    max-height: 60px; margin-bottom: 20px;
}
.standard-card h3 {
    font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 15px; text-transform: capitalize;
}
.standard-card p {
    font-size: 14px; color: var(--text-muted); margin-bottom: 20px;
}
.standard-card .hero_btn { padding: 10px 20px; font-size: 13px; width: auto; }

/* ── Testimonials ───────────────────────────────────── */
.testimonial_container {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.testimonial_item img { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--border-color); margin-bottom: 15px; }
.testimonial_item p { font-style: italic; font-size: 16px; color: var(--text-main); line-height: 1.8; }
.testimonial_item h5 { color: var(--primary); font-size: 18px; font-weight: 700; margin-top: 20px; }

/* ── Course Banner Cards ───────────────────────────────── */
.course-banner-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--trans);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.course-banner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.course-banner-top {
    height: 6px;
    width: 100%;
}
.course-banner-body {
    padding: 30px 20px 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.course-banner-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.course-banner-card img {
    height: 65px;
    width: 65px;
    margin-bottom: 20px;
    padding: 12px;
    background: #f4f7f6;
    border-radius: 50%;
    margin-top: 10px;
}
.course-banner-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.course-banner-card p {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: auto;
    padding-bottom: 25px;
}
.course-banner-card .hero_btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--primary) !important;
    border: 1px solid var(--border-color);
}
.course-banner-card .hero_btn:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}

/* ── Placed Students ───────────────────────────── */
.student-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px; text-align: center;
    box-shadow: var(--shadow-soft);
}
.student-card img {
    width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid var(--primary);
}
.student-card h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 5px 0; }
.student-card small { font-size: 13px; color: var(--text-muted); font-weight: 600; display: block; }

/* ── Celebration Cards (Birthday Pops) ───────────────────────────── */
.celebration-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(243, 156, 18, 0.15); /* orange glow */
    border: 2px dashed rgba(243, 156, 18, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}
.celebration-card::before {
    content:'\f005'; /* Star icon from FontAwesome */
    font-family: 'FontAwesome';
    position: absolute;
    top: -15px; right: -10px;
    font-size: 60px;
    color: rgba(243, 156, 18, 0.1);
    transform: rotate(15deg);
}
.celebration-card::after {
    content:'\f005'; 
    font-family: 'FontAwesome';
    position: absolute;
    bottom: -10px; left: -10px;
    font-size: 40px;
    color: rgba(227, 24, 55, 0.05); /* Crimson faint star */
    transform: rotate(-20deg);
}
.celebration-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 45px rgba(243, 156, 18, 0.3);
    border: 2px solid rgba(243, 156, 18, 1);
}
.celebration-card img {
    width: 100px; height: 100px; border-radius: 50%;
    object-fit: cover; margin-bottom: 20px;
    border: 4px solid #f39c12; /* Golden/Orange celebration border */
    padding: 4px;
    background: #fff;
}
.celebration-card h4 { font-size: 17px; font-weight: 800; color: #d35400; margin: 0 0 5px 0; }
.celebration-card small { font-size: 14px; font-weight: 700; color: #7f8c8d; display: block; }

/* ── Forms ─────────────────────────────────────────── */
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px; color: var(--text-main);
    background: var(--bg-light); transition: var(--trans);
}
.form-control:focus {
    background: var(--bg-white); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(12, 60, 145, 0.1); outline: none;
}
label { font-weight: 600; color: var(--text-main); margin-bottom: 8px; display: block; font-size: 14px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px;
    font-size: 14px;
}
footer h4 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
footer h4::after { content:''; position:absolute; left:0; bottom:0; width:40px; height:2px; background: var(--secondary); }
footer a { color: rgba(255,255,255,0.8); transition: var(--trans); }
footer a:hover { color: var(--secondary); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--secondary); margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; text-align: center; }

/* ── Page Headers ───────────────────────────────────────── */
.page-header { background: var(--primary); color: #fff; padding: 80px 0 60px; margin-top: 80px; text-align: center; }
.page-header h1 { font-size: 42px; font-weight: 700; margin-bottom: 15px; color: #fff; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* ── Media Queries ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .navbar-toggler { display: block; background: var(--primary); border: none; padding: 10px; border-radius: var(--radius); color:#fff; }
    .navbar-collapse { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); box-shadow: var(--shadow-soft); padding: 15px; display:none; }
    .navbar-collapse.show { display: block; }
    .navbar-nav { flex-direction: column; align-items: flex-start; }
    .navbar-nav .nav-link { border-bottom: 1px solid var(--border-color); width: 100%; padding: 15px; }
    .navbar-nav .nav-cta { margin-left: 0; margin-top: 10px; width: 100%; text-align: center; }
    .hero-section { padding-top: 120px; }
}
