/* ==========================================================================
   FELPA TEXTILE - PREMIUM DESIGN SYSTEM & STYLING
   ========================================================================== */

/* 1. CORE VARIABLES & DESIGN SYSTEM */
:root {
    /* Harmonious Premium Colors (HSL) */
    --color-primary-start: hsl(222, 79%, 59%); /* #4776e6 */
    --color-primary-end: hsl(263, 79%, 62%);   /* #8e54e9 */
    --color-accent: #19d0d6;                    /* Bright Cyan */
    --color-accent-hover: #ff5b4a;              /* Dynamic Red Coral */
    --color-text-main: #314054;                 /* Sleek Slate Navy */
    --color-text-muted: #6b7c93;                /* Muted Grey Blue */
    --color-bg: #ffffff;
    --color-bg-alt: #f9f9f9;
    --color-footer-bg: #222222;
    --color-card-border: #eaeaea;
    --color-card-shadow: rgba(0, 0, 0, 0.05);
    
    /* Gaps & Paddings */
    --container-max-w: 1200px;
    --section-padding: 100px;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Animations & Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-in-out;
}

/* 2. MODERN RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Utility Layouts */
.container {
    width: 100%;
    max-width: var(--container-max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid {
    display: grid;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gap-30 { gap: 30px; }
.gap-40 { gap: 40px; }
.gap-50 { gap: 50px; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.text-center { text-align: center; }
.section-padding { padding-top: var(--section-padding); padding-bottom: var(--section-padding); }
.overflow-hidden { overflow: hidden; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }

/* 3. PRELOADER & CUSTOM CURSOR */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-pulse svg {
    overflow: visible;
}

.loader-back, .loader-front {
    fill: none;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.loader-back {
    stroke: var(--color-primary-end);
    opacity: 0.25;
}

.loader-front {
    stroke: var(--color-primary-start);
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: dash 1.6s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -48;
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.cursor-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 1024px) {
    .custom-cursor { display: none; }
}

/* 4. BUTTONS & UI COMPONENTS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.93rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-icon-left {
    margin-right: 10px;
    font-size: 1.05rem;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary-start) 0%, var(--color-primary-end) 100%);
    box-shadow: 0 4px 15px rgba(71, 118, 230, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-end) 0%, var(--color-primary-start) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(71, 118, 230, 0.45);
}

.btn-outline {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--color-primary-start);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-header {
    padding: 10px 22px;
    font-size: 0.87rem;
    background-color: #fff;
    border: 1px solid var(--color-primary-start);
    color: var(--color-primary-start);
}

.btn-header:hover {
    background-color: var(--color-primary-start);
    color: #fff;
}

/* 5. TOP INFO BAR */
.top-bar {
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-card-border);
    padding: 8px 0;
    font-size: 0.81rem;
    color: var(--color-text-muted);
}

#top-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

#top-email:hover {
    color: var(--color-primary-start);
}

.follow-us {
    margin-right: 12px;
}

.social-links-inline {
    display: inline-flex;
    gap: 15px;
}

.social-links-inline a {
    color: var(--color-text-muted);
}

.social-links-inline a:hover {
    color: var(--color-primary-start);
}

/* 6. NAVIGATION HEADER (GLASSMORPHISM) */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(244, 244, 244, 0.7);
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.main-header.shrink {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
    position: relative;
}

.brand-logo img {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

.main-header.shrink .brand-logo img {
    height: 38px;
}

.logo-mobile {
    display: none;
}

/* Navbar Menu */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.93rem;
    color: #555555;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary-start);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary-start);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    font-size: 1.15rem;
    color: #555;
    transition: var(--transition-fast);
}

.search-btn:hover {
    color: var(--color-primary-start);
}

/* Mobile Hamburger Button */
.burger-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 102;
}

.burger-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.burger-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.burger-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Responsiveness */
@media (max-width: 992px) {
    .burger-menu-btn { display: flex; }
    .logo-desktop { display: none; }
    .logo-mobile { display: block; height: 38px !important; }
    .btn-header { display: none; }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-bg);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 100px 40px 40px;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 101;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        display: block;
    }
}

/* 7. SEARCH OVERLAY */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-start) 0%, var(--color-primary-end) 100%);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.search-overlay.active {
    opacity: 0.98;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 2rem;
    color: #fff;
    transition: var(--transition-fast);
}

.search-close:hover {
    transform: rotate(90deg);
}

.search-inner {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.active .search-inner {
    transform: translateY(0);
}

.search-form {
    display: flex;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    padding-bottom: 10px;
}

.search-input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 1.5rem;
    color: #fff;
    font-family: var(--font-body);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-submit {
    color: #fff;
    font-size: 1.5rem;
}

.search-tip {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.87rem;
    margin-top: 15px;
}

/* 8. HERO PARALLAX SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
    transform: translateY(0);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-start) 0%, var(--color-primary-end) 100%);
    opacity: 0.8;
    z-index: -1;
}

.hero-container {
    color: #fff;
    max-width: 900px;
    z-index: 2;
    padding-bottom: 80px;
}

/* Animated Sub-badge */
.badge-animated {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.badge-line {
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
}

.badge-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.87rem;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-actions-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Wavy Divider */
.hero-wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.animated-waves {
    position: relative;
    width: 100%;
    height: 70px;
    margin-bottom: -1px;
    min-height: 40px;
    max-height: 150px;
}

.parallax-waves > use {
    animation: wave-slide 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax-waves > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax-waves > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax-waves > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax-waves > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes wave-slide {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1rem; }
    .animated-waves { height: 40px; }
}

/* 9. FEATURES GRID SECTION */
.features-section {
    background-color: var(--color-bg);
}

.feature-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 10px;
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px var(--color-card-shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(71, 118, 230, 0.15);
}

.feature-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: rgba(71, 118, 230, 0.06);
    border-radius: 50%;
    margin-bottom: 30px;
    color: var(--color-primary-start);
    font-size: 1.6rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background-color: var(--color-primary-start);
    color: #fff;
    transform: scale(1.1);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-text {
    font-size: 0.93rem;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* 10. ABOUT SECTIONS & LAYERED IMAGES */
.about-section {
    background-color: var(--color-bg);
}

.about-section-2 {
    background-color: var(--color-bg-alt);
}

.layered-visuals {
    position: relative;
    height: 520px;
    width: 100%;
}

.visual-wrap {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.visual-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.layered-visuals:hover .visual-wrap img {
    transform: scale(1.05);
}

.layer-1 {
    width: 320px;
    height: 430px;
    top: 0;
    left: 0;
    z-index: 1;
}

.layer-2 {
    width: 260px;
    height: 340px;
    bottom: 0;
    right: 20px;
    z-index: 2;
    border: 8px solid var(--color-bg);
}

.layered-visuals:hover .layer-2 {
    transform: translate(-10px, -10px);
}

/* About Content Text */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.about-badge .badge-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-start);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.81rem;
}

.about-badge .badge-right-line {
    width: 70px;
    height: 1px;
    background-color: var(--color-card-border);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-desc {
    color: var(--color-text-muted);
    font-size: 0.97rem;
    margin-bottom: 20px;
}

.about-actions {
    margin-top: 30px;
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .layered-visuals {
        height: 420px;
        max-width: 450px;
        margin: 0 auto 50px;
    }
    .layer-1 {
        width: 260px;
        height: 350px;
    }
    .layer-2 {
        width: 200px;
        height: 270px;
        right: 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .layered-visuals {
        height: 320px;
        max-width: 100%;
    }
    .layer-1 {
        width: 200px;
        height: 270px;
    }
    .layer-2 {
        width: 150px;
        height: 200px;
        border-width: 4px;
        right: 10px;
    }
}

/* 11. DYNAMIC TABS SECTION */
.tabs-section {
    background-color: var(--color-bg);
}

.header-block {
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--color-text-muted);
    margin-top: 15px;
}

.tabs-control-wrapper {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--color-card-border);
    margin-bottom: 60px;
}

.tabs-nav-list {
    display: flex;
    gap: 40px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px 8px 0 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.93rem;
    color: var(--color-text-muted);
    position: relative;
    transition: var(--transition-fast);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--color-primary-start);
    transition: var(--transition-smooth);
}

.tab-item.active .tab-btn {
    color: var(--color-primary-start);
}

.tab-item.active .tab-btn::after {
    width: 100%;
}

.tab-btn:hover {
    color: var(--color-primary-start);
}

/* Tab Panels & Media masks */
.tab-panel {
    display: none;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-panel.active {
    display: block;
    animation: fadeInTab 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-panel-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.tab-panel-desc {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 0.97rem;
}

.tab-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary-start);
    font-weight: 700;
    font-size: 0.93rem;
    margin-top: 15px;
}

.tab-panel-link i {
    transition: transform 0.2s ease;
}

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

/* Shaped Media Cutouts */
.tab-panel-media {
    display: flex;
    justify-content: center;
}

.media-mask {
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
}

.media-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mask-shape-1 {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.mask-shape-2 {
    border-radius: 30% 70% 70% 30% / 50% 60% 40% 50%;
}

.mask-shape-3 {
    border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
}

@media (max-width: 768px) {
    .tabs-nav-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    .tabs-control-wrapper {
        border-bottom: none;
    }
}

/* 12. NEWSLETTER & TESTIMONIALS SECTION */
.newsletter-reviews-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-card-border);
}

.newsletter-badge {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-start);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.81rem;
    margin-bottom: 15px;
}

.newsletter-heading {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--color-primary-start) 0%, var(--color-primary-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-desc {
    color: var(--color-text-muted);
    font-size: 0.97rem;
    margin-bottom: 35px;
}

/* Newsletter Input styling */
.newsletter-form {
    margin-bottom: 20px;
}

.form-group-inline {
    display: flex;
    background: #fff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid var(--color-card-border);
    transition: var(--transition-fast);
}

.form-group-inline:focus-within {
    border-color: var(--color-primary-start);
    box-shadow: 0 4px 20px rgba(71, 118, 230, 0.12);
}

.form-input {
    width: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0 20px;
    font-family: var(--font-body);
    font-size: 0.93rem;
}

.btn-submit {
    padding: 10px 30px !important;
}

.newsletter-privacy-text {
    font-size: 0.81rem;
    color: var(--color-text-muted);
}

.privacy-link {
    color: #333;
}

/* Testimonial slider */
.reviews-wrapper {
    background: #fff;
    border: 1px solid var(--color-card-border);
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.reviews-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.testimonials-slider-container {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-blockquote {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-main);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.testimonial-author-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.93rem;
}

/* Navigation controls */
.slider-arrows {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 5;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    pointer-events: auto;
    transition: var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.slider-arrow:hover {
    border-color: var(--color-primary-start);
    color: var(--color-primary-start);
    transform: scale(1.05);
}

.slider-prev { margin-left: -20px; }
.slider-next { margin-right: -20px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d8d8d8;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--color-primary-start);
    width: 20px;
    border-radius: 8px;
}

@media (max-width: 576px) {
    .reviews-wrapper { padding: 30px 20px; }
    .slider-arrows { display: none; }
}

/* 13. SEMANTIC FOOTER */
.site-footer {
    background-color: var(--color-footer-bg);
    color: #fff;
    position: relative;
}

.footer-wave-divider {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.flip-vertical {
    transform: rotate(180deg);
}

.footer-content-padding {
    padding: 80px 0 30px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 25px;
}

.footer-brand-text {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary-start);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Contact card */
.footer-contact-card {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card-icon {
    font-size: 1.3rem;
    color: var(--color-accent);
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 0.87rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-card-text {
    font-size: 0.81rem;
}

.contact-card-text a {
    color: rgba(255, 255, 255, 0.8);
}

.contact-card-text a:hover {
    color: var(--color-accent);
}

/* Footer Bottom Bar */
.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright-text {
    font-size: 0.81rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.follow-label {
    font-size: 0.81rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    font-size: 0.87rem;
}

.social-icons a:hover {
    background-color: var(--color-primary-start);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-bottom-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* 14. FLOATING BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background-color: var(--color-primary-start);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(71, 118, 230, 0.3);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.back-to-top i {
    font-size: 0.93rem;
}

.back-to-top span {
    font-size: 0.5rem;
    font-weight: 700;
    margin-top: -2px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-primary-end);
    transform: translateY(-3px);
}

/* 15. PERFORMANCE-FRIENDLY ENTRY AND EXIT SCROLL REVEALS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays */
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Entry animations for Hero on Load */
.entry-animation {
    opacity: 0;
    transform: translateY(25px);
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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