* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

:root {
    --primary: #273246;
    --primary-dark: #273246;
    --secondary: #273246;
    --text-dark: #273246;
    --text-light: #64748b;
    --background: #f4f7fa;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-light: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}
body {
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Navbar Styles */
/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 5%;
  background-color: #273246;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}



.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* Remove the filter that was making it white */
}

.logo h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  /* color: rgb(10, 10, 10); */
  transition: transform 0.5s ease;
}


/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

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

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background-color: rgba(59, 130, 246, 0.05);
  color: var(--primary);
}

.container h2{
  text-align: center;
  margin-bottom: 30px;
}
/* res */
/* Default desktop styles */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Responsive styles */
@media (max-width: 1010px) {
  .hamburger {
    display: block;
    z-index: 1101;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    max-height: 80vh;         /* Add this */
    overflow-y: auto; 
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    color: #273246;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: white;
    padding-left: 1rem;
  }

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

.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    margin-top: 50px;
}

.login-split {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 600px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Left side with image */
.login-image-section {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #273246;
}

.image-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 400px;
}

.image-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.image-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: white;
}

.feature-item i {
    color: white;
    font-size: 0.4rem;
    
    background: none;
  
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Right side with form */
.login-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: white;
}

.login-box {
    width: 100%;
    max-width: 400px;
    animation: fadeInUp 0.5s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    height: 60px;
    margin-bottom: 20px;
}

.login-header h1 {
    color: #273246;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-header p {
    color: #636e72;
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #2d3436;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #273246;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    border-color: #273246;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #636e72;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #273246;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #273246;
}

.forgot-password {
    color: #273246;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #273246;
    text-decoration: underline;
}

.login-button {
    background: #273246;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.login-button:hover {
    background: #273246;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.login-button i {
    font-size: 1.1rem;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    color: #636e72;
    font-size: 0.9rem;
}

.signup-link {
    color: #273246;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link:hover {
    color: #273246;
    text-decoration: underline;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error states */
.form-group input.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Loading state */
.login-button.loading {
    background: #273246;
    cursor: not-allowed;
}

.login-button.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .login-split {
        flex-direction: column;
        min-height: auto;
        margin-top: 40px;
    }

    .login-image-section {
        min-height: 300px;
        padding: 30px;
        
    }

    .image-content h2 {
        font-size: 2rem;
    }

    .login-form-section {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 20px;
    }

    .login-header h1 {
        font-size: 1.75rem;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .image-content h2 {
        font-size: 1.75rem;
    }

    .feature-item {
        font-size: 1rem;
    }
}

/* Footer Section */

.footer {
  background: #273246;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 0 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-width: 160px;
  max-width: 280px;
  flex: 1;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}


.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color:orangered;
}

.footer-logo {
  width: 60px;
  margin-bottom: 10px;
}

.footer-col:first-child {
  padding-right: 30px;
}

.footer-col p {
  word-wrap: break-word;
  white-space: pre-line;
  line-height: 1.6;
  font-size: 14px;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  border: 1px solid #555;
  border-radius: 50%;
  padding: 8px;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
}

/* Newsletter */
.newsletter-col {
  max-width: 280px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 280px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 15px;
  background: #e74c3c;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 0 3px 3px 0;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-top: 30px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 3px;
  }
}
@media screen and (max-width: 1165px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 10px;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: none;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    margin-bottom: 10px;
  }
}


/*contact us button footer*/
.btn {
    padding: 10px 20px;
    background-color: rgb(231, 76, 60);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}
.btn:hover {
    background-color: rgb(241, 93, 77);
}