/* 
   ==========================================================================
   Theme Name: Resources Events & Promotions - Professional
   ========================================================================== 
*/

:root {
    /* Color Palette */
    --primary-color: #2a8ead; /* Cloud Waves Teal/Cyan */
    --primary-hover: #1e7592;
    --secondary-color: #2c2e4a; /* Cloud Waves Deep Navy */
    --text-color: #4a4a4a;
    --text-light: #888888;
    --bg-color: #ffffff;
    --bg-light: #f9f9fb;
    --white: #ffffff;
    --border-color: #eaeaea;

    /* Typography */
    --font-family: "Outfit", sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 25px 50px rgba(42, 142, 173, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

/* Typography Utilities */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary-color);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2rem;
}

.section-description.centered {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(209, 35, 40, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(209, 35, 40, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-dark:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
    background: rgba(26, 26, 26, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header.scrolled .logo,
.header.scrolled .nav-link {
    color: var(--secondary-color);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    z-index: 100;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.footer-logo img {
    height: 60px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    font-size: 0.85rem;
}

.top-contact {
    display: flex;
    gap: 20px;
}

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

.top-contact a,
.top-social a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-fast);
}

.top-contact a:hover,
.top-social a:hover {
    color: var(--primary-color);
}

body.has-topbar .header {
    top: 40px;
}

body.has-topbar .header.scrolled {
    top: 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
}

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

/* Dropdown Menu */
.has-dropdown {
    position: relative;
    padding: 10px 0; /* increase hover area */
}

.dropdown-icon {
    font-size: 0.6em;
    margin-left: 6px;
    display: inline-block;
    transition: transform var(--transition-fast);
    vertical-align: middle;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* bouncy animation */
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 14px 24px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    font-size: 0.9375rem;
}

.dropdown-menu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform var(--transition-fast);
    transform-origin: bottom;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
    padding-left: 32px;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition-fast);
}

.header.scrolled .mobile-menu-toggle span {
    background-color: var(--secondary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.hero-slider-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.65, 0, 0.15, 1);
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    color: var(--white);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-indicators {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.indicator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
    transition: var(--transition-normal);
}

.indicator::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
}

.indicator.active {
    color: var(--white);
}

.indicator.active::after {
    height: 100%;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats {
    display: flex;
    gap: 40px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-image-wrapper {
    position: relative;
}

.about-image-blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    animation: blob-bounce 8s infinite alternate;
}

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

.experience-badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 4s ease-in-out infinite;
}

.exp-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.exp-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.4;
    text-transform: uppercase;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(42, 142, 173, 0.2);
}

.service-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.service-card:hover .service-img-wrap img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-link-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.service-card:hover .service-link-icon {
    transform: translateY(0);
}

.service-content {
    padding: 24px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        #000000 100%
    );
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: var(--primary-color);
    opacity: 0.1;
    transform: rotate(-15deg);
    pointer-events: none;
}

.cta-container {
    display: flex;
    justify-content: center;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.cta-btn {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #111;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

@media (max-width: 768px) {
    .footer {
        padding-top: 50px;
    }
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Tablet: 2-column with explicit placement */
@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "about about"
            "quicklinks services"
            "contact contact";
        gap: 36px 50px;
    }

    .footer-col.about-col    { grid-area: about; }
    .footer-col.quicklinks-col { grid-area: quicklinks; }
    .footer-col.services-col   { grid-area: services; }
    .footer-col.contact-col  { grid-area: contact; }

    /* Contact col: side-by-side items on tablet */
    .footer-col.contact-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mobile: About full-width, Quick Links + Services side-by-side, Contact full-width */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "about    about"
            "quicklinks services"
            "contact  contact";
        gap: 28px 24px;
        text-align: left;
    }

    .footer-col.about-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col.contact-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-col.quicklinks-col,
    .footer-col.services-col {
        text-align: left;
    }

    .footer-text {
        max-width: 100% !important;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer-text {
    font-size: 0.9375rem;
    margin-bottom: 24px;
    max-width: 340px;
}

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

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

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

@media (max-width: 768px) {
    /* Only center the underline in the About (centered) column */
    .footer-col.about-col .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

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

.footer-links a {
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(42, 142, 173, 0.12);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.contact-detail-item:hover .contact-detail-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.detail-value {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-fast);
    line-height: 1.4;
}

.detail-value:hover {
    color: var(--white);
}

.address-text {
    font-size: 0.95rem;
    max-width: 250px;
}

@media (max-width: 768px) {
    .footer-contact-details {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .contact-detail-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 14px;
    }

    .address-text {
        max-width: 100%;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: 24px 0;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .bottom-links {
        gap: 16px;
    }
}

.bottom-links {
    display: flex;
    gap: 24px;
}

.bottom-links a:hover {
    color: var(--white);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes blob-bounce {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-image-wrapper {
        margin-top: 40px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    /* footer-container responsive layout is handled in the footer section above */
}


@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    body.has-topbar .header {
        top: 0;
    }
    .nav-list {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .cta-title {
        font-size: 2rem;
    }
    .bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   Clients Section
   ========================================================================== */
.clients {
    background-color: var(--white);
    padding: 80px 0 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.sub-title {
    color: var(--text-light);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.clients-marquee {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clients-marquee::before,
.clients-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-marquee 25s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo {
    margin: 0 50px;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-light);
    opacity: 0.4;
    transition: var(--transition-fast);
    font-family: "Outfit", sans-serif;
    letter-spacing: -0.5px;
    cursor: default;
}

.client-logo:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: scale(1.1);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
    background-color: var(--white);
}

.testimonials-slider-wrap {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.testimonials-slider-wrap::before,
.testimonials-slider-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-slider-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.testimonials-slider-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.testimonials-track {
    display: flex;
    width: max-content;
    animation: scroll-testimonials 40s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 400px;
    flex-shrink: 0;
    margin-right: 30px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-normal);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(42, 142, 173, 0.2);
}

.quote-icon {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.08;
    font-family: Georgia, serif;
    position: absolute;
    top: 10px;
    right: 30px;
    line-height: 1;
    z-index: -1;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info h4 {
    font-size: 1.125rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-light);
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Additional Mobile Fixes
   ========================================================================== */
@media (max-width: 576px) {
    .testimonial-card {
        width: 85vw;
        padding: 30px;
    }

    .clients-track {
        animation-duration: 20s;
    }

    .client-logo {
        margin: 0 30px;
        font-size: 1.25rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}
