/* 
* Real Estate Transactions Website Template
* Main CSS File
*/

/* Root Variables & Color Palette */
:root {
    /* Primary Colors */
    --primary-1: #62a8ac; /* Soft Teal */
    --primary-2: #f0a868; /* Warm Amber */
    --primary-3: #e16d7a; /* Muted Rose */
    --primary-4: #b3d0c7; /* Sage Green */
    --primary-5: #9080aa; /* Dusty Lavender */
    
    /* Light/Dark Variations */
    --primary-1-light: #88c1c4;
    --primary-1-dark: #4a8084;
    --primary-2-light: #f8c08c;
    --primary-2-dark: #d89044;
    --primary-3-light: #ec9ca5;
    --primary-3-dark: #c84c58;
    --primary-4-light: #d1e5df;
    --primary-4-dark: #8eb5a9;
    --primary-5-light: #b0a2c4;
    --primary-5-dark: #725e8c;

    /* Neutral Colors */
    --neutral-100: #ffffff;
    --neutral-200: #f8f9fa;
    --neutral-300: #e9ecef;
    --neutral-400: #dee2e6;
    --neutral-500: #ced4da;
    --neutral-600: #adb5bd;
    --neutral-700: #6c757d;
    --neutral-800: #495057;
    --neutral-900: #343a40;
    --neutral-1000: #212529;

    /* Other Variables */
    --border-radius: 12px;
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --section-padding: 90px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--neutral-800);
    background-color: var(--neutral-100);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--neutral-900);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-1);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-1-dark);
}

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

section {
    position: relative;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--neutral-200);
}

/* Header & Navigation */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-1);
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--primary-1-dark);
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    font-weight: 600;
    color: var(--neutral-800);
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-1);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 60%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
    padding-top: 80px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
    color: var(--neutral-100);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--neutral-100);
}

.hero-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-2-light);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--neutral-100);
}

.swiper-pagination-bullet {
    background: var(--neutral-100);
}

.swiper-pagination-bullet-active {
    background: var(--primary-2);
}

/* Section Headers */
.section-heading {
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-1);
}

.section-heading h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--neutral-800);
}

.section-heading p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.about-features {
    margin-top: 30px;
}

.about-feature-item {
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-2);
    height: 60px;
    width: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(240, 168, 104, 0.15);
}

/* Services Section */
.service-card {
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-1);
}

.service-card h4 {
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--neutral-700);
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.5rem;
    color: var(--neutral-700);
}

.service-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-1);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-3);
}

/* Features Section */
.feature-box {
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-box .feature-icon {
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    color: var(--primary-3);
    background-color: rgba(225, 109, 122, 0.15);
    width: 80px;
    height: 80px;
    line-height: 80px;
}

/* Price Plan Section */
.price-card {
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

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

.price-card.featured {
    border: 2px solid var(--primary-2);
    transform: scale(1.05);
    z-index: 1;
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-header {
    background-color: var(--neutral-200);
    padding: 25px;
    text-align: center;
}

.price-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-header .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-2);
}

.price-body {
    padding: 25px;
}

.price-body p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--neutral-700);
}

.price-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.price-body ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--neutral-300);
}

.price-body ul li:last-child {
    border-bottom: none;
}

.price-body ul li i {
    margin-right: 10px;
}

.price-body ul li .fa-check {
    color: var(--primary-4);
}

.price-body ul li .fa-times {
    color: var(--neutral-500);
}

/* Team Section */
.team-member {
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    transition: var(--transition);
}

.team-member:hover .team-image img {
    transform: scale(1.05);
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-content h4 {
    margin-bottom: 0.5rem;
}

.team-content p {
    color: var(--primary-1);
    margin-bottom: 0;
    font-weight: 600;
}

/* Reviews Section */
.review-card {
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 0 10px 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.review-text {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--neutral-300);
}

.review-text p {
    margin-bottom: 0;
    font-style: italic;
}

.review-text:before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 2rem;
    color: var(--neutral-300);
    opacity: 0.5;
}

.review-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

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

.review-author h5 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.reviews-swiper .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

/* Core Info Section */
.info-card {
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-5);
    background-color: rgba(144, 128, 170, 0.15);
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.info-card h4 {
    text-align: center;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-info {
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.contact-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-1);
    margin-right: 15px;
}

.info-item p {
    margin-bottom: 0;
}

.contact-form-wrapper {
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.form-control {
    border: 1px solid var(--neutral-400);
    padding: 12px 20px;
    border-radius: 10px;
}

.form-control:focus {
    border-color: var(--primary-1);
    box-shadow: 0 0 0 0.2rem rgba(98, 168, 172, 0.25);
}

.btn-primary {
    background-color: var(--primary-1);
    border-color: var(--primary-1);
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-1-dark);
    border-color: var(--primary-1-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(98, 168, 172, 0.3);
}

/* Blog Section */
.blog-card {
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

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

.blog-image {
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    transition: var(--transition);
}

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

.blog-content {
    padding: 25px;
}

.blog-content h4 {
    margin-bottom: 1rem;
}

.blog-content p {
    color: var(--neutral-700);
    margin-bottom: 1.5rem;
}

.blog-content a {
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.blog-content a::after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.blog-content a:hover::after {
    margin-left: 10px;
}

/* Additional Pages Styles */
.add-page-section .section-heading {
    margin-bottom: 50px;
}

/* Legal Card Styles */
.legal-card, .document-card, .challenge-card, .global-card, .trend-card, .benefit-card, .pitfall-card {
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.legal-card:hover, .document-card:hover, .challenge-card:hover, 
.global-card:hover, .trend-card:hover, .benefit-card:hover, .pitfall-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.legal-icon, .document-icon, .challenge-icon, .global-icon, 
.trend-icon, .benefit-icon, .pitfall-icon, .time-icon, .tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background-color: rgba(98, 168, 172, 0.15);
}

.legal-icon {
    color: var(--primary-1);
}

.document-icon {
    color: var(--primary-2);
    background-color: rgba(240, 168, 104, 0.15);
}

.time-icon {
    color: var(--primary-3);
    background-color: rgba(225, 109, 122, 0.15);
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
}

.benefit-icon {
    color: var(--primary-4);
    background-color: rgba(179, 208, 199, 0.15);
}

.pitfall-icon {
    color: var(--primary-3);
    background-color: rgba(225, 109, 122, 0.15);
}

.challenge-icon {
    color: var(--primary-3);
    background-color: rgba(225, 109, 122, 0.15);
}

.global-icon {
    color: var(--primary-1);
    background-color: rgba(98, 168, 172, 0.15);
}

.trend-icon {
    color: var(--primary-5);
    background-color: rgba(144, 128, 170, 0.15);
}

.tech-icon {
    color: var(--primary-2);
    background-color: rgba(240, 168, 104, 0.15);
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
}

.timeline-item {
    margin-bottom: 25px;
    background-color: var(--neutral-100);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
}

.timeline-item h4 {
    display: inline-block;
    margin-bottom: 0.5rem;
    vertical-align: middle;
}

.tech-item {
    margin-bottom: 25px;
}

.tech-item h4 {
    display: inline-block;
    margin-bottom: 0.5rem;
    vertical-align: middle;
}

/* Footer */
.footer {
    background-color: var(--neutral-900);
    color: var(--neutral-400);
    padding: 80px 0 30px;
}

.footer h3 {
    color: var(--neutral-100);
    margin-bottom: 1.5rem;
}

.footer h4 {
    color: var(--neutral-100);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--neutral-400);
}

.footer-links a:hover {
    color: var(--primary-2);
}

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

/* Space Page */
#space {
    height: 500px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Custom AOS Animations */
[data-aos="custom-fade-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.8s, opacity 0.8s;
}

[data-aos="custom-fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.text-primary {
    color: var(--primary-1) !important;
} 