/* AML Pod - Main Stylesheet */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
}

.min-vh-50 {
    min-height: 50vh;
}

/* Navbar Active State */
.navbar-nav .nav-link.active {
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

/* Card Hover Effect */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Footer Links - Atomic Design: Component-level styling */
/* Reusable footer link classes following OOP principles */

/* Base footer link - slightly visible, white on hover */
footer .footer-link {
    transition: color 0.2s ease-in-out;
    color: rgba(255, 255, 255, 0.6) !important; /* 60% opacity - slightly visible */
}

footer .footer-link:hover {
    color: #fff !important; /* White on hover */
}

/* Subtle footer links - for service details (more hidden but still visible) */
footer .footer-link-subtle {
    transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    color: rgba(255, 255, 255, 0.5) !important; /* 50% opacity - more subtle */
    opacity: 0.7 !important;
}

footer .footer-link-subtle:hover {
    color: #fff !important; /* White on hover */
    opacity: 1 !important;
}

/* Footer link icons inherit parent color */
footer .footer-link i,
footer .footer-link-subtle i {
    transition: color 0.2s ease-in-out;
}

/* Footer headings - keep them visible */
footer h6 a,
footer h6 span {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.2s ease-in-out;
}

footer h6 a:hover {
    color: #fff !important;
}

/* Fallback for any remaining footer links */
footer a:not(.btn):not(.footer-link):not(.footer-link-subtle) {
    transition: color 0.2s ease-in-out;
    color: rgba(255, 255, 255, 0.6) !important;
}

footer a:not(.btn):not(.footer-link):not(.footer-link-subtle):hover {
    color: #fff !important;
}

/* Button Styles */
.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
}

/* Icon Sizes */
.bi {
    vertical-align: -0.125em;
}

/* Sticky Header */
.navbar.sticky-top {
    backdrop-filter: blur(10px);
    background-color: rgba(13, 110, 253, 0.95) !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-width: 0;
}

/* Company Info Component Styling - Atomic Design: Component-level */
footer .company-info {
    font-size: 0.875rem;
}

/* Company name - same color as service details (light grey) */
footer .company-name {
    font-weight: 600;
    font-size: 0.875rem; /* Same size as service details */
    color: rgba(255, 255, 255, 0.5) !important; /* Same as footer-link-subtle */
    opacity: 0.7 !important; /* Same as footer-link-subtle */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 4px;
    transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

footer .company-name:hover {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1 !important;
}

/* Footer text muted - for copyright and other text */
footer .footer-text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 0.7;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
}
