:root {
    --primary: #1f3b57;
    --secondary: #e07a3f;
    --dark: #1a1a1a;
    --light: #f4f6f8;
    --white: #ffffff;
    --text: #333333;
    --border: #e0e0e0;
}

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

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navigation Header */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo-img {
    height: 60px;
    width: auto;
}

.company-info h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0;
}

.company-info p {
    color: var(--secondary);
    font-size: 0.85rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0052a3 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e55a1f;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--light);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: var(--white);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.service-card li:last-child {
    border-bottom: none;
}

/* Why Choose Us */
.why-choose {
    padding: 4rem 0;
    background-color: var(--light);
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.info-card i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card a {
    color: var(--primary);
    font-weight: 600;
}

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

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0.5rem 0;
}

.tagline {
    color: var(--secondary);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about h2,
    .services h2,
    .why-choose h2,
    .contact h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .about-grid,
    .features-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 45px;
    }

    .company-info h2 {
        font-size: 1.2rem;
    }

    .nav-wrapper {
        padding: 0.8rem 0;
    }
}

/* Contact page uses Times New Roman; all other pages use Georgia (body rule above) */
body.page-contact,
body.page-contact button {
    font-family: 'Times New Roman', Times, serif;
}

/* ===== Multi-page layout ===== */
.nav-menu a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 2px;
}

.logo { text-decoration: none; }

main { display: block; }

.section {
    padding: 4rem 0;
    background-color: var(--white);
}

.section-alt {
    background-color: var(--light);
}

.section-heading {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.hero-split {
    background-color: var(--light);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}

.hero-split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-buttons { justify-content: flex-start; }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-primary { background-color: var(--secondary); }
.btn-primary:hover { background-color: #c96a33; }

.page-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    display: block;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem;
    color: var(--text);
}

a.card:hover {
    border-color: var(--primary);
    transform: none;
    text-decoration: none;
}

.card-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: block;
}

.card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.card-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.cta {
    text-align: center;
}

.cta h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta p {
    margin-bottom: 1.5rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split p {
    margin-bottom: 1rem;
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.check-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.check-list li {
    padding: 0.75rem 0 0.75rem 1.75rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.2rem;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.service-list {
    display: grid;
    gap: 2.5rem;
}

.service-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.service-row:last-child { border-bottom: none; }

.service-row h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.service-row-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.service-row-icon {
    font-size: 4rem;
    color: var(--primary);
    display: block;
    text-align: center;
    width: 100%;
    padding: 2rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

.detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail i {
    font-size: 1.5rem;
    color: var(--secondary);
    width: 2rem;
    margin-top: 0.25rem;
}

.detail h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.detail a {
    color: var(--primary);
    font-weight: 600;
}

.navbar { border-bottom: 1px solid var(--border); box-shadow: none; }

footer {
    background-color: var(--primary);
    margin-top: 0;
}

@media (max-width: 900px) {
    .hero-split-inner,
    .split,
    .contact-layout,
    .service-row {
        grid-template-columns: 1fr;
    }

    .service-row-image { max-width: 320px; }

    .hero-text h1 { font-size: 2rem; }

    .page-header h1 { font-size: 1.8rem; }
}

/* ===== Academic page ===== */
.levels-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.level-card {
    text-align: center;
}

.fields {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.chip {
    display: inline-block;
    padding: 0.45rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.95rem;
}

.notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--light);
    border-left: 3px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
}

.notice i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.notice p {
    margin: 0;
}

/* ===== Social buttons ===== */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: 4px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
}

.social-btn i {
    font-size: 1.25rem;
    color: var(--white);
}

.social-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    text-decoration: none;
}

.social-whatsapp { background-color: #25d366; }
.social-linkedin { background-color: #0a66c2; }

/* ===== Contact form and notes ===== */
.form-heading {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.response-note {
    background: var(--light);
    border-left: 3px solid var(--secondary);
    padding: 0.85rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}

.response-note i {
    color: var(--secondary);
    margin-right: 0.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form select {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    color: var(--text);
}

.coverage {
    margin-top: 0.25rem;
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ===== Stats, team, process ===== */
.section-heading.left { text-align: left; }

.stats {
    background-color: var(--primary);
    color: var(--white);
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 2rem;
    color: var(--text);
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.team-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.step {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--secondary);
    border-radius: 6px;
    padding: 1.5rem;
}

.step-num {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Print Styles */
@media print {
    .navbar,
    footer {
        display: none;
    }
}
