@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 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;
}
        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;
            overflow-wrap: break-word;
            word-wrap: break-word;
            word-break: break-word;
            hyphens: auto;
        }
        body {
            font-family: 'Poppins', system-ui, -apple-system, sans-serif;
            max-width: 100%;
            overflow-x: hidden;
        }
        
        body.no-scroll {
            overflow: hidden;
        }

        /* Add class for body when menu is open */
        body.menu-open {
            overflow: hidden;
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
        }

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

        .btn {
            display: inline-flex;         
            align-items: center;
            justify-content: left;
            padding: 0.8rem 2rem;          
            border-radius: 8px;
            font-size: 1.1rem;           
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            min-width: 120px;
            height: 50px;
            text-align: center;
            white-space: nowrap;          
            cursor: pointer;
        }

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

        .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;
        }

        .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;
        }

        /* Header Styles */
        .header {
            background-color: white;
            color: var(--text-dark);
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: all var(--transition-speed) ease;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0rem 1rem;
            max-width: 1400px;
            margin: 0 auto;
            height: 5.5rem;
        }

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

        .logo img {
            width: 4rem;
            height: 4rem;
            margin-right: 0.5rem;
            border-radius: 50%;
            object-fit: cover;
        }

        .logo h1 {
            font-size: 2rem;
            margin: 0;
            font-weight: bold;
            color: var(--primary-pink);
        }

        .nav-links {
            display: flex;
            gap: 1rem;
            list-style: none;
            align-items: center;
        }

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

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

        .nav-buttons {
            display: flex;
            gap: 1rem;
        }

        .btn {
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition-speed) ease;
            border: none;
            font-size: 1.2rem;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }

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

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

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

        .btn-signup:hover {
            background-color: #a91a6d;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(205, 32, 139, 0.3);
        }

        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            color: var(--primary-blue);
            font-size: 1.8rem;
            padding: 0.5rem;
            min-width: 44px;
            min-height: 44px;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: background-color var(--transition-speed) ease;
        }

        .hamburger:hover {
            background-color: rgba(0, 74, 173, 0.1);
        }

        .hamburger:active {
            background-color: rgba(0, 74, 173, 0.2);
        }

        /* Container Styles */
        .container {
            max-width: 2000px;
            margin: auto;
            padding: auto;
        }

        /* 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;
        }

        /* Side nav styles */
        /* Hamburger Menu Styles */
        .hamburger {
            position: relative;
            display: none;
            cursor: pointer;
            padding: 15px;
            background: none;
            border: none;
            z-index: 1001;
        }
        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px 0;
            background-color: var(--primary-blue);
            transition: all 0.3s ease;
        }
        /* Side nav styles */
        .side-nav {
            position: fixed;
            top: 0;
            left: -100%;
            height: 100vh;
            width: 100%;
            background-color: white;
            z-index: 1000;
            transition: left 0.3s ease;
            box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            overflow-y: auto;
        }
        .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: 100px 20px 20px;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            background-color: white;
            min-height: 100vh;
        }
        .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: all 0.2s ease;
            font-size: 1.2rem;
            text-align: center;
            margin: 10px 0;
            font-weight: 500;
            background-color: white;
        }
        .nav-item:hover {
            color: var(--primary-pink);
            background-color: rgba(205, 32, 139, 0.05);
        }
        /* Prevent body scroll when menu is open */
        body.menu-open {
            overflow: hidden;
            position: fixed;
            width: 100%;
        }

        /* Mobile auth buttons in hamburger menu */
        .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);
        }
        

        /* 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: 9rem;
        }

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

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

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

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

        .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;
        }

        .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);
        }


        .highlights {
            color: var(--primary-pink);
        }

        /* Hero Section Styles */
        .hero {
            padding: 0;
            background-color: #f7f7f7;
            overflow: hidden;
            border-radius: 15px;
            margin-bottom: 3rem;
        }

        .hero-container {
            display: flex;
            gap: 1rem;
            max-width: 1600px;
            margin: 0 auto;
            width: 100%;
            padding: 0;
            box-sizing: border-box;
        }

        .hero-content {
            flex: 0 0 50%;
            text-align: left;
            padding-right: 1rem;
            padding-left: 1rem;
            margin-left: 0;
        }

        .hero-image {
            flex: 0 0 50%;
            margin: 0;
        }

        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .hero-title {
            margin-top: 2rem;
            font-size: 2rem;
            color: var(--primary-blue);
        }

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

        .hero-highlights {
            margin: 2rem 0;
        }

        .hero-highlights ul {
            list-style: none;
            padding: 0;
            margin-top: -1rem;
        }

        .hero-highlights li {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            font-size: 21px;
            color: var(--text-dark);
        }

        .hero-highlights li i {
            color: var(--primary-blue);
            margin-right: 1rem;
            font-size: 1.2rem;
        }

        .hero-highlights li:hover {
            transform: translateX(10px);
            transition: transform 0.3s ease;
        }

        .hero-highlights li:hover i {
            color: var(--primary-pink);
            transition: color 0.3s ease;
        }

        .register-container {
            margin-top: 1.5rem;
            display: flex;              
            justify-content: center;    
            align-items: center;        
            width: 100%;                
            text-align: center;      
        }

        .start-note {
            margin-top: 1.5rem;
            font-size: 1.1rem;
            color: #666;
            font-style: italic;
        }

        .small-images-container {
            display: flex;
            justify-content: flex-start;
            gap: 1.5rem;
            margin-top: 2rem;
            padding: 0;
            max-width: 100%;
            overflow: hidden;
            margin-bottom: 2rem;
        }

        .small-image-box {
            width: 180px;
            height: 180px;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .small-image-box:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .small-image-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.3s ease;
        }

        .small-image-box:hover img {
            transform: scale(1.1);
        }

        .affiliate-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .affiliate-form .form-group {
            width: 100%;
        }

        .affiliate-form input {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .affiliate-form input:focus {
            border-color: var(--primary-pink);
            outline: none;
        }

        .affiliate-form input::placeholder {
            color: #888;
        }

        .affiliate-form button {
            margin-top: 1rem;
        }

        .steps {
            padding: 0;
        }

        .steps-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;  
        }

        .steps-container h2 {
            font-size: 35px;
            color: var(--primary-blue);
            margin-bottom: 2rem;
            text-align: center;
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);  
            gap: 2rem;
            justify-content: center;
        }

        .step-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border: 2px solid var(--primary-blue);
            padding: 1rem;  
            display: flex;
            flex-direction: column;
            transition: box-shadow 0.3s ease;
        }

        .step-card img {
            width: 150px;
            height: auto;
            display: block;
            margin: 20px auto;
        }

        .step-content {
            padding: 20px;
            text-align: justify;
        }

        .step-card:hover {
            box-shadow: 0 10px 50px rgba(0, 81, 255, 0.15);
        }

        .step-header {
            margin-bottom: 15px;
        }

        .step-number {
            font-size: 30px;
            font-weight: bold;
            color: var(--primary-pink);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .step-title {
            font-size: 25px;
            font-weight: 600;
            margin: 0.5rem 0;
            text-align: center;
            line-height: 1.2;
            color:var(--primary-blue);
            margin-top: -1rem;
        }

        p, 
        .step-content p {
            font-size: 21px;
            text-align: center;
        }


        .benefits {
            padding: 0;
        }

        .benefits-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px 15px 20px;
        }

        .benefits-container h2 {
            font-size: 35px;
            color: var(--primary-blue);
            margin-bottom: 20px;
            text-align: center;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);  
            gap: 2rem;
            justify-content: center;
        }

        .benefit-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border: 2px solid var(--primary-blue);
            padding: 1rem;  
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: box-shadow 0.3s ease;
        }

        .benefit-icon img {
            width: 150px;
            height: auto;
            display: block;
            margin: 20px auto;
        }

        .benefit-card p {
            padding: 20px;
            text-align: center;
            color: var(--text-dark);
            font-size: 21px;
        }

        .benefit-card:hover {
            box-shadow: 0 100px 500px rgba(0, 81, 255, 0.15);
        }

        .benefit-title {
            font-size: 25px;
            font-weight: bold;
            color: var(--primary-pink);
            margin-top: 1rem;
            text-align: center;
            line-height: 50px;
        }

        .cta-text {
            font-size: 25px;
            font-weight: 600;
            color: var(--primary-blue);
            text-align: left;
            line-height: 1.4;
        }

        .cta-text1 {
            font-size: 25px;
            margin-top: 2rem;
            font-weight: 600;
            color: var(--primary-blue);
            text-align: left;
            line-height: 1.4;
            margin-bottom: 2rem;
        }

        .cta-text2 {
            font-size: 25px;
            margin-top: 2rem;
            font-weight: 600;
            color: var(--primary-blue);
            text-align: left;
            line-height: 1.4;
            margin-bottom: 2rem;
        }

        .start-note {
            font-size: var(--font-p-large);
            color: #666;
            font-style: italic;
        }

        .flow {
            padding: 2rem 0;
            background-color: var(--primary-pink);
            border-radius: 15px;
        }

        .flow-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .flow-container h2 {
            font-size: 35px;
            color: var(--text-light);
            text-align: center;
        }

        .circular-flow-animation {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 4rem;
            margin: 3rem 0 0 0;
            padding: 1rem;
            position: relative;
        }

        .image-container {
            width: 280px;
            height: 280px;
            background: #fff;
            border-radius: 50%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .flow-item span {
            font-size: 1.8rem;
            font-weight: 700;
            margin-top: 1.5rem;
            color: var(--text-light);
        }

        .flow-item:not(:last-child)::after {
            content: '→';
            position: absolute;
            right: -3rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 4rem;
            color: var(--yellow);
            animation: arrowPulse 1.5s infinite;
        }

        @keyframes arrowPulse {
            0% {
                transform: translateY(-50%) translateX(0);
                opacity: 1;
            }
            50% {
                transform: translateY(-50%) translateX(10px);
                opacity: 0.7;
            }
            100% {
                transform: translateY(-50%) translateX(0);
                opacity: 1;
            }
        }

        .image-container:hover {
            transform: scale(1.05);
        }

        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .flow-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Consistent form styling */
        #affiliateRegisterModal .modal-dialog,
        #affiliateLoginModal .modal-dialog {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        min-height: 100vh;
        margin: 3rem auto 2rem;
        }

        #affiliateRegisterModal .modal-content,
        #affiliateLoginModal .modal-content {
        max-width: 450px;
        width: 90%;
        max-height: 85vh;
        overflow-y: auto;
        padding: 2rem;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        #affiliateRegisterModal .modal-content::-webkit-scrollbar,
        #affiliateLoginModal .modal-content::-webkit-scrollbar {
        width: 6px;
        }

        #affiliateRegisterModal .modal-content::-webkit-scrollbar-thumb,
        #affiliateLoginModal .modal-content::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
        }

        #affiliateRegisterModal .form-group,
        #affiliateLoginModal .form-group {
            margin-bottom: 1.2rem;
            position: relative;
        }

        #affiliateRegisterModal label,
        #affiliateLoginModal label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--text-dark);
            text-align: left;
        }

        #affiliateRegisterModal input,
        #affiliateLoginModal input {
            width: 100%;
            padding: 0.7rem 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        #affiliateRegisterModal input:focus,
        #affiliateLoginModal input:focus {
            border-color: var(--primary-pink);
            outline: none;
        }

        #affiliateRegisterModal .password-toggle,
        #affiliateLoginModal .password-toggle {
            position: absolute;
            right: 15px;
            top: 70%;
            transform: translateY(-50%);
            cursor: pointer;
            color: var(--text-gray);
            text-align: right;
        }

        #affiliateRegisterModal .btn-primary,
        #affiliateLoginModal .btn-primary {
            width: 100%;
            padding: 0.8rem;
            font-size: 1rem;
            margin-top: 1rem;
        }

        #affiliateRegisterModal .login-link,
        #affiliateLoginModal .signup-link {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 0.9rem;
            color: var(--text-gray);
        }

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

        #affiliateRegisterModal .login-link a:hover,
        #affiliateLoginModal .signup-link a:hover {
            text-decoration: underline;
        }

        #affiliateErrorMessage,
        #affiliateLoginErrorMessage {
            color: red;
            margin-bottom: 1rem;
            padding: 0.5rem;
            background-color: rgba(255, 0, 0, 0.1);
            border-radius: 5px;
            display: none;
        }

        .required {
            color: red;
            margin-left: 2px;
        }

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

        /* Success modal styling */
.success-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease-in-out;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
        

        /* ====== AFFILIATE REGISTER & LOGIN MODALS ====== */
        #affiliateRegisterModal,
        #affiliateLoginModal {
        display: none;
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.45);
        overflow: hidden;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        }

        #affiliateRegisterModal.show,
        #affiliateLoginModal.show {
        display: flex; 
        }

        /* Center modal content */
        #affiliateRegisterModal .modal-content,
        #affiliateLoginModal .modal-content {
        position: relative;
        background-color: #fff;
        padding: 2rem;
        border-radius: 12px;
        max-width: 460px;
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        scrollbar-width: thin;
        }

        /* Smooth scrollbars (WebKit) */
        #affiliateRegisterModal .modal-content::-webkit-scrollbar,
        #affiliateLoginModal .modal-content::-webkit-scrollbar {
        width: 6px;
        }
        #affiliateRegisterModal .modal-content::-webkit-scrollbar-thumb,
        #affiliateLoginModal .modal-content::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
        }

        /* Close button */
        #affiliateRegisterModal .close,
        #affiliateLoginModal .close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--text-dark);
        cursor: pointer;
        }
        #affiliateRegisterModal .close:hover,
        #affiliateLoginModal .close:hover {
        color: var(--primary-pink);
        }

        /* Headings */
        #affiliateRegisterModal h2,
        #affiliateLoginModal h2 {
        color: var(--primary-blue);
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        }
        #affiliateRegisterModal .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        }

        /* Form layout */
        #affiliateRegisterModal .form-group,
        #affiliateLoginModal .form-group {
        margin-bottom: 1.2rem;
        position: relative;
        }

        #affiliateRegisterModal label,
        #affiliateLoginModal label {
        display: block;
        margin-bottom: 0.4rem;
        font-weight: 500;
        color: var(--text-dark);
        text-align: left;
        }

        /* Inputs */
        #affiliateRegisterModal input,
        #affiliateLoginModal input {
        width: 100%;
        padding: 0.7rem 1rem;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
        }
        #affiliateRegisterModal input:focus,
        #affiliateLoginModal input:focus {
        border-color: var(--primary-pink);
        outline: none;
        }

        /* Password toggle */
        #affiliateRegisterModal .password-toggle,
        #affiliateLoginModal .password-toggle {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: var(--text-gray);
        font-size: 0.9rem;
        }

        /* Buttons */
        #affiliateRegisterModal .btn-primary,
        #affiliateLoginModal .btn-primary {
        width: 100%;
        padding: 0.8rem;
        font-size: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        }

        /* Links */
        #affiliateRegisterModal .login-link,
        #affiliateLoginModal .signup-link {
        text-align: center;
        margin-top: 1.2rem;
        font-size: 0.9rem;
        color: var(--text-gray);
        }
        #affiliateRegisterModal .login-link a,
        #affiliateLoginModal .signup-link a {
        color: var(--primary-blue);
        text-decoration: none;
        font-weight: 500;
        }
        #affiliateRegisterModal .login-link a:hover,
        #affiliateLoginModal .signup-link a:hover {
        text-decoration: underline;
        }

        /* Error message box */
        #affiliateErrorMessage,
        #affiliateLoginErrorMessage {
        color: red;
        margin-bottom: 0.8rem;
        padding: 0.4rem;
        background-color: rgba(255, 0, 0, 0.08);
        border-radius: 5px;
        display: none;
        }

        /* Required mark */
        #affiliateRegisterModal .required,
        #affiliateLoginModal .required {
        color: red;
        margin-left: 2px;
        }

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

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

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

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

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

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


    .nav-buttons {
        display: none; 
    }

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

    .nav-item {
        font-size: 20px;
    }

    .hero-container {
        flex-direction: column;  
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .hero-image {
        width: 90%;
        max-height: 300px;  
        overflow: hidden;
        margin: 0 auto 1rem;
        border-radius: 10px;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;  
    }

    .hero-content {
        flex: 0 0 100%;
        padding: 0 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: var(--font-h1-large);
        margin-top: 0;
        text-align: left;
    }

    .hero-highlights ul {
        text-align: left;
        max-width: 800px;
    }

    .small-images-container {
        display: none;  
    }

    .btn-primary {
        font-size: 20px;
        padding: 0.8rem 2rem;
        text-align: left;
        display: block;
        width: 20%;
        min-width: 150px; 
        white-space: nowrap;  
        box-sizing: border-box;
    }

    .start-note {
        font-size: var(--font-p-small);
        text-align: left;
    }

    .cta-text {
        margin: 2rem 0.5rem;
        text-align: left;
    }

    .steps-container h2 {
        margin-top: -1rem;
    }

    .steps-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-card img,
    .benefit-card img {
        width: 110px;
    }

    .flow-container h2 {
        font-size: 2rem;
        line-height: 1.3;
        padding: 0 1rem;
    }

    .circular-flow-animation {
        flex-direction: column;  
        gap: 2rem;
        margin-top: 2rem;
    }

    .flow-item {
        position: relative;
    }

    .image-container {
        width: 200px;
        height: 200px;
    }

    .flow-item span {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .flow-item:not(:last-child)::after {
        content: '';
    }

    .btn-primary.join {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 20%;
        font-size: 16px;
        padding: 0.7rem 1.5rem;
        white-space: nowrap;  
        transition: all 0.3s ease;
    }

    .btn-primary.join:hover {
        transform: scale(1.05);  
    }

    footer {
        padding: 1rem 5%;
    }

    .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: 24px;
        color: var(--text-light);
        text-decoration: none;
        margin: 0.3rem 0;
    }

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

    .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: 768px) {
    html {
        font-size: 14px;
    }

    h1, h2, h3, p, a, li, span {
        font-size: inherit;
    }

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

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

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

    .benefit-card p,
    .step-content p,
    .hero-highlights li,
    .cta-text {
        font-size: var(--font-p-small);
    }

    .btn-primary {
        width: 25%;
        font-size: 16px;
        padding: 0.8rem 2rem;
        margin-bottom: 1.5rem;
    }

    .step-number {
        font-size: var(--font-h2-small);
    }

    .cta-text,
    .step-title {
        font-size: var(--font-h3-small);
    }

    .benefit-title,
    .flow-container h2 {
        font-size: var(--font-h2-small);
    }

    .benefit-title {
        margin-top: 0;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .benefit-card p {
        padding: 10px;
    }

    footer {
        padding: 1rem 5%;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        font-size: 16px;  
        text-align: center;
        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;
    }

    .steps-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .step-card,
    .benefit-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .step-card img,
    .benefit-card img {
        width: 100px;
        margin-bottom: 0;
    }

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

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

    .step-title{
        margin-bottom: 0.5rem;
    }

     .cta-text {
        font-size: 18px;
        margin: 1rem auto;
    }


    .hero-highlights li {
        font-size: 18px;
        margin-top: -1.2rem;
    }

    .hero-content {
        flex: 0 0 100%;
        padding: 0 2.5rem;
        text-align: center;
    }

    .step-card img{
        margin-top: -0.5rem;
    }

    .step-content p{
        font-size: 18px;
    }

    .benefit-card img {
        width: 100px;
        margin-bottom: 0;
    }

    .benefit-card p {
        margin-top: -1rem;
}

    .benefits-container h2{
        line-height: 1.2;
    }

#affiliateRegisterModal .btn-primary, #affiliateLoginModal .btn-primary{
    text-align: center;
}

#affiliateRegisterModal .password-toggle, #affiliateLoginModal .password-toggle {
    top: 70%;
}
}

@media (max-width: 430px){
    .hero-content {
        flex: 0 0 100%;
        padding: 0 1rem;
        text-align: center;
    }

    .hero-content h1{
        font-size: 28px;
        text-align: center;
    }

    .steps-container h2{
        font-size: 30px;
        line-height: 1.2;
    }

    .step-title{
            font-size: 22px;
        }

    .cta-text {
        font-size: 18px;
        margin: 1rem auto;
    }

        .btn-primary {
            padding: 0.8rem 1.5rem;
        }

    .hero-highlights li {
        font-size: 15px;
        margin-top: -1.2rem;
    }

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

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