/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif; 
}
body {
  line-height: 1.8;
  color: #333;
  overflow-x: hidden; 
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e1e2f;
  padding: 10px 50px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo {
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 
  object-fit: cover; 
  margin-left: 10px;
  border: 3px solid #FFD700; 
}
.company-name {
  color: #FFD700;
  font-size: 28px;
  font-weight: bold;
  font-family: "Times New Roman", serif;
}
.nav-links {
  list-style: none;
  display: flex; 
  flex-direction: row; 
  gap: 20px;
  transition: all 0.3s ease-in-out; 
  height: auto; 
  overflow: visible;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
  padding-bottom: 5px;
  padding: 0;
  border: none;
  background: none;
}
.nav-links a:hover {
  border-bottom: 3px solid #FFD700;
}
.hamburger-icon {
    display: none; 
    cursor: pointer;
    font-size: 30px;
    color: #FFD700;
}

/* hero */
.hero {
  background-color: #1e1e2f;
  min-height: calc(100vh - 70px); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 60px 80px;
}
.welcome-text {
  font-size: 50px; 
  margin-bottom: 15px;
  opacity: 1; 
}
.hero-subtext {
    font-size: 24px; 
    margin-top: 15px; 
    position: relative; 
}
.hero-animated-underline {
    position: relative; 
    display: inline-block; 
    padding-bottom: 25px; 
    font-weight: normal; 
}
.hero-animated-underline::after {
    content: ''; 
    position: absolute;
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 100%; 
    height: 5px; 
    background-color: #FFD700; 
}

.btn {
    text-decoration: none;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent; 
}
.primary-btn {
    background-color: #FFD700; 
    color: #1e1e2f; 
    border-color: #FFD700;
}
.primary-btn:hover {
    background-color: #1e1e2f; 
    color: #FFD700;
    border-color: #FFD700;
    transform: scale(1.02); 
}


.login-form {
    background-color: #0a1f44; 
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 450px; 
    margin-top: 40px;
    text-align: right; 
}

.form-group {
    margin-bottom: 25px;
    direction: rtl; 
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: normal;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 15px 20px; 
    border: 2px solid #1e1e2f;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 18px; 
    transition: border-color 0.3s, box-shadow 0.3s;
    text-align: right;
    direction: rtl; 
}
.login-form input:focus {
    border-color: #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    outline: none;
}

.login-btn {
    width: 100%;
    margin-top: 20px;
    padding: 18px 30px; 
    font-size: 20px; 
    border-radius: 8px; 
}
.login-btn:hover {
    transform: none; 
}


/* footer */
footer {
  background: #1e1e2f;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.socials {
    margin-top: 10px;
}
.social-icon {
    font-size: 30px;
    margin: 0 10px;
    color: #fff; 
    transition: color 0.3s;
}
.socials a:hover .social-icon {
    color: #FFD700; 
}


@media (min-width: 993px) {
    .hamburger-icon {
        display: none !important; 
    }
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
        align-items: center; 
    }
}
@media (max-width: 992px) {
    .hamburger-icon {
        display: block; 
    }
    .navbar { 
        padding: 10px 30px; 
        flex-wrap: wrap; 
        align-items: flex-start; 
    }
    .nav-links {
        width: 100%;
        height: 0; 
        overflow: hidden; 
        flex-direction: column; 
        gap: 0;
        text-align: right;
    }
    .nav-links.active {
        height: auto; 
        padding-bottom: 15px; 
    }
    .nav-links li {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links li:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .navbar { 
        padding: 10px 20px; 
    }
    .hero { 
        padding: 40px 20px; 
    }
    .welcome-text { font-size: 35px; } 
    .hero-subtext { font-size: 20px; } 
    .login-form {
        max-width: 100%; 
        padding: 30px;
    }
    .login-form input {
        padding: 12px 15px; 
        font-size: 16px;
    }
    .login-btn {
        padding: 15px 25px;
        font-size: 18px;
    }
}