/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #fff;
}

/* ========== Header ========== */
.main-header {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 50px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.header-container:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

/* ========== Navigation ========== */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 900;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    font-size: 18px;
}

.nav-links a:hover {
    color: #c9a961;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a961;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.menu-toggle {
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* ========== WhatsApp Float Button ========== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    margin: 0;
    color: #FFF;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    z-index: -1;
    animation: pulse 1.5s ease-out infinite;
}

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

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-float .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #128c7e;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.phone-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: #0d6efd;
    color: white;
    width: auto;
    padding: 12px 20px;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.phone-float i {
    font-size: 20px;
}

.phone-float .tooltip-text {
    display: inline;
    opacity: 1;
    visibility: visible;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.phone-float:hover {
    background-color: #0b5ed7;
    color: white;
    transform: scale(1.05);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }

    .phone-float {
        bottom: 85px;
        right: 15px;
        padding: 10px 18px;
        font-size: 15px;
    }

    .phone-float i {
        font-size: 18px;
    }

    .phone-float .tooltip-text {
        font-size: 14px;
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 15px;
        font-size: 24px;
        margin-top: 20px;
    }

    .phone-float {
        bottom: 90px;
        right: 15px;
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        gap: 0;
    }

    .phone-float i {
        font-size: 22px;
        margin: 0;
    }

    .phone-float .tooltip-text {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        width: auto;
        max-width: 200px;
        padding: 8px 12px;
        color: #fff;
        background: #128c7e;
        border-radius: 6px;
        white-space: nowrap;
    }
}

/* Extra Small Mobile (portrait phones) */
@media (max-width: 400px) {


    .phone-float {
        bottom: 85px;
        right: 15px;
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        gap: 0;
    }

    .phone-float .tooltip-text {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        width: auto;
        max-width: 200px;
        padding: 8px 12px;
        color: #fff;
        background: #128c7e;
        border-radius: 6px;
        white-space: nowrap;
    }

}

/* ========== Hero Section ========== */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background: #000;
}

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 30px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
    position: relative;
    top: -80px;
}

.google-rating-badge img {
    width: 24px;
    height: 24px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: #fbbc04;
    font-size: 16px;
}

/* Responsive - Mobile/Tablet */
@media (max-width: 768px) {
    .google-rating-badge {
        top: -10px;
        margin-bottom: 25px;
        margin-left: 0; 
        display: flex; 
        width: 25%;
    }
    
    .hero-content {
        text-align: left !important; 
        align-items: flex-start !important;
    }
}

@media (max-width: 600px) {
    .google-rating-badge {
        padding: 6px 12px;
        width: 50%;
    }
    
    .google-rating-badge img {
        width: 20px;
        height: 20px;
    }
    
    .rating-stars i {
        font-size: 14px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.image-preview-stack {
    position: absolute;
    right: 50px;
    top: 35%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preview-thumb {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.preview-thumb:hover,
.preview-thumb.active {
    border-color: #c9a961;
    transform: scale(1.1);
}

.preview-thumb.active {
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.6);
}

.preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.preview-thumb.active img {
    filter: brightness(1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    scroll-behavior: smooth;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    transform: translateX(100%) scale(0.8);
}

.slide.active .slide-image {
    animation: slideInFromPreview 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(201, 169, 97, 0.2) 100%);
    z-index: 1;
}

/* Google Fonts import korte hobe HTML er <head> e */
/* <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Great+Vibes&family=Montserrat:wght@600;700&display=swap" rel="stylesheet"> */

.hero-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 2;
    text-align: left;
    color: white;
    width: 90%;
    max-width: 900px;
}

.t {
    font-family: 'Montserrat', sans-serif;
    font-size: 45px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 400;

}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: #f4b942;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 4s steps(30, end) forwards, blink-caret .75s step-end infinite;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.hero-content .global-p {
    font-family: 'Dancing Script', cursive;
    font-size: 45px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.cta-button1 {
    font-family: 'Montserrat', sans-serif;
    /* Button er jonno clean font */
    background-color: #f4b942;
    color: #000;
    font-weight: 700;
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #c9a961;
    width: 35px;
    border-radius: 10px;
}

/* ========== Buttons ========== */
.cta-button1 {
    background: #c9a961;
    color: #0a2942;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.cta-button1:hover {
    background: #d4b76d;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.6);
}

.cta-button1 i {
    transition: transform 0.3s ease;
}

.cta-button1:hover i {
    transform: translateX(5px);
}

.explore-btn {
    background-color: #0a2942;
    border: none;
    color: #c9a961;
    border-radius: 10px;
    padding: 15px 40px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 576px) {
    .expo {
        margin-top: 2px;
    }
}


/* ========== Common Titles ========== */
/* Default (PC / Large screens) */
.title {
    font-size: 42px;
    color: #0A2942;
}

.title1 {
    font-size: 35px;
    color: #0A2942;
}

.hr-line {
    width: 80px;
    height: 4px;
    background-color: #c9a961;
}

.subtitle {
    color: #0a2942;
}

/* Tablet (768px – 991px) */
@media (max-width: 991px) {
    .title {
        font-size: 36px;
    }

    .title1 {
        font-size: 30px;
    }
}

/* Mobile (Below 767px) */
@media (max-width: 767px) {
    .title {
        font-size: 30px;
    }

    .title1 {
        font-size: 26px;
    }

    .hr-line {
        width: 60px;
        height: 3px;
    }
}


/* ========== Service Cards ========== */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateZ(50px) scale(1.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.service-card img {
    transition: all 0.5s ease;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

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

.service-card .card-body {
    flex: 1;
}

.service-read-more {
    background: #C9A961;
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(201, 169, 97, 0.25);
    text-decoration: none;
    transition: all 0.3s ease;
    color: #0a2942;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-block;
    width: fit-content;
}

.service-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 100%;
    background: #0a2942;
    transition: width 0.5s ease;
    z-index: -1;
}

.service-read-more:hover::before {
    width: 100%;
}

.service-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(10, 41, 66, 0.4);
    color: #ffffff;
}

.service-read-more:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(10, 41, 66, 0.3);
}

@media (max-width: 576px) {
    #services {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .service-card img {
        height: 220px;
    }

    .service-card .card-body {
        padding: 15px;
    }

    .service-card .card-title {
        font-size: 1.1rem;
    }

    .service-card .card-text {
        font-size: 0.9rem;
    }
}

/* ========== Parallax Section ========== */
.parallax-section {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/public/images/kithen.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.3);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1000px;
    width: 100%;
    padding: 0 20px;
}

.achievement-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(244, 185, 66, 0.3);
    min-width: 280px;
    transition: all 0.4s ease;
}

.achievement-item:hover {
    transform: translateY(-10px);
    background: rgba(244, 185, 66, 0.1);
    border-color: #f4b942;
    box-shadow: 0 15px 40px rgba(244, 185, 66, 0.3);
}

.achievement-icon {
    font-size: 50px;
    color: #f4b942;
    margin-bottom: 20px;
}

/* Google icon - Original colors */
.achievement-item .google-logo {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
}

.achievement-item .google-logo svg {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    display: block;
    margin: 0 auto; 
}

/* Responsive */
@media (max-width: 991px) {
    .google-logo svg {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .google-logo svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .google-logo svg {
        width: 38px;
        height: 38px;
    }
}

/* Facebook icon - Original blue */
.achievement-item:nth-child(3) .achievement-icon {
    color: #1877F2;
}

.achievement-number {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 10px rgba(244, 185, 66, 0.5);
}

.achievement-text {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .achievement-container {
        gap: 40px;
    }

    .achievement-item {
        min-width: 240px;
        padding: 35px 25px;
    }

    .achievement-number {
        font-size: 42px;
    }

    .achievement-icon {
        font-size: 45px;
    }
}

@media (max-width: 768px) {
    .parallax-section {
        min-height: 650px;
        padding: 50px 20px;
    }

    .achievement-container {
        gap: 30px;
    }

    .achievement-item {
        min-width: 220px;
        padding: 30px 20px;
    }

    .achievement-number {
        font-size: 38px;
    }

    .achievement-icon {
        font-size: 40px;
    }

    .achievement-text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .parallax-section {
        min-height: 700px;
    }

    .achievement-item {
        min-width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .parallax-section {
        min-height: 600px;
    }

    .achievement-container {
        gap: 30px;
    }

    .achievement-item {
        min-width: 240px;
        padding: 30px 20px;
    }

    .achievement-number {
        font-size: 40px;
    }

    .achievement-icon {
        font-size: 40px;
    }
}

/* Parallax button styles (jodi apnar button thake) */
.parallax-button:hover {
    background: #d4b76d;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.6);
}

.parallax-button i {
    transition: transform 0.3s ease;
}

.parallax-button:hover i {
    transform: translateX(8px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .parallax-section {
        min-height: 600px;
    }

    .achievement-container {
        gap: 30px;
    }

    .achievement-item {
        min-width: 240px;
        padding: 30px 20px;
    }

    .achievement-number {
        font-size: 40px;
    }

    .achievement-icon {
        font-size: 40px;
    }
}

/* Parallax button styles (jodi apnar button thake) */
.parallax-button:hover {
    background: #d4b76d;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.6);
}

.parallax-button i {
    transition: transform 0.3s ease;
}

.parallax-button:hover i {
    transform: translateX(8px);
}

/* ========== Projects Slider ========== */
.projects-slider-container {
    position: relative;
    overflow: visible;
    padding: 0 20px;
}

.projects-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Desktop: 4 columns */
    gap: 1.5rem;
    padding: 20px 0;
}

.project-flip-card {
    width: 100%;
    height: 500px;
    perspective: 1000px;
    cursor: pointer;
    margin: auto;
}

.project-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.project-flip-front,
.project-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-flip-back {
    background: linear-gradient(135deg, #c9a961 0%, #d4b76d 100%);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.project-flip-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    width: 100%;
    height: 100%;
    text-align: center;
    color: #0a2942;
    padding: 20px;
}

.project-info h3 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0a2942;
}

.project-info p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #0a2942;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0a2942;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #0a2942;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #0a2942;
    color: #c9a961;
    transform: translateY(-2px);
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Auto Flip Effect CSS */
.project-flip-card.prj-flipped .project-flip-inner {
    transform: rotateY(180deg);
}

/* Remove hover flip, only auto flip will work */
.project-flip-card:hover .project-flip-inner {
    transform: none;
}

.project-flip-card.prj-flipped:hover .project-flip-inner {
    transform: rotateY(180deg);
}

/* ========== RESPONSIVE DESIGN ========== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .projects-wrapper {
        grid-template-columns: repeat(4, 1fr);
        /* 4 cards */
    }
}

/* Tablet / Small Desktop (768px - 1199px) */
@media (max-width: 1199px) {
    .projects-wrapper {
        grid-template-columns: repeat(2, 1fr);
        /* 3 cards */
    }

    .project-flip-card {
        height: 450px;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (max-width: 767px) {
    .projects-wrapper {
        grid-template-columns: repeat(1, 1fr);
        /* 2 cards */
        gap: 1rem;
    }

    .project-flip-card {
        height: 400px;
    }

    .projects-slider-container {
        padding: 0 15px;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .projects-wrapper {
        grid-template-columns: repeat(1, 1fr);
        /* 2 cards even on mobile */
        gap: 0.75rem;
    }

    .project-flip-card {
        height: 300px;
    }

    .projects-slider-container {
        padding: 0 10px;
    }

    .project-info {
        padding: 15px;
    }

    .project-info h3 {
        font-size: 18px;
    }

    .project-info p {
        font-size: 14px;
    }
}

/* Extra Small Mobile (up to 400px) */
@media (max-width: 400px) {
    .projects-wrapper {
        grid-template-columns: 1fr;
        /* 1 card on very small screens */
        gap: 1rem;
    }

    .project-flip-card {
        height: 350px;
    }
}

/* ========== Review Section ========== */
.review-section-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    /* Added padding for mobile */
}

.review-section-wrapper * {
    box-sizing: border-box;
}

.text-center {
    text-align: center;
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 1rem;
}

.hr-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff8c00, #ffa500);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

/* Heading with Google logo + stars flex */
.fp-sub-heading-xyz {
    font-size: 1.25rem;
    font-weight: 500;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-3 {
    gap: 0.75rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

/* ===================== SLIDER CONTAINER ===================== */

.review-carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    margin: 40px 0;
}

.review-carousel-wrapper {
    width: 100%;
    max-width: 650px;
    height: 300px;
    position: relative;
    overflow: hidden;
}

/* ===================== REVIEW CARD ===================== */
.rv-review-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 150%);
    width: 100%;
    max-width: 630px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.1s ease;
}

/* Card sliding UP from bottom */
.rv-review-card.show {
    animation: slideUpBounce 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Card sliding DOWN to bottom */
.rv-review-card.hide {
    animation: slideDownOut 1s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

/* Bounce animation from bottom */
@keyframes slideUpBounce {
    0% {
        transform: translate(-50%, 150%) scale(0.85);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -55%) scale(1.02);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Slide DOWN to bottom */
@keyframes slideDownOut {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    40% {
        transform: translate(-50%, -30%) scale(0.98);
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, 180%) scale(0.8);
        opacity: 0;
    }
}

/* ===================== CARD INNER CONTENT ===================== */
.rv-review-inner {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Header with name on left, Google logo on right */
.rv-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Google Logo on right side only */
.rv-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Google Logo */
.google-logo-inline {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Stars - hidden in card, only show in heading */
.rv-review-stars {
    font-size: 20px;
    color: #FBBC04;
    line-height: 1;
    letter-spacing: 2px;
}

.rv-header-right .rv-review-stars {
    display: none;
}

/* Name */
.rv-review-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Review Text */
.rv-review-text {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
    font-style: italic;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }

    .review-carousel-wrapper {
        max-width: 95%;
        height: 280px;
    }

    .rv-review-card {
        max-width: 95%;
    }

    .rv-review-inner {
        padding: 1.8rem 2rem;
    }

    .rv-review-name {
        font-size: 1.2rem;
    }

    .rv-review-text {
        font-size: 1rem;
    }

    .google-logo-inline {
        width: 24px;
        height: 24px;
    }

    .rv-review-stars {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .title {
        font-size: 1.75rem;
    }

    .fp-sub-heading-xyz {
        font-size: 1rem;
        line-height: 1.4;
    }

    .flex {
        flex-wrap: wrap;
    }

    .review-carousel-wrapper {
        max-width: 95%;
        height: 200px;
    }

    .rv-review-card {
        max-width: 95%;
        margin: 0 10px;
        height: 200px;
    }

    .rv-review-inner {
        padding: 1.5rem 1.5rem;
    }

    .rv-review-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .rv-review-name {
        font-size: 1.1rem;
    }

    .rv-review-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .google-logo-inline {
        width: 20px;
        height: 20px;
    }

    .rv-review-stars {
        font-size: 16px;
    }

    .gap-3 {
        gap: 0.5rem;
    }
}

@media (max-width: 400px) {
    .title {
        font-size: 1.5rem;
    }

    .fp-sub-heading-xyz {
        font-size: 0.9rem;
    }

    .review-section-wrapper {
        padding: 0 10px;
    }

    .review-carousel-wrapper {
        max-width: 100%;
        height: 200px;
    }

    .rv-review-card {
        max-width: 100%;
        margin: 0;
        border-radius: 8px;
    }

    .rv-review-inner {
        padding: 1.3rem 1.2rem;
    }

    .rv-review-name {
        font-size: 1rem;
    }

    .rv-review-text {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .google-logo-inline {
        width: 18px;
        height: 18px;
    }

    .rv-review-stars {
        font-size: 14px;
    }

    .gap-3 {
        gap: 0.4rem;
    }
}

@media (max-width: 360px) {
    .title {
        font-size: 1.35rem;
    }

    .fp-sub-heading-xyz {
        font-size: 0.85rem;
    }

    .review-carousel-wrapper {
        height: 360px;
    }

    .rv-review-inner {
        padding: 1.2rem 1rem;
    }

    .rv-review-name {
        font-size: 0.95rem;
    }

    .rv-review-text {
        font-size: 0.85rem;
    }
}

/* ========== Flooring Slider Section ========== */
.fp-slider-section-xyz {

    width: 100%;

}

.fp-container-xyz {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.fp-title-wrapper-xyz {
    text-align: center;
    margin-bottom: 50px;
}

.fp-main-heading-xyz {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    margin: 0 0 20px 0;
}

.fp-main-heading-xyz::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #C9A961;
}

.fp-sub-heading-xyz {
    font-size: 1.25rem;
    font-weight: 500;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.fp-third-heading-xyz {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a365d;
    margin: 5px 0 0;
}

/* Carousel Styles  */
.fp-carousel-xyz {
    position: relative;
    width: 100%;
    padding: 0 60px;
}

.fp-carousel-viewport-xyz {
    overflow: hidden;
    width: 100%;
}

.fp-slides-track-xyz {
    display: flex;
    gap: 30px;
    transition: transform 0.6s ease-in-out;
}

.fp-card-xyz {
    flex: 0 0 calc(33.333% - 20px);
    background: #f1f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.fp-img-box-xyz {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.fp-img-xyz {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.fp-content-xyz {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fp-card-title-xyz {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 15px;
    line-height: 1.4;
}

.fp-card-desc-xyz {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}


.fp-btn-prev-xyz,
.fp-btn-next-xyz {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(26, 54, 93, 0.85);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.fp-btn-prev-xyz {
    left: 0;
}

.fp-btn-next-xyz {
    right: 0;
}

.fp-btn-prev-xyz:hover,
.fp-btn-next-xyz:hover {
    background-color: #C9A961;
    transform: translateY(-50%) scale(1.1);
}

.fp-icon-prev-xyz,
.fp-icon-next-xyz {
    display: block;
    line-height: 1;
}

/* Indicators */
.fp-indicators-xyz {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.fp-dot-xyz {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #1a365d;
    opacity: 0.4;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.fp-dot-xyz:hover {
    opacity: 0.7;
    transform: scale(1.2);
}

.fp-active-dot-xyz {
    opacity: 1;
    background-color: #C9A961;
    width: 30px;
    border-radius: 6px;
}


@media (max-width: 1024px) {
    .fp-card-xyz {
        flex: 0 0 calc(50% - 15px);
    }

    .fp-carousel-xyz {
        padding: 0 50px;
    }
}

@media (max-width: 991px) {
    .fp-card-xyz {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .fp-carousel-xyz {
        padding: 0 50px;
    }

    .fp-card-xyz {
        flex: 0 0 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .fp-img-box-xyz {
        height: 250px;
    }

    .fp-content-xyz {
        padding: 25px;
    }

    .fp-card-title-xyz {
        font-size: 1.25rem;
    }

    .fp-card-desc-xyz {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .fp-carousel-xyz {
        padding: 0 40px;
    }

    .fp-card-xyz {
        max-width: 100%;
    }

    .fp-img-box-xyz {
        height: 220px;
    }

    .fp-content-xyz {
        padding: 20px;
    }

    .fp-btn-prev-xyz,
    .fp-btn-next-xyz {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}


@media (max-width: 768px) {
    .fp-card-xyz {
        flex: 0 0 100%;
    }

    .fp-carousel-xyz {
        padding: 0 45px;
    }

    .fp-img-box-xyz {
        height: 220px;
    }

    .fp-content-xyz {
        padding: 20px;
    }

    .fp-main-heading-xyz {
        font-size: 2rem;
    }

    .fp-sub-heading-xyz {
        font-size: 1rem;
    }

    .fp-third-heading-xyz {
        font-size: 0.9rem;
    }

    .fp-btn-prev-xyz,
    .fp-btn-next-xyz {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .fp-main-heading-xyz {
        font-size: 1.5rem;
    }

    .fp-card-title-xyz {
        font-size: 1.2rem;
    }

    .fp-card-desc-xyz {
        font-size: 0.85rem;
    }

    .fp-carousel-xyz {
        padding: 0 35px;
    }

    .fp-btn-prev-xyz,
    .fp-btn-next-xyz {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

.fp-slides-wrapper-xyz {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.fp-slide-xyz {
    scroll-snap-align: start;
}

/* ========== Facts Section ========== */
.facts-section {
    color: #000;
}

.fact-item {
    padding: 15px 0;
}

.fact-value-group {
    justify-content: center;
}

.fact-number,
.fact-icon {
    font-size: 3rem;
    line-height: 1;
    color: #0a2942;
}

.fact-label {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #000;
}

/* ========== Form ========== */
.form-btn {
    padding: 10px 20px;
    border: none;
    color: #0A2942;
    background-color: #C9A961;
}

/* ========== Footer ========== */
.footer {
    background-color: #0A2942 !important;
    color: white;
    padding: 40px 0;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%);
}

.footer-img {
    height: 200px;
    width: 200px;
}

.footer-p {
    color: #adb5bd;
    line-height: 1.6;
    margin-top: 10px;
}

.footer-title {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-li {
    color: #adb5bd;
    text-decoration: none;
}

.social {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #0A2942;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    text-decoration: none;
    font-size: 14px;
}

.footer-hr {
    border-color: #C9A961 !important;
}

.copyrighttext {
    color: #adb5bd;
    font-size: 16px;
    text-decoration: none;
}

/* ========== Banner (Service Page) ========== */
.banner {
    background-color: #0A2942;
    min-height: 40vh;
}

.bannerTitle {
    color: #C9A961;
    font-weight: 800;
    padding-top: 60px;
    font-size: 60px;
}

.floating-card {
    animation: floating 2500ms ease-in-out infinite;
}

/* ========== Sidebar ========== */
.details-sidebar-img {
    width: 100px;
}

.singleDetailsImage {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    border-radius: 10px;
}

/* ========== About Page ========== */
.about-image {
    height: 70vh;
    width: 100%;
    object-fit: cover;
}

.diagonal-cut-area {
    background-color: #f0f0f0;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    z-index: 2;
}

.push-up {
    margin-top: -10vw;
    z-index: 1;
    position: relative;
}

.about-section,
.mission-section,
.vision-section {
    padding: 80px 0;
}

.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.mission-section {
    background-color: #fff;
}

.vision-section {
    background-color: #C9A961;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(10, 41, 66, 0.15);

}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid #C9A961;
    border-radius: 12px;
    z-index: -1;
}

.mission-section .image-wrapper::before {
    border-color: #0A2942;
}

.vision-section .image-wrapper::before {
    border-color: #C9A961;
}

.image-wrapper img {
    border-radius: 12px;
    display: block;
    width: 100%;
    height: auto;
}

.content-wrapper {
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A2942;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.title-line-light {
    width: 80px;
    height: 5px;
    background-color: #0A2942;
    margin-bottom: 30px;
    border-radius: 3px;
}

.section-text {
    font-size: 1.35rem;
    color: #0A2942;
    text-align: justify;
    margin-bottom: 20px;
}

/* ========== Projects Section ========== */
.projects-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.projects-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A2942;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.projects-section .title-line {
    width: 80px;
    height: 5px;
    background-color: #C9A961;
    margin-bottom: 30px;
    border-radius: 3px;
}

.project-card {
    transition: transform 0.3s ease;
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(10, 41, 66, 0.1);
}

.project-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(201, 169, 97, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.project-image-wrapper:hover .project-overlay {
    opacity: 1;
}

.view-btn {
    padding: 12px 35px;
    background-color: #0A2942;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-btn:hover {
    background-color: #ffffff;
    color: #0A2942;
    transform: scale(1.05);
}

.project-title {
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0A2942;
}

/* ========== Project Details Section ========== */
.project-details-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.main-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 41, 66, 0.15);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

.project-description,
.project-gallery,
.info-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(10, 41, 66, 0.08);
}

.description-title,
.info-title {
    font-weight: 700;
    color: #0A2942;
    margin-bottom: 15px;
}

.description-title {
    font-size: 1.8rem;
}

.info-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.description-line {
    width: 60px;
    height: 4px;
    background-color: #C9A961;
    border-radius: 3px;
    margin-bottom: 20px;
}

.info-line {
    width: 50px;
    height: 3px;
    background-color: #C9A961;
    border-radius: 3px;
    margin-bottom: 20px;
}

.description-text {
    font-size: 1.05rem;
    color: #0A2942;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 15px;
}

.description-text:last-child {
    margin-bottom: 0;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(10, 41, 66, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.info-card {
    padding: 25px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #0A2942;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label i {
    color: #C9A961;
}

.info-value {
    color: #6c757d;
    font-weight: 500;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    padding: 10px 0;
    color: #0A2942;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-list li i {
    color: #C9A961;
    font-size: 1.1rem;
}

.cta-card {
    background: linear-gradient(135deg, #C9A961 0%, #d4b976 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
    text-align: center;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A2942;
    margin-bottom: 15px;
}

.cta-text {
    color: #0A2942;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 12px 35px;
    background-color: #0A2942;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #ffffff;
    color: #0A2942;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 41, 66, 0.3);
}

/* ========== Image Modal ========== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

.modal-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    animation: zoomIn 0.3s;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #C9A961;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: #ffffff;
}

.modal-title {
    text-align: center;
    color: white;
    font-size: 24px;
    margin-top: 20px;
    font-weight: 600;
}

/* ========== Map ========== */
.map-wrapper {
    width: 100%;
    max-width: 100%;
}

.map-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 10.7;
    border: 2px solid black;
    display: block;
    border-radius: 8px;
}

/* ========== Custom Alert ========== */
.custom-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 400px;
    max-width: 90%;
    padding: 12px 18px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 15px;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.alert-success-custom {
    background-color: #0a2942;
}

.alert-error-custom {
    background: linear-gradient(135deg, #dc3545, #b02a37);
}

.alert-close {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    padding-left: 15px;
    transition: 0.3s;
}

.alert-close:hover {
    opacity: 0.7;
}

/* ========== Animations ========== */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes slideInFromPreview {
    0% {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #c9a961;
    }
}

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

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

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes floating {

    0%,
    100% {
        transform: translatex(30px);
    }

    50% {
        transform: translatex(0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========== Responsive Design ========== */
@media (max-width: 1199px) {
    .projects-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 991px) {
    .projects-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .project-flip-card {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .projects-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .project-flip-card {
        height: 350px;
    }

    .project-info {
        padding: 15px;
    }

    .project-info h3 {
        font-size: 20px;
    }

    .project-info p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .projects-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-flip-card {
        height: 380px;
        max-width: 100%;
    }
}

/* Review Section Mobile Fix */
@media (max-width: 768px) {
    .review-carousel-wrapper {
        max-width: 400px;
        height: 420px;
    }

    .rv-review-card {
        max-width: 380px;
    }

    .rv-review-inner {
        padding: 2rem 1.5rem;
        min-height: 320px;
    }

    .rv-review-text {
        font-size: 1rem;
        padding: 0 5px;
    }
}

@media (max-width: 576px) {
    .review-carousel-wrapper {
        max-width: 100%;
        height: 440px;
        padding: 0 10px;
    }

    .rv-review-card {
        max-width: 100%;
    }

    .rv-review-inner {
        padding: 1.5rem 1.2rem;
        min-height: 340px;
    }

    .rv-review-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .rv-review-stars {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .google-logo {
        width: 30px;
        height: 30px;
    }
}

@media (min-width: 768px) {
    .review-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .review-title {
        font-size: 3rem;
    }

    .review-card.middle-card {
        transform: scale(1.05);
    }

    .review-card.middle-card:hover {
        transform: scale(1.05) translateY(-5px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        max-width: 1100px;
        padding: 15px 40px;
    }

    .nav-links {
        gap: 10px;
    }

    .image-preview-stack {
        right: 30px;
    }

    .preview-thumb {
        width: 80px;
        height: 60px;
    }

    .parallax-content h2 {
        font-size: 44px;
    }

    .parallax-content p {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .parallax-section {
        min-height: 600px;
        padding: 50px 15px;
    }

    .parallax-content h2 {
        font-size: 36px;
    }

    .parallax-content h5 {
        font-size: 18px;
    }

    .parallax-content .global-p {
        font-size: 16px;
    }

    .about-section,
    .mission-section,
    .vision-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-wrapper {
        padding: 0;
        margin-top: 30px;
    }

    .bannerTitle {
        font-size: 40px;
        padding: 120px 0px 50px 0px;
    }

    .projects-section,
    .project-details-section {
        padding: 60px 0;
    }

    .projects-section .section-title {
        font-size: 2rem;
    }

    .project-image {
        height: 250px;
    }

    .gallery-item img {
        height: 180px;
    }

    .fp-main-heading-xyz {
        font-size: 2rem;
    }

    .fp-grid-xyz {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .fp-btn-prev-xyz,
    .fp-btn-next-xyz {
        display: none;
    }

    .project-flip-card {
        flex: 0 0 calc(33.333% - 1.2rem);
        min-width: 220px;
        height: 400px;
    }

    .projects-slider-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -120%;
        top: 0;
        flex-direction: column;
        background-color: #0A2942;
        width: 100%;
        height: 100vh;
        text-align: start;
        transition: left 0.3s ease;
        padding-top: 80px;
        padding-left: 20px;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0px 0;
    }

    .nav-links a {
        font-size: 24px;
        padding: 0px 0;
        display: block;
    }


    .main-header {
        top: 10px;
        padding: 0 10px;
    }

    .header-container {
        padding: 10px 15px;
    }

    .logo {
        font-size: 20px;
    }

    .hero-section {
        height: 100vh;
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        position: absolute;
        top: 50%;
        left: 5%;
        transform: translateY(-50%);
        z-index: 2;
        text-align: left;
        color: white;
        width: 90%;
        max-width: 900px;
    }

    .hero-content h1 {
        font-size: 55px;
        font-weight: bold;
        margin-bottom: 20px;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
        color: #f4b942;
        overflow: hidden;
        white-space: nowrap;
        animation: typing 4s steps(30, end) forwards,
            blink-caret .75s step-end infinite;
    }

    .t {
        font-family: 'Montserrat', sans-serif;
        font-size: 42px;
        color: #fff;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
        font-weight: 400;

    }

    .hero-content h2 {
        font-size: 40px;
        font-weight: 600;
        margin-bottom: 10px;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
        color: #fff;
    }

    .hero-content p {
        font-size: 20px;
        font-weight: 600;
    }

    @media (max-width: 992px) {
        .hero-content h1 {
            font-size: 42px;
            color: #f4b942;
        }

        .hero-content h2 {
            font-size: 28px;
        }

        .hero-content p {
            font-size: 18px;
        }

        .t {
            font-family: 'Montserrat', sans-serif;
            font-size: 44px;
            color: #fff;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
            font-weight: 400;

        }
    }

    @media (max-width: 768px) {
        .hero-section {
            height: 100vh;
            min-height: 600px;
        }

        .t {
            font-family: 'Montserrat', sans-serif;
            font-size: 28px;
            color: #fff;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
            font-weight: 400;

        }

        .hero-content {
            top: 45%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            width: 90%;
            padding: 0 15px;
        }

        .hero-content h1 {
            font-size: 32px;
            white-space: normal;
            animation: none;
            line-height: 1.2;
            margin-bottom: 15px;
            color: #f4b942;
        }

        .hero-content h2 {
            font-size: 22px;
            margin-bottom: 8px;
        }

        .hero-content .global-p {
            font-size: 28px;
            margin-bottom: 20px;
        }

        .cta-button1 {
            padding: 12px 30px;
            font-size: 16px;
        }


        .image-preview-stack {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            right: auto;
            top: auto;
            flex-direction: row;
            gap: 10px;
            z-index: 3;
        }

        .preview-thumb {
            width: 60px;
            height: 45px;
        }

        .slider-nav {
            bottom: 20px;
        }
    }

    @media (max-width: 576px) {
        .hero-content {
            top: 35%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            width: 90%;
            padding: 0 15px;
        }

        .hero-content h1 {
            font-size: 26px;
            color: #f4b942;
        }

        .hero-content h2 {
            font-size: 18px;
        }

        .hero-content .global-p {
            font-size: 24px;
        }

        .t {
            font-family: 'Montserrat', sans-serif;
            font-size: 24px;
            color: #fff;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
            font-weight: 400;

        }

        .preview-thumb {
            width: 50px;
            height: 38px;
        }

        .image-preview-stack {
            bottom: 70px;
            gap: 8px;
        }
    }

    .slider-dot {
        display: none;
    }

    .c.cta-button1 {
        padding: 10px 20px;
    }

    .service-read-more {
        padding: 10px 20px;
    }

    .parallax-section {
        min-height: 800px;
        padding: 40px 15px;
    }

    .parallax-bg {
        background-attachment: scroll;
        background-position: center center;
    }

    .parallax-content {
        padding: 0 15px;
    }

    .parallax-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .parallax-content h5 {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .parallax-content .global-p {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .parallax-content p {
        font-size: 18px;
    }

    .parallax-button {
        padding: 15px 35px;
        font-size: 16px;
    }

    .title {
        font-size: 24px;
    }

    .projects-slider-container {
        padding: 0px;
    }

    .project-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .project-info {
        padding: 20px;
    }

    .project-info h3 {
        font-size: 22px;
    }

    .project-info p {
        font-size: 14px;
    }

    .project-flip-card {
        flex: 0 0 calc(50% - 1.2rem);
        min-width: 200px;
        height: 350px;
    }

    .projects-wrapper {
        gap: 1rem;
    }

    .fact-number,
    .fact-icon {
        font-size: 2.5rem;
    }

    .copyrighttext {
        text-align: center;
    }

    .floating-card {
        animation: floatingMobile 2500ms ease-in-out infinite;
    }

    .fp-main-heading-xyz {
        font-size: 1.75rem;
    }

    .fp-grid-xyz {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fp-img-box-xyz {
        height: 200px;
    }

    .fp-content-xyz {
        padding: 20px;
    }

    .project-image {
        height: 220px;
    }

    .project-description,
    .project-gallery {
        padding: 20px;
    }

    .gallery-item img {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .parallax-section {
        min-height: 900px;
        padding: 30px 10px;
    }

    .parallax-content h2 {
        font-size: 24px;
    }

    .parallax-content h5 {
        font-size: 14px;
    }

    .parallax-content .global-p {
        font-size: 14px;
    }

    .project-flip-card {
        flex: 0 0 calc(100% - 1rem);
        min-width: 100%;
        height: 400px;
    }

    .projects-slider-container {
        padding: 0 20px;
    }

    .projects-wrapper {
        gap: 0.5rem;
    }

    .fp-main-heading-xyz {
        font-size: 1.5rem;
    }

    .fp-slides-wrapper-xyz {
        min-height: auto;
    }
}

@media (max-width: 1200px) {
    .project-flip-card {
        flex: 0 0 calc(20% - 1.2rem);
        min-width: 250px;
    }
}

@keyframes floatingMobile {

    0%,
    100% {
        transform: translatey(10px);
    }

    50% {
        transform: translatex(0px);
    }
}


.phone-call-link {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0A2942;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.phone-call-link:hover {
    background-color: #C9A961;
    transform: scale(1.05);
    color: #0A2942;
}

/* ========== Global Styles ========== */
@media (max-width: 768px) {
    .title {
        font-size: 28px;
    }

    .title1 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 18px;
    }

    .fp-main-heading-xyz {
        font-size: 1.8rem;
    }

    .fp-sub-heading-xyz {
        font-size: 1rem;
    }

    .fp-third-heading-xyz {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .title {
        font-size: 24px;
    }

    .title1 {
        font-size: 20px;
    }

    .subtitle {
        font-size: 16px;
    }

    .fp-main-heading-xyz {
        font-size: 1.5rem;
    }

    .fp-sub-heading-xyz {
        font-size: 0.9rem;
    }

    .fp-third-heading-xyz {
        font-size: 0.85rem;
    }
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    #contact .card {
        margin-bottom: 20px;
    }

    .form-btn {
        width: 100%;
    }

    .map-wrapper iframe {
        height: 300px;
    }
}

/* Explore Button Responsive */
@media (max-width: 576px) {
    .explore-btn {
        padding: 12px 30px;
        font-size: 14px;
        display: inline-block;
        width: auto;
    }

    .container .d-flex.justify-content-md-end {
        justify-content: center !important;
        margin-top: 30px;
    }
}

/* Banner Page Responsive */
@media (max-width: 768px) {
    .banner {
        min-height: 30vh;
    }

    .bannerTitle {
        font-size: 32px;
        padding-top: 100px;
    }
}

@media (max-width: 576px) {
    .bannerTitle {
        font-size: 26px;
        padding-top: 80px;
    }
}

/* About Page Responsive */
@media (max-width: 991px) {
    .about-image {
        height: 50vh;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .about-image {
        height: 40vh;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .about-section,
    .mission-section,
    .vision-section {
        padding: 50px 0;
    }
}

/* Project Details Page Responsive */
@media (max-width: 768px) {
    .project-details-section {
        padding: 50px 0;
    }

    .main-image-wrapper {
        margin-bottom: 30px;
    }

    .project-description,
    .project-gallery,
    .info-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .description-title {
        font-size: 1.5rem;
    }

    .info-title {
        font-size: 1.2rem;
    }

    .gallery-item img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .gallery-item img {
        height: 200px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Image Modal Responsive */
@media (max-width: 768px) {
    .close-modal {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }

    .modal-image {
        max-height: 80vh;
    }

    .modal-title {
        font-size: 18px;
        margin-top: 15px;
    }
}

/* Alert Responsive */
@media (max-width: 576px) {
    .custom-alert {
        width: calc(100% - 20px);
        top: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Utility Classes for Better Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .row>* {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Fix overflow issues */
@media (max-width: 576px) {
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    img {
        height: auto;
    }
}