/* style.css */
/* Base Styles */
:root {
    --primary: #1a4a8d;
    --secondary: #f8a31b;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    padding-top: 80px;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Fix for white background issue */
section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-primary {
    background: linear-gradient(90deg, var(--primary), #0d3a7c) !important;
    color: white;
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, var(--primary), var(--dark));
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: transform 0.5s ease;
    margin-right: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

.navbar-brand:hover img {
    transform: rotate(360deg);
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Page Header */
.page-header {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    color: white;
    animation: fadeInDown 1s ease;
}

.page-header p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Breadcrumb */
.breadcrumb {
    background-color: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Country Sections */
.country-section {
    margin-bottom: 5rem;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.country-section:hover {
    transform: translateY(-10px);
}

.country-section h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.country-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.badge-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(90deg, var(--primary), #0d3a7c);
    color: white;
    font-weight: 600;
    padding: 15px 20px;
    border: none;
}

.card.bg-light {
    background-color: #f8f9fa !important;
}

.step-card {
    height: 100%;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: scale(1.03);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255,255,255,0.3);
    transform: rotate(25deg);
    transition: all 0.5s ease;
}

.btn-primary:hover {
    background: #0d3a7c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 74, 141, 0.4);
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    border-width: 2px;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 74, 141, 0.4);
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
    background-color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(26, 74, 141, 0.2);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 74, 141, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Animations */
[data-aos] {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .page-header {
        height: 50vh;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .country-section {
        padding: 1.5rem;
    }
    
    .country-section h3 {
        font-size: 1.8rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d3a7c;
}

/* Utility Classes */
.hover-effect {
    transition: transform 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;
}

.rounded-lg {
    border-radius: 15px !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}