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

:root {
    --primary-color: #0b2b5e; /* Deep Navy Blue */
    --primary-light: #164085;
    --secondary-color: #d4af37; /* Academic Gold */
    --secondary-hover: #b8962e;
    --text-main: #1e293b;
    --text-muted: #475569;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    font-weight: 700;
}

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

a:hover {
    color: var(--secondary-color);
}

/* Utilities */
.section-padding {
    padding: 100px 0;
}
.bg-light-blue {
    background-color: var(--bg-light);
}
.text-gold {
    color: var(--secondary-color);
}
.text-navy {
    color: var(--primary-color);
}
.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--primary-color);
}
.btn-secondary-custom {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
}
.btn-secondary-custom:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background-color: var(--secondary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}
.section-title.left::after {
    left: 0;
    transform: none;
}
.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-header {
    padding: 160px 0 80px;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}
.page-header .section-title {
    margin-bottom: 10px;
}
.page-header .section-subtitle {
    margin-bottom: 0;
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}
.navbar-brand {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}
.navbar-brand span {
    color: var(--secondary-color);
}
.nav-link {
    font-weight: 500;
    color: var(--text-main) !important;
    margin: 0 5px;
    font-size: 15px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important;
}
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 15px 0;
}
.dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, rgba(11, 43, 94, 0.95), rgba(22, 64, 133, 0.9)), url('../images/hero_bg.png') center/cover no-repeat;
    padding: 160px 0 100px;
    color: var(--bg-white);
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.hero-title {
    color: var(--bg-white);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease;
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 45px;
    color: #f1f5f9;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease;
}
.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    animation: fadeInUp 1.4s ease;
    flex-wrap: wrap;
}
.hero-badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-badge i {
    color: var(--secondary-color);
}
.hero-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    animation: fadeInRight 1.5s ease;
    color: var(--text-main);
}
.hero-image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Services */
.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.service-card:hover::before {
    height: 100%;
}
.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background-color: rgba(255,255,255,0.1);
    color: var(--secondary-color);
}
.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    transition: var(--transition);
}
.service-card:hover h4 {
    color: var(--bg-white);
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover p {
    color: #e2e8f0;
}
.service-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}
.service-card:hover .service-link {
    color: var(--secondary-color);
}

/* Subjects */
.subject-pill {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 18px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    margin: 10px;
    transition: var(--transition);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}
.subject-pill i {
    color: var(--primary-color);
    font-size: 20px;
}
.subject-pill:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.subject-pill:hover i {
    color: var(--secondary-color);
}

/* How It Works */
.work-step {
    text-align: center;
    position: relative;
    padding: 20px;
}
.work-step::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 40px;
    right: -15px;
    font-size: 24px;
    color: var(--border-color);
}
.col-lg-3:last-child .work-step::after {
    display: none;
}
.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-family: 'Merriweather', serif;
    font-weight: 900;
    margin-bottom: 20px;
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}
.work-step h5 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.work-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Features / Trust */
.trust-list {
    list-style: none;
    padding: 0;
}
.trust-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.trust-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(11, 43, 94, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.trust-list h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.trust-list p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin: 15px;
}
.stars {
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
}
.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.client-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.client-details h6 {
    margin: 0;
    color: var(--primary-color);
}
.client-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 80px 0 20px;
}
.footer-logo {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--bg-white);
    margin-bottom: 20px;
    display: inline-block;
}
.footer-logo span {
    color: var(--secondary-color);
}
.footer-desc {
    color: #cbd5e1;
    margin-bottom: 25px;
    font-size: 0.95rem;
}
.footer-title {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--secondary-color);
}
.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #cbd5e1;
    margin-bottom: 15px;
}
.footer-contact i {
    color: var(--secondary-color);
    margin-top: 5px;
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.1);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Call to Action Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    padding: 50px;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '\f19d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 200px;
    color: rgba(255,255,255,0.05);
}

/* Responsive Adjustments */
.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(11, 43, 94, 0.1);
    border-color: var(--primary-color);
    outline: none;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-white);
        padding: 20px;
        border-radius: 8px;
        box-shadow: var(--shadow-md);
        margin-top: 15px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-section {
        padding: 140px 0 80px;
    }
    .page-header {
        padding: 120px 0 60px;
    }
    .section-padding {
        padding: 60px 0;
    }
    .work-step::after {
        display: none;
    }
}
