* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  html {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }
        .main-content {
            will-change: scroll-position;
        }

        .section {
            will-change: transform;
        }

/* Ensure main container can scroll */
.main-container {
    height: 100vh; /* Full viewport height */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scrollbar */
    scroll-behavior: smooth; /* Native smooth scrolling */
}

/* Custom scrollbar */
.main-container::-webkit-scrollbar {
    width: 8px;
}

.main-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.main-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    border-radius: 4px;
}

.main-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3, #0099cc);
}

body {
   font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}
  #home-container {
    position: relative;
    min-height: 200px; /* Ensure space for loader */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/* Section Styles */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section h2 {
    color: #1e3a8a;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Navigation */
.navbar {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3a8a;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
  position: relative;
  text-decoration: none; /* remove default underline */
  padding-bottom: 2px; /* little spacing for underline */
  font-size: 20px;
  font-weight: 400;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #1e3a8a;
  transition: width 0.3s ease-in-out;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}


.cart-icon {
    width: 24px;
    height: 24px;
    fill: #333;
    cursor: pointer;
    transition: fill 0.3s;
}

.cart-icon:hover {
    fill: #1e3a8a;
}
.account-icon {
    width: 24px;
    height: 24px;
    fill: #333;
    cursor: pointer;
    transition: fill 0.3s;
}

.account-icon:hover {
    fill: #1e3a8a;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-dropdown.active {
    display: flex;
}

.mobile-dropdown a {
    padding: 1rem 2rem;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.mobile-dropdown a:hover {
    background: #f8f9fa;
    color: #1e3a8a;
}

.mobile-dropdown a svg {
    width: 24px;
    height: 24px;
    fill: currentColor; /* Inherits the text color */
}

.account-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background-color: #1e3a8a;
  color: #fff;
  border-radius: 6px;
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.footer-credit {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #aaa;
}

.dropdown-menu a {
  color: white;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
}

.dropdown-menu a:hover {
  background-color: #090456;
  color: white;
}
.dropdown-menu.show {
  display: flex; /* or block */
}
.account-dropdown {
  position: relative;
}

.account-button {
  background: none;
  border: none;
  cursor: pointer;
    padding: 1rem 2rem;
}

.account-menu {
  display: none;
  position: absolute;
  top: 2.5rem;
  right: 0;
  background-color: #0f172a;
  padding: 0.5rem 0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 100;
  min-width: 120px;
  flex-direction: column;
}

.account-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #e2e8f0;
  text-decoration: none;
  transition: background 0.2s;
}

.account-menu a:hover {
  background-color: #1e293b;
}

/* Chat Icon */
.chat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    z-index: 1000;
    transition: all 0.3s;
}

.chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.chat-icon::after {
    content: '💬';
    font-size: 24px;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.cart-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close:hover {
    color: #1e3a8a;
}

.cart-items {
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.empty-cart {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.footer {
  background-color: #001F4D; /* Dark blue theme */
  color: #ffffff;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 250px;
  margin: 1rem;
}

.footer-left h4 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer a {
  color: #aad4ff; /* Light blue for contrast */
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
     .form-group input[type="file"] {
        width: 100%;
    }
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .home-section h1 {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
    
    .chat-modal {
        width: calc(100vw - 20px);
        right: 10px;
        left: 10px;
        height: 400px;
    }
      .home-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .home-content {
    padding: 0;
    margin-bottom: 2rem;
  }

  .image-collage {
    width: 100%;
    max-width: 100%;
  }

  .home-section h1 {
    font-size: 2.5rem;
  }

  .home-section p {
    font-size: 1rem;
  }
    .collage-dots {
    margin-top: 1rem;
  }

  .collage-dots .dot {
    height: 8px;
    width: 8px;
  }

}
