:root {
    --primary-blue: #0077b6;
    --dark-blue: #023e8a;
    --light-blue: #caf0f8;
    --light-gray: #f8f9fa;
    --dark-text: #2d3748;
    --light-text: #6c757d;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.navbar {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom: none;
    transition: var(--transition);
    padding: 0.5rem 0;
}

    .navbar.scrolled {
        background: rgba(0, 0, 0, 80) !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        transition: var(--transition);
        padding: 0.5rem 0;
    }

.navbar-brand img {
    height: auto; /* Let height scale naturally */
    max-height: 40px; /* Max height for large screens */
    width: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Prevent overflow */
    margin-right: 12px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 45px; /* smaller logo for tablets/mobiles */
    }
}

.navbar.scrolled .navbar-brand {
    color: var(--white) !important;
}

.navbar-brand img {
    height: auto;
    width: auto;
    max-height: 100px; /* adjust as needed */
    margin-right: 12px;
    transition: var(--transition);
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 40px;
    }
}

/* Smaller screens */
@media (max-width: 992px) {
    .navbar-brand img {
        max-height: 50px;
    }
}



.navbar-nav .nav-link {
    color: #fff !important;
    font-family: 'Unbounded', sans-serif;
    font-weight: 250;
    font-size: 0.7rem;
    margin: 0 0.8rem;
    transition: var(--transition);
    position: relative;
    letter-spacing: -0.2px;
}

    .navbar-nav .nav-link:hover {
        color: var(--primary-blue) !important;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-blue);
        transition: var(--transition);
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

.navbar.scrolled .nav-link {
    color: #fff !important;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-primary-custom {
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
    padding: 12px 35px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 250;
    font-size: 0.7rem;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-primary-custom:hover {
        background: var(--black);
        color: var(--white);
        border-color: var(--black);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

.btn-outline-custom {
    background: transparent;
    color: var(--dark-text);
    border: 2px solid var(--dark-text);
    padding: 12px 35px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-outline-custom:hover {
        background: var(--black);
        color: var(--white);
        border-color: var(--black);
        transform: translateY(-2px);
    }

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #333;
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    text-align: center;
    color: var(--light-text);
    margin-bottom: 3rem;
    font-weight: 400;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-blue);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h4 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    font-family: 'Playfair Display', serif;
    color: var(--light-text);
    font-size: 1rem;
}

.logo-integration {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 5px;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

.feature-list {
    list-style: none;
    padding: 0;
}

    .feature-list li {
        font-family: 'Playfair Display', serif;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .feature-list li:last-child {
            border-bottom: none;
        }

        .feature-list li i {
            color: var(--primary-blue);
            font-size: 1.1rem;
        }

.testimonial-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--dark-text);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px 0 30px;
}

    .footer h5 {
        font-family: 'Unbounded', sans-serif;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    .footer p, .footer a {
        font-family: 'Playfair Display', serif;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer a:hover {
            color: var(--white);
        }

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .footer-background {
        background-attachment: scroll;
    }

    .footer-content {
        padding: 40px 0 20px;
    }

    .footer-with-bg .col-md-4 {
        margin-bottom: 2rem;
    }

        .footer-with-bg .col-md-4:last-child {
            margin-bottom: 0;
        }
}

html {
    scroll-behavior: smooth;
}

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-with-bg {
    position: relative;
    background: var(--dark-text);
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/footer-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 119, 182, 0.7) 100% );
    z-index: 2;
}

.footer-content {
    position: relative;
    z-index: 3;
    padding: 60px 0 30px;
}

.footer-link {
    color: var(--white) !important;
    text-decoration: none;
    transition: var(--transition);
    padding: 5px 0;
    display: inline-block;
    position: relative;
}

    .footer-link:hover {
        color: var(--primary-blue) !important;
        transform: translateX(5px);
    }

    .footer-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--primary-blue);
        transition: var(--transition);
    }

    .footer-link:hover::after {
        width: 100%;
    }

.footer-with-bg h5 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.2rem;
}

.footer-with-bg p {
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-with-bg .list-unstyled li {
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.9);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: var(--white);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-social a:hover {
            background: var(--primary-blue);
            transform: translateY(-3px);
        }

.prestine-section::before {
    content: none;
}

.text-section {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 60px;
}

.prestine-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #00a0e3;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.luxury-text {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #000;
}

.prestine-description {
    font-size: 1.1rem;
    color: #111;
    line-height: 1.8;
    max-width: 600px;
}

.hero-subtitle.text-white-70 {
    color: rgba(255, 255, 255, 0.85);
}

.btn-primary {
    background: #00a0e3;
    border-color: #00a0e3;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .btn-primary:hover {
        background: #0088c7;
        border-color: #0088c7;
        color: white;
    }

.section-title.text-white {
    color: #ffffff !important;
}

.text-primary-blue {
    color: var(--primary-blue) !important;
}

.ceo-image-container img {
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

    .btn-primary-custom:hover {
        background-color: #0b5ed7;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
        color: white;
    }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

    .fade-in:nth-child(2) {
        animation-delay: 0.3s;
    }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.display-1 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 6rem;
    perspective: 800px;
    transform: rotateX(15deg);
    color: #007bff;
    text-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

.glitch {
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 2px 2px red;
    }

    25% {
        text-shadow: -2px -2px lime;
    }

    50% {
        text-shadow: 2px -2px blue;
    }

    75% {
        text-shadow: -2px 2px orange;
    }

    100% {
        text-shadow: 2px 2px red;
    }
}

.floating-plumber {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 150px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 992px) {
    .navbar-brand img {
        max-height: 60px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .service-card, .testimonial-card {
        margin-bottom: 2rem;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .footer-with-bg .row {
        text-align: center;
    }

    .footer-with-bg img {
        margin: 0 auto 1rem;
    }

    .footer-with-bg h5 {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .footer-with-bg p,
    .footer-with-bg li,
    .footer-with-bg a {
        font-size: 0.9rem;
    }

    .section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 50px;
    }

    .btn-primary-custom {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Form Validation */
.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4'/%3e%3cpath d='M6 7v2'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.touched:valid {
    border-color: #198754;
}

.form-control.touched:invalid {
    border-color: #dc3545;
}

button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner Animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Section Responsiveness */
.hero-section {
    padding: 100px 0;
    min-height: auto;
}

.hero-title {
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.3rem;
}

@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Contact Section Responsiveness */
.section.bg-white {
    padding: 60px 15px;
}

@media (max-width: 992px) {
    .section.bg-white {
        padding: 40px 15px;
    }
}

@media (max-width: 576px) {
    .section.bg-white {
        padding: 30px 10px;
    }

    .contact-details .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-details .d-flex i {
        margin-bottom: 5px;
    }
}

/* Padding adjustments for forms and info boxes */
.p-5 {
    padding: 2rem !important;
}

@media (max-width: 768px) {
    .p-5 {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .p-5 {
        padding: 1rem !important;
    }
}

