/* ======================================== */
/* ONWARD COUNSELING - CLEAN, MODERN CSS   */
/* ======================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e7dd 100%);
    min-height: 100vh;
}

/* ======================================== */
/* HEADER & NAVIGATION                      */
/* ======================================== */

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

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

.tagline {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

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

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
}

/* ======================================== */
/* MAIN LAYOUT                              */
/* ======================================== */

main {
    margin-top: 140px; /* Account for fixed header with logo */
}

.page-overlay {
    min-height: calc(100vh - 120px);
}

/* ======================================== */
/* SECTIONS                                 */
/* ======================================== */

section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ======================================== */
/* HERO SECTION                             */
/* ======================================== */

.hero {
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    margin: 0 auto;
    border-radius: 0 0 2rem 2rem;
    max-width: 1200px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ======================================== */
/* BUTTONS                                  */
/* ======================================== */

.btn-primary {
    display: inline-block;
    background: #0d6efd;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* ======================================== */
/* ABOUT SECTION                            */
/* ======================================== */

.about-section {
    background: white;
    margin: 2rem auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.specializations {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.specializations h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.specializations ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.specializations li {
    color: #7f8c8d;
    font-size: 1rem;
}

.about-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ======================================== */
/* SERVICES SECTION                         */
/* ======================================== */

.services {
    background: white;
    margin: 2rem auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

.services h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
}

.service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.service-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* ======================================== */
/* CONTACT SECTION                          */
/* ======================================== */

.contact-section {
    background: white;
    margin: 2rem auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.contact-form-wrapper {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e9ecef;
}

.contact-form-wrapper h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    transform: translateY(-1px);
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

.contact-info-wrapper {
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    height: fit-content;
    max-width: 600px;
    width: 100%;
}

.contact-info-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

.contact-details a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-details a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ======================================== */
/* FOOTER                                   */
/* ======================================== */

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

/* ======================================== */
/* RESPONSIVE DESIGN                        */
/* ======================================== */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    main {
        margin-top: 160px; /* Account for taller mobile header */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    .services {
        padding: 2rem;
    }
    
    .contact-section {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .about-text h2,
    .services h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .specializations ul {
        grid-template-columns: 1fr;
    }
}