 
        * {
            font-family: 'Roboto', sans-serif;
        }
        
        body {
            margin: 0;
            padding: 0;
            background-color: #f8f9fa;
             font-size: 14px;
        }
        
        /* Header Styles */
        .top-bar {
    background: #f8f9fa;
    padding: 5px 0;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.top-bar a:hover {
    color: #333;
    text-decoration: none;
}

.brand-logos {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logos img {
    height: 20px;
}

.header {
    background: white;
    border-bottom: 1px solid #c4c4c4;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    height: 60px;
}

/* Navigation Menu */
.menu-toggle {
  display: none;
  font-size: 14px;
  background: none;
  border: none;
  padding: 10px;
  margin: 10px;
  cursor: pointer;
}

/* Main nav */
.nav-menu {
  display: flex;
  gap: 20px;
  background-color: white;
  padding: 10px;
  position: relative;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #012169; /* Blue text */
  text-decoration: none;
  padding: 5px;
  display: inline-block;
  font-weight: 500;
  position: relative;
  font-size: 14px;
}

.nav-link:hover {
  color: #00B27F; /* Green on hover */
}

/* Underline hover effect for nav link */
.nav-item:hover .nav-link::after {
  content: "";
  display: block;
  height: 3px;
  background-color: #00B27F;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* Arrow */
.arrow {
  font-size: 10px;
  margin-left: 4px;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 8px 0;
  z-index: 999;
}

.dropdown-item {
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #eee;
  position: relative;
   font-size: 14px;
}

.dropdown-item:hover {
  color: #00B27F;
  background-color: #f9f9f9;
}

.dropdown-item:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #00B27F;
}

/* Show dropdown on hover */
.nav-item:hover .dropdown-menu {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 12px 20px;
  }

  /* Submenu (dropdown) chỉnh full width */
  .dropdown-menu {
    position: relative;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin-left: 0;
    margin-top: 0;
    background-color: #fff;
    padding: 0;
  }

  .dropdown-item {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
  }

  /* Cho dropdown luôn hiển thị trên mobile nếu muốn (tuỳ chọn) */
  /* .nav-item:hover .dropdown-menu {
    display: block;
  } */
}
/* Account Popup Styles */
.account-dropdown {
    position: relative;
}

.account-popup {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e9ecef;
}

.account-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.account-title {
    color: #17a2b8;
    font-weight: 500;
    font-size: 16px;
}

.account-icon {
    color: #ccc;
    font-size: 18px;
}

.account-content {
    padding: 20px;
    text-align: center;
}

.user-avatar {
    margin-bottom: 15px;
}

.user-avatar i {
    font-size: 40px;
    color: #ccc;
}

.account-text {
    margin-bottom: 15px;
    color: #333;
    font-size: 14px;
}

.btn-login {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    width: 100%;
    font-weight: 500;
    margin-bottom: 15px;
    cursor: pointer;
}

.btn-login:hover {
    background: #138496;
}

.register-text {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.register-link {
    color: #17a2b8;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}
        
        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #00b4db 100%);
            color: white;
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }
        
        .hero-title {
            font-size: 28px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 50px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .ai-section {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 30px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .ai-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .ai-subtitle {
            font-size: 14px;
            color: #00d4ff;
            margin-bottom: 20px;
        }
        
        .house-image {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 20px;
        }
        
        .consultation-form {
            background: white;
            border-radius: 15px;
            padding: 30px;
            color: #333;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .form-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #333;
        }
        
        .form-step {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            font-size: 14px;
        }
        
        .step-number {
            background: #007bff;
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            margin-right: 10px;
        }
        
        .form-control {
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 10px 15px;
            font-size: 14px;
            margin-bottom: 15px;
        }
        
        .btn-consultation {
            background: #007bff;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            font-weight: 500;
            width: 100%;
        }
        
        .btn-consultation:hover {
            background: #0056b3;
            color: white;
        }
        
        /* Professional Section */
        .professional-section {
            background: #f8f9fa;
            padding: 60px 0;
        }
        
        .section-title {
            text-align: center;
            font-size: 24px;
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
        }
        
        .section-subtitle {
            text-align: center;
            font-size: 16px;
            color: #666;
            margin-bottom: 40px;
        }
        
        .professional-badge {
            background: #1e3c72;
            color: white;
            padding: 40px;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 30px;
        }
        
        .professional-badge h3 {
            font-size: 24px;
            font-weight: 700;
            margin: 0;
        }
        
        .benefits-list {
            list-style: none;
            padding: 0;
        }
        
        .benefits-list li {
            padding: 8px 0;
            font-size: 14px;
            color: #555;
            position: relative;
            padding-left: 20px;
        }
        
        .benefits-list li:before {
            content: "•";
            color: #007bff;
            font-weight: bold;
            position: absolute;
            left: 0;
        }
        
        .btn-consult {
            background: #007bff;
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 20px;
            font-size: 14px;
            margin-top: 20px;
        }
        
        /* Projects Section */
        .projects-section {
            background: white;
            padding: 60px 0;
        }
        
        .projects-title {
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            color: #012169;
            margin-bottom: 40px;
            text-transform: uppercase;
        }
        
        .project-carousel {
            position: relative;
        }
        
        .project-item {
            margin: 0 10px;
        }
        
        .project-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
        }
        
        .carousel-nav.prev {
            left: -20px;
        }
        
        .carousel-nav.next {
            right: -20px;
        }
        
        /* Footer */
        .footer {
            background: #333;
            color: white;
            text-align: center;
            padding: 20px 0;
            font-size: 12px;
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 20px;
            }
            
            .nav-menu {
                flex-direction: column;
                gap: 15px;
            }
            
            .consultation-form {
                margin-top: 30px;
            }
        }
   .gradient-border {
  border: 5px solid transparent;
  border-image: linear-gradient(to right, #1b2763, #1b90c1) 1;
}
.gradient-border-box {
  background: linear-gradient( #ca48f1, #4438e9) padding-box,
              linear-gradient(to right, #ca48f1, #4438e9) border-box;
}

 .account-popup {
            position: absolute;
            top: 100%;
            right: 0;
            /* Sát phải */
            width: 480px;
            max-width: 95vw;
            z-index: 1050;
        }

        .account-content {
            background: #fff;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        /* Mobile responsive */
        @media (max-width: 576px) {
            .account-popup {
                position: fixed !important;
                top: 0;
                right: 0;
                left: 0;
                width: 100vw;
                height: 100vh;
                background: rgba(0, 0, 0, 0.3);
                display: flex;
                justify-content: center;
                align-items: flex-start;
                padding-top: 40px;
            }

            .account-content {
                width: 95%;
                max-height: 90vh;
                overflow-y: auto;
            }
        }