/* ---------- Global Styles ---------- */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ---------- Floating Buttons ---------- */
.floating-buttons {
    position: fixed;
    bottom: 85px;
    right: 30px;
    z-index: 1000;
}

.float-btn {
    display: block;
    width: 55px;
    height: 55px;
    line-height: 60px;
    text-align: center;
    background: #007bff;
    color: white;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    color: white;
}

.whatsapp-btn {
    background: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.speed-test-btn {
    background: #6f42c1;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

/* ---------- Navigation ---------- */
.navbar {
    padding: 1.4rem 0;
    transition: var(--transition);
    background-color: transparent;
    max-width: 100%;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa9c;
    z-index: -1;
}

.navbar.scrolled {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo-text {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 2.5rem;
    width: 200px;
    height: auto;
}

.navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0.5rem;
    position: relative;
    font-size: 1.1rem;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 100%;
}

.navbar .btn {
    padding: 0.5rem 1.5rem;
}

.navbar-nav .nav-link i,
.navbar-nav .nav-link span {
    margin-left: 0.25rem;
    vertical-align: middle;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

/* Sliding image container */
.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: calc(6 * 100vw);
    /* 6 images wide */
    height: 100%;
    animation: slideBackground 60s linear infinite;
    z-index: -2;
}

.background-slider img {
    width: 100vw;
    height: 100%;
    /* object-fit: cover; */
}

/* Gradient overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(40, 58, 76, 0.902) 35%, transparent 100%);
    z-index: -1;
}

/* Content stays on top */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Text styling */
.hero-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin-right: 0.1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

/* Background animation */
@keyframes slideBackground {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-300vw);
        /* slides 3 images width */
    }
}

/* ---------- Services Section ---------- */
.services-section {
    background-color: #f8f9fa;
}

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 0.5rem;
}

.service-features i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.service-card .btn {
    margin-top: 1rem;
}

/* ---------packages section--------- */
.package-card {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.package-card:hover {
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.1);
}

.package-card.featured {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e8 0%, #ffffff 100%);
}

.package-price {
    font-size: 2.0rem;
    font-weight: bold;
    color: #007bff;
}

.package-card.featured .package-price {
    color: #28a745;
}

.speed-indicator {
    display: inline-block;
    padding: 5px 15px;
    background: #007bff;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.wifi-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.coverage-map {
    background: linear-gradient(45deg, #007bff, #28a745);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 30px 0;
}

.feature-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.network-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 30px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
}

/* ---------featured properties section--------- */
.featured-properties-carousel {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    background-color: #f8f9fa;
    margin-top: 0px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.05);
}

.property-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0 10%;
}

.property-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, rgba(14, 14, 14, 0.487) 30%, rgba(44, 62, 80, 0) 100%);
    z-index: 1;
}

.property-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.property-status {
    background: #0d6efd;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.property-content h3 {
    font-size: 2.3rem;
    font-weight: bold;
}

.property-price {
    font-size: 2rem;
    margin: 1rem 0;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 1rem;
}

.property-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 5rem;
}

.property-details span i {
    margin-right: 5px;
    font-size: 1.7rem;
}

.property-location {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ffc107;
}

.property-location i {
    margin-right: 5px;
    font-size: 1.7rem;
    color: var(--light-color);
}

.btn-outline-light1 {
    color: var(--light-color);
    border-color: var(--light-color);
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.btn-outline-light1:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
    border-color: var(--light-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;

}



/* ---------- About Section ---------- */
.about-section {
    background-color: #fff;
}

.about-img {
    position: relative;
    padding-right: 2rem;
    border: var(--dark-color) 0.5px dotted;
    border-radius: 8px;
}

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

.about-content h2 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
}

.about-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    left: 50%;
    transform: translateX(-50%);
}

.about-stats {
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    margin-bottom: 1.5rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonial-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    height: 100%;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}

.author-info h5 {
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 4rem 1rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 0;
}

.cta-section .btn {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn i {
    font-size: 1.2rem;
}

/* Optional: Hover Effects */
.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 4rem 0 0;
}

.footer-logo h3 {
    font-weight: 700;
    font-size: 1.75rem;
    color: #fff;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 2px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

.footer-info p,
.footer-contact p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.social-links a {
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 1.5rem;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--secondary-color);
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
    line-height: 50px;
    z-index: 99;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2980b9;
    color: #fff;
}

/* ---------- Modal Styles ---------- */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background-color: var(--secondary-color);
    color: #fff;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.modal-header .btn-close {
    color: #fff;
}

.rating-select {
    font-size: 1.5rem;
    color: #ddd;
}

.rating-select .rating-star {
    cursor: pointer;
    transition: var(--transition);
}

.rating-select .rating-star.active {
    color: #ffc107;
}

/* ---------- Contact Form ---------- */
.contact-form {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.contact-info {
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
}

.contact-info h4 {
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    margin-right: 1rem;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    text-align: center;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.form-label {
    font-weight: 600;
}

/* ---------- Services Pages ---------- */
.service-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('/api/placeholder/1900/600') center/cover no-repeat;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: #fff;
    margin-top: 76px;
}

.service-hero h1 {
    font-size: 3rem;
}

.service-feature {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.service-feature:hover {
    transform: translateY(-10px);
}

.service-feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ---------- Real Estate Listings ---------- */
.property-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    background-color: #fff;
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-10px);
}

.property-img {
    position: relative;
    overflow: hidden;
}

.property-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-img img {
    transform: scale(1.1);
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

.property-content {
    padding: 1.5rem;
}

.property-address {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #6c757d;
}

.property-address i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.property-details {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.property-detail {
    display: flex;
    align-items: center;
}

.property-detail i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}


/* ---------- Reviews Page ---------- */
.review-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.review-rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.review-service {
    display: inline-block;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ---------- About Page ---------- */
.team-member {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member-img {
    position: relative;
    overflow: hidden;
}

.team-member-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background-color: rgba(52, 152, 219, 0.9);
    padding: 1rem 0;
    transition: var(--transition);
    display: flex;
    justify-content: center;
}

.team-member:hover .team-member-social {
    bottom: 0;
}

.team-member-social a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.team-member-social a:hover {
    background-color: #fff;
    color: var(--secondary-color);
}

.team-member-content {
    padding: 1.5rem;
    text-align: center;
}

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

.team-member-content span {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-section {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-top: 76px;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--secondary-color);
}

/* ---------- 404 Page ---------- */
.error-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-content h1 {
    font-size: 8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.error-content h2 {
    margin-bottom: 1.5rem;
}

/* ---------- Animation ---------- */
.animate-up {
    animation: animateUp 1s ease-in-out;
}

@keyframes animateUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ---------- Responsive Styles ---------- */
@media (max-width: 991px) {
    .navbar {
        background-color: #fff;
        box-shadow: var(--box-shadow);
    }

    .hero-section {
        height: auto;
        padding: 8rem 0 5rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .service-card,
    .testimonial-card,
    .about-content {
        margin-bottom: 2rem;
    }

    .about-img {
        margin-bottom: 2rem;
        padding-right: 0;
    }

    .about-content {
        padding-left: 0;
    }

    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 1.5rem;
    }
}

@media (max-width: 767px) {
    section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .service-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 3rem 0 0;
    }

    .footer-info,
    .footer-links,
    .footer-contact {
        margin-bottom: 2rem;
    }
}