/* Global Overrides & Responsive Hardening */
*, ::before, ::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Responsive Media Safe-guards */
img, iframe, video, svg {
    max-width: 100%;
    height: auto;
}

iframe.h-full,
iframe.absolute {
    height: 100% !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc; 
}
::-webkit-scrollbar-thumb {
    background: #006B7D; 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #005260; 
}

/* Blob Animations for Hero / About images */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* Mobile Touch Target & Interaction Helpers */
button, a {
    touch-action: manipulation;
}

/* Prevent unwanted horizontal overflow on animations */
[data-aos] {
    pointer-events: auto !important;
}

/* Responsive typography utilities */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
    }
}
