
       

        /* ===== SIGNUP SECTION ===== */
        .signup-container {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px 5%;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            animation: gradientBG 15s ease infinite;
            background-size: 400% 400%;
            position: relative;
            overflow: hidden;
        }
        
        body.night-mode .signup-container {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        }
        
        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        .signup-box {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            padding: 40px;
            width: 100%;
            max-width: 500px;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            transition: all 0.5s ease;
            z-index: 1;
        }
        
        body.night-mode .signup-box {
            background: rgba(45, 45, 45, 0.9);
        }
        
        .signup-box::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right,
                rgba(255, 107, 107, 0.1),
                rgba(255, 107, 107, 0.3),
                rgba(255, 107, 107, 0.1)
            );
            transform: rotate(45deg);
            z-index: -1;
            animation: shine 3s infinite;
        }
        
        @keyframes shine {
            0% { transform: rotate(45deg) translateX(-100%); }
            100% { transform: rotate(45deg) translateX(100%); }
        }
        
        .signup-header {
            text-align: center;
            margin-bottom: 30px;
            position: relative;
        }
        
        .signup-header h2 {
            font-size: 32px;
            color: #ff6b6b;
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
        }
        
        .signup-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: #ff6b6b;
            border-radius: 3px;
        }
        
        .signup-header p {
            color: #666;
            font-size: 14px;
        }
        
        body.night-mode .signup-header p {
            color: #ccc;
        }
        
        .social-signup {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .social-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .social-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        .facebook { background: #3b5998; }
        .google { background: #dd4b39; }
        .twitter { background: #1da1f2; }
        
        .divider {
            display: flex;
            align-items: center;
            margin: 20px 0;
            color: #999;
            font-size: 14px;
        }
        
        .divider::before, .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #ddd;
            margin: 0 10px;
        }
        
        body.night-mode .divider::before,
        body.night-mode .divider::after {
            background: #444;
        }
        
        .form-group {
            margin-bottom: 20px;
            position: relative;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #555;
            transition: all 0.3s;
        }
        
        body.night-mode .form-group label {
            color: #ccc;
        }
        
        .form-control {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #ddd;
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s;
            background: rgba(255, 255, 255, 0.8);
        }
        
        body.night-mode .form-control {
            background: rgba(45, 45, 45, 0.8);
            border-color: #444;
            color: #f1f1f1;
        }
        
        .form-control:focus {
            border-color: #ff6b6b;
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
            outline: none;
        }
        
        .password-toggle {
            position: absolute;
            right: 15px;
            top: 45px;
            color: #999;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .password-toggle:hover {
            color: #ff6b6b;
        }
        
        .terms-agreement {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        
        .terms-agreement input {
            margin-right: 10px;
            margin-top: 3px;
            accent-color: #ff6b6b;
        }
        
        .terms-agreement label {
            font-size: 14px;
            color: #666;
        }
        
        body.night-mode .terms-agreement label {
            color: #ccc;
        }
        
        .terms-agreement a {
            color: #ff6b6b;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .terms-agreement a:hover {
            text-decoration: underline;
        }
        
        .signup-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(to right, #ff6b6b, #ff8e8e);
            border: none;
            border-radius: 10px;
            color: white;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
            position: relative;
            overflow: hidden;
        }
        
        .signup-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
        }
        
        .signup-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.2),
                transparent
            );
            transition: 0.5s;
        }
        
        .signup-btn:hover::before {
            left: 100%;
        }
        
        .login-link {
            text-align: center;
            margin-top: 20px;
            color: #666;
            font-size: 14px;
        }
        
        body.night-mode .login-link {
            color: #ccc;
        }
        
        .login-link a {
            color: #ff6b6b;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
        }
        
        .login-link a:hover {
            text-decoration: underline;
        }
        
        /* Floating animation for decorative elements */
        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }
        
        .floating-element {
            position: absolute;
            border-radius: 50%;
            opacity: 1;
            animation: float 15s infinite linear;
        }
        
        @keyframes float {
            0% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-100px) rotate(180deg); }
            100% { transform: translateY(0) rotate(360deg); }
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .signup-box {
                padding: 30px;
            }
            
            .signup-header h2 {
                font-size: 28px;
            }
            
            .form-control {
                padding: 12px 15px;
            }
            
            .signup-btn {
                padding: 12px;
            }
        }
        
        @media (max-width: 480px) {
            .signup-box {
                padding: 20px;
                border-radius: 15px;
            }
            
            .signup-header h2 {
                font-size: 24px;
            }
            
            .social-signup {
                gap: 10px;
            }
            
            .social-btn {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }
        }

       


        /* Phone Number Field Styles */
        .phone-input-group {
            position: relative;
            margin-bottom: 20px;
        }
        
        .phone-input-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #555;
        }
        
        body.night-mode .phone-input-group label {
            color: #ccc;
        }
        
        .phone-input-container {
            display: flex;
            align-items: center;
            border: 2px solid #ddd;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s;
        }
        
        body.night-mode .phone-input-container {
            border-color: #444;
        }
        
        .phone-input-container:focus-within {
            /* border-color: #ff6b6b; */
            /* box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2); */
        }
        
        .country-code {
            padding: 0 15px;
            background: #f1f1f1;
            height: 100%;
            display: flex;
            align-items: center;
            border-right: 1px solid #ddd;
            font-weight: bold;
        }
        
        body.night-mode .country-code {
            background: #444;
            border-right-color: #555;
        }
        
        .phone-input {
            flex: 1;
            padding: 15px;
            border: none;
            outline: none;
            font-size: 16px;
            background: rgba(255, 255, 255, 0.8);
        }
        
        body.night-mode .phone-input {
            background: rgba(45, 45, 45, 0.8);
            color: #f1f1f1;
        }

        /* Animation for phone input */
        .phone-input-group {
            animation: fadeInUp 0.5s ease-out;
            animation-fill-mode: both;
            animation-delay: 0.5s;
        }


         .phone-input-container:focus-within {
            border-color: #ff6b6b;
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
        }





        /* ===== RESET & GLOBALS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
    transition: all 0.3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.night-mode {
    background: #1a1a1a;
    color: #f1f1f1;
}

/* ===== HEADER ===== */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s;
}

body.night-mode header {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b6b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-bar {
    flex-grow: 1;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
    transition: all 0.3s;
}

body.night-mode .search-bar input {
    background: #333;
    border-color: #444;
    color: #fff;
}

.search-bar button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
}

body.night-mode .search-bar button {
    color: #aaa;
}

.user-actions a {
    margin-left: 15px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

body.night-mode .user-actions a {
    color: #ccc;
}

.user-actions a:hover {
    color: #ff6b6b;
}

.theme-toggle {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

body.night-mode .theme-toggle {
    color: #ccc;
}

.theme-toggle:hover {
    color: #ff6b6b;
}

.cart-icon {
    position: relative;
    color: #555;
    font-size: 18px;
    transition: all 0.3s;
}

body.night-mode .cart-icon {
    color: #ccc;
}

.cart-icon:hover {
    color: #ff6b6b;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CATEGORIES ===== */
.categories {
    background: #fff;
    padding: 15px 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
}

body.night-mode .categories {
    background: #2d2d2d;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.category-menu {
    display: flex;
    list-style: none;
}

.category-item {
    position: relative;
    margin-right: 20px;
}

.category-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

body.night-mode .category-item > a {
    color: #ccc;
}

.category-item:hover > a {
    color: #ff6b6b;
}

.subcategories, .sub-subcategories {
    position: absolute;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
}

body.night-mode .subcategories,
body.night-mode .sub-subcategories {
    background: #3d3d3d;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.subcategories {
    top: 100%;
    left: 0;
}

.sub-subcategories {
    left: 100%;
    top: 0;
}

.category-item:hover .subcategories,
.sub-item:hover .sub-subcategories {
    opacity: 1;
    visibility: visible;
}

.sub-item {
    position: relative;
    list-style: none;
}

.sub-item > a, .sub-sub-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

body.night-mode .sub-item > a,
body.night-mode .sub-sub-item > a {
    color: #ccc;
}

.sub-item > a:hover, .sub-sub-item > a:hover {
    background: #f9f9f9;
    color: #ff6b6b;
    padding-left: 25px;
}

body.night-mode .sub-item > a:hover,
body.night-mode .sub-sub-item > a:hover {
    background: #4d4d4d;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    margin-right: 15px;
}

body.night-mode .mobile-menu-toggle {
    color: #f1f1f1;
}

/* ===== SIGNUP SECTION ===== */
.signup-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 5%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    animation: gradientBG 15s ease infinite, fadeIn 1s ease-out;
    background-size: 400% 400%;
    position: relative;
    overflow: hidden;
}

body.night-mode .signup-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.signup-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    z-index: 1;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { 
        transform: translateY(50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

body.night-mode .signup-box {
    background: rgba(45, 45, 45, 0.9);
}

.signup-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 107, 107, 0.1),
        rgba(255, 107, 107, 0.3),
        rgba(255, 107, 107, 0.1)
    );
    transform: rotate(45deg);
    z-index: -1;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.signup-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.signup-header h2 {
    font-size: 32px;
    color: #ff6b6b;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.signup-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #ff6b6b;
    border-radius: 3px;
}

.signup-header p {
    color: #666;
    font-size: 14px;
}

body.night-mode .signup-header p {
    color: #ccc;
}

.social-signup {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.facebook { background: #3b5998; }
.google { background: #dd4b39; }
.twitter { background: #1da1f2; }

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #999;
    font-size: 14px;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
    margin: 0 10px;
}

body.night-mode .divider::before,
body.night-mode .divider::after {
    background: #444;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    transition: all 0.3s;
}

body.night-mode .form-group label {
    color: #ccc;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
}

body.night-mode .form-control {
    background: rgba(45, 45, 45, 0.8);
    border-color: #444;
    color: #f1f1f1;
}

.form-control:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    outline: none;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 45px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
}

.password-toggle:hover {
    color: #ff6b6b;
}

/* Gender Selection Styles */
.gender-selection {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.gender-option {
    flex: 1;
    position: relative;
    width: 30%;
   
}

.gender-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gender-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

body.night-mode .gender-option label {
    background: #3d3d3d;
    border-color: #444;
}

.gender-option input:checked + label {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    font-weight: bold;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.gender-option label i {
    margin-right: 8px;
    font-size: 18px;
}

/* Address Field Styles */
.address-group {
    margin-bottom: 20px;
}

.address-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

body.night-mode .address-group label {
    color: #ccc;
}

.address-group input, .address-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

body.night-mode .address-group input, 
body.night-mode .address-group select {
    background: rgba(45, 45, 45, 0.8);
    border-color: #444;
    color: #f1f1f1;
}

/* Phone Number Field Styles */
.phone-input-group {
    position: relative;
    margin-bottom: 20px;
}

.phone-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

body.night-mode .phone-input-group label {
    color: #ccc;
}

.phone-input-container {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

body.night-mode .phone-input-container {
    border-color: #444;
}

.phone-input-container:focus-within {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.country-code {
    padding: 0 15px;
    background: #f1f1f1;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid #ddd;
    font-weight: bold;
}

body.night-mode .country-code {
    background: #444;
    border-right-color: #555;
}

.phone-input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
}

body.night-mode .phone-input {
    background: rgba(45, 45, 45, 0.8);
    color: #f1f1f1;
}

.terms-agreement {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.terms-agreement input {
    margin-right: 10px;
    margin-top: 3px;
    accent-color: #ff6b6b;
}

.terms-agreement label {
    font-size: 14px;
    color: #666;
}

body.night-mode .terms-agreement label {
    color: #ccc;
}

.terms-agreement a {
    color: #ff6b6b;
    text-decoration: none;
    transition: all 0.3s;
}

.terms-agreement a:hover {
    text-decoration: underline;
}

.signup-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #ff6b6b, #ff8e8e);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    position: relative;
    overflow: hidden;
}

.signup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.signup-btn:hover::before {
    left: 100%;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

body.night-mode .login-link {
    color: #ccc;
}

.login-link a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Animation for form elements */
.form-group, .gender-selection, .address-group, .phone-input-group {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.2s; }
.form-group:nth-child(2) { animation-delay: 0.3s; }
.gender-selection { animation-delay: 0.4s; }
.form-group:nth-child(4) { animation-delay: 0.5s; }
.form-group:nth-child(5) { animation-delay: 0.6s; }
.address-group:nth-child(6) { animation-delay: 0.7s; }
.address-group:nth-child(7) { animation-delay: 0.8s; }
.phone-input-group { animation-delay: 0.5s; }
.terms-agreement { animation-delay: 0.9s; }
.signup-btn { animation-delay: 1s; }
.login-link { animation-delay: 1.1s; }

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation for decorative elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 1;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-100px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* ===== FOOTER ===== */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #ff6b6b;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-column a:hover {
    color: #ff6b6b;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ecf0f1;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #ff6b6b;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .search-bar {
        order: 3;
        flex: 100%;
        margin: 10px 0 0;
    }
    
    /* Mobile menu styles */
    .mobile-menu-toggle {
        display: block;
    }
    
    .category-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 99;
        padding: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    body.night-mode .category-menu {
        background: #2d2d2d;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }
    
    .category-menu.active {
        display: flex;
    }
    
    /* Hide category names, show only icons */
    .category-name {
        display: none;
    }
    
    /* Adjust category items for mobile */
    .category-item {
        margin: 5px 0;
        width: 100%;
    }
    
    .category-item > a {
        padding: 10px;
    }
    
    /* Subcategories for mobile */
    .subcategories, .sub-subcategories {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 5px 0 5px 20px;
        display: none;
        width: 100%;
    }
    
    .category-item:hover .subcategories,
    .sub-item:hover .sub-subcategories {
        display: block;
    }
    
    /* Signup box adjustments */
    .signup-box {
        padding: 30px;
    }
    
    .signup-header h2 {
        font-size: 28px;
    }
    
    .form-control {
        padding: 12px 15px;
    }
    
    .signup-btn {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .signup-box {
        padding: 20px;
        border-radius: 15px;
    }
    
    .signup-header h2 {
        font-size: 24px;
    }
    
    .social-signup {
        gap: 10px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
    