/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
/* මෙය CSS එකේ ඉහළින්ම දාන්න */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip; /* hidden වෙනුවට clip පාවිච්චි කරන්න */
}
html {
    scroll-behavior: smooth;
}

/* Section එකක් පෙනෙන්න ගන්නකොට එන animation එකක් */
.section-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

body { background-color: #fff; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navbar --- */
.floating-header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
    position: absolute;
    top: 10px;
    z-index: 2000;
}

.navbar-container {
    background-color: #fff;
    width: 100%;
    max-width: 1100px;
    height: 70px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 0 10px 0 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo { height: 55px; }


.nav-links ul { display: flex; list-style: none; gap: 20px; margin-top: 18px; }
.nav-links ul li a { text-decoration: none; color: #000; font-size: 16px; font-weight: 600; }
.nav-links ul li.active a { border-bottom: 2px solid #ffcd00; padding-bottom: 5px; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.call-info { font-size: 14px; font-weight: 600; }
.call-info a { color: #999; text-decoration: none; }

.btn-get-in-touch {
    background-color: #ffcd00;
    color: #370000;
    text-decoration: none;
    font-weight: 700;
    font-size: 21px;
    padding: 8px 18px;
    border-radius: 100px;
}
.call-top-img{
    width: 26px;
    margin-bottom: 4px;
}
.shaking {
    animation: shaking 0.3s infinite;
}
/* Mobile Toggler Icon */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; margin-right: 15px;     margin-left: 12px; }
.bar { width: 25px; height: 3px; background-color: #333; border-radius: 2px; transition: 0.3s; }

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hr.jpg') no-repeat center center/cover;
    color: white;
    padding: 160px 0 80px;
}

.hero-content h1 {
     font-size: clamp(36px, 6vw, 70px); 
     text-align: center; 
     line-height: 1.1;
     margin-bottom: 20px;
     font-family: "Satoshi", sans-serif; 
     text-transform: uppercase;
     font-family: 100;
    }
    .hero-content h2 { 
        text-align: center; 
        line-height: 1.1;
        font-family: "Satoshi", sans-serif; 
        text-transform: uppercase;
        font-family: 100;
        color: #ffcd00;
        padding-bottom: 20px;
       }
.hero-content p { text-align: center; max-width: 700px; margin: 0 auto 60px; font-size: 16px; opacity: 0.9; }

.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 30px; margin-bottom: 50px; flex-wrap: wrap; gap: 20px; }
.hero-bottom-left h3 { max-width: 500px; font-size: 20px; font-weight: 500; transform: translateX(-180px); }
.flag img{
    width: 75%;
    margin-bottom: 8px;
}

.view-services {
    background: #fff; color: #000; padding: 10px 10px 10px 25px; border-radius: 50px; text-decoration: none; display: flex; align-items: center; gap: 15px; font-weight: 700; font-size: 13px;
}
.view-services span { background-color: #ffcd00; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 18px; }

/* --- Cards --- */
/* Feature Cards Container */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Individual Card */
.card {
    background: rgba(255, 255, 255, 0.05); /* සියුම් වීදුරු පෙනුම */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 45px 35px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

/* Hover Effect */
.card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-15px);
    border-color: #ffcd00; /* Lime Green border on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(212, 225, 87, 0.1); /* Lime Green light background */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card .icon {
    font-size: 30px;
}

.card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.card-line {
    width: 50px;
    height: 2px;
    background: #ffcd00; /* Lime Green Line */
    margin-bottom: 20px;
    transition: width 0.3s ease;
}

.card:hover .card-line {
    width: 100%; /* Hover කළ විට ඉර දිගු වේ */
}

.card p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}
.card .icon i.fa {
    font-size: 28px;
    color: #ffcd00; /* Lime Green Theme color එක */
    display: block;
    line-height: 60px; /* icon-wrap එකේ උසට සමානව තබන්න */
    text-align: center;
}

/* Learn More Link */
.card-link {
    color: #ffcd00;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-link span {
    transition: transform 0.3s ease;
}

.card:hover .card-link span {
    transform: translateX(10px); /* ඊතලය දකුණට මාරු වේ */
}

/* --- About & Scrolling --- */
.about { padding: 100px 0; margin-top: -50px; }
.about-flex { display: flex; gap: 50px; align-items: flex-start; }
.about-scrolling-side { flex: 0 0 15%; }
.about-text-side { flex: 1; }

.scrolling-container { background: #ffcd00; padding: 15px 0; overflow: hidden; border-radius: 100px; white-space: nowrap; width: 100%; max-width: 180px; }
.scrolling-content { display: inline-block; animation: scroll-text 15s linear infinite; }
.scrolling-content span { padding: 0 30px; font-weight: 800; text-transform: uppercase; font-size: 12px; }

@keyframes scroll-text { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.about-text-side h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 30px; line-height: 1.2; }
.vision-mission { display: flex; gap: 30px; }
.vm-item h4 { border-bottom: 2px solid #ffcd00; display: inline-block; margin-bottom: 15px; padding-bottom: 5px; text-transform: uppercase;}

/* --- Responsive Media Queries --- */

/* Laptop/Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .feature-cards { grid-template-columns: repeat(2, 1fr); }
    .nav-links ul { gap: 15px; }
    .nav-links ul li a { font-size: 13px; }
}

/* Tablet Portrait (768px) */
@media (max-width: 991px) {
    .menu-toggle { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 80px; left: 0; width: 100%;
        background: #fff; padding: 30px; border-radius: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: block; }
    .nav-links ul { flex-direction: column; text-align: center; }
    
    .about-flex { flex-direction: column; }
    .about-scrolling-side { width: 100%; display: flex; justify-content: center; }
}

/* Mobile (576px) */
@media (max-width: 767px) {
    .d-none-mobile { display: none; }
    .feature-cards { grid-template-columns: 1fr; }
    .hero { padding-top: 130px; }
    .hero-bottom { flex-direction: column; align-items: center; text-align: center; }
    .vision-mission { flex-direction: column; }
    .navbar-container { height: 60px; padding: 0 15px; }
    .logo { height: 28px; }
    .btn-get-in-touch { padding: 10px 18px; font-size: 11px; }
}

/* --- Mini Laptops & Large Tablets (1024px - 1280px) --- */
@media (max-width: 1200px) and (min-width: 992px) {
    .container {
        max-width: 950px; /* Screen එකට සාපේක්ෂව container එක කුඩා කිරීම */
    }

    .navbar-container {
        max-width: 95%;
        height: 65px;
    }

    .hero-content h1 {
        font-size: 55px; /* අකුරු වල ප්‍රමාණය තරමක් අඩු කිරීම */
    }

    /* Cards 3ක් වෙනුවට 2ක් පෙන්වීම හෝ ඒවායේ පළල වෙනස් කිරීම */
    .feature-cards {
        grid-template-columns: repeat(3, 1fr); 
        gap: 15px; /* පරතරය අඩු කිරීම */
    }

    .card {
        padding: 30px 20px;
    }

    .card h4 {
        font-size: 18px;
    }

    .about-flex {
        gap: 30px;
    }
}

/* ඉතා කුඩා ලැප්ටොප් සඳහා (උදා: 1024px වලදී කාඩ් 2ක් පෙන්වීමට අවශ්‍ය නම්) */
@media (max-width: 1100px) {
    .feature-cards {
        grid-template-columns: repeat(2, 1fr); /* කාඩ් 2ක් පේළියට */
    }
}

/* --- Stats Section Styles --- */
.stats-section {
    padding: 80px 0;
    background-color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Desktop වලදී දෙපැත්තට බෙදීම */
    gap: 40px;
    align-items: center;
}

/* --- Left Image with Notch Effect --- */
.main-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    /* notched shape effect */
}

.main-stats-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Right Side Grid --- */
.stats-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* කාඩ් 4ක් Grid එකක් ලෙස */
    gap: 20px;
}

.stat-card {
    background-color: #f9f9f9;
    padding: 40px 30px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 40px;
    display: block;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.stat-value {
    font-size: 50px;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.stat-value span {
    color: #ffcd00; /* Lime Green color for '+' */
    margin-left: 5px;
}

.stat-desc {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
}

/* Small Image Card */
.image-card {
    padding: 0;
    overflow: hidden;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Responsive Styles --- */

/* Tablet & Mini Laptops */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr; /* එක පේළියට ගෙන ඒම */
    }
    
    .stat-value { font-size: 40px; }
}

/* Mobile */
@media (max-width: 600px) {
    .stats-info-grid {
        grid-template-columns: 1fr; /* Mobile වලදී කාඩ් එකින් එක පේළියට */
    }
    
    .main-image-wrapper {
        clip-path: none; /* Mobile වලදී notch එක ඉවත් කිරීම වඩාත් සුදුසුයි */
        border-radius: 20px;
    }
    
    .stat-card {
        min-height: 200px;
        padding: 30px;
    }
}

.services-section {
    padding: 100px 0;
    background-color: #f8f6f2;
    text-align: center;
}

.badge-outline {
    border: 1px solid #ffcd00;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
}
    .btn-meet-team{
        color: #000;
        background: #ffcd00;
        padding: 15px;
        border-radius: 15px;
        text-decoration: none;
        font-weight: 600;
    }
    .display-5{
        color: #603813;
    }

.services-header h2 {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

/* --- Pradhana Card Style --- */
.s-card {
    background: #ffffff;
    border-radius: 40px;
    flex: 0 0 calc(33.33% - 20px);
    height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth Transition */
    cursor: pointer;
    border: 1px solid transparent;
}

.s-card.wide {
    flex: 0 0 calc(50% - 15px);
    height: 420px;
}
.s-card.middle1 {
    flex: 0 0 calc(100% - 15px);
    height: 420px;
    display: flex;
    flex-direction: column;
}
/* --- Image Comparison Slider start --- */
.full-card-slider {
    position: relative;
    width: 100%;
    height: 100%; /* Card එකේ සම්පූර්ණ උස ගනී */
    overflow: hidden;
}

/* පින්තූරය උඩ ඇති Title එක */
.slider-text-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 5; /* පින්තූර වලට උඩින් */
    color: white;
    pointer-events: none; /* Mouse එක මේක උඩ තිබුණත් Slider එක වැඩ කිරීමට */
}

.slider-text-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    background: #000000a4;
    padding: 5px 20px 5px 20px;
}

.full-card-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Before Image Reveal */
.full-card-slider .image-before {
    position: absolute;
    inset: 0;
    z-index: 2;
    clip-path: inset(0 50% 0 0); /* මුලින් 50% පෙන්වයි */
}

.full-card-slider .image-after {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Invisible Range Input */
.full-card-slider .slider-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    z-index: 10;
    cursor: col-resize;
    outline: none;
}

/* Handle Line & Circle */
.full-card-slider .slider-button {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #61615f;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.full-card-slider .slider-button::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: #61615f;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Labels */
.full-card-slider .label {
    position: absolute;
    bottom: 20px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 12px;
    border-radius: 4px;
    z-index: 4;
}
.label.before { left: 20px; }
.label.after { right: 20px; }
/* --- Image Comparison Slider end --- */

/* --- Hover Effect (Meya thama wadagathma) --- */
.s-card:hover {
    background-color: #ffcd00; /* Lime Green */
    transform: translateY(-12px); /* මඳක් වැඩිපුර උඩට එන ලෙස */
    box-shadow: 0 25px 50px rgba(212, 225, 87, 0.25);
}
.s-card.middle1:hover{
    background-color: #ffffff;
    transform: translateY(0px);
}

.s-card h3 {
    font-size: 22px; /* අකුරු පෙළගැස්ම නිවැරදි කිරීමට */
    line-height: 1.2;
}

.s-card-top {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}
.s-card-top.middle2 {
    padding: 40px 20px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    margin: 0 auto;
}

.s-card-top h3 {
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s;
}

/* Hover ekedi akuru color eka change wenna oni nam */


.s-arrow {
    width: 45px;
    height: 45px;
    background-color: #f7f7f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.3s;
}

.s-card:hover .s-arrow {
    background-color: rgba(0,0,0,0.1);
}

.s-card-img {
    margin-top: auto;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.s-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Image zoom on hover */
.s-card:hover .s-card-img img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .s-card, .s-card.wide { flex: 0 0 calc(50% - 15px); }
}

@media (max-width: 767px) {
    .s-card, .s-card.wide { flex: 0 0 100%; height: 400px; }
    .services-header h2 { font-size: 32px; }
}

/* Card ඇතුළේ තියෙන list එක සඳහා */
.s-card-body {
    padding: 0 40px;
    text-align: left;
}

.s-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.s-list li, .s-list-grid li {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.s-list li::before, .s-list-grid li::before {
    content: "•";
    color: #ffcd00;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Wide card එකේ list එක තීරු දෙකකට බෙදීමට */
.s-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    padding: 0;
    gap: 10px;
}

/* Hover කළ විට අකුරු වල පාට වෙනස් වීම */
.s-card:hover .s-list li, 
.s-card:hover .s-list-grid li {
    color: #000;
}



/* මුළු Section එකම */
.spaciaz-stack-section {
    background-color: #000;
    color: #fff;
    overflow: visible !important;
}

.stack-wrapper {
    position: relative;
}

.stack-item {
    display: flex;
    height: 100vh;
    width: 100%;
    position: sticky;
    top: 0;
    background-color: #000;
    overflow: hidden;
    /* තට්ටු ගැසෙන බව පෙනෙන්න උඩට shadow එකක් */
    box-shadow: 0 -20px 50px rgba(0,0,0,0.8);
}
/* Mini Gallery Layout */
.project-mini-gallery {
    max-width: 100%;
    margin-top: 20px;
}

.mini-thumb-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* පින්තූර රවුම් නොවී කොටු හැඩයට තැබීමට */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mini-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* වම් පැත්ත 50% */
.info-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Heading එක උඩටත්, Details පහළටත් ගැනීමට */
    padding: 50px;
}

.info-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15vh 0 10vh 0;
    width: 85%;
}

/* පළවෙනි එකේ විතරක් තියෙන main title එක */
.top-heading h1 {
    font-size: clamp(24px, 4vw, 42px); /* ප්‍රමාණය මඳක් සකස් කළා */
    font-weight: 700;
    line-height: 1.2;
    margin-top: 15px;
    color: #1a1a1a;
}

/* 02, 03 වලදී උඩ කොටස හිස්ව තැබීමට */
.no-main-title {
    justify-content: flex-end; /* විස්තර ටික පහළටම තල්ලු කරයි */
}

/* පහළ තියෙන Project details */
.bottom-details {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
}

.loc { color: #ffcd00; font-size: 13px; font-weight: 600; text-transform: uppercase; display: block; margin-bottom: 10px; }
.n-row { display: flex; align-items: center; gap: 20px; }
.out-num { font-size: 70px; font-weight: 700; -webkit-text-stroke: 1px rgba(255,255,255,0.4); color: transparent; }
.n-row h3 { font-size: 28px; margin: 0; font-weight: 700; }

/* දකුණු පැත්ත 50% රූපය */
.image-side {
    flex: 0 0 50%;
    height: 100vh;
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .stack-item { flex-direction: column; position: relative; height: auto; }
    .image-side { width: 100%; height: 50vh; }
    .info-side {
         width: 100%;
         padding: 40px 20px; height: auto; }
    .info-content { padding: 20px 0; }
}

/* Utilities */
.py-120 { 
    padding: 120px 0;
    background: #ffefae;
 }
.py-100 { padding: 100px 0; }
.py-60 { padding: 60px 0; }
.bg-light-cream { background-color: #f8f6f2; }

/* Why Choose Us Custom */
.image-stack-box { position: relative; }
.floating-rating-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    color: #000;
}
.user-avatars img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; }

.acc-item { display: flex; gap: 20px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid rgb(0, 0, 0); }
.acc-icon { width: 70px; height: 65px; background: #f0f0f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.acc-item:hover .acc-icon { background: #d1d1d1be; transform: scale(1.1); }

/* --- Testimonial Section --- */
.testimonial-section {
    background-color: #f8f6f2;
    padding: clamp(100px, 15vw, 160px) 0 120px; /* Responsive Padding */
    position: relative;
    /* Navigation එක උඩට එන එක වැළැක්වීමට z-index එක 50 ට අඩු කළා */
    z-index: 50; 
 /* Section එක Navigation එකෙන් මඳක් පහළට තැබීමට */
    overflow: visible;
}

/* Badge Wrapper */
.testimonial-badge-wrapper {
    position: absolute;
    top: clamp(-60px, -8vw, -85px); /* Responsive top position */
    left: 50%;
    transform: translateX(-50%);
    
    /* Responsive Badge Size */
    width: clamp(130px, 15vw, 170px);
    height: clamp(130px, 15vw, 170px);
    
    background-color: #f8f6f2; /* Section එකේම background පාට */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60; /* Section එකට වඩා වැඩි විය යුතුයි, නමුත් Header එකට වඩා අඩුයි */
    padding: 10px;
}

.badge-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* මැද ඇති ස්ථාවර Logo එක */
.badge-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px; /* Badge එකේ ප්‍රමාණය අනුව මෙය වෙනස් කරන්න */
    z-index: 10;
}

.badge-logo img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

/* කැරකෙන SVG Text එක */
.badge-text-rotate {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateTextClockwise 15s linear infinite;
}

@keyframes rotateTextClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.e-text-path-svg {
    width: 100%;
    height: 100%;
    /* මෙය අනිවාර්යයි: අකුරු කැපීම වළක්වයි */
    overflow: visible !important; 
}

/* SVG Text Path Styles */
.e-text-path-svg text {
    fill: #1a1a1a;
    /* අකුරු වල ප්‍රමාණය මඳක් අඩු කර බලන්න (උදා: 18px) */
    font-size: 19px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    word-spacing: 10px;
}
/* Quote Style */
.testimonial-quote {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    max-width: 900px;
    margin: 40px auto 0;
}

/* Custom Navigation Arrows */
.custom-arrow-btn {
    position: absolute;
    top: 55%;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #eee;
    color: #000;
    font-size: 30px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: translateY(-50%);
    z-index: 120;
}

.custom-arrow-btn:hover {
    background-color: #ffcd00; /* Lime Green */
    border-color: #ffcd00;
}

.carousel-control-prev.custom-arrow-btn { left: 5%; }
.carousel-control-next.custom-arrow-btn { right: 5%; }

.custom-arrow-btn span {
    margin-bottom: 5px; /* ඊතලය මැදට ගැලපීමට */
}

/* Responsive Fix */
@media (max-width: 991px) {
    .testimonial-section { margin-top: -60px; padding-top: 120px; }
    .testimonial-badge-wrapper { width: 140px; height: 140px; top: -70px; }
    .testimonial-quote { font-size: 24px; }
}
.carousel-control-next:focus, .carousel-control-next:hover, .carousel-control-prev:focus, .carousel-control-prev:hover {
    color: #0c0505;
    text-decoration: none;
    outline: 0;
    opacity: .9;
}





/* Team Cards */
.team-card { border-radius: 30px; overflow: hidden; position: relative; margin-bottom: 30px; }
.team-card img { width: 100%; transition: 0.5s; }
.team-info { position: absolute; bottom: 20px; left: 20px; right: 20px; background: #fff; padding: 20px; border-radius: 20px; }
.team-card:hover img { transform: scale(1.1); }

/* Footer */
.spaciaz-main-footer {
    position: relative;
    background-color: #000;
    overflow: hidden;
   

}
/* Video එක පසුබිමේ ස්ථාවර කිරීම */
.footer-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* පින්තූරයක් වගේම Video එක කපලා පේන්න */
}

/* 1. Top Image Section */
.footer-image-overlay {
    padding: 200px 0 250px; /* පහළින් ඉඩ තැබීම Card එකට */
    color: #fff;
    position: relative;
}

.footer-hero-text { 
    font-size: 54px;
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 10px; 
    text-transform: uppercase;
}
.footer-sub-text { opacity: 0.8; font-size: 15px; margin-bottom: 22px; }

/* Get Free Quote Button */
.btn-free-quote {
    width: 120px;
    height: 120px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* සුමටව මාරු වීමට */
    position: relative;
    z-index: 20;
}

/* --- Hover එකේදී එහා මෙහා යන Animation එක --- */
.btn-free-quote:hover {
    background: rgba(0, 0, 0, 0.425);
    color: rgba(255, 255, 255, 0.863);
    /* මෙන්න මෙතනින් තමයි animation එක call කරන්නේ */
    animation: moveAround 2s infinite ease-in-out; 
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* එහා මෙහා යන හැටි පාලනය කරන Keyframes */
@keyframes moveAround {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -10px) rotate(5deg); /* දකුණට සහ උඩට */
    }
    50% {
        transform: translate(-10px, 10px) rotate(-5deg); /* වමට සහ පහළට */
    }
    75% {
        transform: translate(10px, 10px) rotate(5deg); /* දකුණට සහ පහළට */
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.footer-big-brand {
    font-size: 200px;
    font-weight: 900;
    opacity: 0.4;
    text-transform: uppercase;
    position: absolute;
    bottom: 136px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    pointer-events: none;
}

/* 2. Floating Card Logic */
.footer-floating-card {
    margin-top: -180px; /* පින්තූරය උඩට කාඩ් එක ගෙන ඒම */
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
}

.card-inner {
    background: #0000004f;
    border-radius: 40px;
    padding: 60px;
    color: rgb(255, 255, 255);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.footer-card-logo { 
    margin-bottom: 15px;
    width: 86%;
    height: auto;
    border-radius: 20px;

}
.footer-card-desc {     
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
    text-align: center; }

/* Custom Borders inside Card */
.border-end-custom { border-right: 1px solid #eee; }

/* Navigation Grid */
.footer-nav-grid { display: flex; gap: 40px; padding-left: 30px; }
.nav-col a { display: block; color: rgb(255, 255, 255); text-decoration: none; font-size: 12px; font-weight: 600; margin-bottom: 12px; transition: 0.2s; text-transform: uppercase; }
.nav-col a:hover { color: #ffcd00; }

/* Contact Styles */
.f-card-phone { font-size: 30px; font-weight: 700; border-bottom: 2px solid #ffcd00; display: inline-block; padding-bottom: 5px; }
.f-card-email { font-size: 18px; font-weight: 700; margin-top: 15px; }
.footer-social-links a { font-size: 12px; color: rgb(255, 255, 255); text-decoration: none; font-weight: 600; }
.footer-social-links span { margin: 0 5px; color: #eee; }

.footer-card-bottom { text-align: center; margin-top: 40px; color: rgb(255, 255, 255); font-size: 13px; }
.footer-privacy{
    color: rgb(255, 255, 255);
    text-decoration: none !important;
    
}
.footer-card-bottom a{
    text-decoration: none !important;
}

/* Responsive */
@media (max-width: 991px) {
    .card-inner { padding: 40px 20px; border-radius: 20px; }
    .border-end-custom { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 30px; margin-bottom: 30px; }
    .footer-nav-grid { padding-left: 0; }
    .footer-hero-text { font-size: 40px; }
    .footer-big-brand { font-size: 80px; }
}

/* --- Logo Carousel Seamless Styles --- */
.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    background: transparent; /* අවශ්‍ය නම් background එකක් දාන්න */
}

.logo-track {
    display: flex;
    /* තිරය හරහා නොනැවතී යාමට අවශ්‍ය පළල */
    width: max-content; 
    animation: scrollLogos 20s linear infinite; /* වේගය මෙතැනින් පාලනය කරන්න (20s) */
    gap: 100px; 
    align-items: center;
}

.logo-track img {
    height: 60px;
    width: auto;
    object-fit: contain;
    /* සියලුම Logos එකම විදිහට පේන්න */
    flex-shrink: 0; 
}

/* Hover කරන විට Animation එක නතර කර පෙන්වීමට (අවශ්‍ය නම් පමණක්) */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        /* මෙතනදී හරියටම පින්තූර සෙට් එකෙන් අඩක් (Original set) පසු වූ පසු මුලට පනිනවා */
        transform: translateX(-50%); 
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .logo-track img {
        height: 45px;
    }
    .logo-track {
        gap: 60px;
    }
}
.fit{
    width: 23px;
}

/* --- Back to Top New Style --- */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 90px;
    width: 50px;
    height: 50px;
    background-color: #ffcd00; /* Lime Green */
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* මුලින්ම පේන්නේ නැහැ */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.back-to-top i {
    font-size: 24px;
    font-weight: bold;
}

.back-to-top:hover {
    background-color: #000;
    color: #d4e157;
    transform: translateY(-5px);
}

/* Mobile වලදී බටන් එක පොඩි කිරීමට */
@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
}
/*whatsapp*/

#chat {
    text-decoration: none;
    cursor: pointer;
    position: fixed;
    right: 14px;
    z-index: 800;
    padding: 5px 10px;
    background-color: #ffffff;
    border: none;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

#chat p {
    display: grid;
    padding: 0px 12px;
    margin-bottom: 0px !important;
    color: #616161;
    font-weight: 500;
    font-size: 16px;
}

#chat p>span {
    font-size: 12px;
    color: gray;
    font-weight: 400;
}

.chat-img {
    border-radius: 50%;
    width: 25%;
    width: 50px;
    height: 50px;
    animation: tilt-shaking 0.3s infinite;
}

@keyframes tilt-shaking {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0eg);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

#chat h6 {
    color: white;
    background-color: #4ccb5b;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 30px;
    text-decoration: none !important;
    transition: 1s ease;
    letter-spacing: 0;
    text-transform: none;
    margin: 0px auto;
    display: inline;
    font-family: system-ui;

}

#chat h6:hover {
    padding: 8px 30px;
    text-decoration: none !important;
    transition: 1s ease;
    background-color: #1c8528;

}

.chat-display {
    transition: 1s ease;
    bottom: 10px;
}

.chat-hide {
    transition: 1s ease;
    bottom: -90px;

}

#chat p {
    font-size: 13px !important;
}

#chat {
    right: 35px !important;
    width: 355px;
    bottom: 15px;
}

.chat table {
    width: 100%;
    margin-bottom: 0;

}


#chat .table td,
.table th {
    padding: 0;
    vertical-align: middle;
    border-top: 0px solid #dee2e6;
    border-style: hidden;
}

/* --- Cookies Banner Fix --- */
#cookie-banner {
    display: none; /* !important එක අයින් කළා */
    position: fixed;
    bottom: 20px;
    left: 23px;
    width: 350px;
    background: #fffffc;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    gap: 15px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* JS එකෙන් .show class එක දැම්මම විතරක් පේන්න */
#cookie-banner.show {
    display: flex !important;
    opacity: 1;
    animation: slideUpCookie 0.5s ease;
}

#cookie-banner.hide {
    opacity: 0;
}

@keyframes slideUpCookie {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookie-banner.show {
    animation: slideUpCookie 0.5s ease;
}
  /* Cookie Banner Premium Styles */
  .premium-cookie-card {
      position: fixed;
     bottom: 20px;
     left: 23px;
     width: 350px;
     background: #fffffc;
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.5);
   border-radius: 20px;
   padding: 20px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
   display: flex; /* Make sure this is flex to align children */
   flex-direction: column;
   gap: 15px;
   z-index: 10000;
   animation: slideUpCookie 0.5s ease;
  }

@keyframes slideUpCookie {
 from {
   transform: translateY(50px);
   opacity: 0;
 }
 to {
   transform: translateY(0);
   opacity: 1;
 }
}

.cookie-content {
 display: flex;
 align-items: center;
 gap: 15px;
}

.cookie-icon {
 font-size: 2rem;
 color: #ffcd00; /* Your Gold Color */
}

.cookie-text p {
 font-size: 0.9rem;
 color: #333333;
 margin: 0;
 line-height: 1.4;
}

.cookie-text a {
 color: #ffcd00; /* Your Dark/Brown Color */
 font-weight: 600;
 text-decoration: underline;
}

.cookie-actions {
 display: flex;
 gap: 10px;
 justify-content: flex-end;
 transform: translateY(10px);
}

#accept-cookies {
background: #ffcd00;
   color: #370000;
 border: none;
 border-radius: 50px;
 padding: 8px 20px;
 font-weight: 600;
 font-size: 0.9rem;
 cursor: pointer;
 transition: all 0.3s ease;
}

#accept-cookies:hover {
 background: #370000;
 color: rgb(255, 255, 255);
 transform: translateY(-2px);
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#cancel-cookies {
background: transparent;
   color: #666 !important;
   border: none;
   padding: 8px 15px;
   font-size: 0.9rem;
   font-weight: 500;
   cursor: pointer;
   border-radius: 38px;
}

#cancel-cookies:hover {
    color: #E31E24 !important; /* Red color for cancel/skip */
}

@media (max-width: 576px) {
 .premium-cookie-card {
   width: 90%;
   left: 5%;
   right: auto;
   bottom: 20px;
 }
}

/* --- Professional Preloader Styles --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000; /* කළු පසුබිම ඉතාමත් Luxury පෙනුමක් ලබා දෙයි */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* ඕනෑම දෙයකට උඩින් පෙනීමට */
    transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

/* Preloader එක අවසන් වූ පසු එය ඉහළට තල්ලු කිරීමට */
#preloader.loaded {
    transform: translateY(-100%);
}

.loader-content {
    text-align: center;
}

.logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.loader-logo {
    width: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* කැරකෙන රවුම */
.loader-circle {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(212, 225, 87, 0.1);
    border-top: 3px solid #d4e157; /* Lime Green */
    border-radius: 50%;
    animation: spinLoader 1.5s linear infinite;
}

.loader-text-wrap {
    margin-top: 15px;
}

.loader-text {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 10px;
}

/* Loading Bar එක */
.load-bar {
    width: 150px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.load-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #d4e157;
    animation: barFill 2s infinite;
}

/* Animations */
@keyframes spinLoader {
    to { transform: rotate(360deg); }
}

@keyframes barFill {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}
/* Fancybox එක ඕනෑම Sticky section එකකට උඩින් පෙන්වීමට */
.fancybox__container {
    z-index: 99999 !important;
}

/* Navigation arrows හැමවෙලේම පේන්න සහ පින්තූර මාරු කරන්න */
.fancybox__nav {
    --fancybox-color: #d4e157 !important; /* අපේ Lime Green එක */
    z-index: 100000 !important;
}

.fancybox__button--next, .fancybox__button--prev {
    background: rgba(212, 225, 87, 0.9) !important; /* අපේ Lime Green එක */
    color: #000 !important;
}

/* FAQ Inner Box Styles */
.faq-container-box {
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
}

.divider-line {
    width: 60px;
    height: 3px;
    background: #ffcd00;
    margin-top: 10px;
}

.faq-item {
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 5px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question span {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.faq-question i {
    color: #ffcd00;
    font-size: 12px;
    transition: 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 10px;
}

.faq-answer p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    background: #ffefae;
    padding: 5px 0px 5px 15px;
    border-radius: 0 0 10px 10px;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: #333;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* පිළිතුරේ දිග අනුව ප්‍රමාණවත් අගයක් දෙන්න */
    padding-bottom: 15px;
    transition: max-height 0.5s ease-in;
}

/* Plus ලකුණ Minus හෝ Cross එකක් ලෙස කැරකීමට */
.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: #333;
}

.faq-question {
    transition: all 0.3s ease;
    border-left: 0 solid #d4e157; /* මුලින් බෝඩරය නැත */
}

.faq-question:hover {
    background-color: rgba(212, 225, 87, 0.05); /* ඉතා සැහැල්ලු Lime පැහැයක් */
    padding-left: 25px; /* අකුරු මඳක් දකුණට තල්ලු වේ */
    border-left: 4px solid #370000; /* වම් පැත්තෙන් බෝඩරයක් මතු වේ */
}

.footer-social-links a {
    text-decoration: none;
    font-weight: 600;
    color: rgb(255, 255, 255);
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.footer-social-links a:hover {
    color: #000;
    background-color: rgba(212, 225, 87, 0.2); /* ලස්සන soft lime background එකක් */
    box-shadow: 0 0 15px rgba(212, 225, 87, 0.3);
}
.f-card-phone:hover, .f-card-email:hover {
    color: #370000;;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-floating-card .card-inner {
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.5s ease;
}

.footer-floating-card:hover .card-inner {
    transform: translateY(-15px); /* මඳක් ඉහළට එසවීම */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}


