/* Change green to blue (#17a2b8) */
:root {
  --green: #17a2b8 !important;
  --success: #17a2b8 !important;
  --teal: #17a2b8 !important;
}

/* Force override any specific green colors */
[style*="color: #28a745"], 
.text-success, 
.text-success:hover, 
.text-success:focus {
    color: #17a2b8 !important;
}

.bg-success,
.btn-success {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

/* Fix mobile scrolling and layout */
html, body {
    height: auto; /* Allow height to grow with content */
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    overflow-y: auto !important; /* Force enable vertical scrolling */
}

/* Ensure scrolling is active even when template classes might try to hide it */
body.preloader-is--active,
body.scroll-is--active {
    overflow-y: auto !important;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: visible; /* Allow content to overflow for scrolling */
}

.site-header {
    flex: 0 0 auto;
}

.site-content {
    flex: 1 0 auto; /* Allow growing and don't shrink */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 40px 0; /* Add some padding for content */
}

.footer {
    flex: 0 0 auto;
    padding-bottom: 20px;
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .site-content {
        padding: 80px 15px 40px 15px; /* More top padding for mobile header */
    }
    
    .landing-title {
        font-size: 2.5rem; /* Adjust title size for small screens */
    }
    
    .social-menu--landing {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-menu--landing > li {
        margin: 10px;
    }
}

/* Ensure the main title is visible and centered */
.landing-title {
    margin-bottom: 20px;
}

/* Typewriter cursor effect */
.typewriter-text::after {
    content: '|';
    animation: blink 0.7s infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
