:root {
    --navy: #1A2A4A;
    --teal: #4AAFB9;
    --teal-light: #7CCAD3;
    --cream: #F5F5DC;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--navy);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.3s;
}

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

ul, ol {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    width: 80px;
    height: 80px;
    margin-right: 1rem;
    border-radius: 5px;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--navy);
}

.logo-text p {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: var(--teal);
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    margin-bottom: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--navy);
    font-weight: 600;
    padding-bottom: 0.15rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--teal);
    border-bottom: 2px solid var(--teal);
}

.icon {
  display: none;
  cursor: pointer;
}

/*.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
}*/

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    padding: 4rem 0;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

.hero-padding {
    padding-bottom: 10rem;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--teal);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--teal);
}

.btn:hover {
    background-color: var(--teal-light);
    color: white;
    border-color: var(--teal-light);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

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

.btn-secondary:hover {
    background-color: #2a3a5a;
    border-color: #2a3a5a;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: var(--teal);
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

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

/* Counsellor Preview */
.counsellor-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.counsellor-preview-image {
    flex: 1;
    min-width: 300px;
}

.counsellor-preview-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.counsellor-preview-content {
    flex: 1;
    min-width: 300px;
}

.counsellor-preview-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Space Preview */
.space-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.space-preview-content {
    flex: 1;
    min-width: 300px;
    color: white;
}

.space-preview-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.space-preview-gallery {
    flex: 1;
    min-width: 300px;
}

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

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Steps */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 2rem 0;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--teal);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    background-color: rgba(26, 42, 74, 0.8);
    color: white;
    padding: 0.5rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

/* Counsellor Cards */
.counsellor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.counsellor-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.counsellor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.counsellor-image {
    height: 250px;
    overflow: hidden;
}

.counsellor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.counsellor-card:hover .counsellor-image img {
    transform: scale(1.05);
}

.counsellor-info {
    padding: 1.5rem;
}

.counsellor-info h3 {
    margin-bottom: 0.5rem;
}

.counsellor-title {
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 1rem;
}

.counsellor-specialties {
    margin-top: 1rem;
}

.specialty-tag {
    display: inline-block;
    background-color: var(--gray-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Filters */
.filter-container {
    margin-bottom: 2rem;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-option {
    background-color: var(--gray-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-option:hover, .filter-option.active {
    background-color: var(--teal);
    color: white;
}

/* Contact Form */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--teal);
    margin-right: 1rem;
    min-width: 30px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Intake Form */
.intake-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--gray-light);
    border-radius: 8px;
}

.form-section h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--teal);
}

.checkbox-group, .radio-group {
    margin-bottom: 1rem;
}

.checkbox-label, .radio-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.checkbox-label input, .radio-label input {
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--navy);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
}

.footer-heading {
    color: white;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--teal);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--teal);
}

.footer-contact a {
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--teal);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive */
@media screen and (max-width: 768px) {

    .icon {
        float: right;
        display: block;
        position:absolute;
        top:30px;
        right:30px;
        z-index: 9999;
    }

    .topnav.show {
        position: fixed;
        top: 0px;
        right: 0px;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        z-index: 1000;
    }
    .topnav.show a {
        float: right;
        display: block;
        text-align: left;
    }
    
    .topnav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 2rem;
    }

    nav ul li {
        margin: 1rem 0;
    }

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

    .section-title h2 {
        font-size: 1.8rem;
    }

    .counsellor-preview, .space-preview {
        flex-direction: column;
    }

    .steps-container {
        flex-direction: column;
    }

    .step {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

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

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

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

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

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}
