/* AAED Website Styles - UPDATED */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --navbar-color: white;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    padding-top: 80px; /* Increased for better spacing */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* Navigation - FIXED VISIBILITY */
.navbar {
    background: var(--navbar-color) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar-brand .brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.navbar-brand .brand-subtitle {
    font-size: 0.5rem;
    color: #bdc3c7;
    letter-spacing: 1px;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    padding: 8px 15px !important;
    border-radius: 5px;
    transition: all 0.3s ease;
    color: black !important;
}

.nav-link:hover, .nav-link.active {
    background: rgba(52, 152, 219, 0.2) !important;
    color: white !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.5);
}

.navbar-toggler-custom {
    color: black; /* This will control the icon color */
}

.navbar-toggler-custom:hover {
    color: blue; /* AAED orange on hover */
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .display-3 {
        font-size: 3rem;
    }
    
    .hero-section {
        background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.8)), 
                    url('../images/hero-bg.jpeg') center/cover no-repeat;
        color: white;
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.8)), 
                    url('../images/hero-bg.jpeg') center/cover no-repeat;
        color: white;
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }
    
    .navbar-collapse {
        background: var(--primary-color);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .nav-link {
        margin: 5px 0;
    }
    
    .icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .icon-wrapper i {
        font-size: 2rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .hero-section {
        background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.8)), 
                url('../images/hero-bg.jpeg') center/cover no-repeat;
        min-height: 60vh;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .quality-item {
        padding-left: 15px;
        margin-left: 10px;
    }
    
    .mission-points .d-flex {
        flex-direction: column;
    }
    
    .mission-number {
        margin-bottom: 10px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .display-3 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-section {
        background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.8)), 
                url('../images/hero-bg.jpeg') center/cover no-repeat;
        min-height: 50vh;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 15px !important;
    }
    
    .d-flex.gap-3 .btn {
        width: 100%;
        text-align: center;
    }
    
    .card-body {
        padding: 20px !important;
    }
    
    .navbar-brand .brand-name {
        font-size: 1.2rem;
    }
    
    .logo-placeholder {
        width: 40px;
        height: 40px;
    }
    
    .logo-placeholder i {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .social-icons,
    .map-placeholder {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    a {
        text-decoration: none !important;
        color: #000 !important;
    }
}