/* ========== 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;
}

body.scroll-locked {
    overflow: hidden;
}

.project-item h4{
    color: orange!important;
}

/* ========== Header ========== */

#contact img{
    height: 100%;
    border-radius: 15px;
}

.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: 130px;
    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;
}

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

}

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

}

/* ========== 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: orange;
    overflow: hidden;
    white-space: nowrap;
    animation: typing .25s steps(50, end) forwards, blink-caret .05s 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;
}

.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 {
    font-family: 'Montserrat', sans-serif;
    background: black;
    color: orange;
    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: orange;
    color: black;
    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: black;
    border: none;
    color: orange;
    border-radius: 10px;
    padding: 15px 40px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
    display: inline-flex;
    align-items: center;
}

.explore-btn:hover{
     background: orange;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.6);
}

.explore-btn:hover i{
    transform: translateX(5px);
}

.explore-btn i{
    transition: transform 0.3s ease;
}

@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;
        margin: 0px auto!important;
    }
}


/* ========== 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: scroll;
    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: 28px 22px;
    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: 220px;
    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: orange;
    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-number {
        font-size: 38px;
    }

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

    .achievement-text {
        font-size: 10px;
        width: 80%;
        margin: auto;
    }
}

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

    .achievement-item {
        min-width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 18px 12px!important;
    }
}

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

    .achievement-item .google-logo, .achievement-item .achievement-icon {
        margin-bottom: 0px!important;
    }

    .achievement-item .fas, .achievement-item .fa-solid{
        font-size: 15px!important;
    }

    .achievement-container {
        gap: 30px;
    }

  
    .achievement-number {
        font-size: 15px!important;
        margin-bottom: 0px!important;
    }

    .achievement-icon {
        font-size: 9px!important;
    }
}

/* 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: 145px;
        padding: 25px 5px !important
    }

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

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

/* 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 {
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.5s ease 0.1s;
}

.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: #fff;
}

.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: orange;
    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: orange !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: black;
    text-decoration: none;
}

.social {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: black;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.social:hover {
    background-color: orange;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 24px rgba(10, 41, 66, 0.35);
}

.social:hover i {
    color: #0A2942;
}

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

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

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

.bannerTitle {
    color: orange;
    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;
}

/* Mission / Vision strip above contact */
.mission-vision-strip {
    background: #ffffff;
    padding: 24px 0 8px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.mission-vision-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 10px 28px rgba(10, 41, 66, 0.12);
    border-top: 4px solid orange;
}

.mission-section-title{
    font-size: 42px;
    font-weight: 700;
    color: black;
}

.mission-vision-card h3 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    color: #0A2942;
}

.mission-vision-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

/* contact section */
.contact-section-main {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.contact-section-title {
    font-size: 42px;
    font-weight: 700;
    color: #2C5F6F;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.contact-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #2C5F6F);
    margin: 15px auto 0;
    border-radius: 2px;
}

.contact-main-wrapper {
    position: relative;
}

.contact-info-sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-right: 20px;
    height: 100%;
}

.contact-info-item {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.contact-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #FF6B6B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-item:hover::before {
    transform: scaleX(1);
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-info-icon-box {
    width: 60px;
    height: 60px;
    background-color: orange;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(44, 95, 111, 0.3);
    transition: all 0.3s ease;
}

.contact-info-icon-box i {
    color: white;
    font-size: 24px;
}

.contact-info-heading {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-info-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-form-box {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-field-group {
    margin-bottom: 20px;
}

.contact-field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-input-wrapper {
    position: relative;
}

.contact-input-field,
.contact-textarea-field {
    width: 100%;
    padding: 12px 18px 12px 45px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.contact-input-field:focus,
.contact-textarea-field:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(44, 95, 111, 0.1);
}

.contact-input-field::placeholder,
.contact-textarea-field::placeholder {
    color: #999;
}

.contact-textarea-field {
    resize: none;
    padding-top: 12px;
}

.contact-field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 16px;
    pointer-events: none;
}

.contact-submit-btn {
    width: 100%;
    padding: 14px 25px;
    background: linear-gradient(135deg, var(--primary-color), #2C5F6F);
    color: white;
    border: none;
    border-radius: 10px;
    background-color: orange;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, orange, orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px orange;
}

.contact-submit-btn i {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(5px);
}

.contact-success-msg {
    display: none;
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    animation: slideDown 0.5s ease;
}

.contact-success-msg.show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

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

.contact-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B6B, #EE5A6F);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    top: 5%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    top: 3%;
    right: 25%;
    animation-delay: 0.5s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 15%;
    right: 5%;
    animation-delay: 1s;
}

.shape-4 {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    bottom: 25%;
    right: 8%;
    animation-delay: 1.5s;
}

.shape-5 {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3498DB, #2980B9);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    bottom: 15%;
    right: 22%;
    animation-delay: 2s;
}

.shape-6 {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #E67E22, #D35400);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    bottom: 8%;
    right: 12%;
    animation-delay: 2.5s;
}

.shape-7 {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #1ABC9C, #16A085);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 35%;
    right: 3%;
    animation-delay: 3s;
}

.shape-8 {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    top: 25%;
    right: 18%;
    animation-delay: 0.8s;
}

.shape-9 {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    bottom: 35%;
    right: 28%;
    animation-delay: 1.2s;
}

.shape-10 {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #F39C12, #E67E22);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    top: 45%;
    right: 15%;
    animation-delay: 1.8s;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-15px, -15px) rotate(90deg);
    }

    50% {
        transform: translate(10px, 15px) rotate(180deg);
    }

    75% {
        transform: translate(15px, -10px) rotate(270deg);
    }
}

@media (max-width: 1400px) {
    .contact-image-wrapper {
        min-height: 550px;
    }
}

@media (max-width: 1200px) {
    .contact-image-wrapper {
        min-height: 500px;
    }
}

@media (max-width: 991px) {
    .contact-info-sidebar-left {
        flex-direction: row;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .contact-info-item {
        flex: 1;
    }

    .contact-image-wrapper {
        min-height: auto;
        margin-top: 30px;
        padding: 20px;
    }

    .contact-floating-shapes {
        display: none !important;
    }

    .aboutimg {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-section-main {
        padding: 60px 0;
    }

    .contact-section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .contact-info-sidebar-left {
        flex-direction: column;
    }

    .contact-form-box {
        padding: 25px 20px;
    }

    .contact-image-wrapper {
        min-height: auto;
    }

    .contact-floating-shapes {
        display: none !important;
    }
}

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

    .contact-image-wrapper {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .contact-form-box {
        padding: 20px 15px;
    }

    .contact-input-field,
    .contact-textarea-field {
        padding: 10px 15px 10px 40px;
        font-size: 13px;
    }
}

.aboutimg {
    margin-left: 20px;
}

.contact-error-msg {
    display: none;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    animation: slideDown 0.5s ease-out;
}

.contact-success-msg i,
.contact-error-msg i {
    font-size: 24px;
    margin-right: 10px;
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.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;
}

/* ========== Email Toast ========== */
.email-toast {
    position: fixed;
    top: 24px;
    right: 20px;
    width: min(420px, calc(100vw - 30px));
    border-radius: 14px;
    padding: 16px 18px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #fff;
    z-index: 12000;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.24);
    overflow: hidden;
    animation: toastEnter 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.email-toast-success {
    background: linear-gradient(135deg, #093b62, #1d8f5c);
}

.email-toast-error {
    background: linear-gradient(135deg, #6f1024, #d2302d);
}

.email-toast-icon i {
    font-size: 22px;
    margin-top: 2px;
}

.email-toast-body h6 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.email-toast-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.96;
}

.email-toast-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
}

.email-toast-close:hover {
    opacity: 1;
}

.email-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.35);
    transform-origin: left;
    animation: toastProgress 4.8s linear forwards;
}

.email-toast.toast-hide {
    animation: toastExit 0.35s ease forwards;
}

@keyframes toastEnter {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(0.96);
    }

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

@keyframes toastExit {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.96);
    }
}

@keyframes toastProgress {
    to {
        transform: scaleX(0);
    }
}

/* ========== 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 {
        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 2s 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: black;
    }

    .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-size: 44px;
        }
    }

    @media (max-width: 768px) {
        .t {
            font-size: 28px;
        }

        .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%;
        }

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

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

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

        .t {
            font-size: 24px;
        }

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

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

    .slider-dot {
        display: none;
    }

    .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: 445px;
        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: 130px;
    }
}

/* 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;
    }

    .footer-img {
        height: 100px;
        width: 114px;
    }

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

    .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;
    }
}








#projects {
      padding: 80px 0;
      background: #f8f9fa;
      /* âœ… Background color added */
  }

  /* âœ… Section Title Styling */
  .section-title {
      text-align: center;
      font-size: 2.5rem;
      font-weight: 800;
      color: #2C5F6F;
      margin-bottom: 50px;
      position: relative;
  }

  .section-title::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, #2C5F6F);
  }

  .masonry-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: 200px;
      gap: 20px;
      max-width: 1400px;
      margin: 0 auto;
  }

  /* First column - 3 rows tall image */
  .project-item:nth-child(1) {
      grid-column: 1;
      grid-row: 1 / 4;
  }

  /* Second row - single image */
  .project-item:nth-child(2) {
      grid-column: 2;
      grid-row: 1;
  }

  /* Third row - single image */
  .project-item:nth-child(3) {
      grid-column: 3;
      grid-row: 1;
  }

  /* Fourth column - 3 rows tall image */
  .project-item:nth-child(4) {
      grid-column: 4;
      grid-row: 1 / 4;
  }

  /* Middle row - large zoomed image (2x2) */
  .project-item:nth-child(5) {
      grid-column: 2 / 4;
      grid-row: 2 / 4;
      z-index: 10;
      transform: scale(1.05);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  }

  .project-item:nth-child(5):hover {
      transform: scale(1.08) translateY(-10px);
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  }

  /* Bottom row images */
  .project-item:nth-child(6) {
      grid-column: 1;
      grid-row: 4;
  }

  .project-item:nth-child(7) {
      grid-column: 2;
      grid-row: 4;
  }

  .project-item:nth-child(8) {
      grid-column: 3 / 5;
      grid-row: 4;
  }

  .project-item {
      position: relative;
      overflow: hidden;
      border-radius: 15px;
      cursor: pointer;
      transition: all 0.4s ease;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .project-item:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }

  .project-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.5s ease;
  }

  .project-item:hover img {
      transform: scale(1.1);
      filter: brightness(0.7);
  }

  .project-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
      opacity: 0;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 25px;
  }

  .project-item:hover .project-overlay {
      opacity: 1;
  }

  .project-info {
      transform: translateY(20px);
      transition: transform 0.3s ease 0.1s;
  }

  .project-item:hover .project-info {
      transform: translateY(0);
  }

  .project-info h4 {
      color: white;
      font-weight: 700;
      font-size: 1.4rem;
      margin-bottom: 8px;
  }

  .project-info p {
      color: white;
      font-size: 1rem;
      font-weight: 700;
      margin: 0;
  }

  .zoom-icon {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 50px;
      height: 50px;
      background: var(--primary-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.3rem;
      opacity: 0;
      transform: scale(0.5);
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
  }

  .project-item:hover .zoom-icon {
      opacity: 1;
      transform: scale(1);
  }



  @media (min-width: 992px) {}

  /* âœ… Responsive - Tablet and below - All same size */
@media (max-width: 991px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
        gap: 15px;
    }

      /* âœ… All items same size */
      .project-item:nth-child(n) {
          grid-column: span 1 !important;
          grid-row: span 1 !important;
          transform: scale(1) !important;
      }
  }

  /* âœ… Mobile - 2 columns, all same size */
  @media (max-width: 768px) {
      .masonry-grid {
          grid-template-columns: repeat(2, 1fr);
          grid-auto-rows: 200px;
          gap: 12px;
      }

      .project-item:nth-child(n) {
          grid-column: span 1 !important;
          grid-row: span 1 !important;
          transform: scale(1) !important;
      }

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

  /* âœ… Small Mobile - 1 column, all same size */
  @media (max-width: 480px) {
      .masonry-grid {
          grid-template-columns: 1fr;
          grid-auto-rows: 220px;
          gap: 10px;
      }

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