/* Custom CSS for Anidha Tech Solutions LLP */

/* Base Styles */
:root {
    --color-primary: #0f6cbd;
    --color-dark: #0f172a;
    --color-accent-cyan: #06b6d4;
    --color-accent-indigo: #6366f1;
    --color-accent-teal: #14b8a6;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.hidden {
    display: none;
}

/* Header */
header {
    transition: box-shadow 0.3s ease;
}

header.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Buttons */
button, .btn {
    transition: all 0.2s ease;
}

button:disabled, .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Styles */
input, textarea, select {
    transition: all 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 108, 189, 0.1);
}

input.error, textarea.error, select.error {
    border-color: #ef4444;
}

/* Card Hover Effects */
.hover\:shadow-lg {
    transition: box-shadow 0.3s ease;
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Print Styles */
@media print {
    header, footer, .no-print {
        display: none !important;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Smooth Scrolling for Anchor Links */
a[href^="#"] {
    scroll-margin-top: 80px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
}

/* Background Images */
.bg-conference-room {
    background-image: url('/images/conference-room.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bg-image-combination {
    background-image: url('/images/3image-combination.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Background with overlay for better text readability */
.bg-conference-room .content-overlay,
.bg-image-combination .content-overlay {
    position: relative;
    z-index: 10;
}

.bg-conference-room .content-overlay::before,
.bg-image-combination .content-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
