/* Importing the Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Root variables for color scheme */
:root {
    --themeRed: #e43a47;
    --gray: #efefef;
}

html {
    scroll-behavior: smooth;
}

button,
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    font-size: 16px;
    line-height: 1.6; /* Increase line-height for better readability */
}

.fullcontainer {
    width: 100%;
}

.container {
    max-width: 1140px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.sectionTitle {
    border-bottom: 3px solid var(--themeRed);
    text-align: center;
    font-size: 2rem;
    font-weight: 600; /* Increase font weight for better visibility */
    margin: 0 auto 50px;
    position: relative;
    padding: 10px 0;
    text-transform: uppercase;
}

.sectionTitle::after {
    display: inline-block;
    content: "";
    height: 15px;
    width: 15px;
    background-color: var(--themeRed);
    position: absolute;
    left: calc(50% - 10px);
    top: calc(75% - 7px);
    transform: rotate(45deg) translate(50%, 50%);
    border: 3px solid #fff;
}

section {
    padding: 100px 0;
    position: relative;
}


header {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    z-index: 2;
}

header .container {
    display: flex;
    justify-content: space-between;
}

header.container.logo {
    padding: 15px 0;
    height: 75px;
}

header.container .logo img{
    height: 100%;
}

header nav ul {
    list-style-type: none;
}

header nav ul li{
    display: inline-block;
}

header nav ul li a {
    display: inline-block;
    height: 75px;
    line-height: 75px;
    padding: 0 15px;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 16px;
    color: #fff;
    transition:0.3s;
}

header nav ul li a:hover {
    background-color: var(--themeRed);
}

.banner{
    min-height: 100vh;
    width: 100%;
    background-image: url("../images/full-shot-friends-playing-together.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.banner h1 {
    margin-top: 230px;
    display: inline-block;
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 0 2px #000;
    width: 50%;
    line-height: 4.2rem;
    font-weight: 100;
}

.banner h1 span{
    background-color: var(--themeRed);
    display: inline-block;
    line-height: 3.5rem;
    padding: 0 15px;
    font-weight: 600;
    border-radius: 5px; 
}

.banner p{
    color: #fff;
    width: 50%;
    text-shadow: 0 0 2px #000;
    margin-top: 10px;
}

.banner button{
    background-color: var(--themeRed);
    border: 0;
    outline: none;
    color: #fff;
    padding:10px 15px;
    margin-top: 20px;
    font-size: 13px;
    border-radius: 3px;
    font-weight: 600;
}

/* End of home */

#aboutsection .cards{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    height: 245px;
}

#aboutsection .cards > div{
    width: 350px;
    background-color: var(--gray);
    padding: 35px;
    color: #444;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: 0.5s;
}

#aboutsection .cards > div:hover{
    width: 400px;
    margin-top: -20px;
    border-color: var(--themeRed);
    padding: 55px;
    height: auto;
} 

#aboutsection .cards > div .title{
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

#aboutsection .cards > div p{ 
    font-size: 14px;
    margin-top: 15px;
}

#aboutsection .cards > div button{
    border: 1px solid var(--themeRed);
    outline: none;
    padding: 7px 15px;
    margin-top: 15px;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.3s;
}

#aboutsection .cards > div:hover button{
    background-color: var(--themeRed);
    color: #fff;
}
/*end of about */



.hero {
    position: relative; /* Stack content over video */
    width: 100%;
    height: 50vh; /* Adjust height based on your video */
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure video fills the container */
}

.hero h1,
.hero p {
    position: absolute; /* Position text over video */
    color: rgb(9, 9, 9); /* Adjust text color for visibility */
    text-align: center; /* Center text within hero section */
    /* Adjust padding and margins as needed */
}


.Programs{
    background-color: #e2e2e2e2;
}

#ProgramsSection .boxContainer {
    display: grid;
        grid-template-columns: repeat(4,1fr);
        grid-gap:50px;
}

#ProgramsSection .box {
    background-color: #fff;
        text-align: center;
        padding-bottom: 25px;
        border-radius: 5px;
        box-shadow: 0 0 3px 0 #c5c5c5;
        position: relative;
        margin-bottom: 15px;
}

#ProgramsSection .box .cardImage {
    width: 100%;
        height: 300px;
        background-position: center;
        background-size: cover;
        position: relative;
        overflow: hidden;
        border-radius: 5px 5px 0 0;
}

#ProgramsSection .box .cardImage::after{
    width: 100%; 
    height: 100%; 
    background-position: center;
    background-size: cover;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    filter: grayscale(100%);
    transition: 0.4s;
}

#ProgramsSection .boxContainer .box:nth-child(1) .cardImage,
#ProgramsSection .boxContainer .box:nth-child(1) .cardImage::after{
    background-image: url("../images/programs/freepik-export-20240424162930qb7y.jpeg");
}

#ProgramsSection .boxContainer .box:nth-child(2) .cardImage,
#ProgramsSection .boxContainer .box:nth-child(2) .cardImage::after{
    background-image: url("../images/programs/2148761586.jpg");
}

#ProgramsSection .boxContainer .box:nth-child(3) .cardImage,
#ProgramsSection .boxContainer .box:nth-child(3) .cardImage::after{
    background-image: url("../images/programs/2148852722.jpg");
}

#ProgramsSection .boxContainer .box:nth-child(4) .cardImage,
#ProgramsSection .boxContainer .box:nth-child(4) .cardImage::after{
    background-image: url("../images/programs/2149479948.jpg");
}

#ProgramsSection .boxContainer .box:hover .cardImage::after{
    top: 100%;
}

#ProgramsSection .box button {
    position: absolute;
    left: 50%;
    background-color: var(--themeRed);
    color: #fff;
    transform: translate(-50%);
    bottom: -15px;
    border-radius: 60px;
    padding: 7px 15px;
    border: 0;
    outline: none;
    cursor: pointer;
}

#ProgramsSection .box button:hover {
    background-color: rgba(228, 58, 71, 0.9);
}

/* Education section styles */
#educationsection {
    background-color: #f9f9f9;
    padding: 50px 0;
}

#educationsection .container {
    text-align: center;
}

#educationsection h2.sectionTitle {
    color: #333;
}

#educationsection p {
    height: 10vh;
        overflow: hidden;
        position: relative;
}

/* Button styles */
#educationsection button {
    background-color:#333;
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 19px;
    cursor: pointer;
    transition: background-color 0.9s ease;
    margin-top: 20px;
}

#educationsection button:hover {
    background-color: rgba(228, 58, 71, 0.9); /* Darker red */
}

/* Gallery section styles */
#gallerysection {
    background-color: #fff;
    padding: 50px 0;
}

#gallerysection .container {
    text-align: center;
}

#gallerysection h2.sectionTitle {
    color: #333;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay-content {
    color: #fff;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Join Us section styles */
#joinussection {
    background-color: #f9f9f9;
    padding: 50px 0;
}

#joinussection .container {
    text-align: center;
}

#joinussection h2.sectionTitle {
    color: #333;
}

#joinussection p {
    color: #666;
    margin-top: 20px;
}

#joinussection button {
    background-color:#333;
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 19px;
    cursor: pointer;
    transition: background-color 0.9s ease;
    margin-top: 20px;
}

#joinussection button:hover {
    background-color: var(--themeRed);
}

/* Define a simple button animation */
@keyframes buttonAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Apply the animation to buttons */
button {
    animation: buttonAnimation 1s`   ease infinite;
}

/* Additional styles */

#educationsection {
    position: relative; /* Change position to relative */
    background-image: url("../images/full-shot-kids-playing-football-outdoors.jpg");
    background-size: cover;
    filter: blur(0.1px); /* Adjust the g69+9++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/blur intensity */
}

#educationsection .container {
    position: relative;
    z-index: 4; /* Ensure content is on top of the background */
}

/* Hover Effects */
button:hover,
a:hover {
    transform: scale(1.05); /* Scale up on hover */
}

.gallery-item img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Scale up on hover */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add shadow on hover */
}

/* Animation Keyframes */
@keyframes buttonAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Apply Animations */
  button {
    animation: buttonAnimation 1s ease infinite;
  }
  
  .fadeIn {
    animation: fadeIn 0.5s ease forwards;
  }
  
  /* Hover Effects */
  button:hover,
  a:hover {
    transform: scale(1.05);
  }
  
  .gallery-item img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  
  
  /* Box Shadows and Borders */
  .sectionTitle {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .box {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Typography */
  h1, h2, h3 {
    font-weight: 600;
  }
  
  p {
    font-size: 16px;
  }
  
  /* Media Queries (placeholders for future styles) */
  @media only screen and (max-width: 768px) {
    /* Adjustments for tablets */
  }
  
  @media only screen and (max-width: 480px) {
    /* Adjustments for mobile devices */
  }
  
  /* Footer Styles */
  footer {
    background-color: var(--themeRed);
    color: #fff;
    padding: 30px 0;
    text-align: center;
  }
  
  footer .container {
    max-width: 1140px;
    margin: auto;
  }
  
  /* Footer Animation */
  footer p {
    margin: 0;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }