@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Esther:wght@400&display=swap');

/* Variables for consistent colors */
:root {
    --primary-color: #1dbf73;
    --secondary-color: #8d8b72;
    --text-color: #333;
    --background-color: #f7f7f7;
    --font-family: 'Times New Roman', Times, serif;
    --hero-font: 'Esther', serif; /* Classy italic font for hero title */
    font-family: 'Playfair Display', serif;
}

/* General reset for padding, margin, box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
}

/* Container class for consistent width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: url('wild.jpeg') no-repeat center center/cover; 
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
}

.hero-title {
    font-size: 3rem;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 150px;
    font-family: var(--hero-font); /* Apply Esther font */
    font-style: italic; /* Italic style */
}

.chat-btn {
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    float: right;
    text-decoration: none; 
}

.chat-btn:hover {
    background-color: #17a865;
}

.services-section {
    height: 2.5cm;
    width: 100%;
    background-color: rgba(56, 71, 2, 0.616);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.services-text {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-button {
    border: 2px solid white;
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.services-button:hover {
    background-color: white;
    color: brown;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.services-grid a {
    text-decoration: none;
    color: #003366; 
    margin: 10px auto;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

.services-grid a:hover {
    text-decoration: underline;
    color: #000;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
        margin-top: 2vh;
    }

    .chat-btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    .services-grid a {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .services-section {
        padding: 0 10px;
    }

    .services-button {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 80px;
    }

    .chat-btn {
        top: 20px;
        right: 20px;
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 1.2rem;
        cursor: pointer;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease;
        align-content: center;
        margin-top: 40px;
        margin-right: 100px;
    }

    .services-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .services-grid a {
        font-size: 18px;
        padding: 8px;
        width: 100%;
        margin: 0;
    }

    .services-text {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 10px;
    }

    .services-button {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .container {
        padding: 0 10px;
    }
}
