/* Custom CSS for Realty Made Easy Website */

:root {
    --primary-color: #107faa;
    --primary-dark: #00364b;
    --text-dark: #1d1d1d;
    --text-light: #111111;
    --background-light: rgba(16, 127, 170, 0.12);
    --white: #ffffff;
}

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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Urbanist', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    overflow-x: hidden;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure all sections are visible */
section {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure all text elements are visible */
h1, h2, h3, h4, h5, h    .features-section,
    .testimonials-section {
        padding: 40px 0;
    }
    
    .contact-section,
    .services-section {
        padding: 40px 0;
    }n, div {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Custom Container - Full width with 80px margins on desktop */
.container {
    max-width: none !important;
    width: 100%;
    padding-left: 80px;
    padding-right: 80px;
    margin: 0;
}

/* Responsive container margins */
@media (max-width: 1200px) {
    .container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 992px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Mobile section spacing - 60px total gap between sections */
    .hero-section {
        padding: 120px 0 40px; /* Account for fixed header + 30px bottom */
    }
    
    .about-section {
        padding: 0px !important;
        margin-bottom: 40px;
    }
    
    .contact-section {
        padding: 30px 0;
    }
    
    .features-section {
        padding: 30px 0;
    }
    
    .services-section {
        padding: 30px 0;
    }
    
    .testimonials-section {
        padding: 30px 0;
    }
    
    .footer-section {
        padding: 30px 0 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Simple footer layout for mobile */
    .footer-section .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .footer-section .col-md-6 {
        flex: none !important;
        max-width: none !important;
        width: auto !important;
    }

    .footer-text {
        font-size: 16px !important;
        margin: 0 !important;
    }

    .social-link {
        display: inline-block !important;
        color: var(--white) !important;
        font-size: 24px !important;
    }

    .social-link i {
        display: inline-block !important;
        color: var(--white) !important;
        font-size: 24px !important;
    }
}

/* Typography */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 400;
    font-size: 20px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background-color: #0e6d94;
    border-color: #0e6d94;
    transform: translateY(-2px);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Header Styles */
.header-section {
    position: relative;
    z-index: 1000;
}

.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-weight: 600;
    font-size: 24px;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.nav-text {
    font-weight: 400;
    font-size: 20px;
    color: var(--text-dark) !important;
    margin-right: 2rem;
    transition: color 0.3s ease;
}

.nav-text:hover {
    color: var(--primary-color) !important;
}

/* Mobile Navigation Drawer */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -50%;
        width: 50%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1050;
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-text {
        font-size: 18px;
        margin-right: 0;
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .contact-btn {
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }
}

/* Custom Hamburger Icon */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
    position: relative;
    z-index: 1060;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 18px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    bottom: -6px;
}

.navbar-toggler-icon {
    background-color: var(--text-dark);
    height: 2px;
}

/* Close icon transformation */
.navbar-toggler.collapsed .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.navbar-toggler.collapsed .navbar-toggler-icon {
    background-color: transparent;
}

.contact-btn {
    font-size: 20px;
    padding: 10px 32px;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background-color: var(--white);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.hero-section .container {
    max-width: none;
    width: 100%;
}

.hero-title {
    font-size: 80px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0;
    color: var(--text-light);
    padding-top: 0;
    padding-bottom: 0;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.5;
}

.hero-image-container {
    margin-top: 80px;
    border-radius: 20px;
    overflow: hidden;
    height: 640px;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* About Section */
.about-section {
    padding: 140px 0;
    background-color: var(--white);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.about-image-container {
    border-radius: 20px;
    overflow: hidden;
    height: 666px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-content {
    padding-left: 3rem;
}

.section-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
    padding-top: 0;
    padding-bottom: 0;
}

.section-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--primary-dark);
    color: var(--white);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.contact-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    padding-top: 0;
    padding-bottom: 0;
}

.contact-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    font-weight: 500;
}

.contact-item i {
    font-size: 24px;
    color: var(--white);
}

.contact-divider {
    width: 22px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    transform: rotate(90deg);
}

/* Form Styles */
.contact-form {
    background: transparent;
}

.form-group {
    position: relative;
}

.form-group label {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    display: block;
}

.form-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--white);
    padding: 0 0 5px 0;
    font-size: 18px;
    color: var(--white);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-bottom-color: var(--primary-color);
}

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

/* Features Section */
.features-section {
    padding: 140px 0;
    background-color: var(--white);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.feature-card {
    background-color: var(--background-light);
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 127, 170, 0.15);
}

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

.feature-icon {
    font-size: 32px;
    color: var(--text-light);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-light);
    margin: 0;
}

.feature-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-light);
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--primary-dark);
    color: var(--white);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.services-image-container {
    border-radius: 20px;
    overflow: hidden;
    height: 702px;
}

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

.services-content {
    padding-left: 3rem;
}

.services-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    padding-top: 0;
    padding-bottom: 0;
}

.services-description {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 40px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-item {
    position: relative;
}

.service-name {
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-bottom: 12px;
    display: flex;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
    justify-content: space-between;
}

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

.accordion-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.service-name[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}

.service-detail {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    padding-top: 12px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 140px 0;
    background-color: var(--white);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.testimonial-card {
    background-color: var(--background-light);
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 127, 170, 0.15);
}

.quote-icon {
    margin-bottom: 20px;
}

.quote-icon i {
    font-size: 40px;
    color: var(--text-light);
}

.testimonial-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-light);
    margin: 0;
}

/* Footer */
.footer-section {
    padding: 20px 0;
    background-color: var(--text-light);
    color: var(--white);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.footer-text {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

.social-link {
    color: var(--white);
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 64px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .about-content {
        padding-left: 2rem;
    }
    
    .services-content {
        padding-left: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-description {
        font-size: 18px;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .services-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .hero-image-container {
        height: 400px;
    }
    
    .about-image-container {
        height: 400px;
    }
    
    .services-image-container {
        height: 400px;
    }
    
    .contact-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .contact-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 140px 0 60px;
    }
    
    .about-section,
    .features-section,
    .testimonials-section {
        padding: 40px 0;
    }
    
    .contact-section,
    .services-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 36px;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 18px;
        text-align: center;
        margin-top: 1rem;
    }
    
    .section-title {
        font-size: 32px;
        text-align: center;
    }
    
    .section-description {
        font-size: 16px;
        text-align: center;
    }
    
    .contact-title {
        font-size: 36px;
    }
    
    .contact-description {
        font-size: 18px;
    }
    
    .services-title {
        font-size: 36px;
    }
    
    .services-description {
        font-size: 18px;
    }
    
    .service-name {
        font-size: 24px;
    }
    
    .feature-card,
    .testimonial-card {
        padding: 30px;
    }
    
    .feature-title,
    .testimonial-author {
        font-size: 20px;
    }
    
    .feature-description,
    .testimonial-text {
        font-size: 16px;
    }
    
    .hero-image-container {
        margin-top: 40px;
        height: 300px;
    }
    
    .nav-text {
        font-size: 18px;
    }
    
    .btn-primary {
        font-size: 18px;
        padding: 10px 24px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
        padding-bottom: 12px;
    }

    .hero-subtitle {
        margin: 0px;
        padding: 0px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .services-title {
        font-size: 28px;
    }
    
    /* Remove top/bottom padding and margin from headings on mobile */
    .section-title,
    .contact-title,
    .services-title,
    .service-name {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    /* Add 12px padding to specific headings on mobile */
    .section-title,
    .contact-title,
    .services-title {
        padding: 12px 0;
    }
    
    .feature-icon {
        font-size: 28px;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .quote-icon i {
        font-size: 30px;
    }
    
    .feature-card,
    .testimonial-card {
        padding: 20px;
    }

    .feature-title{
        padding: 0px;
    }
    
    .testimonial-author{
        padding: 0px;
    }
    .section-description{
        padding: 0px;
        margin-bottom: 32px;
    }
    
    /* Remove all margins from testimonials row on mobile */
    .row.align-items-center.mb-5 {
        margin: 0 !important;
    }
    
    /* Make buttons full width on mobile */
    .btn-primary.btn-lg {
        width: 100% !important;
    }
    
    /* Make form inputs full width on mobile */
    .form-group input {
        width: 100% !important;
    }
    
    /* Simple footer layout for mobile */
    .footer-section .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .footer-section .col-md-6 {
        flex: none !important;
        max-width: none !important;
        width: auto !important;
    }
    
    .footer-text {
        font-size: 16px !important;
        margin: 0 !important;
    }
    
    .social-link {
        display: inline-block !important;
        color: var(--white) !important;
        font-size: 24px !important;
    }
    
    .social-link i {
        display: inline-block !important;
        color: var(--white) !important;
        font-size: 24px !important;
    }
    
    .footer-text {
        font-size: 16px !important;
        margin: 0 !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Simple animations - content always visible */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.6s ease;
}

.fade-in.visible,
.fade-in.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #0e6d94;
}
