/* CSS Variables */
        :root {
            --primary-red: #cf0202;
            --light-red: #ffa8a8;
            --white: #ffffff;
            --black: #000000;
            --dark-gray: #2f3d4d;
            --body-gray: #333333;
            --light-gray: #f5f5f5;
            --neutral-100: #111111;
            --neutral-200: #222222;
            --neutral-300: #444444;
            --neutral-400: #666666;
            --neutral-500: #888888;
            --neutral-600: #aaaaaa;
            --neutral-700: #cccccc;
            --neutral-800: #e5e5e5;
            --neutral-900: #f7f7f7;
            --transition: all 0.3s ease;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.12);
            --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
            --border-radius: 12px;
        }

        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        :focus:not(:focus-visible) {
  outline: none;
}

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            font-size: 16px;
            line-height: 1.5;
            color: var(--body-gray);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
            color: var(--dark-gray);
        }

        h1 {
            font-size: clamp(28px, 5vw, 64px);
        }

        h2 {
            font-size: clamp(24px, 3.5vw, 40px);
        }

        h3 {
            font-size: clamp(20px, 2.5vw, 28px);
        }

        p {
            margin-bottom: 1.5rem;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        .container {
            width: 90%;
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .btn {
            display: inline-block;
            padding: 12px 28px;
            border-radius: 28px;
            font-weight: 600;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid transparent;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .btn-primary {
            background: var(--primary-red);
            color: var(--white);
            border: 2px solid var(--primary-red);
            box-shadow: var(--shadow-md);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            background: var(--black);
            color: var(--white);
            border: 2px solid var(--black);
        }

        .btn-outline {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }

        .btn-outline:hover {
            background: var(--white);
            color: var(--black);
        }

        .btn-outline-dark {
            background: transparent;
            color: var(--primary-red);
            border: 2px solid var(--primary-red);
        }

        .btn-outline-dark:hover {
            background: var(--primary-red);
            color: var(--white);
        }

        .section {
            padding: 100px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--primary-red);
        }

        /* Contact Navbar */
        .contact-navbar {
            background: transparent;
            padding: 8px 0;
            font-size: 14px;
            position:relative;
            top:0;
            left: 0;
            
            width: 100%;
            z-index: 1000;
            transition: var(--transition);
        }

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

        .contact-info {
            display: flex;
            gap: 20px;
        }

        .contact-info i {
            margin-right: 5px;
            color: var(--primary-red);
        }

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

        .social-icons a {
            color: var(--dark-gray);
            transition: var(--transition);
        }

        .social-icons a:hover {
            color: var(--primary-red);
        }

        /* Main Navbar */
        .main-navbar {
            position: fixed;
            top: 40px;
            left: 0;
            width: 100%;
            background: transparent;
            z-index: 999;
            transition: var(--transition);
            padding: 15px 0;
        }

        .main-navbar.scrolled {
            background: var(--white);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            top:0;
        }

        .main-navbar.scrolled .nav-links a {
            color: var(--dark-gray);
        }

        .main-navbar.scrolled .logo {
            color: var(--dark-gray);
        }

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

        }

        .logo {
            font-size: 28px;
            font-weight: 700;
            color: var(--white);
            display: flex;
            align-items: center;
            margin-left: -50px;
        }
        .logo img{
            height: auto;
            width: 70px;
            margin-right: 10px;
        }

        .logo span {
            color: rgb(200, 15, 15);
        }

        .nav-links {
            display: flex;
            gap: 40px;
            margin-right: -70px;
        }

        .nav-links a {
            color: var(--white);
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary-red);
        }

        .mobile-close{
    display: none;
        }

        /* Keep dropdown open while inside */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover .fa-chevron-down {
  color: #e1c000;
  rotate: 180deg;
}

.dropdown:hover .dropdown-toggle-title {
  color:var(--primary-red);
}

.dropdown:hover > a:after {
  width: 100%;
  background: #e1c000;
}
        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-red);
            transition: var(--transition);
        }

        .nav-links a:hover:after {
            width: 100%;
        }

        .dropdown {
            position: relative;
        }

        .dropdown i {
           color: var(--primary-red);
            transition: 0.5s ease-in-out;
        }
        

        .dropdown-content {
            position: absolute;
            top: 120%;
            left: 0;
            background: var(--white);
            min-width: 250px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 100;
        }

        .dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-content a {
            color: var(--dark-gray);
            padding: 12px 20px;
            display: block;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .dropdown-content a:last-child {
            border-bottom: none;
        }

        .dropdown-content a:hover {
            background: var(--light-gray);
            color: var(--primary-red);
        }

        .services-dropdown {
            min-width: 550px;
            padding: 15px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            left:-150px;
            max-width: 650px;
        }

        .service-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 10px;
            transition: var(--transition);
            border-radius: var(--border-radius);
            background: var(--light-gray);

        }

        .service-item:hover {
            background:rgb(255, 233, 233);
            cursor:pointer;
            scale: 1.03;
            transition: var(--transition);
        }

        .service-icon i{
            width: 5px;
            height: 5px;
            background: #f7e0e0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
            color: var(--primary-red);
            transition: 0.2s ease-in;
            margin-left:2px;
            padding: 1.3rem ;
        }

        .mynaui--math-square {
  display: inline-block;
  width: 24px;
  height: 24px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M7 15.625h3.5m3.25-5.5h3.5m-3.5-2.5h3.5m-10.5 1.25h2m0 0h2m-2 0v-2m0 2v2m5.35 6.25l1.414-1.414m0 0l1.415-1.414m-1.415 1.414L14.1 14.296m1.414 1.415l1.415 1.414M3 9.4c0-2.24 0-3.36.436-4.216a4 4 0 0 1 1.748-1.748C6.04 3 7.16 3 9.4 3h5.2c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748C21 6.04 21 7.16 21 9.4v5.2c0 2.24 0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748C17.96 21 16.84 21 14.6 21H9.4c-2.24 0-3.36 0-4.216-.436a4 4 0 0 1-1.748-1.748C3 17.96 3 16.84 3 14.6z'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

        .service-item:hover .service-icon i{
        background: var(--primary-red);
            cursor: pointer;
            color: var(--white);
            border-radius: 50%;
            padding: 1.3rem ;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 5px;
            height: 5px;
            transition: 0.2s ease-in;
        }

        .service-info h4 {
            margin-bottom: 5px;
            font-size: 14px;
            transition: 0.3s ease-in;
        }

        .service-item:hover .service-info h4{
         color: var(--primary-red);
         transition: 0.3s ease-in;
         scale: 1.01;

        }


        .service-info p {
            font-size: 12px;
            margin-bottom: 0;
            color: #666;
            transition: 0.3s ease-in;
        }

        .service-item:hover .service-info p{
         color: var(--dark-gray);
        }

        .mobile-toggle {
            display: none;
            position: relative;
            font-size: 24px;
            cursor: pointer;
            color: var(--white);
            z-index: 1001;
            
        }

        .mobile-toggle.scrolled:active,
        .mobile-toggle.scrolled:focus{
            scale: 1.03;
            color: #666;

        }

        .mobile-toggle:active,
        .mobile-toggle:focus{
            scale: 1.03;
            color: #666;

        }

        .mobile-toggle.scrolled {
            color: var(--primary-red);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            background: linear-gradient(rgba(54, 52, 52, 0.6), rgba(217, 0, 0, 0.4)), 
                        url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            position: relative;
        }

        .hero-content {
            max-width: 800px;
            padding: 0 20px;
            transform: translateY(50px);
            opacity: 0;
            animation: fadeInUp 1s forwards 0.5s;
        }

        .hero h1 {
            font-size: clamp(36px, 6vw, 64px);
            margin-bottom: 20px;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
            color: var(--white);
        }

        .hero h1 span {
            color: var(--primary-red);
            text-shadow: none;
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 40px;
            text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 40px;
        }

        .trust-badges {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }

        .badge {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

        .badge-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-red);
        }

        .badge-text {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

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

        /* Pain Points Section */
        .pain-points {
            background: var(--white);
            padding: 80px 0;
        }

        .points-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .point-card {
            display: flex;
            gap: 20px;
            padding: 30px;
            border-radius: 10px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .point-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            background-color: #fff5f5;
        }

        .point-icon {
            width: 60px;
            height: 60px;
            background: var(--light-gray);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-red);
            font-size: 24px;
            flex-shrink: 0;
            margin-bottom: 20px;
            transition: 0.3s ease-in;
        }

        .point-card:hover .point-icon{
            color: var(--black);
            transition: 0.3s ease-in;
        }

        .point-content h3 {
            margin-bottom: 10px;
            font-size: 1.3rem;
            transition: 0.1s ease-in;
        }

        .point-card:hover .point-content h3{
            color: var(--primary-red);
            transition: 0.3s ease-in;
        }

        .point-content p {
            margin-bottom: 15px;
            color: var(--neutral-400);
            transition: 0.1s ease-in;
        }

        .point-card:hover .point-content p{
            color: var(--dark-gray);
            transition: 0.3s ease-in;
        }

        .point-cta {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary-red);
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: 0.3s ease-in;
        }

        .point-cta i{
            color: var(--dark-gray);
            transition: 0.3s ease-in;
        }

        .point-cta:hover{
            color: var(--black);
            transition: 0.3s ease-in;
        }

        .point-cta:hover .fas {
            color: var(--primary-red);
            transition: 0.3s ease-in;
            transform: translateX(5px);
            scale: 1.05;
        }

        /* Purpose Section */
        .purpose {
            background: var(--light-gray);
            height: 90vh;
        }

        .purpose-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 90px;
            align-items: center;
            
        }

        .purpose-content h2 {
            font-size: 2.5rem;
            color: var(--primary-red);
            margin-bottom: 20px;
        }

        .purpose-content p {
            font-size: 1.1rem;
            margin-bottom: 30px;
        }

        .purpose-image {
            border-radius: 10px;
            width: 110%;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            justify-self: center;
        }

        .purpose-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: 2s transform ease-in, 0.3s filter ease-in;
        }

        .purpose-image:hover img {
            transform: scale(1.03);
            filter: grayscale(70%);
        }

        /* Why Choose Us Section */
        .why-choose {
            background: var(--white);
        }

        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }

        .metric-card {
            text-align: center;
            padding: 30px 20px;
            border-radius: 10px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .metric-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .metric-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--primary-red);
            margin-bottom: 10px;
        }

        .metric-text {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--dark-gray);
        }

        /* Process Section */
        .process-section {
            background: var(--light-gray);
    padding: 120px 0;
            margin-bottom: 0px;
        }

        .process-section .container {
position: static;
    margin: 0 auto;
            margin-top:20px;
            margin-bottom: 0px;
            height: 100%;
        }

        .process-vertical-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(80px, 10vw, 140px);
    max-width: 1100px;
    margin: 50px auto 20px auto;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    align-items: center;
    position: relative;
    opacity: 0.5;
    transition: 0.3s ease;
}

.process-step.active,
.process-step.completed {
    opacity: 1;
}

.process-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100%;
}

.process-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 10px;
    transition: 0.3s ease;
}

.process-step.active .process-circle,
.process-step.completed .process-circle
 {
    background: #ff0000;
    border-color: #ff0000;
    color: white;
}

.process-line {
    width: 4px;
    flex-grow: 1;
    min-height: 60px;
    background: rgba(0,0,0,0.2);
}

.process-step.completed .process-line {
    background: #ff0000;
}

.process-content {
    padding: 20px 25px;
    background: #f6f6f6;
    border-radius: 10px;
    border-left: 4px solid #ff0000;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.home-process-number {
            display: none;
            background: transparent;
            color: #333333b3;
            border:1px solid #333333b3 ;
            padding: 5px 15px;
            border-radius: 50px;
            font-weight: 600;
            margin-bottom: 15px;
            font-size: 14px;
 }
 .process-step.active .home-process-number,
  .process-step.completed .home-process-number{
    background: var(--primary-red);
    color:#f6f6f6;
    border: 1px solid var(--primary-red);
 }

.process-step.right .process-content {
    border-left: none;
    border-right: 4px solid #ff0000;
}

.process-placeholder {
    height: 100%;
}

@media (max-width: 768px) {
    .process-step {
        grid-template-columns:1fr;
        gap: 30px;
    }

    .process-placeholder {
        display: none;
    }

    .process-content {
        border-right: none !important;
        border-left: 4px solid #ff0000 !important;
    }
    .logo{
        font-size: 20px;
        margin-left: -20px;
    }
    .logo img {
        width:50px;
    }
}


        /* Services Section */
        .services {
            background: var(--white);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .service-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
        }

        .service-icon-large {
            height: 80px;
            background: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-red);
            font-size: 30px;
        }

        .service-content {
            padding: 25px;
        }

        .service-content h3 {
            color: var(--dark-gray);
            margin-bottom: 15px;
        }

        .service-content p {
            margin-bottom: 20px;
            color: var(--neutral-400);
        }

        /* Listings Section */
        .listings {
            background: var(--light-gray);
        }

        .filter-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .filter-tags {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-tag {
            padding: 8px 16px;
            background: var(--white);
            border-radius: 20px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid var(--neutral-700);
        }

        .filter-tag.active {
            background: var(--primary-red);
            color: var(--white);
            border-color: var(--primary-red);
        }

        .listings-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }

        .listing-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .listing-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .listing-image {
            height: 200px;
            overflow: hidden;
        }

        .listing-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

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

        .listing-content {
            padding: 25px;
        }

        .listing-content h3 {
            color: var(--primary-red);
            margin-bottom: 10px;
        }

        .listing-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark-gray);
            margin-bottom: 15px;
        }

        .listing-details {
            margin-bottom: 20px;
        }

        .listing-details p {
            margin-bottom: 5px;
            font-size: 14px;
            display: flex;
            align-items: center;
        }

        .listing-details i {
            margin-right: 8px;
            color: var(--primary-red);
        }

        .listing-btn {
            display: block;
            width: 100%;
            text-align: center;
        }

        /* Risk Reversal Section */
        /* ===== RISK REVERSAL GRID LAYOUT ===== */

.risk-reversal {
    padding: 0;
}

.risk-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
}

/* LEFT PANEL */
.safety-panel {
    position: relative;
    background-image: url('https://ewuyalhslafkrlmrpyam.supabase.co/storage/v1/object/public/rubyland/building%20one.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px;
    display: flex;
    align-items: center;
}

.safety-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
    10deg,
    rgba(255, 0, 0, 0.78) 0%,
    rgba(255, 255, 255, 0.95) 55%,
    rgba(255, 255, 255, 1) 10%
);
    mix-blend-mode: multiply;
}

.safety-content {
    position: relative;
    z-index: 2;
    background:rgb(255, 255, 255 , 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border-radius: 3px solid #ffffff;
    padding: 30px;
    border-radius: 20px;
}

.safety-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.safety-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
}

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

.safety-list li {
    margin-bottom: 16px;
    padding-left: 35px;
    position: relative;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
}

.safety-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.3rem;
    font-weight: 900;
    color: #ffffff;
}

/* Image Slider Section */
        .property-slider-section {
            background: var(--white);
            padding: 100px 0;
            justify-content: center;
            align-content: center;
        }
        
        .property-slider-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-strong);
        }
        
        .slider-track {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .slider-slide {
            min-width: 100%;
            height: 500px;
            position: relative;
        }
        
        .slider-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .slide-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: var(--white);
            padding: 40px;
        }
        
        .slide-title {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: var(--white);
        }
        
        .property-slider-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            transform: translateY(-50%);
            z-index: 10;
        }
        
        .property-slider-arrow {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.2);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }
        
        .property-slider-arrow:hover {
            background: var(--management-blue);
            transform: scale(1.1);
        }

/* === SECURITY HEADER === */
.security-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.security-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 36px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.06);
    position: relative;
    justify-self: center;
    margin-bottom: 20px;
}

.security-text h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.security-subtitle {
    color: var(--dark-gray);
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.5;
}

/* === SECURITY FEATURES LIST === */
.security-features {
    margin-top: 25px;
    padding: 0;
    list-style: none;
    
}

.security-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
    text-indent: 20%;
}

.security-features li::before {
    content: "*";
    position: absolute;
    left: 18%;
    top: 0;
    color: var(--primary-red);
    font-size: 20px;
    font-weight: 900;
    
}

/* RIGHT PANEL */
.form-panel {
    background: #ffffff;
    padding: 60px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ff0000;
}

.form-desc {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #444444;
}

.check-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.full-width {
    grid-column: span 2;
}

.form-control {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #333;
    border-radius: 6px;
    font-size: 14px;
}

@media (max-width: 992px) {
    .risk-container {
        grid-template-columns: 1fr;
    }

    .safety-panel {
        min-height: 350px;
        padding: 40px 30px;
    }

    .form-panel {
        padding: 40px 30px;
    }

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

        /* Investment Tools Section */
        .investment-tools {
            background: var(--light-gray);
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .tool-card {
            background: var(--white);
            border-radius: 10px;
            padding: 30px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .tool-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .tool-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .tool-icon {
            width: 50px;
            height: 50px;
            background: var(--light-red);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-red);
            font-size: 20px;
            justify-self: center;
            margin-bottom: 30px;
        }

        .tool-content h3 {
            margin-bottom:5px;
        }

        .slider-container {
            margin: 20px 0;
        }

        .slider-container label {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--dark-gray);
        }

        .slider {
            width: 100%;
            height: 5px;
            background: var(--neutral-800);
            border-radius: 5px;
            outline: none;
            -webkit-appearance: none;
        }

        .slider-value {
            font-size: 1rem;
            font-weight: 600;
            margin-top: 10px;
            color: #d90101;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary-red);
            cursor: pointer;
        }

        .result {
            margin: 20px 0;
            padding: 15px;
            background: var(--neutral-900);
            border-radius: 5px;
            text-align: center;
        }

        .result-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-red);
        }

        /* Knowledge Center Section */
        .knowledge-center {
            background: var(--white);
        }

        .knowledge-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .knowledge-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .knowledge-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .knowledge-image {
            height: 150px;
            overflow: hidden;
        }

        .knowledge-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

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

        .knowledge-content {
            padding: 25px;
        }

        .knowledge-content h3 {
            margin-bottom: 15px;
        }

        .knowledge-content p {
            margin-bottom: 20px;
            color: var(--neutral-400);
        }

        /* Testimonials Section */
        .testimonials {
            background: var(--light-gray);
            position: relative;
            overflow: hidden;
        }

        .testimonial-slider {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
            overflow: hidden;
        }

        .testimonial-track {
            display: flex;
            transition: transform 0.5s ease;
        }

        .testimonial-slide {
            min-width: 100%;
            padding: 0 20px;
        }

        .testimonial-card {
            background: var(--white);
            padding: 40px;
            border-radius: 10px;
            text-align: center;
            box-shadow: var(--shadow-sm);
        }

        .client-image {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            overflow: hidden;
            margin: 0 auto 20px;
            border: 3px solid var(--primary-red);
        }

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

        .testimonial-text {
            font-style: italic;
            margin-bottom: 20px;
        }

        .client-name {
            font-weight: 600;
            color: var(--primary-red);
            margin-bottom: 5px;
        }

        .client-role {
            color: var(--neutral-400);
            font-size: 14px;
        }

        .slider-nav {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            position: absolute;
            z-index: 10;
            top: 100px;
            gap: 920px;
        }

        .slider-arrow {
            width: 40px;
            height: 40px;
            background: var(--primary-red);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }

        .slider-arrow:hover {
            background: var(--black);
            color: var(--white);
        }

        /* Partners Section */
        .partners {
            background: var(--white);
            padding: 80px 0;
        }

        .partners-slider {
            position: relative;
            overflow: hidden;
        }

        .partners-track {
            display: flex;
            transition: transform 10.5s ease inifinite;
            will-change: transform;
  white-space: nowrap;
        }

        .partner-logo {
            min-width: 200px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 20px;
        }

        .partner-logo img {
            max-width: 100%;
            max-height: 60px;
            filter: grayscale(100%);
            transition: var(--transition);
        }

        .partner-logo:hover img {
            filter: grayscale(0);
        }

        .compliance {
            text-align: center;
            margin-top: 40px;
            font-size: 0.9rem;
            color: var(--neutral-400);
            
        }

        .compliance a {
            color: var(--primary-red);
            text-decoration: none;
            transition: var(--transition);
            font-weight: 600;
            display:flex;
            gap: 10px;
            justify-content: center;
        }
        .compliance a i{
            color: var(--primary-red);
            font-size:18px;
            text-decoration: none;
                transition: var(--transition);
        }
        .compliance a span:hover {
            text-decoration: underline;
            color: #a73a29;
            transition: var(--transition);
        }
        .compliance a span:hover i {
            color: #ca513e;
        }

        /* CTA Banner */
        .cta-banner {
            background: var(--primary-red);
            color: var(--white);
            text-align: center;
            padding: 80px 0;
        }

        .cta-banner h2 {
            color: var(--white);
            margin-bottom: 20px;
        }

        .cta-buttons{
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
            
        }

        .cta-buttons .btn-primary{
            border: 2px solid rgb(255, 255, 255);
         color: red;
            background-color: white;
        }

        .cta-buttons .btn-primary:hover{
            border: 2px solid rgb(0, 0, 0);
         color: rgb(255, 255, 255);
            background-color: rgb(0, 0, 0);
        }

        /* Footer */
        .footer {
            background: var(--dark-gray);
            color: var(--white);
            padding: 80px 0 30px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-about p {
            margin-bottom: 20px;
            color: var(--neutral-600);
        }

        .footer-about .logo {
            font-size: 34px;
            font-weight: 700;
            color:#a21e1e;
            margin-bottom: 25px;
        }

        .footer-about .logo img {
            width: 120px;
            height: auto;
        }

        .newsletter-form {
            display: flex;
            margin-top: 15px;
        }

        .newsletter-form input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 5px 0 0 5px;
            outline: none;
            font-family: inherit;
        }

        .newsletter-form button {
            background: var(--primary-red);
            color: var(--white);
            border: none;
            padding: 0 20px;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
            transition: var(--transition);
        }

        .newsletter-form button:hover {
            background: var(--black);
            scale: 1.05;
            transition: var(--transition);
            color: var(--white);
        }

        .footer-links h4 {
            color: var(--white);
            margin-bottom: 25px;
            position: relative;
        }

        .footer-links h4:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--primary-red);
        }

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

        .footer-links ul li i{
            margin-right: 8px;
            color:#ff3c3c;

        }

        .footer-links ul li a {
            transition: var(--transition);
            color: var(--neutral-600);
        }

        .footer-links ul li a:hover {
            color: var(--white);
            padding-left: 5px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--neutral-600);
        }

        /* Responsive Styles */
        @media (max-width: 1200px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .tools-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .knowledge-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .nav-links{
                gap: 30px;
                font-size: 15px;
                margin-right: -15px;
            }
            .logo{
                font-size: 20px;
            }
            .logo img{
                width: 50px;
            }
        }

        @media (max-width: 992px) {
            .purpose {
                height: auto;
            }
            .purpose-container {
                grid-template-columns: 1fr;
                margin-top: -30px;
                margin-bottom:50px;
            }
            
            .metrics-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .process-timeline {
                flex-direction: column;
                gap: 40px;
            }
            
            .process-timeline:before {
                display: none;
            }
            
            .process-step {
                flex-direction: row;
                gap: 30px;
            }
            
            .step-text {
                text-align: left;
                max-width: none;
            }
            
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .services-dropdown {
                min-width: 450px;
            }
        }

        @media (max-width: 768px) {
            .contact-info {
                flex-direction: column;
                gap: 2px;
            }
            .mobile-toggle {
                display: block;
            }

            .conatact-navbar{
                margin-top:220px;
            }
            .main-navbar{
                margin-top: 20px;
            }
            .main-navbar.scrolled{
                top:-20px;
            }
            .nav-links {
    position: fixed;
    top: 70px;
    right: 30px;
    width: min(300px, 80%);
    height: auto;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 2000;
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    transition: all 0.25s ease;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
  }

  .mobile-close {
    position: relative;
    top: 0px;
    right: 5px;
    align-self: flex-end;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--primary-red);
    cursor: pointer;
    display: block;
    margin-bottom: -20px;
    margin-top: 6px;
  }

  .mobile-close i {
    pointer-events: none;
  }
            
            .dropdown-content {
    position: relative;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding-left: 10px;
    display: none;
    
  }

  .dropdown.open .dropdown-content {
    display: block;
    height: auto;
     border-radius: 0;
     border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .dropdown.open .nav-links a{
    display: block;
  }
  .dropdown .open:focus .fa-chevron-down {
  color: #e1c000;
  rotate: 180deg;
}

  .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown:hover > a:after {
  width: 0%;
  background:none;
}

  .dropdown i {
    font-size: 12px;
    transition: transform 0.25s ease;
  }

  .dropdown.open i {
    transform: rotate(180deg);
  }
            
            
             .services-dropdown {

            min-width: 100%; 
            grid-template-columns: 1fr;
            

  }

  .service-item {
    position: relative;
    background: transparent;
    padding: 20px 0;
    border-radius: 0;
    right:-160px;
    top: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .service-icon {
    display: none;
  }

  .service-info h4 {
    font-size: 14px;
    font-weight: 600;
  }

  .service-info p {
    display: none;
  }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.2rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                gap: 15px;
            }
            
            .trust-badges {
                gap: 20px;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .metrics-grid {
                grid-template-columns: 1fr;
            }
            
            .tools-grid {
                grid-template-columns: 1fr;
            }

            .process-step {
        grid-template-columns:1fr;
        align-items: flex-start;
        gap: 20px;
    }

    .process-placeholder {
        display: none;
    }

    .process-content {
        width: 100%;
        border-left: 4px solid #ff0000 !important;
        border-right: none !important;
    }

    .process-circle{
        display: none;
    }
      .home-process-number{
        display: inline-block;
      }     
            .knowledge-grid {
                grid-template-columns: 1fr;
            }
            
            .listings-grid {
                grid-template-columns: 1fr;
            }
            
            .check-form {
                grid-template-columns: 1fr;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
            }
            
            .cta-buttons {
                flex-direction: column;
                gap: 15px;
            }



        }

        @media (max-width: 576px) {
            .points-grid {
                grid-template-columns: 1fr;
            }
            
            .filter-bar {
                flex-direction: column;
                align-items: flex-start;
            }
        }