﻿/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh; /* Default height for other pages */
    background: url("images/hero-bg.jpg") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

    .hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
    word-break: break-word; /* prevents cutting off */
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

/* 🎯 Page-specific Banner Height */
.home-sample-page .hero {
    height: 70vh; /* Adjust height for this page only */
}
/* Content Styles */
.content-section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #007b94;
    font-size: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

    .feature:hover {
        transform: translateY(-5px);
    }

    .feature i {
        font-size: 2.5rem;
        color: #007b94;
        margin-bottom: 20px;
    }

    .feature h3 {
        margin-bottom: 15px;
        color: #333;
    }

.cta-box {
    background: linear-gradient(135deg, #2a7de1, #3a8ef6);
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(42, 125, 225, 0.3);
    margin: 40px 0;
}

    .cta-box h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

.phone-number {
    display: inline-block;
    background: white;
    color: #2a7de1;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 50px;
    margin: 15px 0;
    text-decoration: none;
}

.info-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

        nav ul li {
            margin: 10px 0;
        }

    .banner h1 {
        font-size: 2rem;
    }

    .feature {
        padding: 20px;
    }
}
