section h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: #00D2FF;
}

#content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 20px; /* Space between the video and mission content */
}

#video-container {
    flex: 1;
    max-width: 60%; /* Adjust the width of the video container */
}

#video-container video {
    width: 100%;
    height: auto;
    border-radius: 6px; /* Optional: rounded corners for the video */
}

#mission-section {
    flex: 1;
    max-width: 40%; /* Adjust the width of the mission section */
    text-align: left; /* Align text to the left */
    padding: 20px;
    background-color: white; /* Optional: background color */
    border-radius: 6px; /* Optional: rounded corners for the section */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow for effect */
}

@media (max-width: 768px) {
    #content-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    #video-container,
    #mission-section {
        max-width: 100%;
    }
}

#specialities {
    text-align: center;
    padding: 50px 20px;
    background-color: #f5f5f5; /* Light background */
}

.speciality-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Adds spacing between items */
}

.speciality-item {
    position: relative;
    width: 200px; /* Adjust as needed */
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.speciality-item img {
    width: 100%;
    height: auto;
    border-radius: 6px; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    filter: saturate(1.2) contrast(1.1) brightness(1.05);
}

.speciality-item button {
    margin-top: 10px;
    padding: 10px 15px;
    border: none;
    background-color: #6a5acd; /* Soft purple */
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.speciality-item:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.speciality-item img:hover {
    transform: scale(1.1); /* Zoom effect */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3); /* Stronger shadow */
}

.speciality-item button:hover {
    background-color: #483d8b; /* Darker shade on hover */
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
/*welcome section in the beginning*/

#welcome-section {
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(circle at top, #1b1b3a, #0a0a1f 70%);
    color: white;
    font-family: 'Poppins', sans-serif;
    border-radius: 6px;
    margin: 50px auto;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-in-out;
    background-image:
    linear-gradient(135deg, #0A0A1F, #1B1B3A),
    url("data:image/svg+xml,%3Csvg ... %3E");
}

#welcome-section h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
    color: #00FFFF;
    letter-spacing: 1px;
    animation: slideIn 1s ease-in-out;
}

#welcome-section p {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    color: #C8D8F5;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInText 1.5s ease-in-out 0.5s forwards;
}

/* Animation for smoother appearance */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 8px #00D2FF; }
    50% { text-shadow: 0 0 20px #00D2FF; }
}


/*end of page CTA section */

#cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(88, 24, 69, 0.9), rgba(131, 56, 236, 0.9));
    color: white;
    font-family: 'Poppins', sans-serif;
    border-radius: 6px;
    margin: 50px auto;
    width: 85%;
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-in-out;
    position: relative;
    overflow: hidden;
    background-image:
    linear-gradient(135deg, #0A0A1F, #1B1B3A),
    url("data:image/svg+xml,%3Csvg ... %3E");
}

/* Decorative glowing effect */
#cta-section::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: glowEffect 3s infinite alternate;
}

/* Main heading */

#welcome-section h1,
#cta-section h2 {
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
} 

#cta-section h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    animation: slideIn 1s ease-in-out;
}

/* Subheading */
#cta-section h3 {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-top: 20px;
    color: #f5d300;
    letter-spacing: 1.2px;
    text-shadow: 1px 1px 8px rgba(255, 255, 255, 0.5);
}

/* Paragraph */
#cta-section p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 20px;
    opacity: 0;
    animation: fadeInText 1.5s ease-in-out 0.5s forwards;
}

/* CTA Button */
#cta-section .cta-button {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background: #00D2FF;
    box-shadow: 0 0 20px rgba(0, 210, 255, .6);
    border-top: 2px solid #00FFF3;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    
}

#cta-section .cta-button:hover {
    background: #ffcc00;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glowEffect {
    from { opacity: 0.3; transform: scale(1.1); }
    to { opacity: 0.6; transform: scale(1); }
}