@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&display=swap');
:root {
    --bg: #061230;
    --text: #eef3ff;
    --muted: #b8c3e5;
    --primary: #d9b35b;
    --primary-dark: #bc912f;
    --secondary: #0f2f7e;
    --card: #0b2260;
    --border: #2c4486;
    --shadow: 0 14px 36px rgba(2, 8, 24, 0.45);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 30% 0%, #1748aa 0%, #0c2d78 24%, #081f57 45%, #061230 72%, #050b1d 100%);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

/* 2. Style the brand container */
.brand.fancy-logo {
  display: flex;
  align-items: baseline;
  gap: 8px; /* Space between the two words */
  text-decoration: none;
}
.logo-img {
  height: 42px; 
  width: auto;
  object-fit: contain;
  transform: translateY(9px);
  
  /* drop-shadow values: 
    0 (X-offset: no horizontal movement)
    12px (Y-offset: pushes the shadow DOWN)
    18px (Blur radius: makes it soft so it "blends")
    rgba(212, 175, 55, 0.5) (Your #d4af37 gold color converted to rgb, with 50% opacity so it glows instead of looking like a solid block)
  */
  filter: drop-shadow(0 12px 18px rgba(212, 175, 55, 0.5)); 
}
/* Example for your main header container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* This is the key change */
}

/* 3. Style the first word ("Oxford") */
.logo-word-1 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff; /* Crisp White */
  letter-spacing: 1px;
}

/* 4. Style the second word ("Tutors") */
.logo-word-2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #d4af37; /* Elegant Gold */
  font-style: italic; /* Gives it a stylized, premium look */
}

/* Add a subtle hover effect */
.brand.fancy-logo:hover .logo-word-2 {
  color: #ffffff;
  transition: color 0.3s ease;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.section {
    padding: 64px 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(8, 24, 66, 0.6) 0%, rgba(6, 18, 48, 0.7) 100%);
}

.top-bar {
    background: linear-gradient(90deg, #bb8d2f 0%, #e6c76d 52%, #bb8d2f 100%);
    color: #201a0c;
    font-size: 0.9rem;
    font-weight: 600;
}

.top-bar-inner {
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-bar i {
    margin-right: 7px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(4, 16, 50, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav a {
    font-size: 0.96rem;
    color: #d9e5ff;
    font-weight: 500;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
    background: linear-gradient(120deg, #be9035 0%, #e5c971 50%, #b5852f 100%);
    color: #1f1a0f;
}

.btn-primary:hover {
    background: linear-gradient(120deg, #a87a24 0%, #d2b45c 50%, #9f7424 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(216, 179, 92, 0.3);
}

.btn-light {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border);
    color: #fff;
}

.btn-light:hover {
    border-color: #4d69b8;
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-2px);
}

.hero {
    padding: 72px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: flex-start;
}

/* --- Hero Section Specific Additions --- */

.highlight-text {
    border-left: 4px solid var(--primary); /* Uses your gold variable */
    padding: 15px 15px 15px 18px;
    margin: 22px 0;
    /* Soft gold background using rgb equivalent of #d9b35b */
    background: rgba(217, 179, 91, 0.05); 
    border-radius: 0 6px 6px 0;
}

.highlight-text p {
    margin-top: 6px;
}

.hero-details {
    margin-bottom: 28px;
}

.hero-details p {
    margin-bottom: 8px;
}

/* Custom 2x2 grid for the hero stats */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
}
.hero-stats-grid .stat-item {
    padding: 12px 16px;  /* Reduced from global 20px padding */
}

.eyebrow {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    line-height: 1.15;
    margin: 12px 0 18px;
}

.hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 60ch;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-card {
    background: linear-gradient(180deg, #0f2d78 0%, #0a1f55 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-card h3 {
    margin-bottom: 12px;
    color: #f2d377;
}

.bold {
    font-weight: 600;
    color: #f2c357;
}
.hero-card ul {
    display: grid;
    gap: 10px;
}

.hero-card li {
    color: var(--muted);
    padding-left: 22px;
    position: relative;
}

.hero-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f2c357;
    position: absolute;
    left: 0;
    top: 2px;
}

.hero-media {
    margin-top: 18px;
}

.hero-media img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #3957a7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-item {
    background: linear-gradient(180deg, #0f2d78 0%, #0a1f55 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.stat-item h2 {
    color: #f4d67f;
    font-size: 2rem;
}

.stat-item p {
    font-size: 0.92rem;
    color: var(--muted);
}

.section-head {
    margin-bottom: 30px;
}

.section-head h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    color: #f1d173;
}

.section-head p {
    margin-top: 8px;
    color: var(--muted);
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card,
.quote,
.stat-item,
.panel,
.mini-card {
    background: linear-gradient(180deg, #0f2c75 0%, #0a2057 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.quote:hover,
.panel:hover,
.stat-item:hover,
.mini-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.card i {
    color: var(--primary);
    font-size: 1.3rem;
}

.card h3 {
    margin: 10px 0 8px;
    color: #f2d377;
}

.card p,
.quote p {
    color: var(--muted);
    font-size: 0.95rem;
}

.card a {
    color: #f2d377;
    font-weight: 600;
    margin-top: 14px;
    display: inline-block;
}

.quote h4 {
    margin-top: 12px;
    color: #f2d377;
}

.cta-panel {
    background: linear-gradient(120deg, #0e2b73 0%, #214199 50%, #19357f 100%);
    color: #fff;
    padding: 32px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px solid #3c58a8;
}

.cta-panel p {
    opacity: 0.92;
}

.cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cta-panel .btn-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

.site-footer {
    background: #040d26;
    color: #bfc7de;
    padding: 56px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
}

.footer-brand {
    color: #fff;
}

.site-footer h4 {
    color: #f2d377;
    margin-bottom: 10px;
}

.site-footer li {
    margin-bottom: 7px;
}

.site-footer a:hover {
    color: #fff;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 0.9rem;
    color: #e7ecff;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.city-card {
    background: linear-gradient(180deg, #0f2c75 0%, #0a2057 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
}

.city-card h3 {
    color: #f2d377;
    margin-bottom: 8px;
}

.map-wrap {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    min-height: 320px;
    background: #0a2056;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.copyright {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    font-size: 0.92rem;
}

.page-hero {
    padding: 56px 0 34px;
    background: linear-gradient(180deg, rgba(203, 159, 63, 0.12) 0%, rgba(9, 28, 74, 0) 100%);
}

.page-hero h1 {
    margin-bottom: 10px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
}

.panel {
    background: linear-gradient(180deg, #0f2c75 0%, #0a2057 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
}

.panel h2,
.panel h3 {
    margin-bottom: 10px;
    color: #f2d377;
}

.panel p,
.panel li {
    color: var(--muted);
}

.panel ul {
    list-style: disc;
    padding-left: 18px;
}

.panel li {
    margin: 8px 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.mini-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
}

.contact-form {
    display: grid;
    gap: 10px;
}

input,
textarea {
    width: 100%;
    border: 1px solid #3a56a3;
    border-radius: 10px;
    padding: 12px;
    font: inherit;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

input::placeholder,
textarea::placeholder {
    color: #c0cdef;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- Academic Excellence Custom Additions --- */
.academic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.class-item, 
.subject-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text); /* Uses your global light text color */
    font-size: 0.95rem;
}

/* Make icons gold to match the premium theme */
.class-item i, 
.subject-item i {
    color: var(--primary); 
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
}

/* Smaller arrows for the classes list */
.class-item i {
    font-size: 0.7rem;
}

.academic-note {
    margin-top: 26px;
    font-size: 0.85rem;
    color: var(--muted) !important;
    font-style: italic;
}


/* Ensure the hero stats stack neatly on mobile */
@media (max-width: 600px) {
    .hero-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* On very small screens, make the internal lists single-column */
@media (max-width: 600px) {
    .academic-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 980px) {
    .desktop-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;
        right: 4%;
        top: 80px;
        width: min(360px, 92%);
        background: #0a215a;
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        border-radius: 12px;
        padding: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.open {
        display: flex;
    }

    .hero-grid,
    .content-grid,
    .cards-3,
    .stats-grid,
    .footer-grid,
    .contact-cards,
    .cta-panel,
    .city-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .top-bar-inner {
        flex-direction: column;
        justify-content: center;
        padding: 8px 0;
        gap: 4px;
    }
}
