@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #004a99;
    --primary-dark: #003366;
    --secondary: #00a2e8;
    --light-blue: #eef7ff;
    --white: #ffffff;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --bg-light: #f8fafc;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 40px rgba(0, 74, 153, 0.1);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Navbar */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 1.25rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

#logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo i {
    color: var(--secondary);
    font-size: 1.8rem;
}

.logo span {
    color: var(--secondary);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary);
    background: none;
    border: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-btn {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: var(--primary);
    color: white;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 162, 232, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 162, 232, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 74, 153, 0.6), rgba(15, 23, 42, 0.7)),
        url('images/gallery/cat_residential.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 120px 2rem 0;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.google-review-btn-hero {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid white;
    transition: var(--transition);
}

.google-review-btn-hero:hover {
    background: white;
    color: var(--primary);
}

/* Sections General */
section {
    padding: 120px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Services / Gallery Category Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 74, 153, 0.15);
}

.service-img {
    height: 240px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 2.5rem;
}

.service-info h3 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.service-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.view-gallery-btn {
    color: var(--secondary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    transition: var(--transition);
}

.service-card:hover .view-gallery-btn {
    gap: 1.2rem;
}

/* Extra Services Boxes */
#extra-services {
    padding-top: 0;
}

.extra-services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.extra-service-box {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    width: calc(20% - 1.5rem);
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.extra-service-box i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.2rem;
    display: block;
}

.extra-service-box h3 {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

.extra-service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 162, 232, 0.15);
    border-color: var(--secondary);
}

@media (max-width: 1024px) {
    .extra-service-box {
        width: calc(33.33% - 1.5rem);
    }
}

@media (max-width: 600px) {
    .extra-service-box {
        width: 100%;
    }
}

.google-review-box {
    background: var(--primary);
    color: white;
    padding: 60px 2rem;
    text-align: center;
    border-radius: 30px;
    margin: 40px auto;
    max-width: 1000px;
}

.google-review-box h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.google-review-box p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.google-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: var(--primary);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.google-btn:hover {
    transform: translateY(-5px);
    background: var(--secondary);
    color: white;
}

/* Testimonials Carousel */
#testimonials {
    background: var(--light-blue);
    max-width: 100%;
}

.carousel-container {
    max-width: 1216px;
    /* 1200 + gap */
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    gap: 2rem;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.35rem);
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: left;
    position: relative;
    border: 1px solid rgba(0, 74, 153, 0.05);
}

.stars {
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
    min-height: 80px;
}

.testimonial-author {
    display: block;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.carousel-nav button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-nav button:hover {
    background: var(--primary);
    color: white;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.contact-info h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 800;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
}

.phone-btn {
    background: var(--light-blue);
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.phone-btn:hover {
    background: var(--primary);
    color: white;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    border: 1.5px solid #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #1ebd5a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}


.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

#contact-form {
    background: white;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: #fcfdfe;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 74, 153, 0.1);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 68px;
    height: 68px;
    background: var(--secondary);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 162, 232, 0.4);
    cursor: pointer;
    font-size: 1.8rem;
    transition: var(--transition);
}

.chat-button:hover {
    transform: scale(1.1) rotate(5deg);
}

.chat-window {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    padding: 1.5rem;
    height: 320px;
    overflow-y: auto;
    background: #f8fafc;
}

.msg {
    margin-bottom: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    max-width: 85%;
    font-size: 0.95rem;
}

.msg.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid #e2e8f0;
}

.msg.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-input {
    padding: 1rem;
    display: flex;
    gap: 0.8rem;
    background: white;
}

.chat-input input {
    flex: 1;
    border: none;
    outline: none;
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: 12px;
}

.chat-input button {
    background: var(--primary);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 100px 2rem 40px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.7;
    transition: 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--secondary);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    font-size: 1rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-item,
    .social-links {
        justify-content: center;
    }

    #contact-form {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .header-actions {
        gap: 0.8rem;
    }

    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .chat-window {
        width: 300px;
        right: -20px;
    }
}