/* ================================================
   Atri Academy – Main Stylesheet
   Color Scheme: Deep Blue + Orange Gold
   ================================================ */

/* Google Fonts loaded in master page */
:root {
    --primary: #1a3c6e;
    --primary-dark: #0f2548;
    --accent: #e8821a;
    --accent-light: #f5a44a;
    --white: #ffffff;
    --light-bg: #f4f7fc;
    --text-dark: #1c2a3a;
    --text-muted: #6b7a8d;
    --border: #dde4ef;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Hind', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

a { text-decoration: none; color: var(--primary); transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; }

/* ==============================
   TOP BAR
   ============================== */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 12.5px;
    padding: 7px 0;
    border-bottom: 2px solid var(--accent);
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--accent-light); }
.top-bar .tb-item { margin-right: 20px; }
.top-bar .tb-item i { margin-right: 5px; color: var(--accent-light); }

/* ==============================
   HEADER / NAVBAR
   ============================== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}
.logo-wrap { padding: 12px 0; }
.logo-name {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.logo-name span { color: var(--accent); }
.logo-tagline {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navbar */
.navbar-custom {
    background: var(--primary);
    border-radius: 0;
    border: none;
    margin: 0;
}
.navbar-custom .navbar-nav > li > a {
    color: rgba(255,255,255,0.9) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 14px 18px;
    transition: all 0.2s;
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li.active > a {
    background: var(--accent) !important;
    color: #fff !important;
}
.navbar-custom .navbar-toggle { border-color: rgba(255,255,255,0.3); }
.navbar-custom .navbar-toggle .icon-bar { background: #fff; }

.btn-admission {
    background: var(--accent) !important;
    color: #fff !important;
    border-radius: 3px !important;
    margin: 8px 15px !important;
    padding: 6px 18px !important;
}
.btn-admission:hover { background: var(--accent-light) !important; }

/* ==============================
   HERO SLIDER SECTION
   ============================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e5799 100%);
    color: #fff;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(232,130,26,0.12);
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 18px;
}
.hero-section h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
}
.hero-section h1 span { color: var(--accent-light); }
.hero-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 30px;
    max-width: 520px;
}
.hero-btns .btn { margin-right: 10px; margin-bottom: 10px; font-weight: 600; padding: 12px 28px; }
.btn-hero-primary {
    background: var(--accent);
    border: 2px solid var(--accent);
    color: #fff;
    border-radius: 3px;
}
.btn-hero-primary:hover { background: var(--accent-light); border-color: var(--accent-light); color: #fff; }
.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    border-radius: 3px;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

.hero-stats { margin-top: 40px; }
.stat-item { text-align: center; padding: 10px 5px; }
.stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-light);
    display: block;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; }
.stat-divider { border-color: rgba(255,255,255,0.15); margin: 10px 0; }

/* ==============================
   SECTION COMMON
   ============================== */
.section-pad { padding: 60px 0; }
.section-pad-sm { padding: 40px 0; }
.section-bg { background: var(--light-bg); }

.section-title { margin-bottom: 40px; }
.section-title h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.section-title h2 span { color: var(--accent); }
.section-title p { color: var(--text-muted); font-size: 15px; max-width: 580px; }
.title-line {
    width: 55px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 10px 0 12px;
}
.section-title.center { text-align: center; }
.section-title.center .title-line { margin: 10px auto 12px; }
.section-title.center p { margin: 0 auto; }

/* ==============================
   COURSE CARDS
   ============================== */
.course-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    margin-bottom: 25px;
}
.course-card:hover {
    box-shadow: 0 8px 30px rgba(26,60,110,0.13);
    transform: translateY(-4px);
    border-color: var(--accent);
}
.course-card-header {
    padding: 22px 22px 16px;
    border-bottom: 2px solid var(--light-bg);
}
.course-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.icon-jee { background: rgba(232,130,26,0.12); color: var(--accent); }
.icon-comp { background: rgba(26,60,110,0.1); color: var(--primary); }
.icon-board { background: rgba(40,167,69,0.1); color: #28a745; }
.icon-comp2 { background: rgba(111,66,193,0.1); color: #6f42c1; }

.course-card-header h3 { font-size: 17px; margin-bottom: 6px; }
.course-card-header .badge-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}
.badge-jee { background: rgba(232,130,26,0.15); color: var(--accent); }
.badge-comp { background: rgba(26,60,110,0.1); color: var(--primary); }
.badge-board { background: rgba(40,167,69,0.1); color: #28a745; }
.badge-comp2 { background: rgba(111,66,193,0.1); color: #6f42c1; }

.course-card-body { padding: 16px 22px 20px; }
.course-card-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.course-list { list-style: none; padding: 0; margin-bottom: 18px; }
.course-list li {
    font-size: 13.5px;
    color: var(--text-dark);
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}
.course-list li::before {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 11px;
    top: 6px;
}
.btn-course {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
    display: inline-block;
}
.btn-course:hover { background: var(--accent); color: #fff; }

/* ==============================
   FACILITIES
   ============================== */
.facility-card {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    height: 100%;
    margin-bottom: 25px;
}
.facility-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 25px rgba(26,60,110,0.1);
    transform: translateY(-3px);
}
.facility-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(26,60,110,0.25);
}
.facility-card h4 { font-size: 15px; margin-bottom: 8px; }
.facility-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ==============================
   ADMISSION STRIP
   ============================== */
.admission-strip {
    background: linear-gradient(135deg, var(--accent), #c86a0a);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}
.admission-strip h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 6px;
}
.admission-strip p { color: rgba(255,255,255,0.88); margin-bottom: 18px; }
.btn-white {
    background: #fff;
    color: var(--accent);
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
    display: inline-block;
}
.btn-white:hover { background: var(--primary-dark); color: #fff; }

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonial-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 25px;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 5px;
    left: 18px;
    line-height: 1;
}
.testimonial-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; font-style: italic; }
.testimonial-card .stu-name { font-weight: 700; font-size: 14px; color: var(--primary-dark); }
.testimonial-card .stu-course { font-size: 12px; color: var(--accent); font-weight: 600; }
.stars { color: #ffc107; font-size: 12px; margin-bottom: 8px; }

/* ==============================
   CONTACT FORM
   ============================== */
.contact-box {
    background: #fff;
    border-radius: 10px;
    padding: 35px 30px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.07);
}
.contact-box h3 { font-size: 20px; margin-bottom: 20px; color: var(--primary-dark); }
.form-control {
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    padding: 10px 14px;
    height: auto;
    box-shadow: none;
    transition: border-color 0.2s;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,60,110,0.08);
    outline: none;
}
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; }
.btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-submit:hover { background: var(--accent); }

.contact-info-box { padding: 10px 0; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}
.ci-icon {
    width: 42px;
    height: 42px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    margin-right: 14px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.ci-text strong { font-size: 13px; color: var(--primary-dark); font-weight: 700; display: block; }
.ci-text span, .ci-text a { font-size: 14px; color: var(--text-muted); }

/* ==============================
   WHY CHOOSE US
   ============================== */
.why-item { display: flex; align-items: flex-start; margin-bottom: 22px; }
.why-icon {
    width: 46px;
    height: 46px;
    background: rgba(232,130,26,0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    margin-right: 16px;
    flex-shrink: 0;
}
.why-text h5 { font-size: 15px; margin-bottom: 4px; }
.why-text p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ==============================
   PAGE BANNER (inner pages)
   ============================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 35px 0;
    color: #fff;
}
.page-banner h2 { color: #fff; font-size: 26px; margin-bottom: 5px; }
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 13px;
}
.breadcrumb > li + li::before { color: rgba(255,255,255,0.5); }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb .active { color: var(--accent-light); }

/* ==============================
   FOOTER
   ============================== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 0;
}
.footer-logo-name {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.footer-logo-name span { color: var(--accent-light); }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 1px; margin-bottom: 16px; }
.site-footer p { font-size: 13.5px; color: rgba(255,255,255,0.65); }
.site-footer h5 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-links a i { margin-right: 7px; font-size: 10px; }

.footer-contact-item { display: flex; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item i { margin-right: 10px; color: var(--accent-light); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 13.5px; color: rgba(255,255,255,0.65); }
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--accent-light); }

.footer-bottom {
    margin-top: 40px;
    background: rgba(0,0,0,0.2);
    padding: 15px 0;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom a { color: var(--accent-light); }

/* Social icons */
.social-links { margin-top: 16px; }
.social-links a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-right: 8px;
    transition: all 0.2s;
}
.social-links a:hover { background: var(--accent); color: #fff; }

/* ==============================
   ALERTS & MESSAGES
   ============================== */
.alert-success-custom {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 15px;
}
.alert-error-custom {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 15px;
}

/* LOGIN PAGE */
.login-wrap {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}
.login-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 35px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.login-logo { text-align: center; margin-bottom: 25px; }
.login-logo .logo-name { font-size: 28px; }
.login-card h4 { font-size: 18px; text-align: center; margin-bottom: 25px; color: var(--text-muted); font-weight: 400; }
.login-tabs .nav-tabs { border-bottom: 2px solid var(--border); margin-bottom: 22px; }
.login-tabs .nav-tabs > li > a { color: var(--text-muted); font-weight: 600; font-size: 13.5px; }
.login-tabs .nav-tabs > li.active > a {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
    border-radius: 0;
}

/* ABOUT PAGE */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.about-exp-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--accent);
    color: #fff;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(232,130,26,0.4);
}
.about-exp-badge strong { font-size: 26px; font-weight: 800; line-height: 1; }
.about-exp-badge span { font-size: 11px; font-weight: 600; }

/* GOOGLE MAP EMBED */
.map-box { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 26px; }
    .hero-section { padding: 40px 0 35px; }
    .section-title h2 { font-size: 22px; }
    .stat-num { font-size: 24px; }
    .contact-box { padding: 22px 18px; }
    .login-card { padding: 28px 20px; }
    .about-exp-badge { width: 70px; height: 70px; }
    .about-exp-badge strong { font-size: 20px; }
}
