/* Custom styles */

.main-sloth-logo {
    display: block;
    margin: 0 auto;
    width: 300px;
    height: auto;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* --- Page gradient using the existing site palette ---
   Palette notes: Uses slate/dark navy (#0f172a) and emerald (#10B981) tones
   to produce a subtle, professional gradient that preserves contrast. */
:root {
    --bg-slate-900: #0f172a; /* used previously in header/footer */
    --bg-slate-deep: #071833;
    --bg-emerald-600: #059669;
    --bg-emerald-500: #10B981;
}

/* Apply a full-page gradient that remains fixed during scroll */
body {
    background: linear-gradient(180deg, var(--bg-slate-900) 0%, var(--bg-slate-deep) 45%, rgba(16,185,129,0.06) 100%);
    background-attachment: fixed;
    color: #e6eef0; /* slightly lighter than slate-100 for readability on gradient */
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elegant header and footer styles */
.nav-item {
    position: relative;
    text-decoration: none !important;
}

.nav-item:hover {
    color: #10b981;
}

/* Professional button styles */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* Video responsive styles */
.aspect-video {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 600px;
}

.aspect-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

@media (max-width: 768px) {
    .aspect-video {
        max-height: 400px;
    }
    .aspect-video video {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    /* Adjust form input styles for mobile */
    #contact-form input[type="text"],
    #contact-form input[type="tel"],
    #contact-form input[type="email"],
    #contact-form select {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 16px;
    }
}

    /* Book call section styles */
    #book-call .book-call-container {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    #book-call .calendly-container {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        background: rgba(30, 41, 59, 0.5) !important;
        border-radius: 0.75rem !important;
        overflow: hidden !important;
    }

    /* Book call container styles */
    #book-call .bg-slate-800\/50 {
        max-width: 700px !important;
        margin: 0 auto !important;
    }

    #book-call .book-call-container {
        width: 100% !important;
        margin: 0 auto !important;
    }

    #book-call .calendly-container {
        width: 100% !important;
        overflow: hidden !important;
        border-radius: 0.75rem !important;
        background: rgba(30, 41, 59, 0.3) !important;
    }

    #book-call .calendly-inline-widget {
        width: 100% !important;
        min-width: 320px !important;
        height: 580px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        overflow: hidden !important;
    }

    .calendly-inline-widget iframe {
        height: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        pointer-events: auto !important;
    }

    /* Mobile-specific styles */
    @media screen and (max-width: 767px) {
        #book-call .bg-slate-800\/50 {
            padding: 1.5rem !important;
        }

        #book-call .calendly-inline-widget {
            transform: scale(0.65) !important;
            transform-origin: top center !important;
            height: 500px !important;
            width: 150% !important;
            margin: 0 -25% !important;
        }
    }

    /* Prevent any scrolling */
    .calendly-inline-widget,
    .calendly-inline-widget iframe,
    #book-call .calendly-container,
    #book-call .book-call-container {
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        overflow: hidden !important;
    }
    
    /* Hide all scrollbars */
    .calendly-inline-widget::-webkit-scrollbar,
    .calendly-inline-widget iframe::-webkit-scrollbar,
    #book-call .calendly-container::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    /* Attempt to hide the second logo using multiple selectors */
    [class*="branding--"], 
    [data-component="organization-branding"],
    .calendly-organization-branding,
    .branding--mode-light,
    .branding {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Target organization details section */
    [data-component="organization-details"],
    .organization-details,
    .header__organization-details {
        display: none !important;
    }

    /* Mobile styles */
    @media screen and (max-width: 767px) {
        #book-call .calendly-inline-widget {
            height: 600px !important;
        }
        #book-call .book-call-container {
            max-width: 100%;
        }
    }