/* EU Alternative Custom Styles */

:root {
    --primary-color: #003399;  /* EU Blue */
    --secondary-color: #FFCC00;  /* EU Yellow */
    --accent-color: #0055b7;    /* Light Blue Accent */
    --text-color: #333333;      /* Dark Gray for Text */
    --text-muted: #6c757d;      /* Muted Text Color */
    --heading-color: #1a1a1a;   /* Heading Color */
    --light-bg: #f9f8f5;        /* Subtle Off-White Background */
    --card-bg: #f8f7f5;         /* Card Background */
    --section-bg: #f5f4f2;      /* Section Background */
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* General Styles */
body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-bg);
    font-size: 1.05rem;
    letter-spacing: 0.01rem;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: var(--heading-color);
    letter-spacing: -0.01rem;
}

h1 {
    font-weight: 600;
}

.lead {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.8;
    letter-spacing: 0.01rem;
}

p {
    margin-bottom: 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
}

.text-muted {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Header & Navigation */
.navbar-custom {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1.4rem;
    padding: 0.5rem 0;
}

.nav-link {
    font-weight: 400;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Sections */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 3rem 0;
    margin-bottom: 1rem;
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 51, 153, 0.2);
}

.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    line-height: 1.2;
    color: white;
    letter-spacing: -0.03rem;
    text-transform: none;
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.hero-section p {
    color: white;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--card-bg);
    position: relative;
}

.card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--heading-color);
    font-size: 1.25rem;
    letter-spacing: -0.01rem;
    line-height: 1.3;
}

/* Blue animation removed as requested */

.card-text {
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-body {
    padding: 0.75rem !important;
}

/* Tighter margins for cards */
.card.mb-4 {
    margin-bottom: 0.75rem !important;
}

.category-card .feature-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 51, 153, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 0 1.5rem;
}

/* Buttons */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    padding: 0.7rem 1.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: height 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    height: 100%;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #002b80;
    border-color: #002b80;
    box-shadow: 0 4px 10px rgba(0, 51, 153, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 51, 153, 0.3);
}

.btn-light {
    background-color: var(--section-bg);
    border-color: #e0e0e0;
    color: var(--text-color);
}

.btn-light:hover {
    background-color: var(--card-bg);
    border-color: #d0d0d0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

/* Alternative Logo */
.alternative-logo {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}


/* Footer */
.footer {
    background-color: var(--light-bg);
    padding: 5rem 0 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.footer h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer a {
    color: var(--text-color);
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.footer ul.list-unstyled li a {
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer .fab {
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: #555;
}

.footer .fab:hover {
    color: var(--primary-color);
}

.footer .text-muted {
    color: #6c757d !important;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Text Utilities */


/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
    border-radius: 6px;
    letter-spacing: 0.3px;
    font-size: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-success {
    background-color: #34a853 !important;
}

.bg-info {
    background-color: #4285f4 !important;
}

/* Search */
.search-highlight {
    background-color: rgba(255, 204, 0, 0.3);
    padding: 0 2px;
    border-radius: 3px;
}

/* Section Styles */
section {
    padding: 3rem 0;
    background: var(--light-bg);
    color: var(--text-color);
}

section.bg-light {
    background: var(--section-bg) !important;
    color: var(--text-color);
}

section.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

section.bg-primary p {
    color: white;
}

section.bg-light h2, 
section.bg-light h3, 
section.bg-light h4, 
section.bg-light h5, 
section.bg-light h6,
section.bg-light p {
    color: var(--text-color);
}

section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: var(--text-color);
    letter-spacing: 0.02rem;
    font-size: 2.2rem;
}

section.bg-primary h2 {
    color: white;
}



.bg-light {
    background-color: var(--section-bg) !important;
    border-radius: 20px;
    margin: 1.5rem 0;
    padding: 3rem 0;
}

/* Background utility classes */
.bg-white {
    background-color: var(--card-bg) !important;
}

/* Feature Icons in Why Choose Section */
.feature-icon {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Section heading colors */
section h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    letter-spacing: -0.01rem;
    line-height: 1.3;
}

section.bg-primary h4 {
    color: white;
}

/* Make text-muted in blue sections more visible */
section.bg-primary .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 300;
    letter-spacing: 0.01rem;
}

/* Hover Effects */
a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Override Bootstrap's bg-white and bg-light for card components */
.card .bg-white,
.card .bg-light,
.card .list-group-item {
    background-color: var(--card-bg) !important;
}

/* External link button */
.btn-external-link {
    font-size: 0.875rem;
    padding: 0.4rem 0.8rem;
}

/* Contact Form Styles */
.captcha-help {
    font-size: 0.8rem !important;
    opacity: 0.8;
    font-style: italic;
    display: block;
    margin-top: 0.25rem;
}

/* Form styling improvements */
.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 51, 153, 0.15);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

/* Captcha field styling */
.captcha {
    margin-bottom: 0.5rem;
    display: block;
    background-color: rgba(0, 51, 153, 0.03);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 51, 153, 0.1);
}

/* Alert styling for contact form */
.alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.alert-heading {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.alert p {
    margin-bottom: 0;
}

/* Contact card styling */
.contact-card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.contact-card .card-body {
    padding: 2.5rem !important;
}

.contact-card .form-label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact-card .mb-3 {
    margin-bottom: 1.5rem !important;
}

.contact-card button[type="submit"] {
    padding: 0.75rem 2rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 0;
        border-radius: 0 0 15px 15px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    .card {
        padding: 1.25rem;
    }

    .btn {
        padding: 0.5rem 1.25rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }
}
