/* Auto Slideshow Section Styles */
.auto-slideshow-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: white;
    margin-top: 100px; /* Reduced spacing from previous section by another 50px */
}

.auto-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.auto-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 0;
}

.auto-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay gradient for better text visibility */
.auto-slideshow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.8) 0%, 
        rgba(0,0,0,0.5) 30%, 
        rgba(0,0,0,0.5) 70%,
        rgba(0,0,0,0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.auto-slideshow-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 1520px;
    padding: 0 80px;
    box-sizing: border-box;
}

.auto-slideshow-label {
    font-size: 14px;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 10px;
}

.auto-slideshow-title {
    font-size: 45px;
    font-weight: 200; /* Changed to extra light as requested */
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 30px 0;
}

/* Contact information styles */
.contact-info {
    margin-top: 20px;
}

.contact-email,
.contact-phone {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-email {
    margin-bottom: 15px;
}

/* Small label below contact info */
.contact-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 5px;
}

/* Contact columns styles */
.contact-columns {
    position: absolute;
    bottom: 80px; /* Increased bottom padding to match top spacing */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: flex-end; /* Align to the right */
    align-items: center;
    z-index: 2;
    width: 100%;
    max-width: 1520px; /* Match the same max-width as other content */
    padding: 0 80px;
    box-sizing: border-box;
}

.contact-info-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
}

.markler-image {
    margin-left: 40px;
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.markler-image.fade-in-up {
    animation: fadeInUpMarkler 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.markler-link {
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.markler-link:hover {
    transform: scale(1.05);
}

.markler-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.markler-link:hover img {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.contact-column {
    flex: 0 0 auto; /* Don't let columns grow or shrink */
    width: 280px; /* Increased width for each column */
    margin-right: 40px; /* Increased spacing between columns */
    color: #ffffff;
}

.contact-column:last-child {
    margin-right: 0;
}

.column-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
    opacity: 0.8;
}

.column-text {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    opacity: 0.7;
}

.column-text a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.column-text a:hover {
    opacity: 0.8;
}

.copy-text {
    cursor: pointer;
    position: relative;
}

.copy-text:hover {
    text-decoration: underline;
}

.whatsapp-link {
    display: inline-block;
    margin-top: 5px;
    color: #25D366 !important;
    font-weight: 400;
}

/* Copy notification */
.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.copy-notification.show {
    opacity: 1;
}

/* Finance tabs styling */
.finance-tabs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.finance-tab {
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 300;
    border-left: 3px solid transparent;
}

.finance-tab:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.finance-tab.active {
    background-color: rgba(0, 0, 0, 0.5);
    border-left: 3px solid #fff;
}

.finance-tab-content {
    position: relative;
}

.finance-tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.finance-tab-pane.active {
    display: block;
    opacity: 1;
}

/* Mobile styles for finance tabs */
@media (max-width: 768px) {
    .finance-tabs {
        margin-bottom: 30px;
    }
    
    .finance-tab {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Complete rebuild of auto-slideshow section for mobile */
    .auto-slideshow-section {
        position: relative !important;
        height: auto !important;
        min-height: 100vh !important;
        padding: 180px 0 60px 0 !important; /* Further increased top padding for better visibility */
        margin-top: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Background slideshow */
    .auto-slideshow {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0 !important;
    }
    
    .auto-slide {
        background-position: center center !important;
    }
    
    /* Dark overlay for better text readability */
    .auto-slideshow-section::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important; /* Darker overlay for better contrast */
        z-index: 1 !important;
    }
    
    /* Main content container */
    .auto-slideshow-content {
        position: relative !important;
        z-index: 10 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 25px !important; /* Consistent 25px side padding like navbar */
        margin: 0 auto 30px auto !important;
        box-sizing: border-box !important;
        text-align: center !important;
        background-color: rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-radius: 8px !important;
    }
    
    /* Section label */
    .auto-slideshow-label {
        font-size: 12px !important;
        letter-spacing: 2px !important;
        margin-bottom: 15px !important;
        font-weight: 200 !important;
        color: #ffffff !important;
        overflow-wrap: break-word !important;
        display: block !important;
    }
    
    /* Main title */
    .auto-slideshow-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 30px !important;
        font-weight: 200 !important;
        color: #ffffff !important;
        overflow-wrap: break-word !important;
        display: block !important;
    }
    
    /* Contact info section */
    .contact-info {
        margin: 15px auto 0 auto !important; /* Reduced top margin */
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important; /* Reduced gap from 25px to 15px */
        width: 100% !important;
        max-width: 280px !important; /* Limit width for better readability */
    }
    
    /* Email and phone containers */
    .contact-email,
    .contact-phone {
        font-size: 20px !important;
        line-height: 1.3 !important;
        font-weight: 200 !important;
        margin-bottom: 0 !important;
        text-align: center !important;
    }
    
    /* Email and phone links */
    .contact-email a,
    .contact-phone a {
        font-size: 20px !important;
        font-weight: 200 !important;
        color: #ffffff !important;
        text-decoration: none !important;
        display: block !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important; /* Additional property for better text wrapping */
        hyphens: auto !important; /* Enable hyphenation */
    }
    
    /* Contact labels */
    .contact-label {
        font-size: 12px !important;
        margin-top: 5px !important;
        font-weight: 200 !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }
    
    /* Contact columns container */
    .contact-columns {
        position: relative !important;
        z-index: 10 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important; /* Reduced gap from 30px to 15px */
        width: 100% !important;
        padding: 25px 25px !important; /* Reduced top/bottom padding */
        margin: 0 auto !important;
        box-sizing: border-box !important;
        background-color: rgba(0, 0, 0, 0.6) !important; /* Darker background for better contrast */
        backdrop-filter: blur(15px) !important; /* Increased blur strength */
        -webkit-backdrop-filter: blur(15px) !important;
        border-radius: 8px !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .contact-info-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important; /* Reduced gap from 20px to 10px */
        width: 100% !important;
        max-width: 280px !important;
    }
    
    .markler-image {
        margin-top: 15px !important; /* Reduced from 30px to 15px */
        max-width: 150px !important;
        width: 100% !important;
        margin-left: 0 !important;
        align-self: center !important;
    }
    
    .markler-image.fade-in-up {
        animation-duration: 1.2s !important;
    }
    
    .markler-image img {
        border-radius: 8px !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
    }
    
    .markler-link:hover {
        transform: scale(1.08) !important;
    }
    
    .markler-link:hover img {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4) !important;
    }
    
    /* Individual contact column */
    .contact-column {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Column titles */
    .column-title {
        font-size: 14px !important;
        margin-bottom: 10px !important;
        font-weight: 400 !important; /* Slightly bolder for better visibility */
        color: rgba(255, 255, 255, 0.9) !important;
        overflow-wrap: break-word !important;
        display: block !important;
    }
    
    /* Column text content */
    .column-text {
        font-size: 14px !important;
        line-height: 1.5 !important;
        font-weight: 200 !important;
        color: rgba(255, 255, 255, 0.8) !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important; /* Additional property for better text wrapping */
        hyphens: auto !important; /* Enable hyphenation */
    }
}
