/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    color: white;
    background-color: #111827;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p, li {
    font-size: 1rem;
    font-weight: normal;
}

/* Background Sections */
.bg-dark-custom, .bg-section {
    background-color: #111827;
    padding: 5rem 1rem;
    color: white;
}

/* Background Sections */
.bg-white-custom, .bg-Wsection {
    background-color: #ffffff;
    padding: 5rem 1rem;
    color: Black;
}
.bg-testimonials {
    background-color: #1F2937;
}

/* Hero Section */
.hero {
    background: url('assets/images/ecc-home-header-bg.png') center/cover no-repeat;
    height: 100vh;
    min-height: 500px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Semi-Transparent Overlay */
/* Hero Overlay - Fix */
.hero-overlay {
    background: rgba(0, 0, 0, 0.5); /* Dark transparent overlay */
    padding: 3rem 1.5rem !important; /* Increase vertical and horizontal spacing */
    border-radius: 10px;
    width: 100%; /* Ensure full width */
    max-width: 100%; /* Allow it to scale */
    height: 100%; /* Make it match the hero section */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
}
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 300px;
    }

    .hero-overlay h1 {
        font-size: 1.75rem;
        padding: 0 1rem;
    }

    .hero-overlay p {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
}
/* Service Cards */
.service-card {
    background-color: #1F2937;
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.service-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.service-card h3 {
    color: #facc15;
    font-weight: bold;
}

.service-description {
    color: white;
    font-size: 1rem;
    font-weight: normal;
}

/* Buttons */
.btn-danger {
    color: white;
}

/* Divider */
.divider {
    width: 80px;
    height: 3px;
    background-color: #facc15;
    margin: 1rem auto;
}

/* Counters */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero {
        height: 60vh;
    }    /* ✅ Specific to bg-dark-custom section headers */
    .bg-dark-custom h1 {
        font-size: 1.5rem;
    }

    .bg-dark-custom p {
        font-size: 1rem;
    }
      
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
    .footer-custom {
        background: black;
        color: #9ca3af;
        }
        
    .footer-custom a {
        text-decoration: none;
        color: white;
    }
    .footer-custom a:hover {
        text-decoration: underline;
    }
    .social-icons a {
        font-size: 22px;
        color: white;
        transition: color 0.3s ease-in-out;
    }
    .social-icons a:hover {
        color: #facc15;
    }

/* === Universal Hero Section === */
.universal-hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    min-height: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay h1,
.hero-overlay p {
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.75);
}

@media (max-width: 768px) {
    .universal-hero-section {
        height: 40vh;
    }
    .hero-overlay h1 {
        font-size: 1.75rem;
    }
    .hero-overlay p {
        font-size: 1rem;
    }
}

