/* Custom CSS for SK KD Factual Properties Website */

:root {
    --primary-color: #1A2B49;
    --primary-dark: #051633;
    --secondary-color: #6c757d;
    /* --success-color: #28a745; */
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    /* --info-color: #17a2b8; */
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px;
}

.text-success {
    color: var(--primary-color) !important;
}

.bg-success {
    background-color: var(--primary-color) !important;
}

.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
}

.btn-outline-success {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
}

/* Navigation Styles */
/* Navbar Height Increase */
.navbar {
    padding-top: 1rem !important;   /* default ~0.5rem hoti hai */
    padding-bottom: 1rem !important;
    min-height: 80px; /* thodi badi height ke liye */
}


.navbar-brand {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    display: flex;
    align-items: center; /* vertically center the logo */
}

.navbar-brand img {
    display: block; /* remove inline spacing below image */
    max-height: 50px; /* adjust as needed */
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;   /* height badha di */
    min-height: 600px; 
}

.hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

.hero-overlay {
    /* background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(25,135,84,0.6)); */
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay h1 {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
/* 
.hero-overlay p {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
} */

/* Page Header */
.page-header {
    /* padding: 100px 0 60px; */
    margin-bottom: 0;
}


.page-header {
    position: relative;
}

.page-header-bg {
    background-image: url('../Img/banner1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;  /* banner ki height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Overlay effect for better readability */
.page-header-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.3); 
    z-index: 1;
}

.page-header-bg .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #fff;
}

.breadcrumb {
    background: transparent;
}

.breadcrumb a {
    color: #fff;
}
.breadcrumb .active {
    color: #ddd;
}


/* Responsive adjustment for small screens */
@media (max-width: 767px) {
    .page-header {
        padding-top: 0px;  /* top padding kam kar di */
        padding-bottom: 40px;
    }
}

/* Property Cards */
.property-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.property-card img {
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.property-card:hover img {
    transform: scale(1.05);
}

.property-card .card-body {
    padding: 1.5rem;
}

.property-card.featured {
    border: 2px solid var(--primary-color);
}

.property-details {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    margin: 2rem 0;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.stars {
    color: #ffc107;
}

     /* Testimonial Card */
.testimonial-card {
 
    color: #1A2B49; /* text color same as border color */
    padding: 30px;
    border: 2px solid #1A2B49; /* border color */
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); /* subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}


/* Client Image */
.testimonial-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #1A2B49; /* border same as card */
    border-radius: 50%;
}

/* Stars */
.testimonial-card .stars i {
    font-size: 16px;
    margin: 0 2px;
    color: #1A2B49; /* star color same as border */
}

/* Text */
.testimonial-card .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 15px 0;
}

/* Client Name */
.testimonial-card h6 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Client Designation */
.testimonial-card small {
    color: #555;
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #1A2B49;
    border-radius: 50%;
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .testimonial-card {
        padding: 20px;
    }
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.service-features i {
    margin-right: 0.8rem;
    width: 16px;
}

/* Additional Services */
.additional-service {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
      border-radius: 10px 50px 0px 50px; /* top-left, top-right, bottom-right, bottom-left */

    background-color:#dee2e6 ;
    border-radius: 10px;
}

.additional-service:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

.service-icon-small {
    width: 100px;
    height: 60px;
    /* background: var(--primary-color); */
    /* color: red; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.service-icon-small i {
    font-size: 35px;  /* aap apni marzi ka size de sakte ho */
}

.additional-service:hover .service-icon-small {
    transform: scale(1.1);
}

/* Process Steps */
.process-step {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.process-step:hover .process-number {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* Service Stats */
.service-stat {
    padding: 2rem 1rem;
    border-radius: 10px;
    background-color: #dee2e6;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.service-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-stat:hover .stat-icon {
    transform: scale(1.1);
}

/* Mission Cards */
.mission-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
}

/* Feature Items */
.feature-item {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* Team Cards */
.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-social a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.team-social a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Contact Info Cards */
.contact-info-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Property Details Sidebar */
.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Property Badges */
.badge {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Authentication Sections */
.auth-section {
    min-height: calc(100vh - 76px);
    background: linear-gradient(135deg, var(--light-color) 0%, #e8f5e8 100%);
    padding: 4rem 0;
    display: flex;
    align-items: center;
}

.auth-section .form-control:focus,
.auth-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.auth-section .input-group-text {
    background-color: var(--light-color);
    border-color: var(--border-color);
}

/* Benefits List */
.benefit-item {
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Achievement Items */
.achievement-item {
    text-align: center;
    padding: 1rem 0;
}

/* Direction Items */
.direction-item {
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.direction-item:hover {
    transform: translateY(-2px);
}

.direction-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Specification Items */
.specification-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.specification-item:last-child {
    border-bottom: none;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-list i {
    margin-right: 1rem;
    width: 20px;
}

/* Advantage Items */
.advantage-item {
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-3px);
}

.advantage-item i {
    margin-bottom: 1rem;
}

/* Stat Items */
.stat-item {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Social Links */
.social-links a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* Footer */
footer {
    border-top: 4px solid var(--primary-color);
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

/* Form Validation */
.was-validated .form-control:valid {
    border-color: var(--success-color);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.98-.97-.97-.98-.98.97.97.98zm0-5.46.97-.98-.97-.97-.98.98.98.97z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-select:valid {
    border-color: var(--success-color);
    padding-right: calc(0.75em + 2.3125rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.98-.97-.97-.98-.98.97.97.98zm0-5.46.97-.98-.97-.97-.98.98.98.97z'/%3e%3c/svg%3e");
    background-position: right 0.75rem center, center right 2.25rem;
    background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    background-repeat: no-repeat;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .property-card img {
        height: 200px;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .auth-section {
        padding: 2rem 0;
    }
    
    /* .page-header {
        padding: 80px 0 40px;
    } */
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .hero-overlay h1 {
        font-size: 1.75rem;
    }
    
    .hero-overlay .lead {
        font-size: 1rem;
    }
    
    .property-card .card-body {
        padding: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .mission-card {
        padding: 2rem 1rem;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        padding: 2rem 1rem;
    }
}

/* Scroll to top animation */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn,
    .social-links {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .container {
        max-width: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .property-card,
    .service-card,
    .testimonial-card,
    .contact-info-card,
    .mission-card,
    .team-card,
    .contact-form,
    .sidebar-card {
        border: 2px solid var(--dark-color);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip navigation link */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
}

.skip-nav:focus {
    top: 0;
}


.faq-section h2 {
    font-size: 2rem;
    color: #1A2B49; /* Bootstrap success green */
}

.faq-section .accordion-button {
    font-weight: 500;
    color:#1A2B49;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: #e6f4ea; /* light green background on open */
    color: 1A2B49;
}

.faq-section .accordion-body {
    font-size: 0.95rem;
    color: #555;
}

/* 
.property-portal-img {
    background-image: url('../Img/img.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 500px; 
} */
.auth-img {
    background-image: url('../Img/img.jpg'); /* Apni image ka path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100%;
}

/* Optional: Mobile adjustment */
@media (max-width: 991px) {
    .auth-img {
        min-height: 300px; /* chhoti screen ke liye */
    }
}


.navbar-nav .nav-item {
    /* margin-left: 10px;   */
    font-size: 15px;
}

.navbar-nav .nav-item:first-child {
    margin-left: 0; /* pehle item par margin na lage */
}


  .custom-card {
    background: #fff;
    padding: 20px;
  
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* thoda shadow classy look ke liye */
}

.stat-card {
  
    padding: 20px;
    border-top-left-radius: 4rem;
    border-top-right-radius: 8rem;
    border-bottom-right-radius: 4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px); /* hover effect optional */
}



.service-card {
         /* your bg color */
    /* color: #fff;              */
    border-radius: 10px 50px 0px 50px; /* corners */
    padding: 20px;
    height: 100%;             /* equal height cards */
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
}
.service-icon {
    font-size: 2rem;
}



.property-status {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #28a745; /* green for Available */
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 10;
}

.property-status.sold {
  background: #dc3545; /* red for Sold Out */
}