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

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

body {
    font-family: Georgia, Times, serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

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

/* Header */
header {
    background: #085b75;
    color: white;
    padding: 1rem 0;
    position: relative;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

@media (max-width: 768px) {
    nav {
        justify-content: center;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 120px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #FFEDED;
    text-decoration: none;
    font-family: Georgia, Times, serif;
    font-weight: normal;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0d68ae;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #085b75;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    border-radius: 5px;
}

.dropdown-content a {
    color: #FFEDED;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 237, 237, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #0d68ae;
    color: #FFEDED;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: #085b75 !important;
    border: 2px solid #FFEDED;
    cursor: pointer;
    padding: 8px;
    width: 42px;
    height: 37px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    justify-content: space-around;
    align-items: center;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    visibility: hidden;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 22px;
    background-color: #FFEDED;
    margin: 1px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus-visible,
.mobile-menu-toggle:focus-within,
.mobile-menu-toggle.active {
    background: #085b75 !important;
    background-color: #085b75 !important;
    outline: none !important;
    border: 2px solid #FFEDED !important;
}

.mobile-menu-toggle span {
    background-color: #FFEDED !important;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        visibility: visible;
        z-index: 1001;
        background: #085b75 !important;
        background-color: #085b75 !important;
    }
    
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:focus,
    .mobile-menu-toggle:active,
    .mobile-menu-toggle:focus-visible,
    .mobile-menu-toggle:focus-within,
    .mobile-menu-toggle.active {
        background: #085b75 !important;
        background-color: #085b75 !important;
        outline: none !important;
        border: 2px solid #FFEDED !important;
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }
    
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #085b75;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 20px 20px;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.mobile-active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 237, 237, 0.2);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        width: 100%;
        font-size: 1.1rem;
    }
    
    .dropdown-content {
        position: static;
        display: block;
        background: #085b75;
        box-shadow: none;
        border-radius: 0;
        margin-left: 15px;
        margin-top: 10px;
        padding: 10px 0;
    }
    
    .dropdown-content a {
        padding: 10px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 237, 237, 0.1);
    }
    
    .logo-image {
        height: 80px;
    }
}

/* Hero Section */
.hero {
    background: #085b75;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.hero-home {
    padding: 0 0 80px 0;
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: bold;
    font-family: Georgia, Times, serif;
    color: #FFEDED;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.cta-button {
    display: inline-block;
    background: #FFEDED;
    color: #085b75;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid #FFEDED;
}

.cta-button:hover {
    background: transparent;
    color: #FFEDED;
    border-color: #FFEDED;
}

.cta-button-alt {
    background: #085b75;
    color: #FFEDED;
    border-color: #085b75;
}

.cta-button-alt:hover {
    background: #FFEDED;
    color: #085b75;
    border-color: #085b75;
}

/* Features Section */
.features {
    padding: 0;
    background: linear-gradient(to bottom, #085b75 35%, #FFEDED 35%);
    position: relative;
    margin-top: -60px;
    padding-bottom: 40px;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: white;
    padding: 2rem 4rem;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 10px;
}

.feature-icon {
    margin-bottom: 1rem;
    color: #085b75;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    color: #085b75;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    color: #085b75;
    font-size: 1rem;
    line-height: 1.5;
}

/* Bespoke Service Section */
.bespoke-service {
    padding: 40px 0 20px 0;
    background: #FFEDED;
    text-align: center;
}

.about-text {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text p {
    color: #085b75;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.about-text h3 {
    color: #085b75;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h4 {
    color: #085b75;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-text ul {
    color: #085b75;
    margin-bottom: 1.5rem;
}

.about-text li {
    color: #085b75;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.hero-11plus h1 {
    font-family: "Times New Roman", Times, serif;
}

.bespoke-service h2 {
    color: #085b75;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.about-text h2 {
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-description {
    font-size: 1.1rem;
    color: #085b75;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    line-height: 1.4;
}

.service-support {
    font-size: 1.1rem;
    color: #085b75;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Testimonials Section */
.testimonials {
    padding: 20px 0 80px 0;
    background: #FFEDED;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #085b75;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.testimonial-card p {
    color: #085b75;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-card p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    padding: 40px 0 80px 0;
    background: #FFEDED;
    text-align: center;
}

.contact-intro {
    font-size: 1.1rem;
    color: #085b75;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.4;
    text-align: center;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #085b75;
    font-size: 1rem;
}

.required {
    color: #d32f2f;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: Georgia, Times, serif;
    background: white;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #085b75;
    box-shadow: 0 0 0 2px rgba(8, 91, 117, 0.1);
}


.submit-button {
    background: #085b75;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: block;
    margin: 2rem auto 0;
}

.submit-button:hover {
    background: #0d68ae;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Services Cards Section */
.services-cards {
    padding: 40px 0;
    background: #FFEDED;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    color: #085b75;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #085b75;
    font-size: 1rem;
    line-height: 1.5;
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
}

.services-summary {
    text-align: center;
    font-size: 1.1rem;
    color: #085b75;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Admissions Areas Section */
.admissions-areas,
.interview-areas {
    padding: 40px 0;
    background: #FFEDED;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.area-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.area-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.area-card h3 {
    color: #085b75;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.area-card p {
    color: #085b75;
    font-size: 1rem;
    line-height: 1.5;
}

/* Mock Interviews Section */
.mock-interviews {
    padding: 40px 0 80px 0;
    background: #FFEDED;
    text-align: center;
}

/* Subjects Section */
.subjects-section {
    padding: 40px 0;
    background: #FFEDED;
    text-align: center;
}

.subjects-section h2 {
    color: #085b75;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.subjects-expandable {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.subjects-checkbox {
    display: none;
}

.subjects-toggle {
    display: inline-block;
    background: #085b75;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.subjects-toggle:hover {
    background: #0d68ae;
}

.subjects-list {
    display: none;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: left;
    margin-top: 1rem;
}

.subjects-checkbox:checked + .subjects-toggle + .subjects-list {
    display: block;
}

.subjects-checkbox:checked + .subjects-toggle::after {
    content: " ▲";
}

.subjects-toggle::after {
    content: " ▼";
}

.subjects-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.subjects-column h4 {
    color: #085b75;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #085b75;
    padding-bottom: 0.25rem;
}

.subjects-column ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.subjects-column li {
    margin-bottom: 0.25rem;
}

.subjects-column a {
    color: #085b75;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.subjects-column a:hover {
    color: #0d68ae;
    text-decoration: underline;
}

.subjects-note {
    text-align: center;
    color: #085b75;
    font-size: 1rem;
    margin-top: 1rem;
}

.subjects-note a {
    color: #0d68ae;
    text-decoration: none;
}

.subjects-note a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .services-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .subjects-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-text {
        padding: 0 30px;
    }
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #085b75;
    margin-bottom: 3rem;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #085b75;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: Georgia, Times, serif;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0274be;
    box-shadow: 0 0 0 2px rgba(2, 116, 190, 0.1);
}

button {
    background: #0274be;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

button:hover {
    background: #0d68ae;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background: #085b75;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-left p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-family: Georgia, Times, serif;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0d68ae;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 15px;
        margin: 0 10px;
    }
    
    h1, h2, h3 {
        padding: 0 15px;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* General body text padding on mobile */
    p, .feature-card, .service-card, .testimonial-card, main {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Homepage hero spacing */
    .hero-home .hero-content h1 {
        margin-bottom: 30px;
    }
    
    .hero-home .cta-button {
        margin-top: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}