:root {
    --primary-orange: #FF8C42;
    --dark-bg: #1a2332;
    --darker-bg: #0f1419;
    --text-white: #ffffff;
    --text-gray: #b8c5d6;
    --text-textiary: #7f858c;
    --glass-bg: rgba(42, 52, 70, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-white);
    overflow-x: hidden;
    background: var(--dark-bg);
}

/* ==================== HEADER ==================== */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent) !important;
    background: #fff !important;
    border-bottom: 1px solid var(--glass-border);
}

.navbar {
    padding: 0;
}

/* Logo Styles */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-r {
    background: var(--primary-orange);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-rentloud {
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.logo-properties {
    color: var(--text-gray);
    font-size: 11px;
    font-weight: 500;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: var(--dark-bg);
    font-weight: 500;
    font-size: 18px;
    padding: 8px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-orange);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary-orange);
}

/* Auth Button */
.btn-auth {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-auth:hover {
    background: #ff9d5c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 140, 66, 0.2);
    border-color: var(--primary-orange);
}

/* ==================== MOBILE SIDEBAR ==================== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
    z-index: 2001;
    padding: 0;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 140, 66, 0.05);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    background: var(--primary-orange);
    transform: rotate(90deg);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-link {
    display: block;
    padding: 15px 25px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--primary-orange);
    background: rgba(255, 140, 66, 0.1);
    border-left-color: var(--primary-orange);
    padding-left: 30px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.btn-auth-mobile {
    width: 100%;
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-auth-mobile:hover {
    background: #ff9d5c;
    transform: translateY(-2px);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 10px;
    overflow: hidden;
}

/* Video Background */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 35, 50, 0.85) 0%, 
        rgba(15, 20, 25, 0.75) 50%,
        rgba(26, 35, 50, 0.85) 100%);
    z-index: 1;
}

.video-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 140, 66, 0.2), transparent 60%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-align: center;
    color: white;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
    animation: title-glow 3s ease-in-out infinite;
}

@keyframes title-glow {
    0%, 100% {
        text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7),
                     0 0 20px rgba(255, 140, 66, 0.3);
    }
    50% {
        text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7),
                     0 0 40px rgba(255, 140, 66, 0.6);
    }
}

.hero-title .highlight {
    color: var(--primary-orange);
    display: inline-block;
    position: relative;
    animation: highlight-pulse 2s ease-in-out infinite;
}

@keyframes highlight-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* ==================== SEARCH CONTAINER ==================== */
.search-container {
    background: rgba(42, 52, 70, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin: 0 auto 60px;
    max-width: 1100px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(255, 140, 66, 0.1);
    position: relative;
    z-index: 2;
    animation: search-float 3s ease-in-out infinite;
}

@keyframes search-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.search-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-orange), 
        transparent 30%, 
        transparent 70%, 
        var(--primary-orange));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-container:hover::before {
    opacity: 0.3;
    animation: border-glow 2s linear infinite;
}

@keyframes border-glow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.search-input,
.search-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus,
.search-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
    color: white;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-select option {
    background: var(--dark-bg);
    color: white;
}

.btn-search {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background: #ff9d5c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

.btn-filters {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-filters:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-orange);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 8px;
    text-shadow: 0 2px 15px rgba(255, 140, 66, 0.3);
}

.stat-label {
    font-size: clamp(12px, 1.5vw, 16px);
    color: var(--text-gray);
    font-weight: 500;
}

/* ==================== FLOATING CHAT BUTTON ==================== */
.floating-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.floating-chat:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 140, 66, 0.6);
}

.floating-chat i {
    font-size: 26px;
    color: white;
}

.chat-notification {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #ff4444;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 2s ease-in-out infinite;
}

/* ==================== CATEGORIES SECTION ==================== */
.categories-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: #6c757d;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 500;
    margin: 0;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 20px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-icon i {
    font-size: 36px;
    color: white;
    position: relative;
    z-index: 2;
}

/* Gradient backgrounds for icons */
.blue-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.green-gradient {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.purple-gradient {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.orange-gradient {
    background: linear-gradient(135deg, #ff8c42 0%, #f97316 100%);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3);
}

.blue-light-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.3);
}

.green-light-gradient {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 8px 20px rgba(52, 211, 153, 0.3);
}

.yellow-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.purple-light-gradient {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
    box-shadow: 0 8px 20px rgba(192, 132, 252, 0.3);
}

.category-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.category-card:hover .category-title {
    color: var(--primary-orange);
}

.category-count {
    font-size: clamp(13px, 1.5vw, 15px);
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 500;
}

.category-link {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.category-link i {
    transition: transform 0.3s ease;
}

.category-link:hover {
    color: #ff9d5c;
    gap: 12px;
}

.category-link:hover i {
    transform: translateX(5px);
}

/* Property cards have explore link */
.property-card {
    min-height: 100px;
}


/* Responsive adjustments for categories */
@media (max-width: 991.98px) {
    .categories-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .categories-section {
        padding: 60px 0;
    }
    
    .category-card {
        padding: 10px 10px;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .category-icon i {
        font-size: 30px;
    }
}

/* ==================== PROFESSIONALS SECTION ==================== */
.professionals-section {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 18px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Scrollable Container */
.professionals-scroll-wrapper {
    position: relative;
    padding: 0 60px;
}

.professionals-scroll-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    padding: 20px 0;
    margin: -20px 0;
}

.professionals-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Card Wrapper */
.professional-card-wrapper {
    flex: 0 0 380px;
    max-width: 380px;
}

.professional-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.professional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-orange);
}

.professional-header {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.professional-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.professional-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.professional-avatar-initials {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: white;
    border: 3px solid #f0f0f0;
}

.orange-bg {
    background: linear-gradient(135deg, #ff8c42 0%, #f97316 100%);
}

.online-status {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border: 3px solid white;
    border-radius: 50%;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.professional-info {
    flex: 1;
}

.professional-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 4px;
}

.professional-specialty {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
}

.professional-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #fbbf24;
    font-size: 14px;
}

.rating-text {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.professional-details {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    color: #6c757d;
    font-size: 14px;
    width: 18px;
}

.detail-label {
    color: #6c757d;
    font-weight: 500;
}

.detail-value {
    color: #1a2332;
    font-weight: 600;
    margin-left: auto;
}

.rate-item {
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.rate-value {
    color: var(--primary-orange);
    font-weight: 700;
}

.professional-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 140, 66, 0.08);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: #1a2332;
    font-weight: 500;
    transition: all 0.3s ease;
}

.badge-item i {
    color: var(--primary-orange);
    font-size: 11px;
}

.professional-card:hover .badge-item {
    background: rgba(255, 140, 66, 0.12);
    border-color: var(--primary-orange);
}

.professional-actions {
    display: flex;
    gap: 10px;
}

.btn-view-profile {
    flex: 1;
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-profile:hover {
    background: #ff9d5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.3);
}

.btn-contact-outline {
    flex: 1;
    background: white;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-contact-outline:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.3);
}

/* Scroll Navigation Buttons */
.scroll-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scroll-nav-btn:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.3);
}

.scroll-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.scroll-nav-prev {
    left: 0;
}

.scroll-nav-next {
    right: 0;
}

/* Scroll Indicator Dots */
.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: var(--primary-orange);
    width: 30px;
    border-radius: 5px;
}

.scroll-dot:hover {
    background: var(--primary-orange);
    opacity: 0.7;
}

/* Responsive adjustments for professionals */
@media (max-width: 991.98px) {
    .professionals-section {
        padding: 60px 0;
    }

    .professionals-scroll-wrapper {
        padding: 0 50px;
    }

    .professional-card-wrapper {
        flex: 0 0 340px;
        max-width: 340px;
    }

    .scroll-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .professionals-section {
        padding: 50px 0;
    }
    
    .professionals-scroll-wrapper {
        padding: 0;
    }

    .professional-card-wrapper {
        flex: 0 0 300px;
        max-width: 300px;
    }

    .scroll-nav-btn {
        display: none;
    }

    .professional-card {
        padding: 25px;
    }
    
    .professional-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .professional-rating {
        justify-content: center;
    }
    
    .professional-actions {
        flex-direction: column;
    }
    
    .btn-view-profile,
    .btn-contact-outline {
        width: 100%;
    }
}

/* ==================== SERVICES SCROLL SECTION ==================== */
.services-scroll-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
}

.services-scroll-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.services-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-scroll-container::-webkit-scrollbar {
    display: none;
}

.service-item {
    flex: 0 0 auto;
    width: 160px;
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); */
    box-shadow: 2px 2px 8px 2px hsla(0,0%,9%,.08),0 0 0 1px #e9e9e9;
    cursor: pointer;
    border: 1px solid #e9e9e9;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-orange);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #f97316 100%);
    transform: scale(1.1) rotate(-5deg);
}

.service-icon-wrapper i {
    font-size: 28px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon-wrapper i {
    color: white;
    transform: scale(1.1);
}

.service-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a2332;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-item:hover .service-name {
    color: var(--primary-orange);
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.3);
}

.scroll-btn i {
    color: #6c757d;
    font-size: 18px;
    transition: color 0.3s ease;
}

.scroll-btn:hover i {
    color: white;
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive adjustments for services scroll */
@media (max-width: 991.98px) {
    .services-scroll-wrapper {
        padding: 0 50px;
    }
    
    .service-item {
        width: 140px;
        padding: 25px 15px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767.98px) {
    .services-scroll-section {
        padding: 40px 0;
    }
    
    .services-scroll-wrapper {
        padding: 0 15px;
    }
    
    .scroll-btn {
        display: none;
    }
    
    .service-item {
        width: 130px;
        padding: 20px 12px;
    }
    
    .service-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .service-icon-wrapper i {
        font-size: 24px;
    }
    
    .service-name {
        font-size: 13px;
    }
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}
.cta-card1 {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--darker-bg) 100%);
    border-radius: 30px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--darker-bg) 100%);
    border-radius: 30px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 480px;
}

.btn-cta {
    background: white;
    color: #d77a94;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: #fff;
}

.cta-visual {
    position: relative;
    height: 400px;
}

.browser-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    background: rgba(139, 69, 93, 0.4);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.browser-content {
    background: linear-gradient(135deg, #f5d5e0 0%, #e8c4d4 100%);
    border-radius: 15px;
    padding: 20px;
}

.content-card {
    position: relative;
}

.main-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.card-lines {
    margin-bottom: 20px;
}

.line {
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    margin-bottom: 8px;
}

.line-1 {
    width: 70%;
}

.line-2 {
    width: 50%;
}

.card-boxes {
    display: flex;
    gap: 10px;
}

.box {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

.flower-decoration {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.flower {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #ff6b8a 30%, #ff4d6d 100%);
    border-radius: 50% 50% 0 50%;
    transform: rotate(45deg);
    position: relative;
}

.flower::before {
    content: '';
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stem {
    width: 3px;
    height: 30px;
    background: #7cb342;
    position: absolute;
    top: 40px;
    left: 23px;
}

.leaf {
    width: 20px;
    height: 15px;
    background: #7cb342;
    border-radius: 0 50% 50% 0;
    position: absolute;
    top: 55px;
    left: 15px;
    transform: rotate(-30deg);
}

.content-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mini-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 15px;
    height: 60px;
    position: relative;
}

.card-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.icon-star {
    background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
}

.icon-folder {
    background: linear-gradient(135deg, #90caf9 0%, #42a5f5 100%);
}

.icon-image {
    background: linear-gradient(135deg, #ffab91 0%, #ff7043 100%);
}

.add-button {
    width: 60px;
    height: 60px;
    background: rgba(139, 69, 93, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.add-button i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
}

.avatar {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: float-avatar 3s ease-in-out infinite;
}

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

.avatar-1 {
    bottom: 60px;
    left: -20px;
    animation-delay: 0s;
}

.avatar-2 {
    top: 20px;
    right: 20px;
    animation-delay: 1.5s;
}

.cursor-pointer {
    position: absolute;
    top: 40px;
    right: -10px;
    font-size: 35px;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: cursor-move 2s ease-in-out infinite;
    transform: rotate(-20deg);
}

@keyframes float-avatar {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes cursor-move {
    0%, 100% {
        transform: rotate(-20deg) translateY(0);
    }
    50% {
        transform: rotate(-15deg) translateY(-8px);
    }
}

/* Responsive adjustments for CTA */
@media (max-width: 991.98px) {
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-card {
        padding: 60px 40px;
    }
    
    .cta-visual {
        margin-top: 50px;
        height: 350px;
    }
    
    .browser-mockup {
        width: 380px;
    }
}

@media (max-width: 767.98px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-card {
        padding: 40px 30px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .btn-cta {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .cta-visual {
        height: 300px;
        margin-top: 40px;
    }
    
    .browser-mockup {
        width: 100%;
        max-width: 340px;
    }
    
    .avatar {
        width: 60px;
        height: 60px;
    }
    
    .avatar-1 {
        bottom: 40px;
        left: -10px;
    }
    
    .avatar-2 {
        top: 10px;
        right: 10px;
    }
    
    .cursor-pointer {
        font-size: 28px;
    }
}

/* ==================== FREELANCE CTA BANNER ==================== */
.freelance-cta-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.freelance-cta-banner {
    background: linear-gradient(135deg, #5c3a47 0%, #4a2f39 100%);
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(92, 58, 71, 0.3);
}

.freelance-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: pulse-background 8s ease-in-out infinite;
}

@keyframes pulse-background {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 0.8;
    }
}

.freelance-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.highlight-text {
    color: #f4a261;
    font-style: italic;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f4a261;
    opacity: 0.5;
}

.btn-freelance {
    background: white;
    color: #5c3a47;
    border: none;
    padding: 16px 50px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.btn-freelance:hover {
    background: #f4a261;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(244, 162, 97, 0.4);
}

.btn-freelance:active {
    transform: translateY(-1px) scale(1.02);
}

/* Responsive adjustments for freelance CTA */
@media (max-width: 991.98px) {
    .freelance-cta-section {
        padding: 60px 0;
    }
    
    .freelance-cta-banner {
        padding: 50px 30px;
    }
}

@media (max-width: 767.98px) {
    .freelance-cta-section {
        padding: 40px 0;
    }
    
    .freelance-cta-banner {
        padding: 40px 25px;
        border-radius: 20px;
    }
    
    .freelance-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .btn-freelance {
        padding: 14px 35px;
        font-size: 15px;
    }
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2332 100%);
    color: var(--text-gray);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    /* background: linear-gradient(90deg, transparent, var(--primary-orange), transparent); */
}

.footer-top {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

.footer-links {
    margin-bottom: 50px;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.footer-menu a:hover {
    color: var(--primary-orange);
    padding-left: 10px;
}

.footer-menu a:hover::before {
    width: 100%;
}

.footer-social {
    text-align: center;
    margin-bottom: 50px;
}

.social-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.3);
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.design-credit {
    font-size: 14px;
}

.credit-link {
    color: #4fd1c5;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.credit-link:hover {
    color: #81e6d9;
    text-decoration: underline;
}

/* Responsive adjustments for footer */
@media (max-width: 991.98px) {
    .main-footer {
        padding: 60px 0 0;
    }
    
    .footer-top {
        margin-bottom: 50px;
    }
    
    .footer-links {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .main-footer {
        padding: 50px 0 0;
    }
    
    .footer-top {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .footer-description {
        font-size: 14px;
    }
    
    .footer-heading {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .footer-menu a {
        font-size: 14px;
    }
    
    .social-heading {
        font-size: 16px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 25px 0;
    }
    
    .copyright,
    .design-credit {
        font-size: 13px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* ==================== ANIMATIONS ==================== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991.98px) {
    .auth-section .btn-auth {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .navbar-collapse {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .main-header {
        padding: 15px 0;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-video {
        min-width: auto;
        width: 100%;
    }
    
    .floating-icon {
        width: 45px;
        height: 45px;
    }
    
    .floating-icon i {
        font-size: 20px;
    }
    
    .particle {
        opacity: 0.3;
    }
    
    .search-container {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .floating-chat {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-chat i {
        font-size: 22px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .search-input,
    .search-select {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .btn-search {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}

/* ==================== SMOOTH SCROLLING ==================== */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff9d5c;
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-it-works-section {
    padding: 100px 0;
    background: #fff;
}

/* ==================== SECTION HEADER ==================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* ==================== TOGGLE BUTTONS ==================== */
.toggle-wrapper {
    display: flex;
    gap: 0;
    background: white;
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.toggle-btn {
    padding: 12px 32px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.toggle-btn:hover {
    color: var(--text-dark);
}

.toggle-btn.active {
    background: var(--text-dark);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ==================== CARDS CONTAINER ==================== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
    display: none;
}

.cards-container.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    display: grid;
}

/* ==================== STEP CARD ==================== */
.step-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease forwards;
}

.step-card:nth-child(1) {
    animation-delay: 0.1s;
}

.step-card:nth-child(2) {
    animation-delay: 0.2s;
}

.step-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* ==================== CARD IMAGE ==================== */
.card-image {
    height: 320px;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.step-card:hover .card-image img {
    transform: scale(1.05);
}

/* Gradient Backgrounds */
.gradient-green {
    background: var(--gradient-green);
}

.gradient-blue {
    background: var(--gradient-blue);
}


/* ==================== CARD CONTENT ==================== */
.card-content {
    padding: 30px;
}

.card-content h4 {
    font-size: 24px;
    font-weight: 400;
    color: var(--dark-bg);
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-content p {
    font-size: 16px;
    color: var(--text-textiary);
    line-height: 1.6;
    margin: 0;
}

/* ==================== CTA WRAPPER ==================== */
.cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

.cta-btn {
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-bg));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3);
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .card-image {
        height: 280px;
    }
}

@media (max-width: 991px) {
    .section-title {
        font-size: 40px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .card-image {
        height: 350px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .toggle-wrapper {
        width: 100%;
    }
    
    .toggle-btn {
        flex: 1;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .card-image {
        height: 300px;
    }
    
    .card-title {
        font-size: 28px;
    }
    
    .card-content h4 {
        font-size: 20px;
    }
    
    .card-content p {
        font-size: 15px;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .card-image {
        height: 250px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}


/* How It Works Section */
.how-it-works-section-two{
    padding: 80px 0;
    background: #edf2f6;
    position: relative;
    overflow: hidden;
}

/* Decorative Background Lines */
.background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.bg-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(66, 153, 225, 0.08), transparent);
    height: 2px;
}

.bg-line-1 {
    top: 15%;
    left: -10%;
    width: 50%;
    transform: rotate(-5deg);
}

.bg-line-2 {
    top: 25%;
    right: -10%;
    width: 45%;
    transform: rotate(3deg);
}

.bg-line-3 {
    top: 45%;
    left: 5%;
    width: 60%;
    transform: rotate(-2deg);
}

.bg-line-4 {
    top: 65%;
    right: 0;
    width: 55%;
    transform: rotate(4deg);
}

.bg-line-5 {
    bottom: 15%;
    left: -5%;
    width: 50%;
    transform: rotate(-3deg);
}

/* Vertical Lines */
.bg-line-vertical {
    position: absolute;
    background: linear-gradient(180deg, transparent, rgba(66, 153, 225, 0.08), transparent);
    width: 2px;
    height: 40%;
}

.bg-line-v1 {
    top: 10%;
    left: 15%;
    transform: rotate(5deg);
}

.bg-line-v2 {
    top: 20%;
    right: 20%;
    transform: rotate(-3deg);
}

.bg-line-v3 {
    bottom: 10%;
    left: 25%;
    transform: rotate(-5deg);
}

/* Dots Pattern */
.bg-dots {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(66, 153, 225, 0.15);
}

.dot-1 { top: 12%; left: 10%; }
.dot-2 { top: 30%; right: 15%; }
.dot-3 { top: 55%; left: 8%; }
.dot-4 { bottom: 20%; right: 12%; }
.dot-5 { top: 70%; left: 18%; }
.dot-6 { top: 40%; right: 10%; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(66, 153, 225, 0.1);
    border: 1px solid rgba(66, 153, 225, 0.2);
    border-radius: 30px;
    color: var(--dark-bg);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 500;
    color: var(--darker-bg);
    margin: 0 0 16px 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 25px;
    color: var(--darker-bg);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

/* Card Styles */
.feature-card {
    background: var(--bg-primary);
    border: 2px solid var(--accent-blue-light);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(66, 153, 225, 0.08);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(66, 153, 225, 0.2);
    border-color: var(--accent-blue);
}

/* Icon Container */
.card-icon-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 32px;
}

/* Background Circles for Icons */
.icon-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.icon-bg-large {
    width: 140px;
    height: 140px;
    top: 10px;
    left: 10px;
}

.icon-bg-small {
    width: 100px;
    height: 100px;
    top: 30px;
    left: 30px;
    opacity: 0.25;
}

/* Main Icon Circle */
.card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover .card-icon {
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
}

/* Card 1 - Find Help (Blue) */
.card-1 .icon-bg-large { background: #4299e1; }
.card-1 .icon-bg-small { background: #63b3ed; }
.card-1 .card-icon { 
    background: linear-gradient(135deg, #2b6cb0 0%, #4299e1 100%);
}

/* Decorative elements on Card 1 icon */
.icon-person {
    position: relative;
    z-index: 2;
}

.icon-ladder {
    position: absolute;
    font-size: 28px;
    bottom: 15px;
    right: 10px;
    opacity: 0.9;
    z-index: 1;
}

.icon-tools {
    position: absolute;
    font-size: 24px;
    top: 10px;
    right: 8px;
    opacity: 0.8;
}

/* Card 2 - Find Customers (Lighter Blue) */
.card-2 .icon-bg-large { background: #63b3ed; }
.card-2 .icon-bg-small { background: #90cdf4; }
.card-2 .card-icon { 
    background: linear-gradient(135deg, #4299e1 0%, #63b3ed 100%);
}

/* Decorative elements on Card 2 icon */
.icon-customers {
    position: relative;
    z-index: 2;
}

.icon-wrench {
    position: absolute;
    font-size: 26px;
    bottom: 12px;
    right: 12px;
    opacity: 0.9;
    transform: rotate(45deg);
}

/* Floating icons around card 2 */
.floating-icon {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.float-icon-1 {
    top: 20px;
    left: 20px;
    animation: float 3s ease-in-out infinite;
}

.float-icon-2 {
    top: 20px;
    right: 20px;
    animation: float 3s ease-in-out infinite 0.5s;
}

.float-icon-3 {
    bottom: 40px;
    left: 30px;
    animation: float 3s ease-in-out infinite 1s;
}

.float-icon-4 {
    bottom: 40px;
    right: 30px;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Card 3 - Set Schedule (Blue gradient) */
.card-3 .icon-bg-large { background: #4299e1; }
.card-3 .icon-bg-small { background: #63b3ed; }
.card-3 .card-icon { 
    background: linear-gradient(135deg, #3182ce 0%, #4299e1 100%);
}

/* Decorative elements on Card 3 icon */
.schedule-stack {
    position: relative;
}

.schedule-card {
    width: 60px;
    height: 45px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.schedule-card:last-child {
    margin-bottom: 0;
}

.schedule-card-front {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.schedule-icon-inner {
    font-size: 20px;
    color: var(--accent-blue);
}

.clock-badge {
    position: absolute;
    bottom: 35px;
    left: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Card Content */
.card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    font-family: 'Montserrat', sans-serif;
}

.card-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .section-title {
        font-size: 40px;
    }

    .card-3 {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .feature-card {
        padding: 40px 24px;
    }

    .card-icon-container {
        width: 140px;
        height: 140px;
    }

    .card-icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

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

    .card-description {
        font-size: 15px;
    }
}