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

/* Section styling */
.section-container {
    padding: 70px 100px;
    background-color: #f3f3f3;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Centers vertically within viewport */
}

/* Animated title and text styling */
.main-title {
    font-size: 2.8rem;
    color: #005799;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
    animation: slideInRotate 1s ease-out forwards;
    animation-delay: 0.2s;
}

.sub-title {
    font-size: 1.8rem;
    color: #444;
    font-weight: 600;
    margin-bottom: 25px;
    animation: slideInRotate 1s ease-out forwards;
    animation-delay: 0.4s;
}

/* Description styling */
.description-paragraph {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
    max-width: 850px;
    margin: 20px auto;
    text-align: center;
    opacity: 0;
    animation: slideInFade 1.2s ease-in-out forwards;
}

/* Animations */
.animated-entry {
    opacity: 0;
    transform: translateY(40px);
}

/* Slide in with rotation */
@keyframes slideInRotate {
    0% {
        opacity: 0;
        transform: translateY(40px) rotate(-10deg) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* Fade effect */
@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-container {
        padding: 40px 20px;
    }

    .main-title {
        font-size: 2.2rem; /* Completed the font-size rule */
    }
}
