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

body {
    font-family: "Bitter", serif;
    min-height: 100vh;
    background-color: #ffffff;
    background-image: url('bluebackground.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


html, body {
    overflow-y: scroll; 
    scrollbar-width: none; 
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(53, 201, 214, 0.5); 
    color: rgb(10, 10, 10);
    z-index: 9999;
    padding: 0 20px;
    box-sizing: border-box;
}

.home-icon {
    position: absolute;
    top: 50%;
    left: 20px; 
    transform: translateY(-50%);
}

.home-icon img {
    width: 30px;   
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.home-icon img:hover {
    transform: scale(1.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}
  
  .header-content h1 {
    margin: 0;           
    font-size: 24px;     
    font-weight: bold;
  }
  
  .header-content h1 a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
  }
  
  .header-content nav {
    margin: 0 auto;  
  }
  
  .header-content nav ul {
    list-style: none;
    display: flex;        
    gap: 740px;            
    margin: 0;
    padding: 0;
  }
  
  .header-content nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 19px;
  }
  
  .header-content nav ul li a:hover {
    text-decoration: none;
  }

.dropdown {
    position: relative;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 0;
    z-index: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }
  
  .dropdown-content li {
    list-style: none;
  }
  
  .dropdown-content a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  body {
    margin: 0;
    padding-top: 60px; 
    box-sizing: border-box;
  }  
  
main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 120px 20px 300px; 
    box-sizing: border-box;
    flex-wrap: nowrap;
    position: relative;
}

.left-section {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 800px;
    text-align: center;
    overflow-y: auto;
    min-height: 800px;

    position: relative;
    z-index: 2;
    margin-bottom: 200px;
}

.right-section {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 800px;
    text-align: center;
    overflow-y: auto;
    min-height: 800px;

    position: relative;
    z-index: 2;
    margin-bottom: 200px; 
}



.left-section, .right-section {
    margin: 0 auto;
    padding: 30px;
}


.left-learning-image,
.right-learning-image {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.left-section h2, 
.left-section h4,
.right-section h2, 
.right-section h4 {
    text-align: center;
    margin: 20px 0;
}

.left-section h2, 
.right-section h2 {
    font-size: 26px;
    font-weight: bold;
}

.left-section h4, 
.right-section h4 {
    font-size: 22px;
    font-weight: normal;
}


.content {
    display: none; 
}

.content.active {
    display: block; 
}

.icon-link {
    display: inline-flex; 
    align-items: center; 
    text-decoration: none; 
    gap: 5px; 
}

.icon-image {
    width: 22px; 
    height: 22px; 
    vertical-align: middle; 
}

.icon-link:hover .icon-image {
    filter: brightness(1.2); 
    cursor: pointer; 
}

.center-section {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1; 
}

.center-image {
    height: 100%;
    width: auto;
    object-fit: cover;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

form label {
    font-weight: bold;
    color: #333;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #35C9D6;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #2baab4;
}

#right-welcome.active {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    height: 100%; 
    padding: 20px; 
    box-sizing: border-box; 
    font-family: "Work Sans", sans-serif; 
    color: #333; 
    position: relative; 
}

#right-welcome.active h2 {
    font-size: 36px; 
    font-weight: 700; 
    color: #2BAAB4; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-bottom: 15px;
}

#right-welcome.active p {
    font-size: 18px; 
    line-height: 1.7; 
    color: #555; 
    margin-bottom: 15px; 
}

#right-welcome.active p:last-child {
    font-style: italic; 
}

#right-welcome.active::before,
#right-welcome.active::after {
    content: ''; 
    display: block;
    width: 60px; 
    height: 4px; 
    background-color: #2BAAB4; 
    border-radius: 2px; 
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%); 
}

#right-welcome.active::before {
    top: 10px; 
}

#right-welcome.active::after {
    bottom: 10px; 
}

#left-welcome.active {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    height: 100%; 
    padding: 20px 30px; 
    box-sizing: border-box;
    text-align: center; 
}

#left-welcome.active h2 {
    font-size: 32px; 
    font-weight: 700;
    color: #2BAAB4; 
    text-transform: uppercase;
    letter-spacing: 1.5px; 
    margin-bottom: 10px; 
}

#left-welcome.active h5 {
    font-size: 18px; 
    font-weight: 500;
    color: #555; 
    margin-bottom: 15px; 
}

#left-welcome.active p {
    font-size: 16px; 
    line-height: 1.8; 
    color: #444; 
    text-align: justify; 
    margin-bottom: 20px; 
}

#left-welcome.active::before,
#left-welcome.active::after {
    content: ''; 
    display: block;
    width: 60px;
    height: 3px;
    background-color: #2BAAB4; 
    margin: 10px auto; 
    border-radius: 2px;
}

#left-welcome.active::before {
    margin-bottom: 15px; 
}

#left-welcome.active::after {
    margin-top: 15px; 
}

footer {
    background-color: #35C9D6;
    color: rgb(10, 10, 10);
    padding: 20px 60px;
    text-align: center;
    width: 100%;

    /* ✅ Fixed to the bottom */
    position: fixed;
    bottom: -100px;
    left: 0;
    transition: bottom 0.5s ease;
    z-index: 100;
    opacity: 0.9;
}

/* ✅ Footer Reveal */
footer.visible-footer {
    bottom: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

.footer-links li a {
    text-decoration: none;
    color: rgb(10, 10, 10);
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #2baab4; 
}

.bottom-left-text {
    position: fixed;         
    bottom: 30px;            
    left: 10px;              
    font-size: 120px;         
    font-family: "Bitter", serif; 
    font-weight: 900;        
    color: #000;             
    z-index: 9999;           
    text-transform: uppercase; 
  }
  
  #scroll-box {
    display: none;  
    position: fixed;
    top: 30%;       
    left: 50%;
    transform: translateX(-50%); 
    width: 50%;     
    padding: 20px;
    background: rgba(255, 255, 255, 0.5); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 9999; 
  }
  
  #scroll-box h2, #scroll-box p {
    color: #333;    
    margin-bottom: 10px;
  }

#main-page-header {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 9999; 
    background-color: #35C9D6; 
    opacity: 0.5;  
  }
  
body {
    margin-top: 60px; 
  }

  body::after {
    content: "";
    display: block;
    height: 100px; 
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
        gap: 20px;
        padding-top: 140px;
        padding-bottom: 200px;
    }

    .left-section, 
    .right-section {
        width: 90%;
        min-height: 600px;
    }
}