/* =========================================
   PREMIUM ACADEMIC SERVICES — MAIN STYLES
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary:    #1EBE8E;
    --primary-dark: #17a87b;
    --dark-bg:    #1D3B3A;
    --dark-bg2:   #1a3432;
    --text-dark:  #1D3B3A;
    --text-muted: #6c757d;
    --light-bg:   #f8f9fa;
    --white:      #ffffff;
    --border:     #e0e0e0;
    --shadow:     0 5px 30px rgba(0,0,0,0.08);
    --radius:     8px;
    --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,190,142,0.3);
}
.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== SECTION LABELS ===== */
.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}
.section-title.white { color: #fff; }

/* ===== NAVBAR ===== */
.site-navbar {
    background: var(--dark-bg);
    box-shadow: 0 2px 15px rgba(0,0,0,0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 4px 0;
}
.site-navbar .navbar-brand img {
    height: 90px;
    width: auto;
    image-rendering: -webkit-optimize-contrast;
    object-fit: contain;
}
/* Hamburger icon color for dark bg */
.site-navbar .navbar-toggler-icon {
    filter: invert(1);
}
.site-navbar .navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 0.55rem 1.1rem;
    transition: var(--transition);
    position: relative;
}
.site-navbar .navbar-nav .nav-link:hover {
    color: var(--primary);
}
.site-navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 600;
}
/* Dropdown caret color */
.site-navbar .dropdown-toggle::after {
    border-top-color: rgba(255,255,255,0.75);
}
.site-navbar .nav-contact-btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 26px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.2px;
}
.site-navbar .nav-contact-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(30,190,142,0.35);
}
/* Dropdown */
.site-navbar .dropdown-menu {
    background: #1a3533;
    border: 1px solid rgba(30,190,142,0.15);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 230px;
}
.site-navbar .dropdown-item {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.80);
    padding: 9px 20px;
    transition: var(--transition);
}
.site-navbar .dropdown-item:hover {
    background: rgba(30,190,142,0.12);
    color: var(--primary);
    padding-left: 26px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(29,59,58,0.82) 40%, rgba(29,59,58,0.3) 100%);
    z-index: 0;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-content { padding: 80px 0 60px; }
.hero-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
}
.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 18px;
}
.hero-text {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 480px;
}

/* Page hero (inner pages) */
.page-hero {
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(29,59,58,0.70);
    z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}
.page-hero-text {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    max-width: 680px;
    margin: 0 auto;
}

/* ===== QUOTE FORM (Hero floating) ===== */
.quote-form-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}
.quote-form-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
}
.quote-form-card .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    padding: 10px 14px;
    color: #555;
    transition: var(--transition);
}
.quote-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,190,142,0.12);
    outline: none;
}
.quote-form-card .form-control::placeholder { color: #aaa; }
.quote-form-card textarea { resize: none; }
.quote-form-card .btn-quote {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}
.quote-form-card .btn-quote:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== ABOUT SECTION ===== */
.about-section { padding: 80px 0; }
.about-img-wrap img {
    border-radius: var(--radius);
    width: 100%;
    height: 420px;
    object-fit: cover;
    box-shadow: var(--shadow);
}
.about-content { padding-left: 20px; }
.about-content .section-label { margin-bottom: 8px; }
.about-content .section-title { margin-bottom: 18px; }
.about-content p { color: #666; margin-bottom: 16px; font-size: 14px; }
.about-content .why-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.about-list li {
    font-size: 14px;
    color: #555;
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}
.about-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ===== FEATURES SECTION (Dark bg) ===== */
.features-section {
    background: var(--dark-bg);
    padding: 70px 0;
}
.features-section .section-label { color: var(--primary); }
.features-section .section-title { color: #fff; font-size: 1.7rem; }
.feature-card { text-align: center; padding: 20px 15px; }
.feature-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(30,190,142,0.15);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
    color: var(--primary);
    transition: var(--transition);
}
.feature-card:hover .feature-icon-box {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
}
.feature-card h5 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ===== SERVICES SECTION ===== */
.services-section { padding: 80px 0; }
.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.service-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}
.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}
.service-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 13px;
    color: #777;
    margin: 0;
}
.service-card a {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}
.service-card a:hover { text-decoration: underline; }

/* ===== TESTIMONIALS ===== */
.testimonial-section {
    background: var(--dark-bg);
    padding: 70px 0;
}
.testimonial-section .section-label { color: var(--primary); }
.testimonial-section .section-title { color: #fff; }
.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 35px 30px;
    text-align: center;
    margin: 10px 5px;
}
.testimonial-quote { font-size: 40px; color: var(--primary); line-height: 1; margin-bottom: 18px; }
.testimonial-text {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}
.testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.testimonial-role { font-size: 12px; color: var(--primary); font-weight: 500; }

/* Carousel arrows */
.testi-carousel { position: relative; }
.testi-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30,190,142,0.2);
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    font-size: 14px;
}
.testi-btn:hover { background: var(--primary); color: #fff; }
.testi-btn.prev { left: -50px; }
.testi-btn.next { right: -50px; }

/* ===== ACHIEVEMENT COUNTERS ===== */
.achievement-section { padding: 70px 0; background: #fff; }
.achievement-section .section-label { color: var(--primary); }
.achievement-counter { text-align: center; padding: 20px; }
.achievement-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.achievement-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.achievement-sub { font-size: 13px; color: #888; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--dark-bg);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 60px solid rgba(30,190,142,0.08);
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 350px; height: 350px;
    border-radius: 50%;
    border: 70px solid rgba(30,190,142,0.06);
}
.cta-section .cta-label { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 16px; }
.cta-section h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-section p { font-size: 14px; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 30px; position: relative; z-index: 1; }
.cta-section .btn-primary-custom { position: relative; z-index: 1; }

/* ===== WHAT WE DO / Services Inner ===== */
.what-we-do { padding: 80px 0; }
.what-we-do-imgs .img-top { border-radius: var(--radius); width: 100%; height: 220px; object-fit: cover; margin-bottom: 14px; }
.what-we-do-imgs .img-bottom { border-radius: var(--radius); width: 100%; height: 220px; object-fit: cover; }

/* ===== WHY CHOOSE (Numbered) ===== */
.why-choose-section { padding: 60px 0; }
.why-num {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.why-num p { font-size: 14px; color: #666; font-weight: 400; margin: 0; }

/* ===== INNER HERO (Service pages) ===== */
.service-hero {
    position: relative;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.service-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(29,59,58,0.9) 45%, rgba(29,59,58,0.4) 100%);
    z-index: 0;
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero-content { padding: 70px 0 50px; }

/* ===== TWO-COL CONTENT SECTION ===== */
.two-col-content { padding: 70px 0; }
.two-col-content .content-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.two-col-content .content-body h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}
.two-col-content .content-body p { font-size: 14px; color: #666; margin-bottom: 14px; }
.two-col-content .content-list li {
    font-size: 14px;
    color: #555;
    padding: 5px 0;
    padding-left: 22px;
    position: relative;
}
.two-col-content .content-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
}

/* ===== CONTACT FORM ===== */
.contact-form-section { padding: 70px 0; }
.contact-form-card {
    background: #f5f5f0;
    border-radius: var(--radius);
    padding: 40px 35px;
}
.contact-form-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.contact-form-card p { font-size: 13px; color: #777; margin-bottom: 24px; }
.contact-form-card .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    padding: 11px 15px;
    background: #fff;
    margin-bottom: 14px;
    transition: var(--transition);
}
.contact-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,190,142,0.12);
    outline: none;
}
.contact-form-card textarea { resize: none; height: 120px; }
.contact-form-card .form-check-label { font-size: 12px; color: #777; }
.contact-form-card .btn-send {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 6px;
}
.contact-form-card .btn-send:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Contact detail cards */
.contact-detail-section h6 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}
.contact-detail-section h2 { font-size: 1.6rem; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; }
.contact-detail-section p { font-size: 14px; color: #666; margin-bottom: 24px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.contact-icon-box {
    width: 46px;
    height: 46px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-info-item h6 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin: 0 0 4px; }
.contact-info-item p { font-size: 13px; color: #666; margin: 0; }

/* Map section */
.map-section { padding: 50px 0; }
.map-section h2 { font-size: 1.6rem; font-weight: 700; text-align: center; color: var(--text-dark); margin-bottom: 8px; }
.map-section p { text-align: center; color: #888; font-size: 14px; margin-bottom: 25px; }
.map-section iframe { border-radius: var(--radius); width: 100%; height: 400px; border: none; }

/* ===== SERVICES PAGE GRID ===== */
.services-grid { padding: 70px 0; }
.services-grid .service-block {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.services-grid .service-block:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-6px);
    border-color: var(--primary);
}
.services-grid .service-block .svc-icon {
    width: 70px; height: 70px;
    background: rgba(30,190,142,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}
.services-grid .service-block:hover .svc-icon { background: var(--primary); color: #fff; }
.services-grid .service-block h4 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.services-grid .service-block p { font-size: 13px; color: #777; margin-bottom: 18px; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-bg);
    padding: 60px 0 0;
    color: rgba(255,255,255,0.75);
}
.footer-logo img { 
    height: 105px; 
    margin-bottom: 0;
    image-rendering: -webkit-optimize-contrast;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 42px; height: 42px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary-dark); transform: translateY(-2px); }

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 36px; height: 2px;
    background: var(--primary);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    margin-top: 40px;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}
.footer-bottom a { color: var(--primary); font-weight: 600; }

/* ===== ALERT MESSAGES ===== */
.alert-success-custom {
    background: rgba(30,190,142,0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}
.alert-error-custom {
    background: rgba(220,53,69,0.08);
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .about-content { padding-left: 0; margin-top: 30px; }
    .testi-btn.prev { left: 0; }
    .testi-btn.next { right: 0; }
    .service-hero-content { padding: 50px 0 35px; }
}
@media (max-width: 767px) {
    .hero-title { font-size: 1.7rem; }
    .hero-section { min-height: 400px; }
    .achievement-number { font-size: 2rem; }
    .cta-section h2 { font-size: 1.5rem; }
    .page-hero-title { font-size: 1.7rem; }
    .quote-form-card { margin-top: 30px; }
    .footer-logo, .footer-social { justify-content: center; margin-bottom: 20px; }
    .footer-social { justify-content: center; }
}
@media (max-width: 575px) {
    .hero-title { font-size: 1.5rem; }
    .hero-content { padding: 60px 0 40px; }
    .two-col-content .content-img { height: 260px; }
}
