/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   FLOATING CHAT WIDGET STYLES
   ============================================ */

.floating-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

/* Chat Toggle Button */
.chat-toggle {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 120px;
    justify-content: center;
    z-index: 9999;
}

.chat-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.4);
}

.chat-toggle-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-toggle-content i {
    font-size: 1.1rem;
}

.chat-close {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
}

.chat-close:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

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

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.chat-header-text h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-header-text p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.chat-minimize {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.chat-minimize:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bot-message,
.user-message {
    display: flex;
    animation: fadeIn 0.3s ease-in;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    overflow: hidden;
}

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

.user-message .message-avatar {
    background: #28a745;
    color: white;
    margin-right: 0;
    margin-left: 10px;
    order: 2;
    font-size: 0.9rem;
}

.message-content {
    max-width: 75%;
    padding: 12px 15px;
    border-radius: 15px;
    line-height: 1.4;
    word-wrap: break-word;
    font-size: 0.9rem;
}

.bot-message .message-content {
    background: white;
    color: #495057;
    border: 1px solid #e9ecef;
    border-radius: 15px 15px 15px 5px;
}

.user-message .message-content {
    background: #007bff;
    color: white;
    border-radius: 15px 15px 5px 15px;
}

/* Chat Input */
.chat-input-area {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

#chatbot-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

#chatbot-input:focus {
    border-color: #007bff;
}

#send-button {
    background: #007bff;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#send-button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

#send-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.chatbot-status {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6c757d;
    text-align: center;
}

.contact-collected {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    text-align: center;
}

.collection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #155724;
    font-weight: 500;
    font-size: 0.85rem;
}

.collection-status i {
    font-size: 1rem;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-style: italic;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #007bff;
    animation: typingPulse 1.5s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingPulse {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Mobile responsiveness for floating chat */
@media (max-width: 768px) {
    .floating-chat-widget {
        bottom: 15px;
        right: 15px;
        z-index: 9999; /* Ensure it's above all other content */
    }
    
    .chat-window {
        width: calc(100vw - 30px);
        height: 80vh;
        max-width: 350px;
        bottom: 70px;
        right: 0;
    }
    
    .chat-toggle {
        padding: 10px 14px;
        font-size: 0.85rem;
        min-width: 100px;
        position: fixed;
        bottom: 15px;
        right: 15px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    }
    
    .chat-messages {
        padding: 15px;
    }
    
    .message-content {
        max-width: 80%;
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .chat-input-area {
        padding: 12px 15px;
    }
    
    #chatbot-input {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    #send-button {
        width: 36px;
        height: 36px;
    }
    
    .chat-header {
        padding: 12px 15px;
    }
    
    .chat-header-text h4 {
        font-size: 1rem;
    }
    
    .chat-header-text p {
        font-size: 0.8rem;
    }
    
    .chat-avatar {
        width: 32px;
        height: 32px;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 204, 128, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, #fffef9 0%, #fefaf5 100%);
    background-attachment: fixed;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Tablet Responsive Styles (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    /* Typography Tablet */
    h1 {
        font-size: 2.6rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Hero Section Tablet */
    .resources-hero {
        padding: 80px 0 50px;
    }

    .resources-hero .hero-content {
        max-width: 700px;
        margin: 0 auto;
    }

    /* Content Grid Tablet */
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .content-card {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .content-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    /* Warning Stats Tablet - Improved layout for stats */
    .warning-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
        margin-top: 2rem;
    }

    .stat-item {
        min-height: 160px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .stat-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        word-break: break-word;
        line-height: 1.1;
    }
    
    .stat-number small {
        font-size: 0.7em;
        color: #888;
        font-weight: 400;
    }
    
    .stat-desc {
        font-size: 0.9rem;
        text-align: center;
        max-width: 95%;
    }

    /* Method Cards & Strategy Items Tablet */
    .method-card,
    .strategy-item {
        padding: 1.8rem;
    }

    /* Action Steps Tablet */
    .action-steps ol {
        padding-left: 2rem;
    }

    /* Navigation Tablet */
    .navbar {
        padding: 15px 0;
    }
    
    .nav-brand {
        padding-right: 15px;
    }
    
    .nav-kw-logo {
        max-width: 100px;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-link {
        padding: 0 12px;
        font-size: 0.92rem;
        font-weight: 500;
        white-space: nowrap;
    }
    
    .nav-menu .btn-primary {
        padding: 8px 15px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* CTA Buttons Tablet */
    .cta-buttons {
        gap: 1.2rem;
        justify-content: center;
    }

    .btn-large {
        padding: 14px 24px;
    }

    /* Two-column sections at tablet size */
    .protection-methods {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    /* Improve button appearance on tablets */
    .btn-primary, .btn-secondary {
        transition: all 0.2s ease;
    }
    
    .btn-primary:hover, .btn-secondary:hover {
        transform: translateY(-2px);
    }
    
    /* Improve CTA section on tablets */
    .contact-cta {
        background-attachment: fixed;
    }
    
    /* Improve readability for important sections */
    .important-note {
        padding: 1.5rem;
        margin: 2rem 0;
        border-radius: 8px;
    }

    /* Footer adjustments for tablet */
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Typography Mobile */
    h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    /* Hero Section Mobile */
    .resources-hero {
        padding: 60px 0 40px;
    }

    .resources-hero h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .resources-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Content Grid Mobile */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    /* Warning Stats Mobile */
    .warning-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        padding: 1.2rem 1rem;
        min-height: 100px;
    }

    .stat-number {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .stat-number small {
        font-size: 0.65em;
        color: #888;
        font-weight: 400;
    }

    .stat-desc {
        font-size: 0.85rem;
    }

    /* CTA Buttons Mobile */
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Contact CTA Mobile */
    .contact-cta {
        padding: 60px 0;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-note {
        font-size: 0.85rem;
        margin-top: 1rem;
    }

    /* Navigation Mobile Improvements */
    .nav-menu {
        padding: 20px;
    }
}

/* ============================================
   SERVICE CARD ENHANCEMENTS
   ============================================ */

.service-action {
    margin-top: 1.5rem;
}

.listing-form-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.listing-form-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea086 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    text-decoration: none;
    color: white;
}

.listing-form-btn i {
    font-size: 1rem;
}

    .nav-link {
        padding: 12px 0;
        font-size: 1.1rem;
    }

    /* Method Cards Mobile */
    .method-card,
    .strategy-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Action Steps Mobile */
    .action-steps ol {
        padding-left: 1.5rem;
    }

    .action-steps li {
        margin-bottom: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Extra Small Mobile */
    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .resources-hero {
        padding: 50px 0 30px;
    }

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

    .resources-hero .hero-subtitle {
        font-size: 0.95rem;
    }

    .content-card {
        padding: 1.2rem;
    }

    .stat-item {
        padding: 1rem;
        min-height: 90px;
    }

    .stat-number {
        font-size: 1.3rem;
        line-height: 1.1;
    }
    
    .stat-number small {
        font-size: 0.6em;
        color: #888;
        font-weight: 400;
    }

    .btn-large {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .contact-cta {
        padding: 50px 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(255, 255, 255, 0.05) 4px
        ),
        linear-gradient(135deg, #1e3a8a, #1e40af);
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.08) 2px,
            rgba(255, 255, 255, 0.08) 4px
        ),
        linear-gradient(135deg, #1e40af, #3b82f6);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px rgba(30, 58, 138, 0.3),
        0 0 20px rgba(251, 191, 36, 0.2);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: 
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(245, 158, 11, 0.03) 2deg,
            transparent 4deg
        ),
        transparent;
    color: #f59e0b;
    border: 2px solid #f59e0b;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: 
        radial-gradient(circle, #f59e0b 0%, #fbbf24 100%);
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn-secondary:hover {
    background: 
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(245, 158, 11, 0.08) 2deg,
            transparent 4deg
        ),
        #f59e0b;
    color: white;
    border-color: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(245, 158, 11, 0.3),
        0 0 15px rgba(251, 191, 36, 0.4);
}

.btn-secondary:hover::before {
    width: 120%;
    height: 120%;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98); /* Increased opacity for better visibility */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 999; /* Lower than hero's z-index */
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Added shadow for better distinction */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-kw-logo {
    height: 70px; /* Slightly smaller logo to reduce navbar height */
    width: auto;
}

.nav-brand h2 {
    color: #1e3a8a;
    margin: 0;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: 
        linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-link:hover {
    color: #f59e0b;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover::after {
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(rgba(20, 34, 67, 0.7), rgba(15, 23, 42, 0.8)),
        url('https://public.youware.com/users-website-assets/prod/6f9480e0-1814-4d8e-95c0-3af3f25e6b00/8d43cf51b66341f5b4a94d3076c6a5ae.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0 80px; /* Increased padding-top to prevent overlap */
    position: relative; /* Added to create a new stacking context */
    z-index: 1; /* Ensures content is above fixed header */
    margin-top: 20px; /* Added extra margin to create more space between navbar and content */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

.hero-image {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.agent-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.agent-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 320px;
}

.agent-info h3 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.agent-title {
    color: #2563eb;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.agent-credentials {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.agent-languages {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.hero-languages {
    margin-top: 1rem;
}

.languages {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
}

.hero h1 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Services */
.services {
    background: 
        repeating-linear-gradient(
            120deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.02) 3px,
            rgba(255, 255, 255, 0.02) 6px
        ),
        linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.services .section-title {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(251, 191, 36, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

.service-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(251, 191, 36, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.08) 1px,
            rgba(255, 255, 255, 0.08) 3px
        ),
        linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
}

@keyframes shimmer {
    0%, 100% { 
        transform: translateX(-50%) translateY(-50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateX(-50%) translateY(-50%) scale(1.1);
        opacity: 0.6;
    }
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.3) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.3) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.3) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.3) 75%),
        #fffef9;
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    color: #333;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(245, 158, 11, 0.03) 100%);
    pointer-events: none;
}

.about .section-title {
    color: #1e293b;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h3 {
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.credential {
    background: 
        repeating-radial-gradient(
            circle at 30% 30%,
            transparent 0px,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 2px
        ),
        linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 1.5rem;
    border-radius: 12px;
    border: 3px solid #1e3a8a;
    text-align: center;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.credential::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(
            from 0deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
        );
    opacity: 0;
    transition: all 0.6s ease;
    animation: rotate 4s linear infinite;
}

.credential:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(30, 58, 138, 0.3),
        0 0 20px rgba(251, 191, 36, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: 
        repeating-radial-gradient(
            circle at 30% 30%,
            transparent 0px,
            rgba(255, 255, 255, 0.2) 1px,
            transparent 2px
        ),
        linear-gradient(135deg, #fbbf24, #f59e0b);
}

.credential:hover::before {
    opacity: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.credential strong {
    display: block;
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.credential span {
    color: #000;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Process Timeline */
.process {
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(245, 158, 11, 0.02) 2px,
            rgba(245, 158, 11, 0.02) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(251, 191, 36, 0.02) 2px,
            rgba(251, 191, 36, 0.02) 4px
        ),
        #faf9f6;
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2563eb;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 5px 15px rgba(37, 99, 235, 0.4),
        0 0 20px rgba(251, 191, 36, 0.3);
    background: 
        radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.3) 0%, transparent 50%),
        #2563eb;
}

.timeline-item:hover .timeline-content {
    background: 
        linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.15),
        0 0 15px rgba(251, 191, 36, 0.2);
    transform: translateY(-2px);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 2rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-content {
    flex: 1;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(251, 191, 36, 0.02) 20px,
            rgba(251, 191, 36, 0.02) 22px
        ),
        white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.process-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Resources */
.resources {
    background: 
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 4px,
            rgba(255, 255, 255, 0.03) 4px,
            rgba(255, 255, 255, 0.03) 8px
        ),
        linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    position: relative;
}

.resources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 75% 25%, rgba(245, 158, 11, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 25% 75%, rgba(251, 191, 36, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.resources .section-title {
    color: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.02) 3px,
            rgba(255, 255, 255, 0.02) 6px
        );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.resource-card:hover::before {
    opacity: 1;
    animation: pulse 2.5s ease-in-out infinite;
}

.resource-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 0 25px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: 
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.06) 2px,
            rgba(255, 255, 255, 0.06) 5px
        ),
        linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.12) 100%);
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.4;
        transform: translateX(-50%) translateY(-50%) scale(0.95);
    }
    50% { 
        opacity: 0.8;
        transform: translateX(-50%) translateY(-50%) scale(1.05);
    }
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.resource-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.1) 10px,
            rgba(255, 255, 255, 0.1) 20px
        ),
        linear-gradient(135deg, #fef7ed 0%, #fef3c7 100%);
    color: #333;
    overflow: hidden;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials .section-title {
    color: #1e3a8a;
}

.testimonial-carousel {
    margin-top: 3rem;
    max-height: 400px;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: scrollVertical 45s linear infinite;
}

@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.testimonial-card {
    background: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 15px,
            rgba(255, 255, 255, 0.1) 15px,
            rgba(255, 255, 255, 0.1) 17px
        ),
        rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 3px solid #1e3a8a;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(
            90deg,
            transparent,
            rgba(251, 191, 36, 0.1),
            transparent
        );
    transition: left 0.8s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: 
        0 8px 30px rgba(30, 58, 138, 0.3),
        0 0 20px rgba(251, 191, 36, 0.2);
    border-color: #f59e0b;
    background: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 15px,
            rgba(255, 255, 255, 0.2) 15px,
            rgba(255, 255, 255, 0.2) 17px
        ),
        rgba(255, 255, 255, 0.95);
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f59e0b;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #f59e0b;
}

.testimonial-author span {
    color: #f59e0b;
    font-size: 0.9rem;
}

.testimonial-carousel:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonials .container {
    max-width: 900px;
}

.footer-logos {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.footer-kw-logo {
    height: 85px;
    width: auto;
}

/* Resources Page Styles */
.resources-hero {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('https://public.youware.com/users-website-assets/prod/6f9480e0-1814-4d8e-95c0-3af3f25e6b00/c1ec39785d4e42c2962284da77cc7257') no-repeat center center/cover;
    color: white;
    padding: 100px 0 60px;
    position: relative;
    text-align: center;
}

.resources-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.05) 20px,
            rgba(255, 255, 255, 0.05) 40px
        );
    pointer-events: none;
}

.resources-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
}

.resources-hero .hero-text {
    max-width: 600px;
    margin: 0 auto;
}

.resources-hero h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resources-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.content-section {
    padding: 60px 0;
}

.content-section.bg-light {
    background: #faf9f6;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2563eb;
}

.content-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.important-note {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.important-note h4 {
    color: #92400e;
    margin-bottom: 1rem;
}

.guide-content, .equity-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-intro, .equity-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
}

.prevention-strategies, .protection-methods {
    margin: 3rem 0;
}

.strategy-item, .method-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.strategy-item h3, .method-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.strategy-item ul, .method-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.strategy-item li, .method-card li {
    margin-bottom: 0.5rem;
}

.action-steps {
    background: #ecfdf5;
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.action-steps h3 {
    color: #047857;
    margin-bottom: 1rem;
}

.action-steps ol {
    padding-left: 1.5rem;
}

.action-steps li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.calculation-example {
    background: #fef7ed;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-family: monospace;
}

.equity-result {
    color: #059669;
    font-weight: 600;
    font-size: 1.1rem;
}

.method-benefit {
    background: #ecfdf5;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #10b981;
}

.protection-warning {
    background: #fef2f2;
    border: 2px solid #dc2626;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.protection-warning h4 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.warning-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 8px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
    word-break: break-word;
    line-height: 1.2;
}

.stat-desc {
    font-size: 0.9rem;
    color: #6b7280;
}

.contact-cta {
    background: 
        radial-gradient(circle at 25% 25%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #faf9f6 0%, #f8f6f1 100%);
    color: #333;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta-content h2 {
    color: #333;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact */
.contact {
    background: 
        radial-gradient(circle at 25% 25%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #faf9f6 0%, #f8f6f1 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(245, 158, 11, 0.02) 1deg,
            transparent 2deg
        );
    pointer-events: none;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            rgba(245, 158, 11, 0.03) 1px,
            rgba(245, 158, 11, 0.03) 2px
        );
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.1);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
    border-radius: 12px;
    pointer-events: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 30px,
            rgba(245, 158, 11, 0.02) 30px,
            rgba(245, 158, 11, 0.02) 32px
        ),
        #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f59e0b;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 30px,
            rgba(245, 158, 11, 0.05) 30px,
            rgba(245, 158, 11, 0.05) 32px
        ),
        #ffffff;
    box-shadow: 
        0 0 0 3px rgba(245, 158, 11, 0.1),
        0 2px 8px rgba(245, 158, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #fbbf24;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 30px,
            rgba(245, 158, 11, 0.03) 30px,
            rgba(245, 158, 11, 0.03) 32px
        ),
        #ffffff;
}

.form-group textarea {
    resize: vertical;
}

/* CAPTCHA Styles */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#captchaQuestion {
    font-weight: 500;
    color: #374151;
    background: #f3f4f6;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    white-space: nowrap;
}

.captcha-container input[type="number"] {
    max-width: 120px;
    flex-shrink: 0;
}

/* Success Message Responsive Styles */
@media (max-width: 600px) {
    #successMessage {
        padding: 1.5rem !important;
        font-size: 0.9rem;
    }
    
    #successMessage h3 {
        font-size: 1.3rem !important;
    }
    
    #successMessage h4 {
        font-size: 1rem !important;
    }
}

/* Professional Testimonials */
.professional-testimonials {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 80px 0;
}

.professional-testimonials .section-title {
    color: white;
}

/* Success Statistics */
.success-stats {
    margin: 40px 0 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 16px;
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.stats-note {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

.stats-note p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Responsive design for stats */
@media (max-width: 768px) {
    .success-stats {
        padding: 30px 20px;
        margin: 30px 0 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stat-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-letter {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    position: relative;
}

.testimonial-letter:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

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

.letter-type {
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.letter-date {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.letter-from {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.letter-subject {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.letter-outcome {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.letter-outcome.success {
    background: #ecfdf5;
    border: 2px solid #10b981;
}

.letter-outcome.approved {
    background: #dbeafe;
    border: 2px solid #3b82f6;
}

.letter-outcome.emergency {
    background: #fef2f2;
    border: 2px solid #ef4444;
}

.outcome-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.letter-outcome.success .outcome-label {
    color: #047857;
}

.letter-outcome.approved .outcome-label {
    color: #1d4ed8;
}

.letter-outcome.emergency .outcome-label {
    color: #dc2626;
}

.outcome-details {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.letter-preview {
    font-style: italic;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.letter-action {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    padding: 8px;
    background: #f1f5f9;
    border-radius: 6px;
    margin-top: 1rem;
}

.testimonial-letter:hover .letter-action {
    background: #2563eb;
    color: white;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-letter {
        padding: 1.5rem;
    }
    
    .letter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Success Photo */
.success-photo {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.success-caption {
    font-style: italic;
    color: #64748b;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Mobile adjustments for success photo */
@media (max-width: 480px) {
    .success-caption {
        font-size: 0.9rem;
        max-width: 300px;
        line-height: 1.3;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #cbd5e1;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #64748b;
}

.close:hover {
    color: #374151;
}

.modal-form {
    margin-top: 1rem;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
}

.pricing-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.plan {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.plan.featured {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
}

.plan ul {
    list-style: none;
    margin: 1rem 0;
}

.plan li {
    padding: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px; /* Increased top padding for mobile */
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .agent-photo {
        width: 250px;
        height: 250px;
    }
    
    .agent-info {
        max-width: 280px;
        padding: 1.5rem;
    }
    
    .agent-info h3 {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
    }

    .timeline-content {
        margin-left: 1rem;
    }

    .process-timeline::before {
        left: 15px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 140px; /* Further increased padding-top for smallest screens */
        padding-bottom: 50px;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 1.5rem; /* Slightly larger font size */
        line-height: 1.3; /* Increased line height for better readability */
        margin-bottom: 1.5rem; /* More breathing room below heading */
    }

    h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    .btn-large {
        width: 100%;
    }
}
/* Property Listing Services Section */
.property-listing {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.listing-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.listing-text h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.listing-text p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.listing-cta {
    margin-top: 2rem;
}

/* Button Styles for Listing Form */
.listing-form-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
    border: none;
    cursor: pointer;
}

.listing-form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    color: white;
    text-decoration: none;
}

.listing-form-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.listing-form-btn i {
    font-size: 1.2rem;
}
/* Mobile Responsive for Property Listing */
@media (max-width: 768px) {
    .property-listing {
        padding: 60px 0;
    }
    
    .listing-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .listing-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .listing-form-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}