/* ==========================================================================
   2RTUTOR.COM STYLESHEET - V2
   ========================================================================== */

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Open Sans', Arial, 'Helvetica Neue', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #F6EAC8;
}

/* TYPOGRAPHY */
h1 {
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -1px;
    color: #1a1a1a;
    margin-bottom: 16px;
}

h2 {
    font-size: 31px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

h3 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

p {
    margin-bottom: 32px;
}

/* Remove bottom margins from paragraphs inside sections for consistent spacing */
section p {
    margin-bottom: 0;
}

/* Add back spacing between paragraphs within the same section */
section p + p {
    margin-top: 32px;
}

section .approach-section p,
section .service p {
    margin-bottom: 0;
}

a {
    color: #1B3424;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #898F65;
}

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Removed global section padding - now set explicitly per section */

/* Remove ALL bottom margins from last elements in sections */
section .container > *:last-child,
section .container > *:last-child *:last-child,
section .container .approach-section:last-of-type,
section .container .service:last-of-type,
section .container p:last-child,
section .container .philosophy-link:last-child {
    margin-bottom: 0 !important;
}

.white-bg {
    background-color: #F6EAC8;
}

.green-bg {
    background-color: #1B3424;
    color: white;
}

.green-bg p,
.green-bg h3 {
    color: white;
}

.green-bg a {
    color: white;
    text-decoration: underline;
}

/* Ensure consistent vertical spacing */
#hero {
    padding: 0;
    border-bottom: none;
}

#cta {
    background-color: #F6EAC8;
    padding: 60px 0 30px 0;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    width: 240px;
    font-size: 14px;
    font-weight: 600;
    background-color: #1B3424;
    color: white;
    border: 2px solid #1B3424;
    border-radius: 0;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #BCD4E8;
    border-color: #BCD4E8;
    color: #1B3424;
}

/* TOP BANNER */
.top-banner {
    background-color: #1B3424;
    padding: 12px 0;
    border-bottom: none;
}

.top-banner .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.logo {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.logo-stripe {
    display: block;
    height: 5px;
    background-color: #BCD4E8;
    margin-top: 1px;
}

.logo .two {
    color: #F6EAC8;
}

.logo .r {
    color: #F6EAC8;
}

.tagline-text {
    font-size: 14px;
    color: white;
    font-weight: 600;
    flex-grow: 1;
    display: flex;
    justify-content: space-around;
}

/* HERO BANNER */
#hero {
    background-image: url('images/hero-banner-v7.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background-color: rgba(246, 234, 200, 0.70);
    padding: 30px 60px;
    text-align: left;
    border-radius: 0;
    position: absolute;
    right: 80px;
    bottom: 60px;
    max-width: 600px;
}

.hero-overlay h1 {
    font-size: 48px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 8px;
    white-space: nowrap;
}

.subtitle {
    font-size: 20px;
    color: #1a1a1a;
    font-weight: 400;
    margin: 0;
}

/* INTRO SECTION */
#intro {
    text-align: center;
    background-color: #F6EAC8;
    padding: 30px 0 60px 0;
}

#intro p {
    color: #1a1a1a;
}

.intro-text {
    font-size: 19px;
    line-height: 1.7;
    max-width: 820px;
    margin: 0 auto;
}

/* ABOUT SECTION */
#about {
    padding: 60px 0;
}

#about p {
    font-size: 15px;
    line-height: 1.7;
}

#about p + p {
    margin-top: 32px;
}

/* APPROACH SECTION */
#approach {
    padding: 60px 0;
}

.approach-section {
    margin-bottom: 40px;
}

.philosophy-link {
    margin-top: 32px;
}

.text-link {
    font-size: 15px;
    font-weight: 600;
}

.text-link:hover {
    color: #898F65;
}

/* SERVICES SECTION */
.service-grid {
    max-width: 800px;
}

.service {
    margin-bottom: 50px;
}

.service:last-of-type {
    margin-bottom: 0;
}

.service h3 {
    margin-bottom: 12px;
}

.service p {
    font-size: 15px;
    line-height: 1.6;
}

.package-note {
    margin-top: 50px;
    margin-bottom: 0;
    font-size: 15px;
    font-style: italic;
}

#services {
    padding: 60px 0;
}

/* CONTACT SECTION */
#contact {
    text-align: center;
    padding: 60px 0;
    background-color: #F6EAC8;
}

.contact-info {
    margin-bottom: 32px;
}

.contact-info p {
    font-size: 15px;
    margin-bottom: 8px;
}

.contact-info a {
    color: #1B3424;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #898F65;
}

.social {
    margin-top: 24px;
}

.social a {
    color: #1B3424;
    transition: color 0.3s ease;
}

.social a:hover {
    color: #898F65;
}

.copyright {
    font-size: 12px;
    color: #1a1a1a;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .container {
        padding: 0 24px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .top-banner .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .tagline-text {
        font-size: 14px;
        padding-bottom: 8px;
    }
    
    /* Ensure phone number has no underline in mobile */
    .contact-info p {
        text-decoration: none;
    }
    
    #hero {
        height: 400px;
    }
    
    .hero-overlay {
        padding: 20px 30px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .btn {
        display: block;
        margin: 8px auto;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    #hero {
        height: 250px;
        background-position: 15% center;
    }
    
    .hero-overlay {
        padding: 12px 20px;
        right: 10px;
        bottom: 10px;
        left: auto;
        max-width: 220px;
    }
    
    .hero-overlay h1 {
        font-size: 28px;
        white-space: normal;
    }
    
    .tagline-text {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding-bottom: 8px;
    }
    
    .tagline-text span {
        display: block;
    }
    
    /* Remove underline from phone number in mobile */
    .contact-info p {
        text-decoration: none;
    }
    
    .subtitle {
        font-size: 13px;
    }
}
