﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* ---------------------------
   RESET & GLOBAL STYLES
--------------------------- */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    line-height: 1.5;
    color: #333;
}

a {
    color: #0071c1;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: #0071c1;
    cursor: pointer;
}

.btn-primary {
    display: inline-block;
    font-weight: 500;
    color: #fff;
    background-color: #1b6ec2;
    border: 1px solid #1861ac;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.75em 1.5em;
    font-size: 1em;
    border-radius: 0.4em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .btn-primary:hover,
    .btn-primary:focus {
        transform: scale(1.05);
        box-shadow: 0 0.3em 0.8em rgba(255, 255, 255, 0.3);
    }

/* ---------------------------
   SITE HEADER
--------------------------- */
.site-header {
    background: linear-gradient(to right, #000, #1a1a1a);
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.container.header-inner {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    max-height: 3em;
    display: block;
}

.main-nav {
    display: flex;
    gap: 1.5em;
}

    .main-nav a {
        color: #fff;
        font-weight: 500;
        transition: color 0.2s;
    }

        .main-nav a.active,
        .main-nav a:hover {
            color: #00bfff;
        }


/* ---------------------------
   PAGE CONTENT
--------------------------- */
.content {
    padding: 2em 1em;
    max-width: 800px;
    margin: 0 auto;
}

    .content h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin-bottom: 0.5em;
        text-align: center;
    }

    .content p {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        margin-bottom: 1.5em;
        text-align: center;
    }



/* ---------------------------
   RESPONSIVE OVERRIDES
--------------------------- */
@media (max-width: 576px) {
    .hero-overlay {
        padding: 1em;
    }

    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }

    .content {
        padding: 1.5em 0.5em;
    }
}
/* ---------------------------
   SIMPLE HERO (background‐image)
--------------------------- */
/* --------------------------------
   HERO BANNER (background-image)
---------------------------------- */
/* ---------------------------
   HERO BANNER WITH <img>
--------------------------- */
.hero-banner {
    position: relative;
    width: 100%;
    height: 60vh; /* adjust (e.g. 50vh or 70vh) */
    min-height: 300px; /* never shrink too small */
    overflow: hidden; /* hide overflow during zoom */
}

/* background image as an absolutely positioned <img> */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: slowZoom 15s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* overlay sits on top of the image */
.hero-overlay {
    position: relative; /* sits above .hero-bg */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    text-align: center;
    color: #fff;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-cta {
    display: inline-block;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .hero-cta:hover {
        transform: scale(1.05);
        box-shadow: 0 0.3em 0.8em rgba(255,255,255,0.3);
    }

/* mobile tweaks */
@media (max-width: 768px) {
    .hero-banner {
        height: 50vh;
    }

    .hero-title {
        font-size: clamp(1.4rem, 8vw, 2.2rem);
    }

    .hero-cta {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

/* ---------------------------
   TESTIMONIALS SECTION
--------------------------- */
/* ---------------------------
   TESTIMONIALS SECTION
--------------------------- */
.testimonials-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #333;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: auto;
    padding: 0 80px; /* 👈 creates space for arrows */
    overflow: visible; /* 👈 ensures arrows aren't clipped */
}



.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-author {
    font-weight: bold;
    color: #555;
}

/* Swiper navigation buttons */
.testimonial-carousel .swiper-button-prev,
.testimonial-carousel .swiper-button-next {
    color: #333;
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.testimonial-carousel .swiper-button-prev {
    left: -30px;
}

.testimonial-carousel .swiper-button-next {
    right: -30px;
}

    .testimonial-carousel .swiper-button-prev::after,
    .testimonial-carousel .swiper-button-next::after {
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }

    .testimonial-carousel .swiper-button-prev:hover,
    .testimonial-carousel .swiper-button-next:hover {
        background-color: #f0f0f0;
    }

/* Swiper pagination dots */
.testimonial-carousel .swiper-pagination-bullet {
    background: #1b6ec2;
    opacity: 0.7;
}

.testimonial-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .stars {
        font-size: 1rem;
    }

    .testimonial-carousel {
        padding: 0 30px;
    }

        .testimonial-carousel .swiper-button-prev {
            left: -20px;
        }

        .testimonial-carousel .swiper-button-next {
            right: -20px;
        }
}


/* Swiper pagination dots */
/* Navigation arrows - clean and centered */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, box-shadow 0.3s;
    border: none;
    outline: none;
}

    /* Remove the blue highlight on click/focus */
    .swiper-button-next:focus,
    .swiper-button-prev:focus {
        outline: none;
        box-shadow: none;
    }

    /* Arrow icons */
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
        font-weight: bold;
        color: #333;
    }

    /* Optional: darken on hover */
    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background-color: #f0f0f0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }






/* ---------------------------
   TESTIMONIALS SECTION
--------------------------- */

.testimonials-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
}

.testimonial-carousel {
    max-width: 800px;
    margin: auto;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    font-weight: bold;
    color: #555;
}

/* Swiper pagination dots */
.testimonial-carousel .swiper-pagination {
    margin-top: 1rem;
    position: relative;
}

.testimonial-carousel .swiper-pagination-bullet {
    background: #1b6ec2;
    opacity: 0.7;
}

.testimonial-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Position arrows BELOW the card + pagination */
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

    .testimonial-controls .swiper-button-prev,
    .testimonial-controls .swiper-button-next {
        position: relative;
        all: unset;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #fff;
        color: #333;
        font-size: 1.25rem;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        user-select: none;
    }

        .testimonial-controls .swiper-button-prev:hover,
        .testimonial-controls .swiper-button-next:hover {
            background-color: #f0f0f0;
        }

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-controls {
        gap: 1.5rem;
        margin-top: 1.2rem;
    }

        .testimonial-controls .swiper-button-prev,
        .testimonial-controls .swiper-button-next {
            width: 36px;
            height: 36px;
            font-size: 1.1rem;
        }
}

/* ---------------------------
   END TESTIMONIALS SECTION
--------------------------- */
.design-gallery img {
    max-height: 220px;
    object-fit: contain;
}
.quote-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}
/* Force modal to be responsive */
.modal-dialog {
    max-width: 90vw;
    margin: 1rem auto;
}

@media (max-width: 576px) {
    .modal-dialog {
        width: 100%;
        margin: 0.5rem;
    }
}

/* hide the Blazor error UI by default */
#blazor-error-ui {
    display: none; /* hidden until an actual error */
    background: #fff3cd; /* light yellow bg */
    color: #856404; /* dark yellow text */
    padding: 12px;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 0.875rem;
    z-index: 1000;
}

    /* when Blazor adds .shown, it becomes visible */
    #blazor-error-ui.shown {
        display: block;
    }

    /* small spacing for the links */
    #blazor-error-ui a {
        margin: 0 0.5rem;
    }

/* 3) Center & constrain the form */
/* Contact Section Wrapper */
#contact-us .row {
    gap: 2rem;
}

/* Left­-hand info panel */
.contact-panel {
    background: #f26b1e; /* Ramtech orange */
    color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
}

    .contact-panel .info-item + .info-item {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px dashed rgba(255, 255, 255, 0.5);
    }

    .contact-panel .info-icon {
        font-size: 1.5rem;
        vertical-align: middle;
        margin-right: 0.75rem;
    }

    .contact-panel .info-text {
        display: inline-block;
        vertical-align: middle;
        font-weight: 500;
    }

    /* WhatsApp button */
    .contact-panel .whatsapp-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #25d366;
        color: #fff;
        border: none;
        border-radius: 0;
        width: 100%;
        padding: 0.75rem;
        margin-top: 2rem;
        text-decoration: none;
        font-weight: 600;
    }

        .contact-panel .whatsapp-btn .bi-whatsapp {
            font-size: 1.25rem;
            margin-right: 0.5rem;
        }

/* Right­-hand form tweaks */
.contact-form {
    max-width: 100%;
}
/* icon sizing */
.service-icon {
    font-size: 2.5rem;
}

/* light gradients */
.gradient-pink {
    background: linear-gradient(135deg, #FDE2EC 0%, #F46290 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #EBE3F8 0%, #924DCE 100%);
}

.gradient-blue {
    background: linear-gradient(135deg, #DBF4FB 0%, #1FA0D8 100%);
}

.gradient-gold {
    background: linear-gradient(135deg, #FFF5E1 0%, #FEC841 100%);
}

/* subtle hover lift */
.service-card:hover {
    transform: translateY(-4px);
    transition: transform .2s ease-in-out;
}
/* border colors */
.border-pink {
    border-color: #F46290 !important;
}

.border-purple {
    border-color: #924DCE !important;
}

.border-blue {
    border-color: #1FA0D8 !important;
}

.border-gold {
    border-color: #FEC841 !important;
}

.service-icon {
    font-size: 3rem;
}

.service-card:hover {
    transform: translateY(-4px);
    transition: transform .2s ease-in-out;
}

.bulk-banner {
    background: linear-gradient(to right, #924DCE, #1FA0D8); /* CXI purple → blue */
    animation: bounceIn 1s ease;
    color: white;
}

    .bulk-banner .highlight-price {
        color: #FEC841; /* Yellow highlight from your palette */
    }

@keyframes bounceIn {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}
