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

:root {
    --smokey-black: #1a1a1a;
    --dark-gray: #2d2d2d;
    --medium-gray: #404040;
    --light-gray: #666;
    --accent-red: #cc3300;
    --bright-red: #ff3300;
    --light-red: #f5e8e8;
    --white: #ffffff;
    --text-light: #e6e6e6;
    --text-gray: #b3b3b3;
    --border-dark: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--smokey-black);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Navigation - FIXED STICKY HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    background: var(--dark-gray);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Adjust header to account for sticky marquee */
.main-nav {
    position: sticky;
    top: 44px;
    /* Height of marquee (12px padding × 2 + text height ≈ 44px) */
    z-index: 1000;
}

.main-nav.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

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

.logo a {
    text-decoration: none;
}

.logo h1 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
}

.logo span {
    color: var(--accent-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-switcher {
    display: flex;
    background: var(--medium-gray);
    border-radius: 25px;
    padding: 4px;
}

.lang-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--accent-red);
    color: var(--smokey-black);
}

/* Two Button Navigation */
.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.phone-button {
    background: var(--accent-red);
    color: var(--smokey-black);
}

.phone-button:hover {
    background: var(--bright-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 51, 0, 0.3);
}

.contact-button {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-red);
}

.contact-button:hover {
    background: var(--accent-red);
    color: var(--smokey-black);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Slideshow Banner */
.slideshow-banner {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*animation: zoomPan 20s ease-in-out infinite;*/
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(204, 51, 0, 0.3) 100%);
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.slide-button {
    background: var(--accent-red);
    color: var(--smokey-black);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.slide-button:hover {
    background: var(--bright-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(204, 51, 0, 0.4);
}

.slideshow-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
}

.slide-prev,
.slide-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slide-prev:hover,
.slide-next:hover {
    background: var(--accent-red);
    color: var(--smokey-black);
}

.slide-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-red);
    transform: scale(1.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-red);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Preview */
.services-preview {
    padding: 100px 0;
    background: var(--dark-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--medium-gray);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204, 51, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--bright-red);
}

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

.cta-button-large {
    background: var(--accent-red);
    color: var(--smokey-black);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button-large:hover {
    background: var(--bright-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(204, 51, 0, 0.4);
}

/* Why Choose Us */
.why-choose {
    padding: 100px 0;
    background: var(--smokey-black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--dark-gray);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature i {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
}

.feature h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--smokey-black);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-section h2 span {
    color: var(--accent-red);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    color: var(--text-gray);
}

/* Animations */
@keyframes zoomPan {
    0% {
        transform: scale(1.1) translateX(0px) translateY(0px);
    }

    25% {
        transform: scale(1.15) translateX(-10px) translateY(-5px);
    }

    50% {
        transform: scale(1.2) translateX(0px) translateY(0px);
    }

    75% {
        transform: scale(1.15) translateX(10px) translateY(5px);
    }

    100% {
        transform: scale(1.1) translateX(0px) translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Scroll Animations */
.service-card,
.feature {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible,
.feature.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-gray);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-right {
        display: none;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Mobile buttons */
    .nav-buttons-mobile {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
        background: var(--dark-gray);
        border-top: 1px solid var(--border-dark);
    }

    .nav-buttons-mobile .nav-button {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .service-card,
    .feature {
        padding: 2rem 1rem;
    }

    .nav-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Interactive Services Section */
.interactive-services {
    padding: 80px 0;
    background: var(--dark-gray);
}

.services-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.service-accordion-item {
    background: var(--medium-gray);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-dark);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-accordion-item.active {
    border-color: var(--accent-red);
    box-shadow: 0 10px 30px rgba(204, 51, 0, 0.2);
}

.service-accordion-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-accordion-header:hover {
    background: rgba(204, 51, 0, 0.05);
}

.service-accordion-item.active .service-accordion-header {
    background: rgba(204, 51, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    min-width: 60px;
    text-align: center;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-info p {
    color: var(--text-gray);
    margin: 0;
}

.service-arrow {
    color: var(--accent-red);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-accordion-item.active .service-arrow {
    transform: rotate(180deg);
}

.service-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.service-accordion-item.active .service-accordion-content {
    max-height: 1000px;
}

.service-details {
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    border-top: 1px solid var(--border-dark);
    padding-top: 2rem;
}

.service-description h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-description p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-description ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-description li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-badge {
    background: rgba(204, 51, 0, 0.1);
    border: 1px solid var(--accent-red);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-badge i {
    color: var(--accent-red);
    font-size: 1.5rem;
}

.feature-badge span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .service-accordion-header {
        padding: 1.5rem;
        gap: 1rem;
    }

    .service-icon {
        font-size: 2rem;
        min-width: 50px;
    }

    .service-info h3 {
        font-size: 1.3rem;
    }

    .service-details {
        grid-template-columns: 1fr;
        padding: 0 1.5rem 1.5rem;
        gap: 1.5rem;
    }

    .service-features {
        flex-direction: row;
        justify-content: center;
    }

    .feature-badge {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .service-accordion-header {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    .service-features {
        flex-direction: column;
    }
}

/* Mobile Language Switcher */
.mobile-language-switcher {
    display: none;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--dark-gray);
    border-top: 1px solid var(--border-dark);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1001;
}

/* Show mobile language switcher when menu is active */
.nav-links.active~.mobile-language-switcher {
    display: flex;
}

@media (max-width: 768px) {
    .nav-right {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-gray);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-language-switcher .language-switcher {
        background: var(--medium-gray);
        border-radius: 25px;
        padding: 4px;
    }
}

/* Service Photos for Index Page */
.service-photo {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px 10px 0 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(204, 51, 0, 0.1) 0%, rgba(204, 51, 0, 0.3) 100%);
    transition: background 0.3s ease;
}

.service-card:hover .photo-overlay {
    background: linear-gradient(135deg, rgba(204, 51, 0, 0.2) 0%, rgba(204, 51, 0, 0.4) 100%);
}

/* Update service card layout for photos */
.services-preview .service-card {
    background: var(--medium-gray);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
    position: relative;
}

.services-preview .service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.services-preview .service-card h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin: 1.5rem 1.5rem 1rem;
}

.services-preview .service-card p {
    color: var(--text-gray);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.services-preview .service-link {
    margin: 0 1.5rem 1.5rem;
    display: block;
}

/* Service Photos for Accordion */
.service-accordion-header .service-photo {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-accordion-item:hover .service-photo {
    transform: scale(1.05);
}

.photo-overlay-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(204, 51, 0, 0.1) 0%, rgba(204, 51, 0, 0.3) 100%);
    transition: background 0.3s ease;
}

.service-accordion-item:hover .photo-overlay-small {
    background: linear-gradient(135deg, rgba(204, 51, 0, 0.2) 0%, rgba(204, 51, 0, 0.4) 100%);
}

/* Update accordion header layout for photos */
.service-accordion-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-accordion-header:hover {
    background: rgba(204, 51, 0, 0.05);
}

.service-accordion-item.active .service-accordion-header {
    background: rgba(204, 51, 0, 0.1);
}

.service-info {
    flex: 1;
}

.service-info h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.service-info p {
    color: var(--text-gray);
    margin: 0;
}

/* ===== MARQUEE STYLES ===== */
.marquee-section {
    background: linear-gradient(90deg, #7D2E32 0%, #AF504C 100%);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    position: sticky;
    /* ADD THIS LINE */
    top: 0;
    /* ADD THIS LINE */
    z-index: 999;
    /* ADD THIS LINE */
    margin: 0;
    border: none;
    /* Remove borders */
    box-shadow: none;
    /* Remove shadow */
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 25s linear infinite;
    will-change: transform;
    padding: 2px 0;
}

.marquee-text {
    display: inline-flex;
    align-items: center;
    padding: 0 35px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.marquee-text i {
    margin-right: 12px;
    color: #E6C9C8;
    font-size: 1.1rem;
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Remove gradient edges for cleaner look */
.marquee-container::before,
.marquee-container::after {
    display: none;
    /* Remove gradient edges */
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
    .marquee-text {
        font-size: 1rem;
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .marquee-section {
        padding: 10px 0;
    }

    .marquee-text {
        font-size: 0.9rem;
        padding: 0 20px;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-33.33%);
        }
    }
}

@media (max-width: 480px) {
    .marquee-section {
        padding: 8px 0;
    }

    .marquee-text {
        font-size: 0.8rem;
        padding: 0 15px;
        font-weight: 600;
    }
}

/* Pause animation on hover for better readability */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}


/* Optional gradient fade effect on edges */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #1a365d, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #1a365d, transparent);
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
    .marquee-text {
        font-size: 1.05rem;
        padding: 0 25px;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-33.33%);
        }
    }
}

@media (max-width: 768px) {
    .marquee-section {
        padding: 12px 0;
    }

    .marquee-text {
        font-size: 0.95rem;
        padding: 0 20px;
    }

    .marquee-text i {
        margin-right: 8px;
        font-size: 0.95rem;
    }

    .marquee-container::before,
    .marquee-container::after {
        width: 50px;
    }

    /* Slower animation on mobile for better readability */
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-33.33%);
        }
    }
}

@media (max-width: 480px) {
    .marquee-text {
        font-size: 0.85rem;
        padding: 0 15px;
    }

    .marquee-text i {
        margin-right: 6px;
        font-size: 0.85rem;
    }
}

/* Ensure slideshow is properly initialized */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    /* Ensure minimum height */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    visibility: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.partners-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    /* This ensures all text is centered */
    padding: 0 20px;
}

/* Partners Banner - Smokey Red Version */
.partners-banner {
    background: linear-gradient(135deg,
            #8B572E 0%,
            /* Dark Red-Orange - base */
            #8B2222 25%,
            /* Fire Brick Red */
            #640000 50%,
            /* Dark Red */
            #8B572E 75%,
            /* Dark Red-Orange */
            #8B2222 100%
            /* Fire Brick Red */
        );
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Smokey overlay effect */
.partners-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Animated gradient flow */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.handshake-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: handshake 2s infinite;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes handshake {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-10deg) scale(1.05);
    }

    75% {
        transform: rotate(10deg) scale(1.05);
    }
}

.partners-banner h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.partners-banner p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #8B572E;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: white;
    border-color: white;
    color: #640000;
}

/* Subtle floating particles for smokey effect */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
    }
}

/* Create multiple particles */
.particle:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 30%;
    animation-duration: 20s;
    animation-delay: 5s;
}

.particle:nth-child(3) {
    width: 30px;
    height: 30px;
    left: 50%;
    animation-duration: 30s;
    animation-delay: 10s;
}

.particle:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 70%;
    animation-duration: 22s;
    animation-delay: 15s;
}

.particle:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 90%;
    animation-duration: 28s;
    animation-delay: 2s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .handshake-icon {
        font-size: 4rem;
    }

    .partners-banner h2 {
        font-size: 2.2rem;
        padding: 0 20px;
    }

    .partners-banner p {
        font-size: 1.2rem;
        padding: 0 20px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .partners-banner {
        padding: 40px 0;
    }

    .partners-banner h2 {
        font-size: 1.8rem;
    }

    .partners-banner p {
        font-size: 1.1rem;
    }

    .handshake-icon {
        font-size: 3.5rem;
    }
}