/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: calc(100% - 100px);
    top: 0;
    z-index: 1000;
}

.header-left, .header-right {
    font-weight: bold;
    font-size: 1.1em;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('1.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #0c0c0c;
    padding-top: 60px; /* Offset for fixed header */
}

.hero-overlay {
    background-color: rgba(0,0,0,0.0);
    padding: 20px;
    border-radius: 10px;
}

.animated-heading {
    font-size: 3em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeSlideUp 1.5s forwards;
    opacity: 0; /* Starts hidden */
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services-section {
    padding: 50px 20px;
    text-align: center;
}

.services-intro {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 20px;
}

.service-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.service-box {
    background-color: #f0f0f0;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 250px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.offerings-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    font-size: 1.1em;
}

.offerings-list li {
    padding: 5px 0;
}

/* Contact & Location Section */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 20px;
    background-color: #f8f8f8;
    gap: 50px;
}

.contact-info {
    text-align: left;
}

.contact-info p {
    margin: 5px 0;
}

.logo-container {
    opacity: 0;
    transition: opacity 1s, transform 1s;
}

.eccd-logo {
    width: 150px;
    height: 150px;
}

/* Entrance Animations for all sections */
.animated-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animated-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.logo-container.is-visible {
    opacity: 1;
    transform: scale(1);
}