:root {
  --gradient: linear-gradient(90deg, #0a6da4, #269bc6);
}
html {
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  color: #0F2A44;
  background: url('IMAGES/background.jpg');
  background-size: cover;
  background-position: bottom;
  height: 100vh;
  padding-top: 80px;
}

  .intro{
  position: fixed;
  z-index: 4000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(45deg, #0c315d, #052f69);
  transition: top .5s ease;
}
.text {
  opacity: 0;              
  position: relative;
  animation: textAnimation 2s ease forwards 3s;
  animation-delay: 3s;
}

.logo-header{
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.intro-logo{
  position: relative;
  display: inline-block;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  opacity: 0;
  bottom: -20px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.intro-logo.active{
  opacity: 1;
  bottom: 0;
  transition: all 0.3s ease-in-out;
}

.dashboard{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0));
  z-index: 3000;
  transition: transform 0.3s ease;
}

.dashboard.hide {
  transform: translateY(-100%);
}

.dashboard-container {
  width: 100%;
  height: 100%;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-logo img {
  height: 50px;
  cursor: pointer;
  margin-top: 1.5rem;
}

.dashboard-menu {
  list-style: none;
  display: flex;
  gap: 3rem;
}

.dashboard-menu a {
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.dashboard-menu a:hover {
  color: #269bc6;
}

body.home .dashboard-menu a[href="index.html"],
body.about .dashboard-menu a[href="about-me.html"],
body.modules .dashboard-menu a[href="modules.html"] {
  color: #269bc6;
}

.main {
  width: 100%;
  height: calc(100vh - 80px);
  position: relative;
  overflow: hidden;
}

.content {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text h1 {
  font-size: 3rem;
}

.text p {
  font-size: 1.25rem;
  color: #4A5D73;
  letter-spacing: 2px;
  line-height: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.get-started {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 60px;
  font-size: 30px;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  cursor: pointer;
  margin-top: 2rem;
  
  opacity: 0;
  animation: buttonFadeIn 1s ease forwards;
  animation-delay: 3.8s;
  transition: transform 0.2s ease;
}

.get-started:hover {
  transform: scale(1.05);
}


@keyframes textAnimation {
  from {
    left: -100%;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}
@keyframes buttonFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.about{
  display: grid;
  grid-template-columns: 1.6fr 1.2fr; 
  column-gap: 2.5rem;               
  align-items: start;
  padding: 140px 6rem 4rem;          
}

body.about .dashboard{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

body.about .Aleinfo{
  max-width: 1800px;
  margin: 0;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.about .Aleinfo h1{
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

body.about .Aleinfo p{
  font-size: 1rem;
  line-height: 2.5rem;
  color: #4A5D73;
  max-width: 100%;   
}


body.about .Alefoto{
  margin: 0;
  padding: 0;
  text-align: center;
  align-self: start;
}

body.about .Alefoto img{
  width: 450px;          
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}
body.about .social-icons{
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

body.about .icon-link{
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;

  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(10px);

  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.about .icon-link img{
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

body.about .icon-link:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.24);
}

body.about .watch-modules-btn {
  display: inline-block;
  align-self: center;
  margin-top: 3rem;
  padding: 1rem 2.5rem;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 60px;
  transition: transform 0.2s ease;
}

body.about .watch-modules-btn:hover {
  transform: scale(1.05);
}

body.modules{
  background: url('IMAGES/sky\ background.png') repeat-y center top;
  background-size: cover;           
  background-attachment: scroll;     
}

body.modules .modules-page{
  padding: 140px 6rem 6rem; 
}

body.modules .modules-header{
  max-width: 1200px;
  margin: 0 auto 3rem;
}

body.modules .modules-header h1{
  font-size: 3rem;
  margin-bottom: 1rem;
}

body.modules .modules-header p{
  font-size: 1.7rem;
  line-height: 2.6rem;
  color: #4A5D73;
  max-width: 950px;
}

body.modules .modules-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

body.modules .module-card{
  padding: 2.2rem 2.4rem;
  border-radius: 26px;

  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.16);
}

body.modules .module-card h2{
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

body.modules .video-wrap{
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
  border-radius: 20px;
  overflow: hidden;
}

body.modules .video-wrap iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dashboard-menu .nav-dropdown{
  position: relative;
}

.dashboard-menu .dropdown{
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 12px 0;
  margin-top: 12px;
  list-style: none;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 5000;
}

.dashboard-menu .nav-dropdown:hover .dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dashboard-menu .dropdown a{
  display: block;
  padding: 10px 16px;
  color: #0F2A44;
  text-decoration: none;
  font-size: 1.25rem;
}

.dashboard-menu .dropdown a:hover{
  background: rgba(10,109,164,0.10);
}
html{
  scroll-behavior: smooth;
}

body.modules .module-desc{
  margin: 2rem auto 0;     
  max-width: 3000px;
  text-align: center;

  font-size: 1.3rem;    
  line-height: 3.6rem;
  color: #4A5D73;
}

body.modules .module-desc::first-line{
  font-weight: 500;
  color: #0F2A44;
}

@media (max-width: 900px){
  body.modules .module-desc{
    font-size: 1.3rem;
    line-height: 2.2rem;
    padding: 0 0.5rem;
  }
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

body.modules .nav-toggle {
  color: black;
}


@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dashboard-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(15, 42, 68, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    display: none;
  }

  .dashboard-menu.active {
    display: flex;
  }

  .dashboard-menu li {
    width: 100%;
  }

  .dashboard-menu a {
    display: block;
    padding: 1rem 3rem;
    width: 100%;
  }

  .dashboard-menu .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    margin: 0;
    padding: 0;
    display: none;
  }

  .dashboard-menu .nav-dropdown.active .dropdown {
    display: block;
  }

  .dashboard-menu .dropdown a {
    padding-left: 4.5rem;
    color: white;
  }

  .dashboard-menu .dropdown a:hover {
    background: rgba(38, 155, 198, 0.3);
  }

  body.home .content {
    position: static;
    transform: none;
    margin-top: 100px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body.home .text h1{
    font-size: 2rem;
  }

  body.home .text p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  body.home .main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  body.home .get-started {
    position: static;
    margin: 2rem auto 0;
    font-size: 1.5rem;
    padding: 0.6rem 1.5rem;
    transform: none;
    display: block;
  }

  body.home .get-started:hover {
    transform: scale(1.05);
  }

  body.about {
    display: flex;
    flex-direction: column;
    padding: 100px 1.5rem 2rem;
  }

  body.about .Aleinfo {
    padding: 1.5rem;
    max-width: 100%;
    align-items: center;
  }

  body.about .Aleinfo h1 {
    font-size: 1.5rem;
  }

  body.about .Aleinfo p {
    font-size: 0.95rem;
    line-height: 1.8rem;
  }

  body.about .watch-modules-btn {
    font-size: 1.3rem;
    padding: 0.9rem 2rem;
  }

  body.about .Alefoto {
    order: 2;
    margin-top: 2rem;
  }

  body.about .Alefoto img {
    width: 100%;
    max-width: 400px;
  }

  body.modules .modules-header h1 {
    font-size: 2rem;
  }

  body.modules .modules-page {
    padding: 100px 1.5rem 3rem;
  }
}

body.contact {
  padding: 140px 2rem 4rem;
}

.contact-page {
  max-width: 700px;
  margin: 0 auto;
}

.contact-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-container p {
  font-size: 1.1rem;
  color: #4A5D73;
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.8rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #0F2A44;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid rgba(10, 109, 164, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: #0F2A44;
  font-family: system-ui, sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0a6da4;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 0.9rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  background: var(--gradient);
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.submit-btn:hover {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  body.contact {
    padding: 100px 1rem 2rem;
  }

  .contact-page {
    padding: 0 0.5rem;
  }

  .contact-container h1 {
    font-size: 1.8rem;
  }

  .contact-container p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .form-group {
    margin-bottom: 1.2rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}
