/* 
* Mozambique eVisa Website Styles
* Theme colors and general styling
*/

:root {
    /* Theme Colors */
    --primary-color: #2E86AB; /* Blue - main theme color */
    --secondary-color: #A23B72; /* Purple - accent color */
    --tertiary-color: #F18F01; /* Orange - highlight color */
    --dark-color: #333333; /* Dark gray for text */
    --light-color: #F5F5F5; /* Light gray for backgrounds */
    --white-color: #FFFFFF; /* White */
    --success-color: #28a745; /* Green for success messages */
    --warning-color: #ffc107; /* Yellow for warnings */
    --danger-color: #dc3545; /* Red for errors */
    --info-color: #17a2b8; /* Teal for information */
    
    /* Typography */
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 60px 0;
    --container-padding: 15px;
}

/* General Styles */
body {
    font-family: var(--body-font);
    color: var(--dark-color);
    background-color: var(--white-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    /* color: var(--dark-color); */
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    /* color: #555; */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Section Styles */
.section {
    padding: var(--section-padding);
}

.section-light {
    background-color: var(--light-color);
}

.section-white {
    background-color: var(--white-color);
}

.section-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.section-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* Header Styles */
.navbar {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}
section.page-header.bg-primary {
    padding: 12px 0px;
}

/* Button Styles */
.btn {
    border-radius: 4px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: #247297;
    border-color: #247297;
}

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

.btn-secondary:hover {
    background-color: #8c3262;
    border-color: #8c3262;
}

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

.btn-tertiary:hover {
    background-color: #d97e01;
    border-color: #d97e01;
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 12px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-text {
    color: #666;
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--white-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Features Section */
.feature-box {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Process Steps */
.process-step {
    text-align: center;
    position: relative;
    padding: 0 20px;
    margin-bottom: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    /* margin: 0 auto 20px; */
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    z-index: -1;
}

/* Testimonials */
.testimonial {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h5 {
    margin-bottom: 0;
    font-size: 1rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #777;
}

/* FAQ Section */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: var(--white-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.accordion-body {
    padding: 20px;
    background-color: var(--light-color);
}

/* Contact Form */
.contact-form {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 4px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #999;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    margin-top: 30px;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-tertiary {
    color: var(--tertiary-color) !important;
}

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

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

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

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

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.shadow-md {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.rounded {
    border-radius: 8px !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .navbar-collapse {
        background-color: var(--white-color);
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-box {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 30px 0;
        --container-padding: 10px;
    }
    
    .container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
    
    .hero {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-lg {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-padding: 25px 0;
        --container-padding: 8px;
    }
    
    .hero {
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-control {
        padding: 10px 12px;
    }
}

