/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --primary-color: #2d7a80;
    --secondary-color: #4c9ba0;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --grey-color: #6c757d;
    --white-color: #fff;
    --section-padding: 80px 0;
}

@font-face {
    font-family: 'Poppins';
    font-display: swap;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

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

.bg-light {
    background-color: #f8f9fa !important;
}

/*--------------------------------------------------------------
# Section Title
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.title-line {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 20px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo img {
    max-height: 60px;
}

/* Make sure logo and navbar are aligned on mobile */
@media (max-width: 767px) {
    #header .row.align-items-center {
        align-items: center !important;
    }
    
    #header .logo {
        padding-left: 15px;
    }
    
    .navbar-toggler {
        margin-right: 5px;
    }
}

.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-color);
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a:hover, .navbar .active, .navbar li:hover > a {
    color: var(--primary-color);
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--white-color);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
}

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/hero/hero-image.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
    margin-top: 70px;
}

#hero .hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    margin-top: 50px;
}

#hero h1 {
    margin: 0 0 20px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: var(--white-color);
}

#hero p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 18px;
}

#hero .contact-btn {
    font-weight: 500;
    font-size: 16px;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

#hero .contact-btn i {
    margin-right: 10px;
    font-size: 20px;
}

#hero .contact-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-img img {
    max-width: 100%;
    transition: transform 0.3s ease;
}

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

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--grey-color);
    line-height: 1.7;
}

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

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.service-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 30px;
    color: var(--white-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--grey-color);
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery-container {
    margin-top: 20px;
}

.project-container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.project-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.project-title {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-description {
    color: var(--grey-color);
    margin-bottom: 0;
}

.project-gallery {
    margin-top: 20px;
}

.gallery-item {
    margin-bottom: 30px;
}

.gallery-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 122, 128, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transition: 0.4s;
}

.gallery-info {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
}

.gallery-info h4 {
    color: var(--white-color);
    font-size: 20px;
    font-weight: 600;
}

.gallery-info p {
    color: var(--white-color);
    font-size: 14px;
    margin-bottom: 0;
}

.gallery-img:hover img {
    transform: scale(1.05);
}

.gallery-img:hover .gallery-overlay {
    opacity: 1;
}

.gallery-img:hover .gallery-info {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Modal Styles */
.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: none;
    padding: 15px 20px;
}

#modalImage {
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .project-container {
        padding: 20px;
    }
    
    .gallery-img img {
        height: 200px;
    }
}

/*--------------------------------------------------------------
# Testimonials - Google Reviews Style
--------------------------------------------------------------*/
.google-reviews-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.reviews-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.review-header {
    display: flex;
    margin-bottom: 15px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-placeholder {
    font-weight: bold;
    color: #555;
    font-size: 16px;
}

.reviewer-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.review-stars {
    display: flex;
    margin-bottom: 5px;
}

.star {
    color: #FBBC05;
    font-size: 16px;
    margin-right: 2px;
}

.review-source {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #777;
    margin-top: 3px;
}

.google-icon {
    height: 15px;
    margin-right: 5px;
    display: inline-block;
}

.review-body {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.review-body p {
    margin: 0;
}

/* Review Navigation */
.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.review-arrow:hover {
    background: var(--secondary-color);
}

.review-prev {
    left: -5px;
}

.review-next {
    right: -5px;
}

.review-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.review-dot.active {
    background: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .review-card {
        padding: 15px;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
    }
    
    .reviewer-info h4 {
        font-size: 14px;
    }
    
    .review-body {
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

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

.contact-item .text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-item .text p {
    margin-bottom: 0;
    color: var(--grey-color);
}

.contact-item .text p a {
    color: var(--grey-color);
}

.contact-item .text p a:hover {
    color: var(--primary-color);
}

.map-container {
    height: 300px;
    border-radius: 5px;
    overflow: hidden;
}

.contact-form {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: auto;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Floating Buttons
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--white-color);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
}

.floating-quote-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-quote-btn.show {
    opacity: 1;
    visibility: visible;
}

.floating-quote-btn a {
    display: flex;
    align-items: center;
    color: var(--white-color);
    font-weight: 500;
    font-size: 14px;
}

.floating-quote-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.floating-quote-btn:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
}

/*--------------------------------------------------------------
# WhatsApp Float
--------------------------------------------------------------*/
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white-color);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: #0f3f42;
    padding: 50px 0 0 0;
    color: #fff;
    font-size: 14px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-info p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

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

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

.footer-links ul li {
    padding: 7px 0;
    display: flex;
    align-items: center;
}

.footer-links ul li:first-child {
    padding-top: 0;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

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

.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-contact p {
    line-height: 26px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact strong {
    font-weight: 500;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}

.footer-contact a:hover {
    color: var(--white-color);
}

.social-links {
    margin-top: 15px;
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    margin-right: 10px;
    color: var(--white-color);
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-newsletter h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-services {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
}

.footer-services li {
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
}

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

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.credits p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 991px) {
    #hero {
        height: 70vh;
    }
    
    #hero h1 {
        font-size: 36px;
        line-height: 42px;
    }
    
    #hero p {
        font-size: 16px;
    }
    
    .navbar-toggler {
        border-color: var(--primary-color);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845, 122, 128, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar-nav {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 5px;
        padding: 10px 0;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    #hero {
        height: 90vh;
        text-align: center;
    }
    
    #hero .hero-content {
        padding: 30px;
        margin-top: 30px;
    }
    
    #hero h1 {
        font-size: 30px;
        line-height: 36px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-item .icon {
        margin-bottom: 10px;
    }
    
    .carousel-control-prev, .carousel-control-next {
        display: none;
    }
    
    .footer-links, .footer-contact, .footer-newsletter {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    #header {
        padding: 10px 0;
    }
    
    #header .logo img {
        max-height: 40px;
    }
    
    #hero {
        height: 100vh;
    }
    
    #hero .hero-content {
        padding: 20px;
    }
    
    #hero h1 {
        font-size: 24px;
        line-height: 30px;
    }
    
    #hero p {
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Off-screen honeypot — not shown in the visible form */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-status {
    margin: 0 0 18px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
}
.form-status.success {
    background: #e8f6ee;
    color: #146c2e;
    border: 1px solid #b7e0c2;
}
.form-status.error {
    background: #fdecea;
    color: #8a1c13;
    border: 1px solid #f5c2c0;
}
