/* Card Container   HF102 --> */
.employer-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.employer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Cover Image Adjustment */
.cover_photos_on_grid {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.employer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

/* Profile Image positioning */
.freelance-img {
    margin: -45px auto 15px;
    position: relative;
    z-index: 3;
    width: 90px;
    height: 90px;
}

.freelance-img img {
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Truncation for consistent height */
.freelance-info h3 {
    font-size: 18px;
    font-weight: 700;
    height: 25px;
    overflow: hidden;
}

.freelance-specific {
    font-size: 14px;
    min-height: 20px;
}

.freelance-meta {
    font-size: 12px;
    color: #777;
}

/* Button Styling */
.btn-cart {
    border-radius: 0 0 15px 15px !important;
    padding: 12px;
    font-weight: 600;
}

.social-pill {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s;
    border: 1px solid #eee;
}
.social-pill:hover {
    background: #E65425;
    color: #fff;
    transform: translateY(-2px);
}


/* Extra Large Social Buttons */
.social-btn-xl {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9; /* Subtle light blue-grey */
    color: #475569;
    font-size: 1.5rem; /* Large icon size */
    border-radius: 16px; /* Smooth rounded corners */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Hover State: The Teal Identity */
.social-btn-xl:hover {
    background-color: #E65425; /* Your Teal */
    color: #ffffff !important;
    transform: scale(1.1) rotate(-5deg); /* Pop and slight tilt */
    box-shadow: 0 15px 25px rgba(0, 128, 128, 0.25);
    border-color: #E65425;
}

/* Optional: Subtle pulse animation on hover */
.social-btn-xl:active {
    transform: scale(0.95);
}

/* Icon specific alignment tweaks */
.social-btn-xl i {
    line-height: 0;
}

/* Styling for the small labels */
.small-text {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 2px;
}

/* Icon Wrapper - using your signature teal */
.v-icon-wrapper {
    width: 38px;
    height: 38px;
    background: rgba(0, 128, 128, 0.1); /* Light Teal background */
    color: #E65425; /* Solid Teal icon */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Teal Link */
.text-teal {
    color: #E65425;
    transition: color 0.2s;
}
.text-teal:hover {
    color: #E65425;
}

/* Modern Button Styling */
.btn-teal-outline {
    border: 2px solid #E65425;
    color: #E65425;
    background: transparent;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-teal-outline:hover {
    background: #E65425;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.2);
}

/* Remove default list padding/styles */
.verification-list {
    margin-top: 10px;
}

.company-header-wrapper {
    padding: 10px 0;
}

/* Prevents the image from shrinking on smaller screens */
.company-detail-image {
    flex-shrink: 0;
}

.company-title h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Mobile Tweak: slightly smaller image on very small phones */
@media (max-width: 576px) {
    .company-detail-image img {
        width: 50px !important;
        height: 50px !important;
    }
    .company-title h4 {
        font-size: 1rem;
    }
}


/* Section Background */
.section.projects {
    background-color: #fcfcfc;
    padding: 60px 0;
}


/*01012026*/
/* Unified Category Card */
section.section.projects{
    background: #FFF5F3;
}
.category-card {
    background: #ffffff;
    /* Formal Border */
    border: 1px solid #edf2f7; 
    border-radius: 12px;
    padding: 35px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    
    /* Premium Soft Shadow */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 
                0 1px 3px rgba(0, 0, 0, 0.02);
    
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

/* Icon Styling - Using a consistent brand color */
.category-icon {
    font-size: 2rem;
    color: #E65425; /* Professional Royal Blue */
    background: #f0f7ff; /* Very light tint of the same color */
    width: 65px;
    height: 65px;
    line-height: 65px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* Title Styling */
.category-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.2px;
}

/* Hover State - "Lift & Glow" */
.category-card:hover {
    transform: translateY(-8px);
    border-color: #E65425;
    
    /* Stronger shadow on hover to simulate depth */
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.1), 
                0 10px 20px rgba(0, 0, 0, 0.05);
}

.category-card:hover .category-icon {
    background: #E65425;
    color: #ffffff;
    transform: scale(1.1);
}

/* Container Spacing */
.hero-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* Formal Heading Style */
.hero-content-wrapper h1 {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    font-size: 2.75rem; /* Larger, authoritative size */
    font-weight: 800; /* Extra bold for impact */
    color: #1a202c; /* Deep Charcoal/Navy instead of pure black */
    letter-spacing: -0.02em; /* Tighten for a premium look */
    line-height: 1.2;
    margin-bottom: 24px;
}

/* Formal Description Style */
.hero-content-wrapper p {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 1.125rem; /* Slightly larger than standard body text */
    font-weight: 400;
    color: #4a5568; /* Slate gray for readability and softness */
    line-height: 1.7; /* Increased line-height for "breathable" text */
    max-width: 750px;
    margin: 0 auto;
}

/* Optional: Gradient Accent on Heading */
.hero-content-wrapper h1 span.accent {
    background: linear-gradient(90deg, #E65425 0%, #e78262 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.img-top-right-radius, .img-top-left-radius {
     border-top-right-radius: 100px; 
    border-bottom-left-radius: 115px;
    border-radius: 115px;
}

/*tick start*/
.demand-post-job {
    position: relative;
    padding-left: 45px; /* Increased padding to accommodate the larger icon */
    display: inline-flex;
    align-items: center;
    color: #333;
    font-size: 1.2rem; /* Works best with slightly larger text */
    font-weight: 600;
    cursor: pointer;
}

.demand-post-job::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 45%;
    
    /* 1. Scaled Dimensions */
    width: 15px;  /* Your requested width */
    height: 28px; /* Proportional height for a sleek look */
    
    /* 2. Thicker Borders for the larger size */
    border-bottom: 6px solid #E65425;
    border-right: 6px solid #E65425;
    
    /* 3. Smoother, more pronounced rounded corners */
    border-radius: 4px; 
    
    /* 4. The Rotation */
    transform: translateY(-50%) rotate(42deg);
    
    /* 5. Enhanced Glow for a larger surface area */
    box-shadow: 
        3px 3px 0px rgba(230, 84, 37, 0.15),
        0 0 15px rgba(230, 84, 37, 0.25);

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Fancy Hover State --- */
.demand-post-job:hover::before {
    /* Subtle lift and slight rotation shift */
    transform: translateY(-55%) rotate(45deg) scale(1.05);
    
    /* Brightening the color */
    border-color: #ff7043;
    
    /* Stronger neon glow on hover */
    box-shadow: 
        0 0 20px rgba(255, 112, 67, 0.5),
        inset -2px -2px 0px rgba(255, 255, 255, 0.3);
}
/*tick end*/
   
/* Container for the 'Professional' height */
.image-frame-delicate {
    position: relative;
    width: 100%;
    height: 240px; /* Precise, delicate height */
    overflow: hidden;
    border-radius: 12px;
    /* Softest shadow for a 'floating' feel */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.image-frame-delicate img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures no distortion */
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.image-frame-delicate:hover img {
    transform: scale(1.05);
}

/* A very subtle 'glass' shine over the image */
.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Typography Details */
.section-heading {
    font-size: 2.30rem;
    letter-spacing: -0.01em;
    color: #111;
}

.text-orange-gradient {
    background: linear-gradient(90deg, #E65425, #e78262);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.delicate-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #00b4d8; /* Teal accent */
    font-weight: 700;
    display: flex;
    align-items: center;
}

.delicate-label .dot {
    height: 6px;
    width: 6px;
    background-color: #00b4d8;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.delicate-text {
    font-size: 1.30rem;
    line-height: 1.6;
}


.projects .btn-custom-card {
        background-color: #ffffff;
        color: #212529;
        border: 1px solid #e0e0e0;
        padding: 1.25rem 1rem;
        font-weight: 600;
        font-size: 0.95rem;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    }

    .projects .btn-custom-card:hover {
        background-color: #f8f9fa;
        border-color: #0d6efd; /* Brand color highlight */
        color: #0d6efd;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .projects .btn-custom-card:active {
        transform: translateY(-1px);
    }

    /* Optional: Adding a small arrow icon via CSS to guide the eye */
    .projects .btn-custom-card::after {
        content: '→';
        margin-left: 10px;
        opacity: 0.5;
        transition: transform 0.3s ease;
    }

    .projects .btn-custom-card:hover::after {
        transform: translateX(4px);
        opacity: 1;
    }

    .text-muted-custom {
        color: #6c757d;
        max-width: 700px;
        line-height: 1.6;
    }

     .projects {
        background: #fff7f0;
    }

    .projects h2 {
        color: #ff6a00;
    }

    .pill-btn {
        display: inline-block;
        padding: 8px 16px;
        font-size: 20px;
        font-weight: 500;
        border-radius: 50px;
        background: #03AED2;
        color: #FEFDDF;
        border: 1px solid #03AED2;
        transition: all 0.25s ease;
        text-decoration: none;
        font-weight: bold;
    }

    .pill-btn:hover {
        background: #03AED2;
        color: #FEFDDF;
        transform: translateY(-2px);
    }

    .pill-wrapper {
        text-align: center;
    }



    /* Section Background & Spacing */
.section.review {
    padding: 20px 0;
    background: #ffffff;
    font-family: 'Inter', sans-serif; /* Modern clean font */
}

.demand-professional h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: #111;
}

/* Container for the list to create a vertical 'connector' line */
.col-lg-6.d-flex > .aos {
    position: relative;
    padding-left: 20px;
}

/* The Vertical Connector Line */
.col-lg-6.d-flex > .aos::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 180px; /* Adjust based on where your text starts */
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, #E65425 0%, #eee 100%);
    z-index: 1;
    display: none;
}

/* The Bullet Point Container */
.demand-post-job {
    position: relative;
    padding: 15px 20px 15px 55px;
    margin-bottom: 0px;
    border-radius: 12px;
    transition: all 0.3s ease;
    z-index: 2;
}

/* --- THE FANCY BULLET POINT --- */
.demand-post-job::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 22px;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 3px solid #E65425;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 4px rgba(230, 84, 37, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* The Inner Core of the Bullet (The Pulse) */
.demand-post-job::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 29px;
    width: 10px;
    height: 10px;
    background: #E65425;
    border-radius: 50%;
    z-index: 4;
    transition: all 0.3s ease;
}

/* --- HOVER EFFECTS --- */
.demand-post-job:hover {
    background: rgba(194, 62, 22, 0.12); 
    transform: translateX(10px);
    
    /* Optional: add a very thin border to 'contain' the darkness */
    border-left: 3px solid #c23e16;
}

.demand-post-job:hover::before {
    background: #E65425;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(230, 84, 37, 0.4);
}

.demand-post-job:hover::after {
    background: #fff;
    transform: scale(0.8);
}

/* Text Content Styling */
.demand-content strong {
    font-size: 1.2rem;
    color: #111;
    display: block;
    margin-bottom: 4px;
}

.demand-content p {
    font-size: 1.0rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Image Polish */
.recent-pro-img img {
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 8px solid #fff;
}

/* Clean up existing icons */
.demand-post-job i.fa-solid {
    display: none;
}

.demand-professional p {
    font-size: 1.4rem;
    color: #515151;
    font-weight: 500;
    margin-bottom: 10px;
}


header {
    position: sticky; /* or fixed, depending on your layout */
    top: 0;
    width: 100%;
    z-index: 9999 !important; /* Forces header to the very top layer */
    background-color: #fff;  /* Ensure it has a solid background so the map doesn't show through */
}



.info-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 10px;
}

/* Each item */
.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* Divider */
.info-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 1px;
    background: #e5e5e5;
}

/* Icon */
.info-icon {
    font-size: 16px;
    color: #E65425;
}

/* Label */
.info-label {
    font-size: 12px;
    color: #888;
    margin-right: 4px;
}

/* Value */
.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

/* Suffix */
.info-suffix {
    font-weight: 400;
    color: #777;
    margin-left: 4px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .info-bar {
        gap: 15px;
    }

    .info-item:not(:last-child)::after {
        display: none;
    }
}

/*HF109*/
#map {
    height: 400px;
    border-radius: 12px;
}

.leaflet-control-geocoder {
    width: 90% !important;
    max-width: 400px;
    margin: 10px auto;
    border-radius: 10px;
}
/*HF109*/



/*HF110 */
 

.main-wrapper-front {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* --- Left Side: Company Branding --- */
.left-brand-content {
    width: 50%;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.left-brand-content-reg {
    width: 30%;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.left-brand-content h1 {
    font-size: clamp(40px, 5vw, 64px); /* Responsive font size */
    font-weight: 800;
    color: #111;
    line-height: 1.1;
    margin-bottom: 20px;
}

.left-brand-content h1 span {
    background: linear-gradient(to right, #E65425, #ff8c66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.left-brand-content p {
    font-size: 18px;
    color: #666;
    max-width: 450px;
    line-height: 1.6;
}

/* --- Right Side: The Fancy Login Area --- */
.right-login-area {
    width: 50%;
    background: linear-gradient(145deg, #E65425 0%, #a8320d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
    /* Slant effect for desktop */
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.right-login-area-reg {
    width: 70%;
}

.floating-blob {
    position: absolute;
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}
.floating-blob-reg {
    position: relative; 
}

.login-box-premium {
    margin: 50px;
    background: #ffffff;
    padding: 30px;
    border-radius: 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    
}
.login-box-premium-reg {
     max-width: 1000px;
}
/* Form Styling */
 

.btn-ember {
    width: 100%;
    height: 60px;
    background: #E65425;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(230, 84, 37, 0.25);
}

.google-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #f0f0f0;
    height: 60px;
    border-radius: 20px;
}

/* --- Responsive Image Stack --- */
.image-stack-container {
    position: relative;
    width: 100%;
    max-width: 585px;
    height: 450px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left:270px;
}

.main-feature-img {
    width: 85%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    z-index: 2;
}

.floating-asset {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 3;
    background: #fff;
    padding: 8px;
}

.asset-1 { top: -10px; right: 0; width: 100px; transform: rotate(5deg); }
.asset-2 { bottom: 10px; left: -10px; width: 90px; transform: rotate(-8deg); }

.user-avatar-circle {
    position: absolute;
    bottom: -20px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid #fff;
    overflow: hidden;
    z-index: 4;
}

/* =============================================
   RESPONSIVE QUERIES
   ============================================= */

@media (max-width: 1200px) {
    .left-brand-content, .left-brand-content-reg { padding: 60px 50px; }
    .login-box-premium { transform: none; } /* Remove overlap on medium screens */
}

@media (max-width: 992px) {
    .main-wrapper {
        flex-direction: column; /* Stack vertically */
    }

    .left-brand-content, .left-brand-content-reg,  .right-login-area, .right-login-area-reg {
        width: 100%;
        padding: 60px 30px;
        text-align: center;
    }

    .left-brand-content, .left-brand-content-reg {
        align-items: center; /* Center content */
    }

    .left-brand-content, .left-brand-content-reg p {
        margin: 0 auto 30px;
    }

    .right-login-area, .right-login-area-reg {
        clip-path: none; /* Remove diagonal slant */
        min-height: auto;
    }

    .login-box-premium {
        margin: -80px auto 40px; /* Pull box up slightly over the white section */
        max-width: 100%;
    }

    .image-stack-container {
        margin: 40px auto;
    }
}

@media (max-width: 576px) {
    .left-brand-content, .left-brand-content-reg h1 { font-size: 36px; }
    .login-box-premium { padding: 30px 20px; border-radius: 30px; }
    .image-stack-container { height: 200px; }
    .asset-1 { width: 70px; }
    .asset-2 { width: 60px; }
}
/* HF110 */


/* Updated Container for the 'Facebook' Stack Look */
.image-stack-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 520px; /* Increased height for vertical layout */
    margin: 40px auto;
    display: block; /* Overrides flex to allow absolute positioning to work correctly */
}

/* The Main Vertical Image (The centerpiece) */
.main-feature-img {
    max-width: 500px; /* Fixed width like the reference image */
    max-height: 600px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: absolute;
    left: 45%; /* Shifted to the right side of the container */
    top: 0;
    z-index: 1;
    border: none;
}

/* Floating Card 1 (Tilted Left Card) */
.asset-1 { 
    top: 80px; 
    left: 10%; 
    width: 200px; 
    transform: rotate(-6deg); /* Tilted left like the reference image */
    z-index: 2;
    padding: 0;
    background: transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Floating Card 2 (Bottom Left Card) */
.asset-2 { 
    bottom: 80px; 
    left: 18%; 
    width: 190px; 
    transform: rotate(0deg); 
    z-index: 3; /* Above asset 1 */
    padding: 10px; /* Creates the white border effect seen in UI cards */
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* The Circular Profile at the Bottom-Center Intersection */
.user-avatar-circle {
    position: absolute;
    bottom: 20px;
    left: 48%; /* Positioned right at the overlap point */
    width: 120px; /* Scaled up to be "fancy" */
    height: 120px;
    border-radius: 50%;
    border: 6px solid #fff; /* Thick white border from reference image */
    overflow: hidden;
    z-index: 4; /* Highest layer */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.user-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



@media (max-width: 991px) {
    
    /* 1. Remove the Branding Section entirely */
    .left-brand-content, .left-brand-content-reg {
        display: none !important;
    }

    /* 2. Make the Login Section take full width */
    .right-login-area , .right-login-area-reg {
        width: 100%;
        min-height: 100vh;
        padding: 20px;
    }

    /* 3. Ensure the Login Box is responsive */
    .login-box-premium {
        width: 100%;
        max-width: 450px; /* Limits width so it doesn't look too wide on tablets */
        margin: 0 auto;
        padding: 30px 20px;
        transform: none; /* Remove any desktop-only offsets */
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}

/* Small Phones Adjustment */
@media (max-width: 576px) {
    .right-login-area, .right-login-area-reg {

        margin-top: 100px;
        padding: 15px;
        background: linear-gradient(145deg, #E65425 0%, #a8320d 100%); /* Optional: simpler background for phones */
    }
    
    .login-box-premium {
        border-radius: 20px; /* Slightly less rounded for tiny screens */
        box-shadow: none; /* Flat design looks cleaner on small phones */
    }
}

/*reg responsive start from here*/
@media (max-width: 991px) {
     img.checks-set {
     top: -5px;
    }
    /* Hide the left branding on registration as requested previously */
    .left-brand-content-reg {
        display: none !important;
    }

    /* Make the right area full width */
    .right-login-area-reg {
        width: 100% !important;
        flex: 0 0 100%;
        padding: 40px 20px;
        margin-top: 100px;
    }

    /* Force the select-box to wrap and handle the pairs */
    .select-box {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0px;
        justify-content: center;
    }

    /* Each role takes 50% minus half the gap to form pairs */
    .selectroles {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: 50% !important;
        margin-bottom: 5px;
    }

    /* Ensure card content scales well */
    .employee-level {
        padding: 20px 10px !important;
        min-height: 180px; /* Ensures equal height in the pair */
    }

    .employee-level span {
        font-size: 13px;
    }
}

/* 2. Small Mobile Devices (Single Column Layout) */
@media (max-width: 576px) {
    img.checks-set {
     top: -5px;
    }
    .selectroles {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .login-box-premium-reg {
        padding: 20px;
        border-radius: 15px;
        box-shadow: none; /* Cleaner for small screens */
    }

    /* Adjust logo and heading size for small screens */
    .login-box-premium-reg h2 {
        font-size: 1.4rem;
    }

    .employee-level {
        flex-direction: row; /* Optional: switches to horizontal on tiny phones */
        justify-content: flex-start;
        padding: 10px !important;
        min-height: auto;
    }

    .employee-level img.img-fluid {
        height: 60px;
        margin-bottom: 25px;
        margin-right: 30px;
    }
}

@media (max-width: 480px) {
    .left-brand-content-reg {
        display: none !important; /* Removes branding to save space */
    }

    .right-login-area-reg {
        width: 100% !important;
        padding: 15px; /* Minimal padding to maximize form space */
    }

    /* Stack the roles 1 per row for maximum readability on your screen */
    .selectroles {
        flex: 0 0 100% !important;
        max-width: 50% !important;
        margin-bottom: 10px;
    }

    .login-box-premium-reg {
        padding: 20px 15px;
        box-shadow: none; /* Looks cleaner on mobile */
    }
    img.checks-set {
     right: 15px;
    }
}

@media (min-width: 481px) and (max-width: 991px) {
    .select-box {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* This creates the 2-by-2 pairs */
    .selectroles {
        flex: 0 0 calc(50% - 5px) !important; 
        max-width: 50% !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    
    /* Ensure the branding section is hidden if it's still showing */
    .left-brand-content-reg {
        display: none !important;
    }

    /* Make the white container wider to fit two columns comfortably */
    .login-box-premium-reg {
        width: 90% !important;
        max-width: 700px !important; 
        margin: 0 auto;
    }

    /* Force the 2-by-2 Grid */
    .select-box {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important;
    }

    .selectroles {
        /* Calculate 50% width minus the gap */
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }

    /* Adjust card height so they look like squares/rectangles in pairs */
    .employee-level {
        min-height: 220px !important;
        padding: 20px !important;
    }
}