@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap);

 :root {
  --primary-blue: #004AAD;
  --primary-pink: #CD208B;
  --yellow: #FFD700;
  --text-dark: #000000;
  --text-light: #FFFFFF;
  --text-gray: #666;
  /* ===== FONT SIZES (LARGE SCREENS) ===== */
  --font-h1-large: 3.5rem;
  --font-h2-large: 2.5rem;
  --font-h3-large: 2.1rem;
  --font-p-large: 1.8rem;
  --font-small-large: 1.6rem;
  --font-smaller-large: 1.4rem;

  /* ===== FONT SIZES (SMALL SCREENS) ===== */
  --font-h1-small: 2.5rem;
  --font-h2-small: 1.8rem;
  --font-h3-small: 1.2rem;
  --font-p-small: 1rem;
  --font-small-small: 0.8rem;
  --font-smaller-small: 0.6rem;
}

        html {
            font-size: 1rem;
            scrollbar-gutter: stable;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', system-ui, -apple-system, sans-serif;
            transition: all 0.3s ease-in-out;
        }

        body {
            font-family: 'Poppins', system-ui, -apple-system, sans-serif;
            overflow-x: hidden; /* Prevent horizontal scrolling */
        }

        /* Button Styles */
        .auth-buttons {
            display: flex;
            gap: 1rem;
            align-items: center;
            position: relative;
        }

        .btn {
            padding: 0 1.5rem;  
            border-radius: 8px; 
            font-size: 20px;    
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 120px;   
            height: 50px;      
        }

        .btn-primary {
            background: var(--primary-pink);
            border: 2px solid var(--primary-pink);
            color: var(--text-light);
        }

        .btn-applynow {
            background: var(--primary-pink);
            border: 2px solid var(--primary-pink);
            color: var(--text-light);
            text-align: center;
        }

        .btn-applynow:hover {
            background: white;
            border: 2px solid var(--primary-pink);
            color: var(--primary-pink);
            text-decoration: none;
        }

        .btn-outline {
            background: white;
            border: 2px solid var(--primary-blue);
            color: var(--primary-blue);
        }

        .btn-gigs {
            background: var(--primary-blue);
            border: 2px solid var(--primary-blue);
            color: var(--text-light);
        }

        .btn-primary:hover {
            background: white;
            border: 2px solid var(--primary-pink);
            color: var(--primary-pink);
            text-decoration: none;
        }

        .btn-outline:hover {
            background: var(--primary-blue);
            color: var(--text-light);
            text-decoration: none;
        }

        .btn-gigs:hover {
            background: white;
            color: var(--primary-blue);
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: var(--text-light);
            padding: 2rem;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            position: relative;
            text-align: center;
        }

        .modal-content h2 {
            font-size: 24px;
            color: var(--primary-blue);
        }

        .modal-buttons {
            margin-top: 1.5rem;
            display: flex;
            justify-content: center;
            padding: 0 2rem; 
        }

        .modal-buttons .btn {
            width: auto; 
            min-width: 160px; 
            max-width: 80%; 
            margin: 0 auto; 
        }

        .social-login-btn {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            margin-bottom: 10px;
        }

        .social-login-btn img {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

        .close {
            position: absolute;
            right: 1rem;
            top: 0.1rem;
            font-size: 2rem;
            cursor: pointer;
        }

        .role-selection {
            margin: 2rem 0;
        }

        .role-option {
            border: 2px solid var(--primary-blue);
            border-radius: 10px;
            padding: 1rem;
            margin: 1rem 0;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .role-option:hover {
            background-color: var(--text-light);
        }

        .role-option.selected {
            border-color: var(--primary-pink);
            background-color: var(--text-light);
        }

        .role-option input[type="radio"] {
            margin-right: 0.5rem;
        }

        .login-link {
            text-align: center;
            margin-top: 15px;
            font-size: 0.9rem;
            color: var(--text-gray);
        }

        .login-link a {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 500;
        }

        .login-link a:hover {
            text-decoration: underline;
        }

        .login-modal-content {
            max-width: 400px;
            padding: 2rem;
        }

        .login-container {
            width: 100%;
        }

        .login-container h2 {
            text-align: center;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
        }

        .login-container form .btn-primary {
            width: auto;
        }

        .mobile-auth-buttons {
            display: flex;
            flex-direction: row;
            gap: 1rem;
            margin-top: 2rem;
            width: 100%;
            max-width: 250px;
            justify-content: center;
            background-color: white;
            padding: 10px;
        }
        .mobile-auth-buttons .btn {
            flex: 1;
            padding: 0.8rem 1.5rem;
            font-size: 1rem;
            border-radius: 8px;
            text-align: center;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .mobile-auth-buttons .btn-outline {
            background: white;
            color: var(--primary-blue);
            border: 2px solid var(--primary-blue);
        }
        .mobile-auth-buttons .btn-outline:hover {
            background: var(--primary-blue);
            color: white;
        }
        .mobile-auth-buttons .btn-primary {
            background: var(--primary-pink);
            color: white;
            border: 2px solid var(--primary-pink);
        }
        .mobile-auth-buttons .btn-primary:hover {
            background: white;
            color: var(--primary-pink);
        }

        .form-group {
            position: relative;
            margin-bottom: 1rem;
        }

        .form-group i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-gray);
        }

        .form-group input {
            width: 100%;
            padding: 0.8rem 1rem 0.8rem 2.5rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }

        .checkbox-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .forgot-password-link {
            color: var(--primary-blue);
            text-decoration: none;
            font-size: 0.9rem;
        }

        .forgot-password-link:hover {
            text-decoration: underline;
        }

        .or-separator {
            text-align: center;
            margin: 1rem 0;
            position: relative;
        }

        .or-separator::before,
        .or-separator::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 45%;
            height: 1px;
            background-color: #ddd;
        }

        .or-separator::before {
            left: 0;
        }

        .or-separator::after {
            right: 0;
        }

        .signup-link {
            text-align: center;
            margin-top: 15px;
            font-size: 0.9rem;
            color: var(--text-gray);
        }

        .signup-link a {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 500;
        }

        .signup-link a:hover {
            text-decoration: underline;
        }

        .forgot-password-modal {
            max-width: 400px;
            padding: 2rem;
        }

        .forgot-password-modal h2 {
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }

        .forgot-password-modal input {
            width: 100%;
            padding: 0.8rem;
            margin: 1rem 0;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        
        /* Container Styles */
        .container {
            max-width: 2000px;
            margin: auto;
            padding: auto;
        }

        /* Navbar Styles */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0rem 1rem;
            background: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: 5.5rem;
        }

        .navbar-left {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.7rem;
            color: var(--primary-pink);
            margin-right: 1rem;
        }

        .logo img {
            width: 4rem;
            height: 4rem;
        }

        .logo h1 {
            font-size: 2rem;
            font-weight: bold;
        }

        .nav-links {
            display: flex;
            gap: 1rem;
            list-style: none;
            align-items: center;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .nav-links a {
            color: var(--primary-blue);
            text-decoration: none;
            padding: 0.5rem 1rem;
            font-size: 1.25rem;
            font-weight: 500;
        }

        .nav-links a:hover, .nav-links a.active {
            color: var(--primary-pink);
        }

        .navbar-right {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .search-auth-content {
            display: flex;
            align-items: center;
            gap: 0;
            padding: 0.5rem 1rem;
        }

        .search-type-select {
            position: relative;
        }

        .search-type-button {
            height: 50px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0 1rem;
            border: 2px solid var(--primary-blue);
            border-radius: 8px 0 0 8px;
            border-right: none;
            background: white;
            cursor: pointer;
            font-size: 1rem;
            color: var(--primary-blue);
        }

        .search-type-button:hover {
            color: var(--primary-pink);
            border-color: var(--primary-pink);
        }

        .search-type-button:after {
            content: '▼';
            font-size: 1rem;
        }

        .search-type-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            border: 2px solid var(--primary-blue);
            border-radius: 8px;
            margin-top: 0.5rem;
            display: none;
            z-index: 1000;
            width: max-content;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .search-type-dropdown.active {
            display: block;
        }

        .search-type-option {
            padding: 1rem;
            cursor: pointer;
            color: var(--primary-blue);
        }

        .search-type-option:hover {
            color: var(--primary-pink);
        }

        .search-bar {
            height: 50px;
            display: flex;
            align-items: center;
            background: white;
            border: 2px solid var(--primary-blue);
            border-radius: 0 8px 8px 0;
            width: 200px;
            margin-right: 1rem;
        }

        .search-bar:hover {
            border-color: var(--primary-pink);
        }

        .search-type-button:hover + .search-bar {
            border-color: var(--primary-pink);
        }

        .search-bar input {
            border: none;
            outline: none;
            padding: 0 1rem;
            width: 100%;
            height: 100%;
            font-size: 1rem;
        }

        .search-bar input:focus {
            outline: none;
        }

        .search-bar .icon {
            color: var(--primary-blue);
            padding: 0 0.5rem;
            font-size: 1rem;  
        }

        .search-bar:hover .icon {
            color: var(--primary-pink);
        }

        /* Sidebar Styles */
        .sidebar {
            width: var(--sidebar-width);
            padding: 2rem;
            border-right: 1px solid #e0e0e0;
        }

        .sidebar-nav {
            list-style: none;
        }

        .sidebar-nav li {
            margin-bottom: 1rem;
        }

        .sidebar-nav a {
            color: var(--primary-blue);
            text-decoration: none;
            font-size: 0.95rem;
        }

        .sidebar-nav a:hover {
            color: var(--primary-pink);
        }

        .sidebar-nav .active {
            color: var(--primary-pink); 
            font-weight: bold;
            border-left: 3px solid var(--primary-pink); 
            padding-left: 1rem;
        }

        /* Main Content Styles */
        .main-content {
            max-width: 1500px;
            margin: 0 auto;
            padding: 2rem;
        }

        .main-content h1 {
            font-size: 2rem;
            
            padding-bottom: 1rem;
        }

        .main-content p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }

        /* Side nav styles */
        .side-nav {
            position: fixed;
            top: 2rem;
            left: -100%;
            height: 100vh;
            width: 100%;
            background-color: white;
            z-index: 1000;
            transition: left 0.3s ease;
        }

        .side-nav.active {
            left: 0;
        }

        .side-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0,0,0,0.5);
            z-index: 999;
            display: none;
        }

        .side-nav-overlay.active {
            display: block;
        }

        .side-nav-content {
            padding: 60px 0 20px 0;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
        }

        .nav-item {
            display: flex;  
            flex-direction: column;
            align-items: center;
            gap: 10px;
            width: 100%;
            max-width: 300px;
            padding: 20px;
            color: var(--primary-blue);
            text-decoration: none;
            border-bottom: 1px solid #eee;
            transition: background-color 0.2s ease;
            font-size: 1.2rem;
            text-align: center;
            margin: 10px 0;
            font-weight: 500;
        }

        .nav-item:hover {
            color: var(--primary-pink);
        }

        .side-nav.active + .hamburger span {
            background-color: var(--primary-blue);
        }

        /* Footer Styles */
        footer {
            background: var(--primary-blue);
            padding: 2.5rem 5%;
            align-items: center;
            padding-bottom: 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
            margin-bottom: 2rem;
        }
        
        .footer-column h3 {
            font-size: var(--font-h3-large);
            margin-bottom: 0.5rem;
            color: var(--text-light);
        }

        .footer-column a {
            font-size: 21px;
            display: block;
            color: var(--text-light);
            text-decoration: none;
            margin-bottom: 0.5rem;
            transition: text-decoration 0.3s ease; 
        }

        .footer-column a:hover {
            text-decoration: underline;
        }

        .footer-bottom {
            font-size: 21px;
            color: var(--text-light);
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid white;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10rem;
        }

        .footer-bottom a {
            color: var(--text-light);
            margin: 0 10px;
            text-decoration: none;
        }

        .footer-bottom .brand-link {
        color: inherit;
        font-weight: inherit;    
        text-decoration: none;
        }

        .footer-bottom .brand-link:hover,
        .footer-bottom .brand-link:focus-visible {
        color: var(--primary-pink) !important;
        outline: none;
        text-decoration: none;
        }

        .footer-bottom .brand-link:visited {
        color: inherit;
        }

        .footer-bottom a:hover {
            text-decoration: underline;
        }

        .footer-bottom .social-icons img {
            width: 1rem;
            height: 1rem;
        }

        .social-icons .bi {
            font-size: 1.5rem; 
            margin-right: 10px;
            border-radius: 50%;
            color: var(--text-light);
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .social-icons .bi:hover {
            transform: scale(1.2);
            color: var(--primary-pink);
        }

        /* Hamburger Menu Styles */
        .hamburger {
            position: relative; /* Change from fixed to relative */
            display: none;
            cursor: pointer;
            padding: 15px;
            background: none;
            border: none;
            z-index: 1001;
            margin-left: 1rem;
        }

        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px 0;
            background-color: var(--primary-blue);
            transition: all 0.3s ease;
        }

        .main-content {
            max-width: 1500px;
            margin: 0 auto;
            padding: 1rem;
        }

        .hero-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 3rem 0;
            gap: 2rem;
        }

        .hero-content {
            flex: 1;
        }

        .hero-content h1 {
            font-size: 52px;
            color: var(--primary-blue);
            line-height: 60px;
        }

        .hero-content p {
            font-size: 21px;
            margin-bottom: 2rem;
            line-height: 1.6;
            text-align: left;
        }

        .hero-image {
            flex: 1;
            text-align: center;
        }

        .hero-image img {
            max-width: 100%;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }


        .loan-details h2 {
            font-size: 40px;
            color: var(--primary-blue);
        }

        .loan-details p {
            font-size: 21px;
        }

        .loan-options {
            display: flex;
            gap: 2rem;
            margin: 2rem 0;
            flex-wrap: wrap;
        }

        .loan-card {
        flex: 1;
        min-width: 300px;
        background: #fff;
        border-radius: 10px;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s;
        text-align: center;
        border: 2px solid var(--primary-pink);
        position: relative;
        overflow: hidden;
        }

        .loan-card:hover {
            transform: translateY(-5px);
        }

        .loan-icon {
            font-size: 3.5rem;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            width: 100px;
            height: 100px;
            background: #f8f9fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem auto;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .loan-card:hover .loan-icon {
            background: var(--primary-blue);
            color: white;
        }

        .loan-card h3 {
            color: var(--primary-blue);
            margin-bottom: 1rem;
            font-size: 30px;
        }

        .loan-card p {
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .other-products {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .other-products h3 {
            width: 100%;              
            font-size: 40px;
            margin-top: 1rem;
            color: var(--primary-blue);
            }

        .product-item {
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: 8px;
            min-width: 150px;
            text-align: center;
            transition: transform 0.3s;
            flex: 1;
            min-width: 150px;
            display: flex;
            flex-direction: column;
            align-items: center;
            border: 2px solid var(--primary-blue);
            position: relative;
            overflow: hidden;
        }

        .product-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .product-icon {
            font-size: 2rem;
            color: var(--primary-pink);
            margin-bottom: 1rem;
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .product-item:hover .product-icon {
            background: var(--primary-pink);
            color: white;
        }

        .product-details h4 {
            margin-bottom: 0.5rem;
            color: var(--primary-blue);
            font-size: 25px;
        }

        .product-details p {
            color: var(--text-dark);
            font-size: 21px;
        }

        .requirements {
            padding: 2.5rem 2rem; /* Reduced from 3rem */
            background: #f8f9fa;
            border-radius: 10px;
            margin: 2rem 0;
        }

        .requirements h2 {
            width: 100%; /* full width in case it's in a flex layout */
            display: flex;
            align-items: center;
            font-size: 30px;
            margin-bottom: 1.5rem;
            color: var(--primary-blue);
        }

        .requirements h2 i {
            font-size: 1.8rem;
            color: var(--primary-blue);
            margin-right: 0.5rem;
        }

        .requirements-content {
            display: flex;
            gap: 2rem;
            margin-top: 1.5rem; /* Reduced from 2rem */
            flex-wrap: wrap;
        }

        .requirements-text {
            flex: 2;
            min-width: unset; /* Remove min-width for mobile */
            width: 100%; /* Ensure it takes full width */
        }

        .requirements-image {
            flex: 1;
            min-width: unset; /* Remove min-width for mobile */
            width: 100%; /* Ensure it takes full width */
        }

        .requirements-image img {
            width: 100%;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        
        .key-features-section {
            margin: 2rem 0;
        }

        .key-features-section h2 {
            text-align: left;
            color: var(--primary-blue);
            margin-bottom: 2rem;
            font-size: 40px;
        }

        .key-features-container {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            justify-content: center;
        }

        .feature-card {
            flex: 1 1 calc(33.333% - 2rem); /* 3 in a row by default */
            max-width: 380px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: white;
            border: 1px solid #e0e0e0;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-card img {
            width: 100%;
            height: 500px;
            object-fit: cover;
        }

        .card-content {
            padding: 1.5rem;
        }

        .card-content h3 {
            color: var(--primary-blue);
            margin-bottom: 0.8rem;
            font-size: 30px;
        }

        .card-content p {
            color: var(--text-dark);
            font-size: 21px;
            line-height: 1.5;
            text-align: left;
        }

        .contact-info-container {
            display: flex;
            flex-direction: row-reverse;
            align-items: center;
            gap: 2rem;
            margin: 2rem 0;
            padding: 1.5rem;
            background: #f8f9fa;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .contact-info {
            flex: 2;
            padding: 1rem;
        }

.pretty-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.07), 0 1.5px 6px rgba(0,0,0,0.03);
    padding: 2.5rem 2rem; /* Keep desktop padding */
    margin: 2rem 0;
    border: 1.5px solid #e6eaf3;
}
.enhanced-requirements-section .requirements-text ol {
    counter-reset: req-counter;
}
.enhanced-requirements-section .requirements-text li {
    margin-bottom: 0.6rem; /* Further reduced from 0.8rem */
    font-size: 1.08rem;
    position: relative;
    padding-left: 2.7rem;
    line-height: 1.4; /* Further reduced from 1.5 */
    box-sizing: border-box; /* Ensure padding is included in width */
    word-wrap: break-word; /* Better word breaking */
    overflow-wrap: break-word; /* Modern browsers */
    hyphens: auto; /* Enable hyphenation */
    max-width: 100%; /* Ensure it doesn't exceed parent width */
}
.enhanced-requirements-section .requirements-text .step-icon {
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 2rem;
    height: 2rem;
    background: var(--primary-pink);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(205,32,139,0.08);
}
.enhanced-requirements-section .requirements-text ol > li {
    font-weight: 500;
    font-size: 21px;
    margin-left: 2rem;
}
.enhanced-requirements-section .requirements-text ul {
    margin-top: 0.2rem;  
    margin-bottom: 0.2rem;  
    padding-left: 1.5rem;
    font-weight: 400;
    box-sizing: border-box;  
    max-width: 100%;  
}

.enhanced-requirements-section .requirements-text ul li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;  
    margin-bottom: 0.2rem;  
}

.enhanced-requirements-section .requirements-text h3 {
    color: var(--primary-blue);
    font-size: 30px;
    margin-bottom: 0.8rem;  
    margin-top: 0;  
    font-weight: 600;
}

.enhanced-requirements-section .requirements-text ul {
    list-style: none;
}

.enhanced-requirements-section .requirements-text ul li::before {
    content: "•";
    color: var(--primary-pink);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

.enhanced-requirements-section .requirements-text ul li {
    position: relative;
    padding-left: 1rem;
    font-size: 21px;
}

.enhanced-requirements-section .requirements-text ul li strong {
    color: var(--primary-blue);
    font-weight: 600;
}
.enhanced-contact-info .apply-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.enhanced-contact-info .apply-icon {
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 10px rgba(0, 74, 173, 0.15);
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-top:-1.5rem;
}
.enhanced-contact-info .broker-card {
    background: #f8f9fa;
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1.2rem 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 400px;
    transition: box-shadow 0.2s;
}
.enhanced-contact-info .broker-card:hover {
    box-shadow: 0 6px 24px rgba(0,74,173,0.10);
}
.enhanced-contact-info .broker-card img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--primary-pink);
    object-fit: cover;
    background: #fff;
}
.enhanced-contact-info .broker-label {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: var(--font-smaller-large);
}
.enhanced-contact-info .broker-code {
    font-size: 1.25rem;
    color: var(--primary-pink);
    letter-spacing: 1px;
    font-weight: 700;
}

.enhanced-contact-info .apply-header h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  color: var(--primary-blue);
}

.enhanced-contact-info .apply-header p {
  margin: 0;
  font-size: 25px;
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: 5.5rem;
  position: relative;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

/* FIXED CENTERING */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;

  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  
  white-space: nowrap; 
  max-width: 60%; 
  justify-content: center;
}

.nav-links a {
  color: var(--primary-blue);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 20px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-pink);
}

@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }

  /* Navbar Adjustments */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    position: relative;
  }


  .main-content{
max-width: 1100px;
  }

  .product-details p {
    text-align: center;
  }

  .nav-links,
  .navbar-right {
    display: none;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1002;
  }

  .hamburger span {
    background-color: var(--primary-blue);
  }

  .mobile-auth-buttons {
    display: flex;
  }

  /* Loan + Feature Sections (stay consistent with 1440px layout) */
  .loan-options,
  .key-features-container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .feature-card {
    flex: 1;
    min-width: 300px;
    max-width: 360px;
  }

  /* ✅ Footer Dropdown — restored functionality */
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-column {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
  }

  .footer-column h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-h3-large);
    color: var(--text-light);
    cursor: pointer;
    padding: 0.8rem 0;
    margin: 0;
    position: relative;
  }

  .footer-column h3::after {
    content: '▾';
    font-size: 2rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
  }

  .footer-column h3.active::after {
    transform: rotate(180deg);
  }

  .footer-column .footer-links {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .footer-column .footer-links.show {
    max-height: 300px;
    opacity: 1;
    margin-top: 0.5rem;
  }

  .footer-column .footer-links a {
    display: block;
    font-size: 20px;
    color: var(--text-light);
    text-decoration: none;
    margin: 0.3rem 0;
  }

  .footer-column .footer-links a:hover {
    text-decoration: underline;
  }

  /* Footer bottom alignment */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 24px;
    padding-top: 1.5rem;
    border-top: none;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 14.5px;
  }

  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: var(--font-h2-small);
  }

  .hero-content p {
    font-size: var(--font-p-small);
  }

  .loan-options {
    flex-direction: column;
    align-items: center;
  }

  .key-features-container {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 100%;
    max-width: 480px;
  }

  .feature-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .requirements-content {
    flex-direction: column;
  }

  .requirements-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .contact-info-container {
    flex-direction: column;
    text-align: left;
  }

  .footer-grid {
    text-align: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .main-content {
        max-width: 700px;
    }

  .navbar {
    padding: 0 1rem;
  }

  .logo img {
    height: 3rem;
    width: 3rem;
  }

  .btn {
    font-size: 15px;
    margin-bottom: 1rem;
}

  .hero-section {
    flex-direction: column-reverse;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .hero-image img {
    height: 500px;
}

  .hero-content h1 {
    font-size: 25px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 15px;
  }

  .loan-card {
    width: 100%;
    max-width: 500px;
    margin: auto;
  }

  .loan-details h2 {
    font-size: 25px;
    text-align: center;
    line-height: 1.2;
  }

  .loan-details p {
    font-size: 15px;
  }

  .loan-card h3 {
    font-size: 20px;
}

.product-details h4 {
    font-size: 20px;
}

  .other-products {
    flex-direction: column;
    align-items: center;
  }

  .product-item {
    width: 100%;
    max-width: 380px;
  }

  .key-features-section h2 {
    font-size: 25px;
    text-align: center;
  }

  .feature-card {
        flex: 1 1 calc(50% - 2rem);
    }

    .feature-card img {
        height: 260px;
    }

  .requirements-content {
    flex-direction: column;
  }

  .requirements-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .contact-info-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
  }

  .broker-card {
    justify-content: center;
  }

  footer {
    padding: 2rem 1rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    font-size: 16px;
    border-top: none;
  }

  .footer-column h3 {
    font-size: var(--font-h3-small);
  }

  .footer-column h3.active::after {
    font-size: 1.5rem;
  }

  .footer-column .footer-links a {
    font-size: 16px;
    text-align: left;
  }

  .social-icons {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .social-icons .bi {
    font-size: 1.4rem;
  }

  .other-products h3 {
    font-size: 25px;
    text-align: center;
    line-height: 1.2;
  }

  .card-content h3 {
    font-size: 20px;
    text-align: center;
  }

  .card-content p {
    font-size: 15px;
  }

  .requirements h2 {
    font-size: 20px;
  }

  .enhanced-requirements-section .requirements-text h3 {
    font-size: 20px;
  }

  .enhanced-requirements-section .requirements-text ol > li {
    font-size: 15px;
  }

  .enhanced-requirements-section .requirements-text ul li {
    font-size: 15px;
}

  .enhanced-contact-info .apply-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
  }

  .enhanced-contact-info .apply-header p {
    margin: 0;
    font-size: 15px;
  }

  .nav-item {
    font-size: var(--font-smaller-large);
  }

  .pretty-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.07), 0 1.5px 6px rgba(0, 0, 0, 0.03);
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    border: 1.5px solid #e6eaf3;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.contact-info {
    flex: 2;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}
}

@media (max-width: 600px) {
  html {
    font-size: 13.5px;
  }

  .hero-section {
    padding: 1.5rem 1rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .loan-card {
    padding: 1.5rem;
  }

  .feature-card img {
    border-radius: 8px;
  }

  .product-item {
    max-width: 350px;
  }

  .footer-bottom {
    gap: 0.5rem;
  }
}

@media (max-width: 425px) {
  html {
    font-size: 13px;
  }

  .logo h1 {
    font-size: 1.4rem;
  }

  .hero-section {
    padding: 1.2rem;
  }

  .hero-content h1 {
    font-size: var(--font-h2-small);
  }

  .hero-content p {
    font-size: var(--font-p-small);
  }

  .loan-card,
  .feature-card,
  .product-item {
    width: 100%;
    max-width: 100%;
    margin: auto;
  }

  .feature-card img,
  .requirements-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .feature-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .feature-card img {
        height: 220px;
    }

    .card-content {
        padding: 1rem;
    }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .footer-bottom {
    font-size: 16px;
    text-align: center;
  }

  .footer-column h3 {
    font-size: var(--font-h3-small);
  }

  .footer-column .footer-links a {
    font-size: 16px;
  }

  .main-content p {
    text-align: left;
  }

  .mobile-auth-buttons .btn-primary {
    display: none;
}

  /* .btn {
    margin-left: 4rem;
  } */
}

@media (max-width: 320px) {
  .requirements {
    padding: 1.2rem 1rem;
    margin: 1rem 0;
  }

  .requirements h2 {
    font-size: var(--font-h3-small);
    text-align: center;
  }

  .requirements-content {
    flex-direction: column;
    gap: 1rem;
  }

  .requirements-text {
    font-size: var(--font-p-small);
  }

  .requirements-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
  }

  .enhanced-requirements-section .requirements-text h3 {
    font-size: 15px;
    text-align: left;
  }

  .enhanced-requirements-section .requirements-text ol > li,
  .enhanced-requirements-section .requirements-text ul li {
    font-size: 13px;
    line-height: 1.3;
    padding-left: 1.5rem;
    margin-left: 1rem;
  }

  .enhanced-requirements-section .requirements-text ul li strong {
    margin-left: -1.3rem;
}

 .enhanced-requirements-section .requirements-text ul li::before {
    margin-left: -1rem;
}

.sub-req-item::before {
  left: 0.8rem; 
}

.enhanced-requirements-section .requirements-text ul li.sub-req-item {
    padding-left: 0;
}

  .enhanced-requirements-section .requirements-text .step-icon {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.7rem;
    margin-top: -0.3rem;
  }

  .pretty-card {
    padding: 1.2rem 1rem;
    margin: 1rem 0;
    border-radius: 12px;
  }

  .pretty-card h3 {
    font-size: var(--font-h3-small);
    text-align: center;
  }

  .pretty-card p,
  .pretty-card li {
    font-size: var(--font-p-small);
    line-height: 1.4;
  }

  .contact-info-container {
    flex-direction: column;
    padding: 1rem;
    text-align: left;
  }

  .enhanced-contact-info .apply-header h3 {
    font-size: 20px;
    text-align: left;
  }

  .enhanced-contact-info .apply-header p {
    font-size: 15px;
  }

  .hero-section {
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 25px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .enhanced-requirements-section .requirements-text ul {
    padding-left: 0;
}
}