/* ============================================
   LANDING PAGE FOOTER - EXACT MATCH DESIGN
   Modern with Brand Colors (Teal/Cyan)
   Wave Effect & Clean Layout
   ============================================ */

/* Brand Colors - Teal/Cyan Theme */
:root {
    --brand-teal: #14b8a6;
    --brand-teal-dark: #0d9488;
    --brand-teal-darker: #006875;
    --brand-cyan: #2dd4bf;
    --brand-cyan-light: #5eead4;
}

/* Call to Action Section */
.cta-section {
    background: #ffffff;
    padding: 60px 20px 0;
    position: relative;
    overflow: visible !important;
    z-index: 1;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Ensure no gap between CTA and Footer */
.cta-section + .landing-footer-gradient {
    margin-top: 0 !important;
}

/* Wave Bottom Edge - Transition to Footer - REMOVED, using SVG wave instead */

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding-bottom: 150px;
    margin-bottom: 0;
}

.cta-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
}

.cta-description {
    font-size: clamp(0.9375rem, 2vw, 1rem);
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-dark) 50%, var(--brand-teal-darker) 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 0;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(20, 184, 166, 0.45);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Footer Section */
.landing-footer-gradient {
    background: linear-gradient(135deg, 
        var(--brand-teal) 0%, 
        var(--brand-teal-dark) 30%, 
        var(--brand-teal-darker) 60%,
        #0a4d52 100%);
    color: #ffffff;
    padding: 0;
    position: relative;
    overflow: visible !important;
    padding-top: 0;
    padding-bottom: 60px;
    margin-top: 0 !important;
    z-index: 2;
}

/* Wave Top Edge - Smooth Wave Effect - GELOMBANG PROFESIONAL JELAS */
.footer-wave-top {
    position: absolute !important;
    top: -200px !important;
    left: 0 !important;
    right: 0 !important;
    height: 200px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    z-index: 2 !important;
    pointer-events: none !important;
    line-height: 0 !important;
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

/* Override any global overflow rules */
body .footer-wave-top,
html .footer-wave-top,
section .footer-wave-top {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.footer-wave-top svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    display: block !important;
    filter: drop-shadow(0 -2px 8px rgba(0, 0, 0, 0.08));
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

.footer-wave-top svg path {
    stroke: none !important;
    stroke-width: 0 !important;
    opacity: 1 !important;
    fill: url(#footerWaveGradient) !important;
    fill-opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
    transition: all 0.3s ease;
}

/* Footer Main Content */
.footer-main-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
    padding-top: 100px;
    margin-top: 0;
}

/* Logo Section */
.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
    /* User requested real logo colors, removing filter */
    /* filter: brightness(0) invert(1); */
    
}

.footer-logo-placeholder {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand-name {
    display: flex;
    flex-direction: column;
}

.footer-brand-first {
    font-weight: 600;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-brand-last {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.footer-brand-single {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

.footer-social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    font-size: 1.125rem;
}

.footer-social-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-social-link:active {
    transform: translateY(-1px) scale(1.02);
}

/* Ensure seamless connection between wave and footer */
.landing-footer-gradient {
    background: linear-gradient(135deg, 
        var(--brand-teal) 0%, 
        var(--brand-teal-dark) 30%, 
        var(--brand-teal-darker) 60%,
        #0a4d52 100%);
}

/* Logo Area with Copyright */
.footer-logo-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 200px;
}

.footer-logo {
    width: auto;
    height: 80px; /* Increased from 40px to 80px */
    max-width: 180px; /* Added max-width */
    object-fit: contain;
    margin-right: 12px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-circles {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.footer-logo-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo-circle.circle-1 {
    width: 44px;
    height: 44px;
    top: 0;
    left: 0;
    z-index: 1;
}

.footer-logo-circle.circle-2 {
    width: 38px;
    height: 38px;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-logo-text {
    font-size: 1.75rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.03em;
    text-transform: lowercase;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent 100%);
    margin-bottom: 2rem;
}

.footer-copyright {
    text-align: center;
    padding: 1.5rem 0;
}

.footer-copyright p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.6;
    margin: 0;
}

.footer-copyright strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Navigation Columns */
.footer-navigation {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    flex: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    text-transform: capitalize;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-links-list li {
    margin: 0;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    padding-left: 0;
}

.footer-links-list a::before {
    content: '';
    position: absolute;
    left: -12px;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-links-list a:hover {
    color: #ffffff;
    transform: translateX(8px);
    padding-left: 0;
}

.footer-links-list a:hover::before {
    width: 6px;
}

/* Contact List Styling */
.footer-contact-list {
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.footer-contact-item i {
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.footer-contact-item span {
    flex: 1;
    word-break: break-word;
}

.footer-contact-item:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-address {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.footer-address i {
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

/* New Contact Info Styling */
.footer-contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.footer-contact-link i {
    font-size: 1.125rem;
    color: var(--brand-cyan);
}

.footer-contact-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-social-section h6 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .footer-main-content {
        gap: 60px;
    }
    
    .footer-navigation {
        gap: 40px;
    }
}

@media (max-width: 991.98px) {
    .cta-content {
        padding-bottom: 140px;
    }

    .landing-footer-gradient {
        padding-top: 0;
    }

    .footer-wave-top {
        top: -190px !important;
        height: 190px !important;
    }

    .footer-main-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding-top: 80px;
    }

    .footer-navigation {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-logo-section {
        align-items: center;
        text-align: center;
    }

    .footer-description {
        max-width: 100%;
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .cta-section {
        padding: 50px 20px 0;
    }

    .cta-content {
        padding-bottom: 130px;
    }

    .cta-heading {
        font-size: 1.875rem;
    }

    .cta-description {
        font-size: 0.9375rem;
    }

    .cta-button {
        padding: 12px 36px;
        font-size: 0.9375rem;
    }

    .landing-footer-gradient {
        padding-top: 0;
        padding-bottom: 50px;
    }

    .footer-main-content {
        gap: 40px;
        padding-top: 60px;
    }

    .footer-navigation {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-logo-section {
        align-items: flex-start;
        text-align: left;
    }

    .footer-contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer-description {
        text-align: left;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .cta-section {
        padding: 40px 15px 0;
    }

    .footer-logo {
        height: 60px; /* Increased for mobile */
        max-width: 140px;
    }
    
    .footer-logo-text {
        font-size: 1.5rem; /* Increased for mobile */
    }

    .cta-content {
        padding-bottom: 120px;
    }

    .cta-heading {
        font-size: 1.625rem;
    }

    .cta-description {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }

    .cta-button {
        padding: 12px 32px;
        font-size: 0.875rem;
        width: 100%;
        max-width: 260px;
    }

    .landing-footer-gradient {
        padding-top: 0;
        padding-bottom: 40px;
    }

    .footer-main-content {
        padding-top: 60px;
    }

    .footer-wave-top {
        top: -160px !important;
        height: 160px !important;
    }

    .footer-logo-wrapper {
        gap: 12px;
    }

    .footer-logo-circles {
        width: 44px;
        height: 44px;
    }

    .footer-logo-circle.circle-1 {
        width: 38px;
        height: 38px;
    }

    .footer-logo-circle.circle-2 {
        width: 32px;
        height: 32px;
        top: 8px;
        left: 8px;
    }

    .footer-logo {
        height: 70px; /* Increased for tablet */
        max-width: 160px;
    }
    
    .footer-logo-text {
        font-size: 1.75rem; /* Increased from 1.5rem */
    }

    .footer-copyright-inline {
        font-size: 0.8125rem;
    }

    .footer-column-title {
        font-size: 0.9375rem;
    }

    .footer-links-list a {
        font-size: 0.875rem;
    }

    .footer-social-icon {
        width: 36px;
        height: 36px;
    }

    .footer-social-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* Dark Mode Support - Full Implementation */
[data-theme="dark"] {
    color-scheme: dark;
}

[data-theme="dark"] .cta-section {
    background: #0f172a !important;
}

[data-theme="dark"] .cta-heading {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .cta-description {
    color: #94a3b8 !important;
}

[data-theme="dark"] .cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
}

[data-theme="dark"] .cta-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4) !important;
}

/* Dark Mode - Footer */
[data-theme="dark"] .landing-footer-gradient {
    background: linear-gradient(135deg, 
        #0d9488 0%, 
        #0a7c72 30%, 
        #006875 60%,
        #0a4d52 100%) !important;
}

[data-theme="dark"] .footer-logo-text {
    color: #ffffff !important;
}

[data-theme="dark"] .footer-column-title {
    color: #ffffff !important;
}

[data-theme="dark"] .footer-links-list a {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="dark"] .footer-links-list a:hover {
    color: #2dd4bf !important;
}

[data-theme="dark"] .footer-social-icon {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="dark"] .footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .footer-copyright-inline {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Dark Mode - Footer Wave */
[data-theme="dark"] .footer-wave-top svg path {
    fill: url(#footerWaveGradient) !important;
    fill-opacity: 1 !important;
}

[data-theme="dark"] .cta-section::before {
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.15) 0%, rgba(20, 184, 166, 0.08) 50%, rgba(20, 184, 166, 0) 100%);
}
