/* --- Root Variables --- */
:root {
    --primary-color: #510083;
    --secondary-color: #febd00;
    --white-color: #ffffff;
    --black-color: #222222;
    --button-background-color: #510083;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

body,
html {
    overflow-x: hidden
}

/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "PT Serif", serif;
    font-weight: 800;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

a {
    text-decoration: none;
}

/* --- HERO WRAPPER --- */
.hero-wrapper {
    position: relative;
    height: 100vh;
    /* Desktop: Full Screen Height */
    width: 100%;
    overflow: hidden;
}

/* --- CAROUSEL STYLING --- */
.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.hero-img {
    height: 100%;
    object-fit: cover;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Dark Overlay */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* --- HERO CONTENT --- */
.hero-content {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
    z-index: 2;
    width: 80%;
    max-width: 800px;
    text-align: left;
}

.hero-text-box {
    border-left: 8px solid var(--secondary-color);
    padding-left: 30px;
}

/* --- TYPOGRAPHY --- */
.company-subtitle {
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.main-title {
    color: var(--white-color);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
}

.hero-desc {
    color: var(--white-color);
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.6;
}

/* Hero Buttons */
.btn-hero {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.btn-hero:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-hero.btn-outline {
    background-color: var(--white-color) !important;
    color: var(--primary-color);
}

.btn-hero.btn-outline:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

/* --- CAROUSEL ARROWS --- */
.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    backdrop-filter: blur(5px);
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-arrow:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

/* --- BOTTOM NAVBAR --- */
.bottom-navbar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: var(--white-color);
    z-index: 10;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* FIXED STATE */
.bottom-navbar-container.navbar-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    z-index: 1000;
    animation: slideDownNav 0.5s ease forwards;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

@keyframes slideDownNav {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 150px;
    width: 370px;
    background: var(--white-color);
    clip-path: polygon(0 0, 75% 0, 100% 100%, 0% 100%);
    display: flex;
    align-items: center;
    padding-left: 40px;
    padding-top: 60px;
    z-index: 11;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-box img {
    width: 200px;
}

.nav-links-wrapper {
    flex-grow: 1;
    justify-content: center;
    padding-left: 150px;
}

.custom-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.custom-nav a {
    text-decoration: none;
    color: var(--black-color);
    font-weight: 600;
    font-size: 20px;
    transition: 0.3s;
    position: relative;
    font-family: "PT Serif", serif;
}

.custom-nav a:hover,
.custom-nav a.active {
    color: var(--primary-color);
}

.custom-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary-color);
    transition: 0.3s;
}

.custom-nav a:hover::after {
    width: 100%;
}

.btn-enquire {
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
    font-weight: 700;
    padding: 10px 25px !important;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-enquire:hover {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
}

/* =========================================
   MOBILE RESPONSIVE CHANGES (MAPLA NOTE HERE)
   ========================================= */
@media (max-width: 991px) {

    /* 1. Banner Height ah kammi pannitom (Mobile only) */
    .hero-wrapper {
        height: 40vh;
        min-height: 500px;
        /* Text cut aagama irukka minimum height */
    }

    .hero-content {
        left: 5%;
        width: 90%;
        /* Text vertial center la correct ah irukum */
    }

    .hero-text-box {
        border-left: 5px solid var(--secondary-color);
        padding-left: 20px;
    }

    .main-title {
        font-size: 2.2rem;
        /* Title size adjusted */
    }

    .company-subtitle {
        font-size: 0.9rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    /* Buttons Stack on Mobile */
    .d-flex.gap-3 {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }

    /* 2. Navbar Mobile Adjustments */
    .logo-wrapper {
        position: relative;
        height: 100%;
        width: auto;
        clip-path: none;
        background: transparent;
        padding-left: 20px;
        padding-top: 0;
    }

    .logo-box img {
        width: 140px;
        /* Logo size adjustment */
    }

    .nav-links-wrapper {
        display: none;
    }

    .bottom-navbar-container {
        height: 70px;
        position: absolute;
        bottom: 0;
        /* Correct stick position */
    }

    .mobile-toggle {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
    }

    .mobile-nav-list {
        list-style: none;
        padding: 0;
    }

    .mobile-nav-list li {
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .mobile-nav-list a {
        text-decoration: none;
        color: var(--black-color);
        font-weight: 600;
    }
}



/* --- 3. FLOATING BUTTONS (Hidden Initially) --- */
.float-btn {
    position: fixed;
    bottom: -100px;
    /* Screen ku keela olichu vechirom */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    /* Smooth Entry Animation */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* Bouncy effect */
    opacity: 0;
    /* Kannaadi maari invisible */
    visibility: hidden;
    /* Click aaga kudadhu initial ah */
}

/* --- JS add pannura Class (Idhu vandha dhaan button theriyum) --- */
.float-visible {
    bottom: 30px !important;
    /* Mela varum */
    opacity: 1 !important;
    visibility: visible !important;
    animation: pulse-vibrate 2s infinite;
    /* Vandhadhum aadum */
}

/* Hover Effect */
.float-btn:hover {
    transform: scale(1.1);
    animation: none;
    /* Hover panna aaduradhu ninnudum */
}

/* Colors */
.call-float {
    left: 20px;
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    /* Animation definition removed here, moved to .float-visible */
}

/* Specific Shadow Animations when visible */
.call-float.float-visible {
    animation-name: pulse-green-shadow;
}

.whatsapp-float {
    right: 20px;
    background-color: #25D366;
    border: 2px solid #ffffff;
    /* Animation definition removed here, moved to .float-visible */
}

/* Specific Shadow Animations when visible */
.whatsapp-float.float-visible {
    animation-name: pulse-whatsapp-shadow;
}

/* --- Keyframes (Same as before) --- */
@keyframes pulse-green-shadow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(158, 183, 29, 0.7);
    }

    50% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(158, 183, 29, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(158, 183, 29, 0);
    }
}

@keyframes pulse-whatsapp-shadow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        /* Bottom value change handled by .float-visible */
    }

    .float-visible {
        bottom: 20px !important;
        /* Mobile la konjam keela */
    }
}

@keyframes pulse-green-shadow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(158, 183, 29, 0.7);
    }

    50% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(158, 183, 29, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(158, 183, 29, 0);
    }
}

@keyframes pulse-whatsapp-shadow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero-img {
        height: 100vh;
    }

    .carousel-item::after {
        background: rgba(0, 0, 0, 0.7);
    }

    .carousel-caption {
        left: 5%;
        right: 5%;
        text-align: left;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .sub-title {
        font-size: 0.9rem;
    }

    .content-box {
        border-left: 4px solid var(--secondary-color);
        padding-left: 15px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
    }
}

/* --- Section Styling (Changed to Black) --- */
.offer-section {
    background-color: var(--black-color);
    /* Updated to Black */
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

/* Optional: Adding a subtle Gold Glow behind the title for premium feel */
.offer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200px;
    background: radial-gradient(circle, rgba(254, 189, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
}

/* --- Typography (Colors Adjusted for Dark Mode) --- */
.section-subtitle {
    color: var(--secondary-color) !important;
    /* Changed to Gold for visibility */
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.section-title-one {
    color: var(--white-color);
    /* Changed to White for contrast */
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 50px;
    font-family: 'PT Serif', serif;
    position: relative;
    z-index: 1;
}

/* --- Service Card (Remains White for Pop) --- */
.service-card {
    background: var(--white-color);
    padding: 0;
    margin: 15px;
    transition: 0.4s ease;
    overflow: hidden;
    border-radius: 10px;
    border-bottom: 5px solid var(--secondary-color);
}

/* --- IMAGE REVEAL ANIMATION (Left to Right) --- */
.image-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Animation Logic */
    clip-path: inset(0 100% 0 0);
    /* Initially Hidden */
    transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Trigger Animation */
.swiper-slide-visible .image-box img,
.swiper-slide-active .image-box img {
    clip-path: inset(0 0 0 0);
    /* Visible */
}

/* --- Card Text Wrapper --- */
.card-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* spacing between heading and short content */
}

/* Short content styling */
.service-sub-text {
    font-size: 0.85rem;
    color: #666;
    /* subtle grey under black heading */
    margin: 0;
}

/* --- Card Content --- */
.card-content {
    padding: 15px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid transparent;
    transition: 0.3s;
    background: var(--white-color);
}

/* --- Service Title --- */
.service-title-home {
    font-size: 30px;
    font-weight: 700;
    color: var(--black-color);
    margin: 0;
    font-family: 'PT Serif', serif;
}

/* --- Arrow Button --- */
.arrow-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-color);
    transition: all 0.4s ease;
    text-decoration: none;
}

/* --- Hover Effects --- */
.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover .card-content {
    border-bottom: 5px solid var(--secondary-color);
}

.service-card:hover .arrow-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: rotate(-45deg);
}


/* --- Swiper Customization (Colors for Dark Bg) --- */

/* Pagination Dots */
.swiper-pagination-bullet {
    background: var(--white-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background-color: var(--secondary-color) !important;
    /* Gold Active Dot */
    opacity: 1;
}

/* Navigation Arrows (Outside) */
.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color) !important;
    /* Gold Arrows on Black */
    background: rgba(255, 255, 255, 0.1);
    /* Subtle background circle */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* --- Section Styling --- */
.about-section-home {
    padding: 30px 0;
    background-color: var(--white-color);
    overflow: hidden;
    /* Scroll bar varaama irukka */
}

/* --- Left-to-Right Reveal Animation Logic --- */
.reveal-holder {
    position: relative;
    overflow: hidden;
    display: block;
}

.reveal-holder img {
    width: 100%;
    display: block;
    object-fit: cover;

    /* Initial State: Hidden (Clipped from Right) */
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Javascript will add this class when scrolled into view */
.reveal-holder.active img {
    clip-path: inset(0 0 0 0);
    /* Fully Open */
}

/* --- Left Image Specifics --- */
.main-about-img {
    height: 650px;
    /* Tall image look */
    width: 100%;
    object-fit: cover;
}

/* --- Typography --- */
.sub-heading {
    color: var(--secondary-color);
    /* Gold */
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.main-heading {
    color: var(--primary-color);
    /* Purple */
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'PT Serif', serif;
}

.description {
    color: #666;
    /* Grey text */
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- Video Wrapper (Right Bottom) --- */
.video-wrapper {
    position: relative;
    margin-top: 30px;
    width: 100%;
    height: 350px;
    /* Shorter height */
}

.video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Play Button --- */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.play-btn i {
    color: var(--primary-color);
    font-size: 24px;
    margin-left: 5px;
    /* Center alignment visual fix */
}

/* Play Button Hover Effect */
.play-btn:hover {
    background-color: var(--secondary-color);
    /* Changes to Gold */
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn:hover i {
    color: var(--black-color);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .main-about-img {
        height: 400px;
        /* Mobile la height kammi panrom */
        margin-bottom: 30px;
    }

    .main-heading {
        font-size: 2.2rem;
        padding: 10px;
    }

    .description {
        padding: 10px;
    }

    .video-wrapper {
        height: 250px;
    }

    .ps-lg-5 {
        padding-left: 0 !important;
        /* Remove padding on mobile */
    }
}

/* --- Section Styling --- */
.quality-section {
    position: relative;
    padding: 100px 0;
    /* Background Image (Brick Wall) */
    background: url('https://mehedi.asiandevelopers.com/demo/wazors/assets/images/parallax-background/interior-design-area-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    color: var(--white-color);
}

/* Dark Overlay on top of image */
.quality-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.747);
    z-index: 1;
}

.quality-section .container {
    position: relative;
    z-index: 2;
}

/* --- Typography --- */
.sub-title-one {
    color: #bbb;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
}

.main-title-one {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
    font-family: 'PT Serif', serif;
}

@media(max-width:425px) {
    .main-title-one {
        font-size: 30px;
    }
}

/* --- Buttons (Pill Shape) --- */
.btn-group-custom {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.pill-btn {
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
    /* Changed to transparent outline style */
    color: var(--white-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Active & Hover Button (Gold) */
.pill-btn.active,
.pill-btn:hover {
    background-color: var(--secondary-color);
    /* Gold Bg */
    color: var(--black-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(254, 189, 0, 0.3);
}

/* --- TAB CONTENT STYLING --- */

/* Initially Hide all content */
.tab-content {
    display: none;
    align-items: center;
    gap: 20px;
    animation: fadeIn 0.5s ease-in-out;
    /* Smooth Entry */
}

/* Show only the Active content */
.tab-content.active {
    display: flex;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info Block Styling */
.circle-img-wrapper {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    /* Gold Border for active image */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.circle-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-heading {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.info-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 450px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tab-content.active {
        flex-direction: column;
        text-align: center;
    }

    .pill-btn {
        width: 100%;
        /* Full width buttons on mobile */
    }
}

/* --- Right Side Features --- */
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    font-size: 2.5rem;
    color: var(--secondary-color);
    /* Gold Icon */
    border: 2px solid #555;
    padding: 10px;
    border-radius: 10px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.feature-box:hover .icon-box {
    border-color: var(--secondary-color);
    background: rgba(254, 189, 0, 0.1);
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-content p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Horizontal Line Divider */
.divider-line {
    width: 100%;
    height: 1px;
    background: var(--white-color);
    margin: 30px 0;
}

/* --- Scroll Animations (Initial State) --- */
.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Final State (Added via JS) */
.in-view {
    opacity: 1;
    transform: translate(0);
}

/* Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .main-title {
        font-size: 2.5rem;
    }

    .feature-box {
        margin-bottom: 20px;
    }

    .divider-line {
        margin: 20px 0;
    }

    .info-block {
        flex-direction: column;
        text-align: center;
        align-items: flex-start;
    }

    .circle-img-wrapper {
        margin-bottom: 15px;
        width: 80px;
        height: 80px;
    }

    .pill-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/* --- SECTION STYLING --- */
.testimonial-section {
    background-color: var(--white-color);
    /* White Background as requested */
    padding: 100px 0;
    overflow: hidden;
}

/* --- LEFT SIDE TEXT --- */
.section-subtitle {
    color: var(--black-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 10px;
}

.section-title-testimonilas {
    color: var(--primary-color);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.gold-line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-bottom: 25px;
}

.section-desc-testimonilas {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    /* margin-bottom: 40px; */
}

/* Navigation Buttons (Left Side) */
.testi-nav-btns {
    display: flex;
    gap: 15px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    transition: 0.3s;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* --- TESTIMONIAL CARD (The Premium Look) --- */
.testi-card {
    background-color: var(--card-bg);
    /* Dark Purple Card */
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 15px 30px rgba(81, 0, 131, 0.2);
    transition: transform 0.3s ease;
    margin: 20px 5px;
    /* Spacing for shadow */
}

.testi-card:hover {
    transform: translateY(-10px);
    /* Lift effect on hover */
}

/* Quote Icon Box */
.quote-icon {
    width: 50px;
    height: 50px;
    background: rgba(254, 189, 0, 0.1);
    /* Transparent Gold */
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 10px;
    margin-bottom: 25px;
}

.review-text {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
    height: 100px;
    /* Fixed height for alignment */
    overflow: hidden;
}

.divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

/* Client Profile */
.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--secondary-color);
    padding: 2px;
}

.client-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.client-details h5 {
    color: var(--white-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.client-details span {
    color: var(--secondary-color);
    /* Gold Designation */
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- SWIPER PAGINATION --- */
.swiper-pagination {
    position: static;
    /* Move below cards */
    margin-top: 30px;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 30px;
    /* Long active dot */
    border-radius: 5px;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .section-title-testimonilas {
        font-size: 2.5rem;
    }

    .testi-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .gold-line {
        margin: 0 auto 25px;
    }

    .testi-nav-btns {
        justify-content: center;
    }

    .review-text {
        height: auto;
    }

    /* Allow flexible height on mobile */
}

/* --- GLOBAL IMAGE REVEAL ANIMATION --- */

/* 1. Initial State (Hidden) */
img.pvr-reveal-anim {
    clip-path: inset(0 100% 0 0);
    /* Image ah Right side la irundhu maraikkum */
    opacity: 0;
    transform: scale(1.05);
    /* Chinna zoom irundha premium ah irukum */
    transition: clip-path 1.5s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.5s ease,
        transform 1.5s ease;
    will-change: clip-path;
    /* Smooth Performance */
}

/* 2. Active State (Visible) - JS add pannum */
img.pvr-reveal-anim.active {
    clip-path: inset(0 0 0 0);
    /* Full View */
    opacity: 1;
    transform: scale(1);
    /* Normal Size */
}

/* Optional: Logo ku indha animation venam na idha uncomment pannu */
/* 
.logo-box img, .footer-logo img {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
} 
*/