/* Custom styles beyond Tailwind */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --slide-transition: 0.3s;
}

body {
    overflow: hidden;
}

@media (max-width: 768px) {
    body {
        overflow: visible;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--slide-transition) ease-out, 
                visibility var(--slide-transition) ease-out;
}

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

.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Add top padding to slides for header */
.slide {
    padding-top: 1rem !important;
}

/* Additional padding for slides with header background (slides 2-7) */
.slide.with-header {
    padding-top: 6rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide {
        position: static;
        overflow-y: visible;
        height: auto;
        min-height: 100vh;
        padding: 1rem !important;
    }
    
    .slide:not(.active) {
        display: none;
    }
    
    .slide.with-header {
        padding-top: 6rem !important;
    }
    
    .slide h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .slide h2 {
        font-size: 1.875rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    
    .slide h3 {
        font-size: 1.25rem !important;
        line-height: 1.4 !important;
    }
    
    .slide p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }
    
    .card {
        width: 100% !important;
        margin-bottom: 1rem !important;
        padding: 1rem !important;
    }
    
    .grid {
        gap: 1rem !important;
    }
    
    .md\:grid-cols-2,
    .md\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    
    .max-w-6xl {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }
    
    .text-5xl,
    .text-7xl {
        font-size: 2.5rem !important;
    }
    
    .text-4xl {
        font-size: 1.875rem !important;
    }
    
    .text-2xl {
        font-size: 1.25rem !important;
    }
    
    .text-xl {
        font-size: 1rem !important;
    }
    
    .text-3xl {
        font-size: 1.5rem !important;
    }
}

/* Simple animation for elements */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.anim {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* Custom background patterns */
.bg-pattern-1 {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233B82F6' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}


