/*
Theme Name: RK Spordikool
Theme URI: https://rkspordikool.test
Author: RK Team
Description: Custom theme for RK Spordikool based on playful and professional design.
Version: 1.0
*/

/* Import Google Fonts for better typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Import Typography System */
@import url('assets/css/typography.css');

/* CSS Variables for Brand Colors */
:root {
    --bright-yellow: #FFD600;
    --rk-blue: #0066CC;
    --rk-green: #28B946; /* Stronger green like in the image */
    --white: #ffffff;

    --dark-grey: #333333;
    --text-color: #2c3e50;
    --border-radius: 15px;
    --border-radius-small: 8px;

    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {

    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.625;
    color: var(--text-color);
    overflow-x: hidden;
    font-size: 1.125rem;
}

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

/* =============================================================================
   TYPOGRAPHY & SECTION TITLES
   ============================================================================= */

/* Typography - Updated to use new system */
.section-title {
    text-align: center;
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: 3rem;
    color: var(--text-color);
}

.section-title-center {
    color: var(--text-color);
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

/* Remove all ::after decorative lines from section titles by default */
.section-title-center::after {
    display: none !important;
}

/* Section-specific colored lines */

/* About Section - Blue line */
.about-section .section-title-center::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--rk-blue);
    border-radius: 2px;
    display: block !important;
}

/* Why Choose Us Section - Yellow line */
.why-choose-section .section-title-center::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--bright-yellow);
    border-radius: 2px;
    display: block !important;
}

/* Gallery Section - Blue gradient line */
.gallery-section .section-title-center::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--rk-blue), #B8DCF2);
    border-radius: 2px;
    display: block !important;
}

/* Contact Section - Yellow line */
.contact-section .section-title-center::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--bright-yellow);
    border-radius: 2px;
    display: block !important;
}

/* =============================================================================
   NAVIGATION - Conflicting styles removed
   ============================================================================= */
/* All navigation and header styles are now handled in nav.css */
/* Removed duplicate .nav-drawer styles that were overwriting nav.css */

/* Remove old navigation styles */
.main-navigation,
.nav-wrapper,
.site-logo,
.primary-menu,
.mobile-menu-toggle {
    display: none !important;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rk-blue) 0%, var(--bright-yellow) 50%, var(--rk-green) 100%);
    z-index: 1; /* Lower z-index so services can appear above */
    padding-bottom: 0px;
}

/* Hide gradient background when video is present */
.hero-section:has(.hero-background-video) {
    background: none;
}

.hero-background-video,
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -10; /* More negative z-index to ensure it stays behind everything */
}

/* Force video element to stay behind services section */
.hero-background-video {
    isolation: isolate; /* Create a new stacking context */
    z-index: -10;
    transform: translateZ(-1px); /* Force hardware acceleration and layer separation */
    will-change: transform; /* Hint to browser for layer optimization */
    pointer-events: none; /* Ensure video doesn't interfere with overlapping elements */
}

.hero-background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
    z-index: 1;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subheading {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: var(--bright-yellow);
    color: var(--text-color);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--rk-shadow-md);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Services Section - Enhanced with depth while preserving original design */
.services-section {
    padding: 80px 0 0 0;
    background: #fff;
    position: relative;
    padding-bottom: 0px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

/* Service Card - Original design with added depth */
.service-card {
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 .5px 1px rgba(0,0,0,.06), 0 8px 24px rgba(15,23,42,.10);
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15,23,42,.16);
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: box-shadow .18s ease;
    }
    .service-card:hover {
        transform: none;
    }
}

/* Service Card Color Variants - Original colors preserved */
.service-blue {
    background: var(--rk-blue);
    color: var(--white);
    border: 1px solid rgba(255,255,255,.18);
}

.service-yellow {
    background: #facc00;
    color: var(--dark-grey);
    border: 1px solid rgba(255,255,255,.18);
}

.service-green {
    background: #02a54c;
    color: var(--white);
    border: 1px solid rgba(255,255,255,.18);
}

/* Service Icons - Original sizing preserved */
.service-card .service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.service-card .service-icon img {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Make the third service card (SMASHI) icon larger - preserved */
.service-blue .service-icon img {
    max-width: 234px;
    max-height: 234px;
}

/* Service Typography - Original preserved */
.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Service CTA - Simple button styling */
.service-cta {
    display: inline-block;
    background: rgba(255,255,255,.2);
    color: #ffffff !important; /* Force white text for visibility on all backgrounds */
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all .18s ease;
    border: 1px solid rgba(255,255,255,.3);
}

.service-cta:hover {
    background: rgba(255,255,255,.3);
    transform: translateY(-1px);
    text-decoration: none;
    color: #ffffff !important; /* Maintain white text on hover */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .services-section {
        padding: 48px 0;
    }

    .services-grid {
        gap: 24px;
        margin-bottom: 32px;
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* About Section */
.about-section {
    background: #f8f9fa; /* Light gray like in the design */
    padding: 2rem 0 0 0; /* Removed bottom padding to fix wave transition */
    position: relative;
    padding-bottom: 0px;
}

.about-section .container {
    margin-bottom: 50px; /* Added bottom margin for spacing without breaking transition */
}

.about-text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.about-text-center p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--rk-blue);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Small Service Cards */
.service-cards-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.service-card-small {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card-small.service-blue {
    background: var(--rk-blue);
    color: var(--white);
}

.service-card-small.service-yellow {
    background: var(--bright-yellow);
    color: var(--text-color);
}

.service-card-small:hover {
    transform: translateY(-5px);
}

.service-card-small .service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-card-small h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-card-small p {
    font-size: 0.9rem;
    margin: 0;
}

/* Team Members */
.team-members {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 2rem;
    flex-wrap: wrap;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 250px;
    width: 100%;
}

.member-photo {
    width: 250px;
    height: 280px;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.member-photo.yellow-bg {
    background: var(--bright-yellow);
}

.member-photo.green-bg {
    background: var(--rk-green);
}

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

.team-member h3 {
    font-size: 1.8rem;
    color: var(--rk-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.team-member p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    max-width: 220px;
}

/* Why Choose Section - Matching Screenshot Design */
.why-choose-section {
    background: var(--rk-green);
    padding: 4rem 0 4rem 0; /* Added bottom padding for proper content spacing */
    position: relative;
    overflow: hidden;
}

.why-choose-section .container {
    position: relative;
    z-index: 1;
}

/* Centered title spanning both columns */
.section-title-centered {
    text-align: center;
    margin-bottom: 4rem; /* Increased from 3rem to 4rem for more space */
    grid-column: 1 / -1;
}

.why-choose-content {
    display: grid;
    gap: 4rem;
    align-items: start;
}

/* Left Content - Testimonial Carousel */
.left-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    position: relative;
    width: 100%;
    height: auto;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-item.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Professional splash-like testimonial design */
.testimonial-splash {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.testimonial-splash::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 214, 0, 0.1) 50%,
        transparent 70%);
    transform: rotate(25deg);
    pointer-events: none;
}

.testimonial-splash::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg,
        rgba(40, 185, 70, 0.08) 0%,
        transparent 50%);
    border-radius: 50%;
    pointer-events: none;
}

.quote-mark {
    position: absolute;
    top: -10px;
    left: 1.5rem;
    font-size: 4rem;
    color: rgba(40, 185, 70, 0.3);
    font-family: serif;
    line-height: 1;
    z-index: 1;
}

.testimonial-splash blockquote {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    padding: 0;
    border: none;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    color: var(--rk-green);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
    position: relative;
    z-index: 2;
}

/* Testimonial Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

.dot.active,
.dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

/* Right Content - Title and Benefits */
.right-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
}

.section-title-yellow {
    font-size: 2.8rem;
    color: var(--bright-yellow);
    margin: 0;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding-bottom: 40px;
}

/* Benefit Cards Modern - Enhanced Design */
.benefit-cards-modern {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.benefit-card-enhanced {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.benefit-card-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 214, 0, 0.1) 50%,
        transparent 70%);
    transform: rotate(25deg);
    pointer-events: none;
    transition: all 0.6s ease;
}

.benefit-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.benefit-card-enhanced:hover::before {
    top: -30%;
    right: -30%;
    opacity: 0.8;
}

.benefit-icon-modern {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon-modern.security {
    background: linear-gradient(135deg, #0066CC 0%, #3385ff 100%);
}

.benefit-icon-modern.fun {
    background: linear-gradient(135deg, #FFD600 0%, #ffed4e 100%);
    color: #333;
}

.benefit-icon-modern.community {
    background: linear-gradient(135deg, #ff8c42 0%, #ffb366 100%);
}

.benefit-icon-modern::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card-enhanced:hover .benefit-icon-modern::after {
    opacity: 1;
}

.benefit-card-enhanced h3 {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.2;
}

.benefit-card-enhanced p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* Remove old benefit card styles */
.benefit-cards-horizontal,
.benefit-card-simple,
.benefit-icon-circle,
.benefit-icon-circle.blue-bg,
.benefit-icon-circle.yellow-bg,
.benefit-icon-circle.orange-bg,
.benefit-card-simple span {
    display: none !important;
}

/* Contact Section - Professional Redesign */
.contact-section {
    background: var(--rk-blue);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Add subtle background pattern */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.02) 100%);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section .section-title-center {
    color: var(--white);
    font-size: var(--font-size-h2) !important;
    font-weight: var(--font-weight-extrabold) !important;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form - Enhanced Professional Styling */
.contact-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    color: var(--white) !important;
    font-size: var(--font-size-h3) !important;
    font-weight: var(--font-weight-bold) !important;
    margin-bottom: 2rem !important;
    text-align: center;
}

/* Form--tight Styling (shared between registration and contact forms) */
.form--tight .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form--tight .wpcf7-form-control-wrap {
    position: relative;
}

.form--tight .wpcf7-form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form--tight .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--rk-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form--tight .wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.form--tight .wpcf7-validation-errors,
.form--tight .wpcf7-mail-sent-ng {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.form--tight .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Front-page contact form button - Match contact page styling with yellow CTA */
.form--tight .wpcf7-submit {
    width: 100%;
    border-radius: 999px;
    font-weight: 700;
    padding: .95rem 1.25rem;
    background: var(--bright-yellow);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    transition: transform .16s cubic-bezier(.22,1,.36,1), box-shadow .16s;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form--tight .wpcf7-submit:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.form--tight label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* More specific BR hiding - only hide BRs, not the form controls */
.form--tight label + br,
.form--tight .wpcf7-form p > br:only-child,
.form--tight .wpcf7-form p > br:first-child:last-child {
    display: none !important;
}

/* Hide BRs that are standalone between form elements */
.form--tight .wpcf7-form > p > br:only-child {
    display: none !important;
}

/* Form sections */
.form--tight .form-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rk-blue);
}

.form--tight .form-section-title:first-of-type {
    margin-top: 0;
}

/* Fallback form styling */
.form--tight .fallback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form--tight .form-field {
    display: flex;
    flex-direction: column;
}

.form--tight .form-field label {
    margin-bottom: 0.5rem;
}

.form--tight .form-field input,
.form--tight .form-field select,
.form--tight .form-field textarea {
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form--tight .form-field input:focus,
.form--tight .form-field select:focus,
.form--tight .form-field textarea:focus {
    outline: none;
    border-color: var(--rk-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form--tight .form-promise {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
}

/* Legacy contact form styles - keeping for compatibility */
.contact-form .wpcf7-form {
    display: grid;
    gap: 1.5rem;
}

/* Footer Section */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    padding: 3rem 0 2rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0 0 2rem 0;
}

.footer-left {
    display: flex;
    align-items: center;
}

/* Footer logo styling - matching header design */
.footer-logo {
    position: relative;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.footer-logo:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.footer-logo img,
.footer-logo .custom-logo {
    height: 50px;
    width: auto;
    display: block;
    filter: contrast(1.1) brightness(1.05);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.footer-links {
    margin-bottom: 0.5rem;
}

.privacy-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.privacy-link:hover {
    color: var(--bright-yellow);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 214, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* Footer responsive design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-right {
        align-items: center;
    }

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

    .footer-logo {
        padding: 0.5rem;
    }

    .footer-logo img,
    .footer-logo .custom-logo {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 2rem 0 1.5rem 0;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .privacy-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .footer-copyright p {
        font-size: 0.85rem;
    }
}

/* Wave Transitions - Full Width System */

/* Base Wave Transition Classes */
.wave-transition-top,
.wave-transition-bottom,
.wave-transition-top-dual,
.wave-transition-bottom-dual {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    margin-left: 0;
    margin-right: 0;
}

/* SVG Styling for All Wave Transitions - Full Width Coverage */
.wave-transition-top svg,
.wave-transition-bottom svg,
.wave-transition-top-dual svg,
.wave-transition-bottom-dual svg {
    position: relative;
    display: block;
    width: 100vw;
    height: 120px;
    margin-left: calc(-50vw + 50%);
    max-width: none;
}

/* Enhanced Section Divider with Subtle Shadow */
.section-divider svg path,
.wave-transition-top svg path,
.wave-transition-bottom svg path,
.wave-transition-top-dual svg path,
.wave-transition-bottom-dual svg path {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
}

/* Alternative approach for containers with padding/margins */
@media (min-width: 1px) {
    .wave-transition-top svg,
    .wave-transition-bottom svg,
    .wave-transition-top-dual svg,
    .wave-transition-bottom-dual svg {
        width: calc(100vw);
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
}

/* Dual Wave Alignment - Bottom Transitions */
.wave-transition-bottom-dual svg:first-child {
    margin-bottom: -120px; /* Align first wave with second wave */
}

.wave-transition-bottom-dual svg:last-child {
    margin-top: -2px;
    z-index: 2;
}

/* Gallery Section Specific Wave Styling - Only affects gallery dual waves */
.gallery-section .wave-transition-bottom-dual {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    margin-bottom: -65px; /* Adjusted negative margin for better positioning */
}

.gallery-section .wave-transition-bottom-dual svg:first-child {
    margin-bottom: -118px; /* Adjusted to eliminate gap between waves */
    z-index: 1;
    transform: scaleY(-1); /* Flip the light blue wave vertically */
}

.gallery-section .wave-transition-bottom-dual svg:last-child {
    margin-top: -5px; /* Increased negative margin to eliminate gap with contact section */
    z-index: 2;
    transform: scaleY(1); /* Ensure proper orientation - only for gallery */
}

/* Specific wave transition colors to match section backgrounds */
/* Services to About transition */
.services-section .wave-transition svg path {
    fill: #f8f9fa; /* Light gray for about section */
}

/* About to Why Choose - dual wave like in the image */
.about-section .dual-wave-transition svg:first-child path {
    fill: var(--bright-yellow); /* Yellow wave */
}

.about-section .dual-wave-transition svg:last-child path {
    fill: var(--rk-green); /* Green wave flowing into why-choose section */
}

/* Why Choose to Contact transition */
.why-choose-section .wave-transition svg path {
    fill: var(--white); /* White for gallery section */
}

/* Contact to Gallery transition */
.contact-section .wave-transition svg path {
    fill: var(--white); /* White for gallery section */
}

/* Why Choose to Gallery - dual wave transition */
.why-choose-section .dual-wave-transition svg:first-child path {
    fill: var(--bright-yellow); /* Yellow wave like about section */
}

.why-choose-section .dual-wave-transition svg:last-child path {
    fill: var(--rk-green); /* Green wave like about section */
}

/* Gallery Section */
.gallery-section {
    background: #E8F4FD; /* Light blue background to match the screenshot */
    padding: 4rem 0;
    position: relative;
    padding-bottom: 0px;
}

.gallery-section .container {
    margin-bottom: 100px; /* Added bottom margin for spacing */
}

.gallery-section .section-title-center {
    color: var(--text-color);
    margin-bottom: 3rem;
}

.gallery-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 1rem);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .why-choose-content {
        gap: 3rem;
    }

    .benefit-cards-modern {
        gap: 1.2rem;
    }

    .benefit-card-enhanced {
        min-width: 160px;
        max-width: 200px;
        padding: 1.8rem 1.3rem;
    }

    .benefit-icon-modern {
        width: 60px;
        height: 60px;
    }

    .benefit-card-enhanced h3 {
        font-size: 1.1rem;
    }

    .benefit-card-enhanced p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subheading {
        font-size: 1.1rem;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .right-content {
        padding-left: 0;
    }

    .section-title-yellow {
        font-size: 2.2rem;
        padding-bottom: 20px;
        text-align: center;
    }

    .benefit-cards-modern {
        justify-content: center;
        gap: 1rem;
    }

    .benefit-card-enhanced {
        min-width: 140px;
        max-width: 180px;
        padding: 1.5rem 1rem;
    }

    .benefit-icon-modern {
        width: 55px;
        height: 55px;
    }

    .benefit-card-enhanced h3 {
        font-size: 1rem;
    }

    .benefit-card-enhanced p {
        font-size: 0.8rem;
    }

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

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

    .team-members {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

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

    .gallery-item {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheading {
        font-size: 1rem;
    }

    .section-title-center {
        font-size: 2rem;
    }

    .section-title-yellow {
        font-size: 1.8rem;
    }

    .benefit-cards-modern {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .benefit-card-enhanced {
        min-width: 280px;
        max-width: 320px;
        padding: 1.8rem 1.5rem;
    }

    .benefit-icon-modern {
        width: 60px;
        height: 60px;
    }

    .benefit-card-enhanced h3 {
        font-size: 1.1rem;
    }

    .benefit-card-enhanced p {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }

    .gallery-item {
        flex: 0 0 100%;
    }

    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }
}

.info-section ul{
    list-style: none !important;
}
