﻿:root {
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    font-family: var(--font-body); /* ✅ System fonts INSTANT */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: #3a2f3c;
    padding-top: 90px; /* Navbar height */
}

h1, h2, h3, h4, h5, h6, .heading-font {
    font-family: var(--font-heading);
    font-weight: 600;
}


.hero h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.card h3 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

/* Logo LARGER, navbar SAME 100px height */
#logo {
    height: 100px !important; /* ↑ Bigger than 90px, fits 100px navbar */
    width: auto !important;
    object-fit: contain;
}

#mynavbar {
    background: #ffffff;
    height: 100px; /* ← SAME AS ORIGINAL */
    padding: 0 16px; /* ← SAME AS ORIGINAL */
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    z-index: 10000;

}

/* Perfect centering */
.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* ← NO EXTRA PADDING */
    height: 100%;
}

#mynavbar .navbar-brand #logo {
    height: 100px !important; /* ← Fits perfectly */
}

/* Mobile (slightly bigger logo) */
@media (max-width: 768px) {
    #logo {
        height: 50px !important; /* ↑ From 40px */
    }

    #mynavbar {
        height: auto !important;
        min-height: 70px; /* ← SAME AS BEFORE */
        padding: 6px 10px !important;
    }

    body {
        padding-top: 70px;
    }
}


    body {
        padding-top: 70px; /* Matches min-height */
    }
}


/* ===== PREMIUM NAV LINKS ===== */
.navbar-nav {
    align-items: center;
}

    .navbar-nav .nav-link {
        font-size: 16px;
        font-weight: 600 !important; /* ↑ Bolder */
        color: #1a1a1a !important; /* 🔥 DEEP BLACK */
        padding: 0 14px;
        letter-spacing: 0.5px; /* ↑ Premium spacing */
        text-transform: uppercase; /* ↑ Luxury uppercase */
        transition: all 0.3s ease; /* ↑ Smooth transitions */
    }

        .navbar-nav .nav-link:hover {
            color: #202942 !important; /* 🔥 YOUR DARK COLOR */
            text-shadow: 0 1px 3px rgba(32,41,66,0.3); /* Matches #202942 */
        }

    .navbar-nav .nav-item {
        margin: 0 14px;
    }

/* Premium hamburger icon */
.navbar-toggler {
    border: none;
    outline: none;
    padding: 4px 6px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ===== MOBILE PREMIUM ===== */
@media (max-width: 768px) {
    .navbar-expand-md .navbar-collapse {
        flex-basis: 100%;
    }

    .navbar-nav {
        width: 100%;
    }

    #mynavbar .navbar-brand #logo {
        height: 64px !important;
        width: auto !important;
    }

    .consult-btn {
        display: none !important;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        padding: 16px 24px; /* ↑ Bigger touch targets */
        letter-spacing: 0.8px; /* ↑ Premium mobile */
        text-transform: uppercase;
    }

    #navlinks {
        background: #fff;
        box-shadow: 0 8px 32px rgba(0,0,0,0.12); /* ↑ Deeper shadow */
        border-top: 1px solid rgba(0,0,0,0.08);
    }

    body {
        padding-top: 60px;
    }

    #mynavbar {
        height: auto !important;
        min-height: 56px;
        padding: 6px 10px !important;
    }

    #navlinks .navbar-nav {
        align-items: flex-start;
        padding: 12px 0;
    }

    #navlinks .nav-link {
        padding: 16px 24px;
    }
}

.navbar {
    display: flex;
    align-items: center;
}

/* ===== PREMIUM DROPDOWN ===== */
.simple-dropdown {
    min-width: 280px; /* ↑ Wider */
    padding: 20px 0;
    border: none;
    border-radius: 12px; /* ↑ Softer corners */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* ↑ Luxury shadow */
    background: #ffffff;
    top: 100%;
    margin-top: 8px;
}

    .simple-dropdown .dropdown-item {
        font-size: 15px;
        font-weight: 600 !important; /* ↑ Bolder */
        color: #1a1a1a !important; /* 🔥 DEEP BLACK */
        padding: 14px 32px; /* ↑ More breathing room */
        letter-spacing: 0.3px;
        transition: all 0.3s ease;
        text-transform: uppercase;
    }

        .simple-dropdown .dropdown-item:hover {
            color: #202942 !important; /* 🔥 DARK HOVER */
            padding-left: 40px;
            background: linear-gradient(90deg, transparent, rgba(32,41,66,0.1)); /* Matches #202942 */
            box-shadow: inset 4px 0 0 #202942; /* Dark accent line */
        }

/* Dropdown container */
.nav-item.dropdown {
    position: relative;
}

    .nav-item.dropdown::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -18px;
        height: 18px;
    }

/* Custom dropdown arrow */
.dropdown-toggle::after {
    border: none !important;
    content: "▾";
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
    color: #1a1a1a;
    transition: transform 0.3s ease;
}

.dropdown-toggle:hover::after {
    color: #202942 !important; /* Dark arrow */
    transform: scale(1.1);
}

/* Hover dropdown */
@media (min-width: 769px) {
    .navbar .dropdown:hover .simple-dropdown {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Global consult button */
.consult-btn {
    background-color: #202942;
    border-color: #202942;
    color: #ffffff;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    letter-spacing: 0.4px;
    white-space: nowrap;
    max-width: 100%;
    transition: all 0.25s ease;
}

    .consult-btn:hover,
    .consult-btn:focus {
        background-color: #202942;
        border-color: #202942;
        color: #ffffff;
    }

@media (max-width: 576px) {
    .consult-btn {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 22px;
    }
}

/*global button ending*/


/* video */
.shad{
  text-shadow: 1px 1px 10px rgb(56, 55, 55);
}

.video-container{
  position: relative;
}

video{
  height: auto;
  vertical-align: middle;
  width: 100%;
}

.overlay-desc{

  color: white;
  font-weight: 700;
  margin-top: 70px;
  margin-left: 170px;
  margin-right: 170px;

  background: rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;right: 0;bottom: 0;left: 0;
}
@media (max-width: 768px) {
    .overlay-desc {
        margin: 20px;
    }
}


.mybtn {
    border-radius: 24px;
    color: white;
    padding: 10px 53px;
    font-size: 20px;
    font-weight: 400;
    background-color: #202942;
}

/*4 card block - section3 */
/* HERO SECTION */
.hero {
    text-align: center;
    padding: 60px 20px 30px;
    background: #faf8fb;
    
}

    .hero h1 {
        font-size: 40px;
        margin-bottom: 15px;
        font-weight: 700;
        text-align: center;
        
    }

    .hero p {
        max-width: 700px;
        margin: 0 auto;
        color: #6e6475;
        font-size: 18px;
        line-height: 1.6;
        text-align: center;
    }

/* CARDS LAYOUT */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    padding: 40px 20px 80px;
    background: #faf8fb;
}

/* CARD */
.card {
    background: #faf8fb;
    width: 300px;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    padding-bottom: 40px;
    height: 350px;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 55px rgba(0,0,0,0.18);
    }

    .card img {
        width: 100%;
        height: 210px;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    /* CARD CONTENT */
    .card h3 {
        font-size: 20px;
        margin: 16px 16px 6px;
        font-weight: 600;
    }

    .card p {
        font-size: 15px;
        color: #756e79;
        margin: 0 16px 48px;
        line-height: 1.5;
    }
.card-link,
.card-link:visited,
.card-link:hover,
.card-link:active,
.card-link:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
}



/* arrow */
.card-arrow {
    width: 10px;
    height: 10px;
    border-right: 2.4px solid #4a3f4f; /* darker */
    border-bottom: 2.4px solid #4a3f4f;
    left: 50%;
    bottom: 18px;
    position: absolute;
    transform: translateX(-50%) rotate(-45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover .card-arrow {
    transform: translateX(-46%) rotate(-45deg);
    border-color: #2f2534; /* even darker on hover */
}

.card:hover img {
    transform: scale(1.05);
}
    /* FADE-UP ANIMATION */
    .fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .card {
        width: 90%;
        max-width: 350px;
    }
}
/*4 card block ending*/


/*Our Portfolio*/
.portfolio {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

    .portfolio-header h2 {
        margin: 0;
        font-size: 28px;
    }

    .portfolio-header p {
        margin: 6px 0 0;
        color: #666;
    }

.cta {
    background: #e85b5b;
    color: #fff;
    border: none;
    padding: 14px 22px;
    border-radius: 28px;
    font-weight: 600;
    cursor: pointer;
}

.portfolio-cards {
    display: flex;
    gap: 24px;
    overflow-x: auto;
}

.portfolio-card {
    min-width: 340px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    background: #000;
}

    .portfolio-card img {
        width: 100%;
        height: 460px;
        object-fit: cover;
    }

.portfolio-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/*Our Portfolio ending*/

    /*client testimonial*/
/* videocard */

.videocard-container {
    padding-top: 110px;
}

.videocard-container {
    padding-top: 110px;
}

    .videocard-container a {
        font-size: 20px;
        color: #202942;
    }

.video-card {
    position: relative;
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body {
    text-align: center;
    font-style: italic;
}

.name-card {
    font-weight: 600;
}

.grey {
    font-style: normal;
    color: #888888;
}

.card-body {
    padding-left: 30px;
    padding-right: 30px;
}

.cards {
    border-radius: 5px;
    transition: all 0.5s ease;
}

    .cards:hover {
        box-shadow: 1px 0.5px 10px #d9d6d8;
    }

.card-img {
    overflow: hidden;
}

.cards img {
    transition: transform 0.5s ease;
}

    .cards img:hover {
        transform: scale(1.1);
    }










/* modal */

.modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}



.modal-body {
    position: relative;
    padding: 0px;
}

.close {
    position: absolute;
    right: -30px;
    top: 0;
    z-index: 999;
    font-size: 2rem;
    font-weight: normal;
    color: #fff;
    opacity: 1;
}










/* below video card */

.b-vc img {
    border-radius: 5px;
    width: 100%;
}

.b-vc a img {
    width: 13px;
    padding-left: 3px;
}

                            /* CARD SECTION */
.greyish-bg{
  padding-bottom: 70px;
  background-color: #f5f4f5;
}




.one-stop{
  padding-top: 50px;
  padding-bottom: 50px;
}

.ileft{
  border-radius: 8px;
  width: 50%;
  box-shadow: 1px 1px 10px #adadad;
  margin-right: 15px;


}
.iright{

    border-radius: 8px;
  width: 50%;
  margin-left: 15px;
    box-shadow: 1px 1px 10px #adadad;

}
@media (max-width: 768px) {
    .ileft,
    .iright {
        width: 100%;
        margin: 0 0 20px 0;
    }
}

h4{
  margin-left: 30px;
}

.icard{
  border-radius: 0 0 4px 4px;

  background-color: white;
}

.descrip{
  padding-left: 30px;
  padding-right: 50px;
  font-size: 17px;
  color: #7a6e77;
}



h4{
  font-weight: 500;
}




/* carousel */

.co-button{
  box-shadow: 1px 1px 10px #888888;
  border: 0;
  background-color: white;
  height: 50px;
  width: 50px;
  border-radius: 100%;
}

.white-bg{
background-color: white;
padding-top: 120px;
padding-bottom: 120px;

}

.arrow{
  height: 20px;
  width: 12px;
}

.carousel-indicators{
  margin-bottom: 2px;
  color: black;
}

.carousel-caption{
  padding-left: 20px;

  background-color: white;
  border-radius: 5px;
  color: black;
  opacity: 80%;
}

.carousel-caption p {
  font-size: 15px;
}


.carousel-caption h5 {
  font-weight: 600;
}




/* TABLE SECTION */
.table-wrapper {
    padding-top: 100px;
    padding-left: 70px;
    padding-right: 70px;
}

/* SCROLL CONTAINER */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* TABLE */
table {
    border: none;
    font-size: 20px;
    min-width: 900px; /* IMPORTANT */
    background: transparent;
}

td {
    line-height: 28px;
    text-align: left;
    border: none;
    vertical-align: middle;
}

/* COLUMN STYLES */
table td:nth-child(1) {
    padding: 30px;
    font-weight: 600;
}

table td:nth-child(2) {
    background: #fff;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(65,48,62,.12);
}

table td:nth-child(3),
table td:nth-child(2),
table td:nth-child(1) {
    border-bottom: 2px dashed #b8b8b8;
}

/* HEADER CELL */
#head {
    background-color: #202942;
    color: #fff;
    font-size: 25px;
    padding: 30px;
    border-radius: 8px 8px 0 0;
}

/* BUTTON */
#table-button {
    font-size: 18px;
}

/* ✅ MOBILE FIX */
@media (max-width: 768px) {

    .table-wrapper {
        padding: 20px;
    }

    table {
        font-size: 14px;
    }

    td {
        line-height: 22px;
    }

    h1 {
        font-size: 28px;
    }
}


/* 4 cards */

.card4{
  display: flex;
  justify-content: space-around;
  font-size: 20px;
  
}

.squares img{
  width: 100px;
  height: 100px;
}

.squares{
  border-radius: 10px;
  background-color: #f5f4f5;
  width: 22%;
  padding:0px 12px ;
  text-align: center;   
}
@media (max-width: 768px) {
    .card4 {
        flex-direction: column;
        gap: 20px;
    }

    .squares {
        width: 100%;
    }
}


/* videocard */

.videocard-container{
  
  padding-top: 110px;
}

.videocard-container{
  
  padding-top: 110px;
}

    .videocard-container a {
        font-size: 20px;
        color: #202942;
    }

.video-card{
  position: relative;
  padding-top:50px ;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-body{
  text-align: center;
  font-style: italic;
}

.name-card{
  font-weight: 600;
}

.grey{
  font-style: normal;
  color: #888888;
}

.card-body{
  padding-left: 30px;
  padding-right: 30px;
}

.cards{
  border-radius: 5px;
  transition: all 0.5s ease;
}

.cards:hover{
  box-shadow: 1px 0.5px 10px #d9d6d8;
}

.card-img{
  overflow: hidden;
}

.cards img{
  transition: transform 0.5s ease;
}

.cards img:hover{
 transform:scale(1.1) ;
}










/* modal */

.modal-dialog {
  max-width: 800px;
  margin: 30px auto;
}



.modal-body {
position:relative;
padding:0px;
}
.close {
position:absolute;
right:-30px;
top:0;
z-index:999;
font-size:2rem;
font-weight: normal;
color:#fff;
opacity:1;
}










/* below video card */

.b-vc img{
  border-radius: 5px;
  width: 100%;
}

.b-vc a img{
  
  width: 13px;
  padding-left:3px ;
}




/* mytabs */

.my-tabs h1{
  font-size: 45px;
  margin-bottom: 0;
  font-weight: 600;
}



.my-tabs {

  padding-top: 70px;
 
}


.my-tabs p{
  font-size: 20px;
  margin-bottom: 0;
}


.tab-container{
  width: 100%;
}

.tab-container .button-container{
  border-bottom: 2px solid #b9b9b9;;
  height: 40%;
  box-sizing: border-box;
}

.tab-container .button-container button{
  text-align: left;
  height: 100%;
  border: none;
  outline: none;
  cursor: pointer;
  padding-top: 12px;
  padding-left: 0;
  padding-right: 15px;
  padding-bottom: 18px;
  font-size: 18px;
  color: #7a6e77;;
  background-color:#f5f4f5; 
  transition: all 0.3s  ease;
  box-sizing: border-box;
}

    .tab-container .button-container button:hover {
        color: #202942;
    }


    .tab-container .tab-panel a {
        color: #202942;
    }
.tab-container  .tab-panel{
display: none;
  
}


.tab-container  .tab-panel .video-card .card-body{
  background-color: #f5f4f5;
  text-align: left;
  padding-left: 0;
  margin-left: 0;
  
}

.tab-container  .tab-panel .video-card .cards{
  border: none;
  
  
}

.tab-container  .tab-panel .video-card {
 padding-top: 20px;
  
  
}

.tab-container  .tab-panel .video-card .cards:hover{
  box-shadow: none;

  
}






/* design fix */

.design-fix h1{
  font-size: 45px;
  margin-bottom: 0;
}


.design-fix p{
  font-size: 20px;
  margin-bottom: 0;
}

.design-fix a {
    color: #202942;
}


.design-fix .card-text{
  font-weight: 600;
}

.design-fix .card{
  border: none;
}
.design-fix .card img{
  border-radius: 5px;
}


/* news */

.news{
  font-size: 50px;
  padding-top: 50px;
  padding-bottom: 20px;
}

.reviews{
  margin: 0;
  padding:0;
  display: flex;
  justify-content: space-between;
  flex-shrink: 1;

}

.reviews .square{
  height: 190px;
  border:1px solid #eceaeb;
  border-radius: 4px;
  padding:20px;
  background-color: white;
  text-align: left;
  margin-left: 1rem;
  margin-right: 1rem;

  max-width: 350px;
}

.reviews .square img{
  
 width: 200px;
}

.reviews .square p{
  margin-top: 8px;
  line-height: 24px;
  text-align: center;
  font-size: 16px;
}

/* footer */

/* =======================
   PREMIUM FOOTER
======================= */

.premium-footer {
    background: #202942;
    color: #cfcfcf;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 70px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

/* Brand */
.footer-brand img {
    width: 180px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
    opacity: 0.8;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

    .footer-social a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.05);
        transition: all 0.3s ease;
    }

    .footer-social svg {
        width: 20px;
        height: 20px;
        fill: white;
    }

    /* Instagram hover */
    .footer-social a:first-child:hover {
        background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af);
        transform: translateY(-4px);
    }

    /* YouTube hover */
    .footer-social a:last-child:hover {
        background: #ff0000;
        transform: translateY(-4px);
    }

/* Links */
.footer-links h6 {
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: #cfcfcf;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: #fff;
    }

/* Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
    padding: 20px;
    opacity: 0.7;
}

/* =======================
   RESPONSIVE
======================= */

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: auto;
    }

    .footer-social {
        justify-content: center;
    }
}
/*Footer ending*/


/* Default logo size for desktop */
#logo {
    height: 140px;
    width: 180px;
}

/* Keep the brand aligned */
.navbar-brand {
    padding-top: 15px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    #logo {
        height: 50px;
    }
}

/* Small screens (phones) */
@media (max-width: 768px) {
    #logo {
        height: 40px;
    }
}

/* Very small phones */
@media (max-width: 480px) {
    #logo {
        height: 32px;
    }
}


/* WHY CHOOSE US SLIDER */
.pp-brand-section {
    padding: 40px 0;
    text-align: center;
}

    .pp-brand-section h3 {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 60px;
    }

/* Slider container */
.why-choose-us-slider {
    margin-top: 10px;
    overflow: hidden;
    width: 100%;
}

/* Track that moves */
.slider-track {
    display: flex;
    animation: scroll 20s linear infinite;
    will-change: transform;
}

/* Pause animation when mouse is over the container */
.why-choose-us-slider:hover .slider-track {
    animation-play-state: paused;
}



/* Each brand card */
.brand-card {
    flex: 0 0 auto; /* fixed width */
    width: 130px;
    text-align: center;
    margin-right: 150px;
}

    .brand-card img {
        width: 90px;
        height: 90px;
        object-fit: contain;
        display: block;
        margin: 0 auto 10px;
    }

    .brand-card p {
        font-size: 18px;
        font-weight: 600;
    }

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
    /* half of duplicated slides width */
}

/* Responsive adjustments */
@media (max-width: 575px) {
    .brand-card {
        width: 80px;
        margin-right: 20px;
    }

        .brand-card img {
            width: 70px;
            height: 70px;
        }

        .brand-card p {
            font-size: 14px;
        }

    .pp-brand-section h3 {
        font-size: 22px;
    }
}
/*Why choose us ending*/


/*---------Intro page slider-------------------------------*/
/* HERO SLIDER */
.hero-slider-container {
    width: 100%;
    height: 90vh; /* Full screen height */
    position: relative;
    overflow: hidden;
}

/* Swiper container */
.heroSwiper {
    width: 100%;
    height: 100%;
}

    /* Each slide */
    .heroSwiper .swiper-slide {
        width: 100%;
        height: 100%;
        position: relative;
    }

/* Slide images — prevents cutting */
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* NO cutting */
    object-position: center;
}

/* Dark overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

/* Content */
.slide-content {
    position: absolute;
    bottom: 18%;
    left: 6%;
    color: #fff;
    z-index: 3;
}

    .slide-content h2 {
        font-size: 48px;
        font-weight: 800;
    }

    .slide-content p {
        font-size: 20px;
        margin-top: 10px;
    }

/* Modern arrows */
.custom-arrow {
    color: #fff !important;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: 0.3s ease;
}

    .custom-arrow:hover {
        background: rgba(255,255,255,0.35);
    }

/* Dots */
.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

/* Responsive */
@media(max-width: 768px) {
    .hero-slider-container {
        height: 60vh;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 14px;
    }
}

/*Trail homepage*/
/* GLOBAL BUTTON 
.btn-primary {
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-primary:hover {
        background: #333;
    }
    */

/* CONSULT BUTTON – PREMIUM INTERACTION */
.consult-btn {
    background-color: #202942;
    border: none;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    transition: all 0.25s ease;
}

    /* Hover */
    .consult-btn:hover {
        background-color: #1C2439;
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
    }

    /* Remove ugly focus / click outline */
    .consult-btn:focus,
    .consult-btn:active,
    .consult-btn:focus-visible {
        outline: none !important;
        box-shadow: none !important;
    }

/* Prevent pink/blue mobile tap highlight */
.consult-btn {
    -webkit-tap-highlight-color: transparent;
}


/* ========================= */
/* WHY US SECTION */
/* ========================= */
.whyus-section {
    padding: 80px 50px;
    text-align: center;
}

    .whyus-section h2 {
        font-size: 32px;
        margin-bottom: 15px;
        font-weight: 700;
    }

.section-subtext {
    font-size: 18px;
    max-width: 820px;
    margin: 0 auto 50px auto;
    color: #555;
    line-height: 1.7;
}

/* GRID */
.whyus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.whyus-card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: 0.3s;
}

    .whyus-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .whyus-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .whyus-card p {
        font-size: 16px;
        color: #555;
    }

/* ========================= */
/* PORTFOLIO GRID */
/* ========================= */
.portfolio-section {
    padding: 80px 50px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: 0.3s;
    background: #fff;
}

    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .project-card img {
        width: 100%;
        height: 230px;
        object-fit: cover; /* still keeps clean card look */
        object-position: center;
        transform: scale(0.85); /* ? zoom OUT */
        transition: 0.3s ease;
    }


.project-content {
    padding: 20px;
    text-align: left;
}

    .project-content h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .project-content p {
        color: #555;
        font-size: 15px;
    }

/* Center Button */
.portfolio-btn-wrap {
    text-align: center;
    margin-top: 40px;
}

/* ========================= */
/* CTA SECTION */
/* ========================= */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: #f4f4f4;
}

    .cta-section h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

/* ========================= */
/* RESPONSIVE */
/* ========================= */
@media (max-width: 1024px) {
    .whyus-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .whyus-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .whyus-section,
    .portfolio-section {
        padding: 60px 20px;
    }
}



/*Portfolio Starting*/
/* SECTION BACKGROUND + CONTAINER */
.hl-section {
    padding: 80px 20px 90px;
    background: #f5f5f7;
}

.hl-header {
    text-align: center;
    margin-bottom: 40px;
}

    .hl-header h2 {
        font-size: clamp(28px, 4vw, 42px);
        margin-bottom: 12px;
        font-weight: 700;
        letter-spacing: -0.5px;
        color: #2c2430;
    }

    .hl-header p {
        max-width: 680px;
        margin: 0 auto;
        color: #6e6475;
        font-size: 17px;
        line-height: 1.65;
    }

/* 🔥 PREMIUM CARDS */
.hl-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

    .hl-card img {
        width: 100%;
        height: 430px;
        object-fit: cover;
        object-position: center;
        transition: transform 0.6s ease;
    }

    .hl-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 40px 100px rgba(0,0,0,0.25);
    }

        .hl-card:hover img {
            transform: scale(1.08);
        }

/* Clean caption - NO BLUR */
/* Caption DIRECTLY on image - NO background */
.hl-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 12px 20px;
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8); /* Shadow for readability */
    border-radius: 20px;
}
}

/* 🔥 RESPONSIVE SWIPER */
.hl-swiper {
    overflow: visible;
    padding-bottom: 40px;
}

/* 🔥 DESKTOP: 3 WIDER/TALLER cards */
@media (min-width: 992px) {
    .hl-swiper .swiper-slide {
        width: 33.33% !important; /* Full width for 3 cards */
    }

    .hl-card img {
        height: 500px; /* TALLER */
    }
}

/* 🔥 MOBILE: 1 WIDER/TALLER card */
@media (max-width: 991px) {
    .hl-swiper .swiper-slide {
        width: 95% !important; /* FULL WIDTH */
    }

    .hl-card img {
        height: 450px; /* TALLER */
    }
}

/*
@media (max-width: 767px) {
    .hl-swiper .swiper-slide {
        width: 85% !important;
    }

    .hl-card img {
        height: 380px;
    }
}*/

/* 🔥 PREMIUM ARROWS */
.hl-arrow {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2) !important;
    color: #202942 !important;
    z-index: 10 !important;
    margin-top: -25px !important;
}

    .hl-arrow::after {
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    .hl-arrow:hover {
        background: #202942 !important;
        color: #ffffff !important;
        box-shadow: 0 16px 40px rgba(32,41,66,0.4) !important;
        transform: scale(1.1) !important;
    }

/* 🔥 FIXED POPUP MODAL */
.img-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
}

    .img-popup.show {
        display: flex !important;
    }

.img-popup-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.img-popup-content {
    position: relative;
    z-index: 3;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .img-popup-content img {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 24px;
        box-shadow: 0 40px 120px rgba(0,0,0,0.6);
        object-fit: contain;
    }

/* 🔥 WORKING CLOSE X */
.img-popup-close {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    border: 3px solid rgba(255,255,255,0.95) !important;
    background: rgba(255,255,255,0.98) !important;
    color: #202942 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4) !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

    .img-popup-close:hover {
        background: #ffffff !important;
        transform: scale(1.1) rotate(90deg) !important;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
    }


/* portfolio ending */



/*trail one-stop shop ending*/
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/*FAQ Section*/
/* Full background */
.faq-section {
    background: #f5f4f5;
    padding: 60px 0;
}

/* Container widened */
.faq-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.faq-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 35px;
}

/* Thin FAQ bar */
.faq-item {
    background: #fff;
    margin-bottom: 14px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Question row */
.faq-question {
    width: 100%;
    padding: 10px 22px; /* thinner bar */
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
}

    /* Hover like screenshot */
    .faq-question:hover {
        background: #fafafa;
    }

/* Chevron arrow */
.chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 10px;
}

/* Rotate when active */
.faq-question.active .chevron {
    transform: rotate(-135deg);
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 22px;
}

    .faq-answer p {
        padding: 12px 0;
        margin: 0;
        font-size: 15px;
        color: #555;
        line-height: 1.6;
    }

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-title {
        font-size: 28px;
        text-align: center;
    }

    .faq-question {
        font-size: 15px;
        padding: 12px 16px;
    }

    .faq-container {
        padding: 0 14px;
    }
}


/*FAQ Section*/


/*Customer Reviews*/
/* SECTION */
/* ===============================
   REVIEW / VIDEO CARD SECTION
================================ */

.videocard-container {
    padding: 80px 0;
}

.review-carousel {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 80px;
    width: 100%;
    overflow: hidden; /* HIDE EXTRA CARDS */
}

.carousel-track {
    display: flex;
    gap: 30px;
    height: 420px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    width: max-content; /* ALL 6 CARDS */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #202942;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

    .carousel-arrow:hover {
        background: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }

    .carousel-arrow.prev {
        left: 0;
    }

    .carousel-arrow.next {
        right: 0;
    }

.cards {
    flex: 0 0 400px; /* WIDER = ONLY 3 FIT */
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    height: 100%;
    max-width: 400px; /* PERFECTLY WIDE */
}
    .cards:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(0,0,0,0.18);
    }

.card-img {
    height: 220px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cards:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 24px 20px;
}

    .card-body > div:first-child {
        font-size: 15px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 12px;
    }

.name-card {
    font-weight: 600;
    font-size: 16px;
    color: #202942;
}

.grey {
    font-size: 13px;
    color: #777;
    font-weight: 400;
}

@media (max-width: 768px) {

    .review-carousel {
        padding: 0 20px;
    }

    .cards {
        width: 320px !important;
        max-width: 320px;
        flex: 0 0 320px;
    }

    .card-img {
        height: 220px;
    }

    .card-img-top {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/*Youtube Video*/
/* SIMPLE LUXURY LAYOUT */
.luxury-video-section {
    background: #0a0a15;
    min-height: 100vh;
}

/* SIMPLE TITLE WITH PADDING */
.title-section {
    padding: 80px 20px 40px;
    text-align: center;
}

.luxury-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.1;
}

/* 90VH CLEAN VIDEO */
.video-section {
    width: 100%;
    padding: 0 20px 60px;
}

.video-player {
    width: 100%;
    height: 90vh;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 80px 160px rgba(0, 0, 0, 0.7);
    background: transparent;
}

    .video-player iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
        border-radius: 30px;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .title-section {
        padding: 60px 16px 30px;
    }

    .luxury-title {
        font-size: clamp(40px, 8vw, 60px);
    }

    .video-section {
        padding: 0 16px 40px;
    }

    .video-player {
        height: 85vh;
        border-radius: 24px;
    }
}

@media (max-width: 480px) {
    .video-player {
        height: 80vh;
        border-radius: 20px;
    }
}

/*Youtube video ending*/


/*Design Inspiration*/
/* ===== RESPONSIVE TABS (WORKS WITH YOUR EXISTING JS) ===== */
.greyish-bg {
    background: #f8f9fa;
    padding: 60px 0;
}

.my-tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

    .my-tabs h1 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 12px;
        text-align: center;
        color: #1a1a1a;
    }

    .my-tabs p {
        font-size: 16px;
        color: #666;
        text-align: center;
        margin-bottom: 40px;
    }

/* Tab Buttons - MATCHES YOUR JS borderBottom styling */
.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    padding-bottom: 8px; /* space for border-bottom */
}

    .button-container button {
        background: transparent;
        border: none;
        border-bottom: 3px solid transparent;
        color: #666;
        padding: 14px 28px;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        position: relative;
    }

        .button-container button:hover {
            color: #202942;
            border-bottom-color: #202942;
        }

        /* Your JS adds these styles directly */
        .button-container button[style*="202942"] {
            color: #202942 !important;
            border-bottom: 4px solid #202942 !important;
        }

/* Tab Panels */
.tab-panel {
    display: none;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Panel Header */
.tab-panel > .d-flex {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.tab-panel h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
}

.c-color {
    color: #202942 !important;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

    .c-color:hover {
        color: #dc3545 !important;
    }

/* Cards Container */
.video-card {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Cards */
.cards {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 1 22rem;
    max-width: 22rem;
}

    .cards:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    }

.card-img {
    overflow: hidden;
    height: 220px;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cards:hover .card-img-top {
    transform: scale(1.08);
}

.card-body {
    padding: 24px;
    background: white;
}

.name-card {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
    .my-tabs h1 {
        font-size: 28px;
    }

    .tab-panel h3 {
        font-size: 22px;
    }

    .video-card {
        gap: 20px;
    }

    .cards {
        flex: 1 1 300px;
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    .greyish-bg {
        padding: 48px 0;
    }

    .my-tabs {
        padding: 0 16px;
    }

        .my-tabs h1 {
            font-size: 24px;
        }

        .my-tabs p {
            font-size: 15px;
        }

    .button-container {
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 12px;
    }

        .button-container button {
            padding: 12px 20px;
            font-size: 14px;
            min-width: 160px;
            flex-shrink: 0;
        }

    .tab-panel > .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
        text-align: left;
    }

    .tab-panel h3 {
        font-size: 20px;
    }

    .video-card {
        flex-direction: column;
        gap: 20px;
    }

    .cards {
        max-width: none !important;
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .button-container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

        .button-container button {
            margin: 0;
            text-align: center;
            padding: 14px;
            min-width: auto;
        }

    .card-img {
        height: 200px;
    }

    .cards {
        margin: 0;
    }

    .tab-panel > .d-flex {
        gap: 12px;
    }
}

/*Design Inspiration ending*/
.video-card {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.cards {
    flex: 0 1 22rem;
    max-width: 22rem;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cards {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

/*Inspiration design/portfolio */
/* wrapper section */
.portfolio-collage {
    max-width: 1000px;
    margin: 48px auto;
    padding: 0 16px;
}

/* heading + button row */
.portfolio-collage__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}

    .portfolio-collage__header h2 {
        margin: 0 0 6px;
        font-size: 30px;
        color: #111827;
    }

    .portfolio-collage__header p {
        margin: 0;
        font-size: 14px;
        color: #6b7280;
        max-width: 420px;
    }

.portfolio-collage__view-all {
    padding: 8px 18px;
    border-radius: 999px;
    border: none;
    background: #202942;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none; /* no underline */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    cursor: pointer;
}

    /* very soft hover – no link-style change */
    .portfolio-collage__view-all:hover {
        background: #1b2336; /* tiny shade change */
        text-decoration: none; /* make sure underline never appears */
    }


/* small tweak for mobile header */
@media (max-width: 768px) {
    .portfolio-collage__header {
        flex-direction: column;
        align-items: flex-start;
    }
}


.collage-row {
    display: grid;
    gap: 0.2rem;
    max-width: 1000px;
    margin: auto;
    grid-auto-rows: 300px;
}
    /* space between row1 and row2 */
    .collage-row + .collage-row {
        margin-top: 0.2rem; /* increase to 2rem if you want more gap */
    }

.row1 {
    grid-template-columns: 1fr 0.4fr 0.4fr; /* wide left, narrow right */
}

.row2 {
    grid-template-columns: 0.4fr 1fr 0.4fr; /* narrow, wide center, narrow */
}

/* General item styles */
.item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

    .item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .item:hover img {
        transform: scale(1.05);
    }

    .item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,transparent 60%,rgba(0,0,0,.4));
    }

    /*caption on images*/
.item-label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78); /* soft dark pill */
    color: #f9fafb;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(4px); /* subtle glass effect (where supported) */
}


/* Responsive */
@media (max-width: 768px) {
    .collage-row {
        grid-auto-rows: 160px; /* Consistent height */
        gap: 0.75rem;
    }

    /* Force all items to span properly */
    .item,
    .item.wide,
    .item.narrow {
        grid-column: span 1; /* Single column per item */
        grid-row: span 1;
    }

    /* Stack rows with breathing room */
    .collage-row + .collage-row {
        margin-top: 1rem;
    }

    /* Smaller labels and padding */
    .item-label {
        font-size: 10px;
        left: 8px;
        bottom: 8px;
        padding: 4px 8px;
    }

    .portfolio-collage {
        padding: 0 12px; /* Tighter mobile padding */
    }
}




/*Inspiration design/portfolio ending*/

