:root {
    /* Brand palette */
    --primary-color: #077A7D; /* teal */
    --secondary-color: #06202B; /* navy/dark */
    --accent-color: #7AE2CF; /* mint */
    --light-grey: #f8f9fa;
    --off-white: #F5EEDD; /* beige */
    --text-color: #1e2a32;
    --heading-font: 'Lato', 'Helvetica Neue', 'Arial', sans-serif;
    --body-font: 'Helvetica Neue', 'Arial', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: background-color 0.3s ease-in-out;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.hero {
    color: white;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(6, 32, 43, 0.88), rgba(7, 122, 125, 0.75));
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.bg-light {
    background-color: var(--light-grey) !important;
}

.bg-off-white {
    background-color: var(--off-white) !important;
}

#about .icon {
    font-size: 3rem;
    color: var(--primary-color);
}

#services .card, #about .card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services .card:hover, #about .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

#success .carousel-item {
    padding: 40px 0;
}

#success .testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    padding: 30px;
    max-width: 760px;
    margin: auto;
    border-top: 4px solid var(--accent-color);
}

#success .professor-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

#success .carousel-control-prev-icon, #success .carousel-control-next-icon {
    background-color: var(--secondary-color);
    border-radius: 50%;
    padding: 20px;
}

#process .step {
    text-align: center;
}

#process .step .icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

#process .step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}

#contact .contact-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

#contact .form-control {
    border-radius: 0;
    padding: 15px;
}

#contact .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

footer {
    background-color: var(--secondary-color);
}

footer a:hover {
    text-decoration: underline !important;
}

footer .btn-floating {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

footer .btn-floating:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Testimonials Grid (Professors We've Helped) */
.ts-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    padding: 32px 24px 28px;
    border-top: 6px solid var(--accent-color);
}
.ts-avatar {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    overflow: hidden;
}
.ts-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}
.ts-body { margin-top: 24px; }
.ts-quote { color: var(--accent-color); font-size: 28px; line-height: 1; }
.ts-text { color: #3a4b56; min-height: 84px; }
.ts-divider { width: 56px; height: 3px; background: var(--accent-color); opacity: .8; margin: 10px auto 14px; border-radius: 2px; }
.ts-name { color: var(--secondary-color); font-weight: 700; }

@media (max-width: 575.98px) {
    .ts-text { min-height: auto; }
}
