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

:root {
    --primary-green: #22572D;
    --accent-yellow: #F8D210;
    --highlight-orange: #FF7F00;
    --dark-gray: #333333;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --green-hover: #1a4524;
    --orange-hover: #E66E00;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

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

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

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

.logo img {
    height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.nav-desktop {
    display: none;
}

.nav-desktop ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-desktop a {
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-desktop a:hover::after {
    width: 100%;
}

.nav-desktop a:hover {
    color: var(--primary-green);
}

.btn-cta {
    background: var(--highlight-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    background: var(--orange-hover);
    transform: scale(1.02);
}

.btn-cta:active {
    transform: scale(0.98);
}

.btn-cta:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s ease;
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-green);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.nav-overlay ul {
    text-align: center;
}

.nav-overlay li {
    margin: 20px 0;
}

.nav-overlay a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-overlay a:hover {
    color: var(--accent-yellow);
}

.nav-overlay .cta-phone {
    margin-top: 30px;
    color: var(--accent-yellow);
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-overlay .cta-email {
    margin-top: 10px;
    color: var(--white);
    font-size: 1rem;
}

.nav-overlay .btn-cta {
    margin-top: 30px;
    background: var(--highlight-orange);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero-family-home.png') center/cover no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .btn-cta {
    font-size: 1.1rem;
    padding: 15px 35px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    animation pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 127, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 127, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #666;
}

/* Why Choose Section */
.why-choose {
    background: var(--light-gray);
    text-align: center;
}

.why-choose h2 {
    display: inline-block;
    position: relative;
}

.why-choose h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    margin: 15px auto 0;
}

.why-choose p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Commitment Section */
.commitment {
    background: var(--white);
    text-align: center;
}

.commitment h2 {
    display: inline-block;
    position: relative;
}

.commitment h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    margin: 15px auto 0;
}

.commitment p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Testimonial Section */
.testimonial {
    background: var(--primary-green);
    text-align: center;
    color: var(--white);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.testimonial-card .quote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-card .stars {
    color: var(--accent-yellow);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-card .author {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Safety Section */
.safety {
    background: var(--light-gray);
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.safety-block {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.safety-block h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.safety-block p {
    line-height: 1.8;
    color: #555;
}

/* CTA Section */
.cta-section {
    background: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    color: #666;
}

/* Blog Section */
.blog-section {
    background: var(--light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
}

.blog-card h3 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-card .date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-card .excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-card .read-more {
    color: var(--highlight-orange);
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-card .read-more:hover {
    color: var(--orange-hover);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo-text {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer h4 {
    color: var(--accent-yellow);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer ul li {
    margin-bottom: 12px;
}

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

.footer a:hover {
    color: var(--highlight-orange);
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-bottom .copyright {
    color: #888;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--highlight-orange);
    transform: scale(1.1);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

/* About Page Styles */
.page-hero {
    background: linear-gradient(rgba(34, 87, 45, 0.9), rgba(34, 87, 45, 0.8)), url('../images/team-professional.png') center/cover no-repeat;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Mission & Values */
.mission-values {
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: var(--light-gray);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.value-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.7;
}

/* Team Section */
.team-section {
    background: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card-content {
    padding: 20px;
}

.team-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-card .title {
    color: var(--highlight-orange);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-card .bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* History Section */
.history-section {
    background: var(--white);
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.history-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
}

/* Services Page */
.services-hero {
    background: linear-gradient(rgba(34, 87, 45, 0.9), rgba(34, 87, 45, 0.8)), url('../images/service-hero.png') center/cover no-repeat;
}

.service-categories {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-bottom: 3px solid var(--primary-green);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 25px;
}

.service-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

/* Why Services */
.why-services {
    background: var(--light-gray);
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.benefit-item h4 {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.benefit-item p {
    color: #666;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(rgba(34, 87, 45, 0.9), rgba(34, 87, 45, 0.8)), url('../images/service-hero.png') center/cover no-repeat;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-form-container {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
}

.contact-form-container h2 {
    color: var(--primary-green);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

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

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    cursor: pointer;
}

.contact-details-container h2 {
    color: var(--primary-green);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-info-item h4 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.contact-info-item p {
    color: #666;
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--highlight-orange);
    font-weight: 600;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* Blog Page */
.blog-hero {
    background: linear-gradient(rgba(34, 87, 45, 0.9), rgba(34, 87, 45, 0.8)), url('../images/service-hero.png') center/cover no-repeat;
}

.blog-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.blog-main .blog-grid {
    grid-template-columns: 1fr;
}

.blog-sidebar {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
}

.blog-sidebar h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.search-box {
    margin-bottom: 30px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: block;
    padding: 10px 15px;
    background: var(--white);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: var(--primary-green);
    color: var(--white);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: var(--light-gray);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--primary-green);
    color: var(--white);
}

.pagination .active {
    background: var(--primary-green);
    color: var(--white);
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (min-width: 640px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .services-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 30px;
    }
    
    .nav-desktop ul {
        display: flex;
        gap: 25px;
    }
    
    .hamburger {
        display: none;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-content {
        grid-template-columns: 2fr 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .nav-desktop ul {
        gap: 35px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .services-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
    
    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
