/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap");

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

html, body {
    height: 100%;
    width: 100%;
    background-color: #03121e;
    color: white;
    font-family: 'Nunito', 'Trebuchet MS', Arial, sans-serif;
    display: block;
    overflow-x: hidden;
}

/* Logo Styles */
#logo {
    position: fixed;
    height: 60px;
    top: 15px;
    left: 30px;
    cursor: pointer;
    animation: fadeIn 1s ease-in-out;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

#navigation {
    display: flex;
    gap: 20px;
    position: fixed;
    top: 0;
    right: 0;
    margin-right: 20px;
    animation: fadeInRight 1s ease-out;
}

/* Button Styles */
button {
    background-color: rgba(20, 20, 20, 0.1);
    backdrop-filter: blur(25px);
    color: white;
    border: 1px solid rgba(54, 54, 54, 0.6);
    font-family: 'Nunito', 'Trebuchet MS', Arial, sans-serif;
    font-weight: 600;
    border-radius: 50px;
    height: 45px;
    width: 130px;
    margin-top: 25px;
    cursor: pointer;
    transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.3s ease;
    position: relative;
}

button:hover {
    transform: scale(1.1);
    background-color: rgba(54, 54, 54, 0.2);
}

button:active {
    transform: scale(0.95);
}

/* Content Section Styles */
#content {
    display: block;
    text-align: center;
    padding: 120px 120px;
    height: 100%;
    animation: fadeIn 2s ease-in-out;
}

#scrolldown {
    height: 100px;
    filter: invert(1);
    animation: moveUpDown 1s infinite ease-in-out;
    position: relative;
    margin-top: 10%;
}

@keyframes moveUpDown {
    0%, 100% {
      transform: translateY(0); 
    }
    50% {
      transform: translateY(-15px); 
    }
  }

#main-text {
    margin-top: 10%;
    font-size: 40px;
    margin-bottom: 20px;
    animation: slideUp 0.8s ease-out;
}

/* Section Styles */
section {
    padding: 100px 20px;
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

/* Courses Section */
#courses {
    padding: 80px 20px;
    color: #f1f1f1;
    text-align: center;
    border-top: 1px solid rgba(54, 54, 54, 0.6);
    animation: fadeInUp 1.5s ease-out;
}

#courses h2 {
    font-size: 36px;
    margin-bottom: 20px;
    animation: slideUp 1s ease-out;
}

#about {
    border-top: 1px solid rgba(54, 54, 54, 0.6);
}

#contact {
    border-top: 1px solid rgba(54, 54, 54, 0.6);
}

#courses p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #cfd8dc;
    animation: fadeIn 2s ease-in-out;
}

/* Course List Styling */
.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    animation: fadeInUp 1.5s ease-out;
}

.course {
    border-radius: 25px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: rgba(54, 54, 54, 0.3);
    position: relative;
}

.course:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background-color: rgba(54, 54, 54, 0.5);
}

.course h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #f1f1f1;
}

.course p {
    font-size: 16px;
    color: #b0bec5;
    line-height: 1.6;
}

/* Heading Styles */
h2 {
    font-size: 30px;
    margin-bottom: 20px;
    animation: fadeInUp 1.5s ease-out;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
}

/* Keyframe Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

#photo-viewer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: 80vh;
  }
  
  .photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 50px;
  }
  
  .photo-section img {
    max-height: 450px;
    object-fit: contain;
    border: 4px solid rgba(54, 54, 54, 0.6);
    border-radius: 15px;
    transition: opacity 0.3s ease-in-out;
  }
  
  .nav-link {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(20, 20, 20, 0.1);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(54, 54, 54, 0.6);
    color: white;
    text-decoration: none;
    font-size: 20px;
    border-radius: 100%;
    padding-left: 17.5px;
    padding-right: 17.5px;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
    z-index: 1;
    transition: 0.3s all;
  }
  
  #left-prev, #right-prev {
    left: -60px;
  }
  
  #left-next, #right-next {
    right: -60px;
  }
  
  #left-prev:hover, #right-prev:hover {
    left: -65px;
  }
  
  #left-next:hover, #right-next:hover {
    right: -65px;
  }
  
  #left-prev:active, #right-prev:active {
    left: -68px;
  }
  
  #left-next:active, #right-next:active {
    right: -68px;
  }
  
  .fade-out {
    opacity: 0;
  }
  
#googleform {
    filter: invert(1)
}

