/* ===================================================
   Custom CSS - Tailwind Complementary Styles
   =================================================== */

/* Base Font Styling */
html, body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 400;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

p {
    font-weight: 400;
    line-height: 1.6;
}

/* Smooth Scrolling Behavior */
html {
    scroll-behavior: smooth;
}

/* Font Size Adjustments */
.text-lg {
    font-size: 0.9rem !important;
}

.text-3xl {
    font-size: 0.9rem !important;
}

/* Form Field Focus Styles */
input[type="text"],
input[type="email"],
textarea {
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Utility Classes */
.smoothscroll {
    scroll-behavior: smooth;
}

/* Container max-width for consistency */
.container-max {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Link hover effects */
a:hover {
    text-decoration: none;
}

/* Animation for fade-in elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Menu animation */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Navigation link animations */
.nav-link {
    position: relative;
}

.nav-link.active {
    color: #fd961a;
    border-left-color: #fd961a;
    padding-left: 1.5rem;
}

/* Scroll to top button animation */
#scrollToTop {
    animation: slideInUp 0.3s ease-out;
}

#scrollToTop:hover {
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Overlay with backdrop blur */
#menuOverlay {
    transition: all 0.3s ease;
    z-index: 9996 !important;
}

/* High Z-Index Elements */
#menuToggle {
    z-index: 9999 !important;
}

#sideMenu {
    z-index: 9998 !important;
}

#scrollToTop {
    z-index: 9997 !important;
}

/* Left Social Icons */
.left-social-icons {
    z-index: 9997 !important;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
    h1 {
        line-height: 1.3;
        font-size: 1.875rem;
    }
    
    h2 {
        line-height: 1.4;
        font-size: 1.5rem;
    }

    body {
        font-size: 0.95rem;
    }
}

/* Dropdown animation */
.group-hover\\:block {
    animation: slideDownIn 0.2s ease-out;
}

@keyframes slideDownIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

