/* Navigation Styles */
.navbar {
    background: transparent;
    box-shadow: none;
    padding: 0.6rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: linear-gradient(135deg, #1a3a6a 0%, #0d47a1 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 0.4rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff !important;
}

.navbar-brand img {
    height: 100px;
    margin-right: 15px;
    transition: height 0.3s ease, transform 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 64px;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 6px 12px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-link:hover::after {
    width: 75%;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-outline-primary {
    margin-left: 10px;
    color: #fff !important;
    border-color: #fff !important;
}

.btn-outline-primary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Footer button alignment fix */
footer .btn {
    margin-left: 0 !important;
}

/* Footer column spacing */
footer .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Mobile navigation background */
.navbar-collapse {
    background: linear-gradient(135deg, #1a3a6a 0%, #0d47a1 100%);
    border-radius: 8px;
    margin-top: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (min-width: 992px) {
    .navbar-collapse {
        background: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
    }
}

/* Footer social icons alignment */
@media (max-width: 991.98px) {
    footer .d-flex.gap-2 {
        justify-content: flex-start !important;
    }
}

/* Footer content wrapper alignment */
.footer-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-content-wrapper > * {
    text-align: left;
    width: fit-content;
}

/* Keep logo column fully centered */
.footer-content-wrapper .text-center {
    text-align: center !important;
    width: 100% !important;
}

.footer-content-wrapper .text-center * {
    text-align: center !important;
}

/* Ensure X icon is visible and white */
.fa-x-twitter {
    color: white !important;
    font-weight: bold;
}

/* Privacy Policy Page Styles */
.privacy-page .navbar {
    background: linear-gradient(135deg, #1a3a6a 0%, #0d47a1 100%) !important;
    backdrop-filter: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.privacy-page .navbar .navbar-brand,
.privacy-page .navbar .nav-link,
.privacy-page .navbar .navbar-toggler-icon {
    color: white !important;
}

.privacy-page .navbar .nav-link:hover {
    color: #e3f2fd !important;
}

body.privacy-page {
    padding-top: 80px;
}

.privacy-content h1 {
    color: #1a3a6a !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Fallback for privacy policy heading */
body.privacy-page .privacy-content h1,
.privacy-page h1 {
    color: #1a3a6a !important;
}

.privacy-content h2 {
    color: #1a3a6a;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content h3 {
    color: #0d47a1;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-content ul {
    margin-bottom: 1rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

/* Mobile footer alignment - left align content except logo */
@media (max-width: 991.98px) {
    .footer-content-wrapper {
        align-items: flex-start;
    }
    
    /* Keep logo column centered on mobile */
    .col-lg:first-child .footer-content-wrapper {
        align-items: center;
    }
    
    /* Make footer buttons wider on mobile */
    footer .d-grid {
        width: 200px;
    }
    
    footer .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Hero Section with Carousel */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13,71,161,0.45) 0%, rgba(26,58,106,0.45) 100%);
    z-index: 5;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.carousel-control {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* CTA Buttons */
.hero-cta {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    font-size: 1.25rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 90%;
}

.hero-content .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive adjustments */
@media (min-width: 576px) {
    .hero-content {
        padding: 3rem 2rem;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content .lead {
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) {
    .hero-content {
        padding: 4rem 2rem;
    }
    .hero-content h1 {
        font-size: 3.2rem;
        margin-bottom: 1.5rem;
    }
    .hero-content .lead {
        font-size: 1.4rem;
        max-width: 85%;
    }
}

@media (min-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content .lead {
        font-size: 1.5rem;
        max-width: 80%;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 1.5rem 1rem;
    }
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .hero-content .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        max-width: 95%;
    }
    .hero-content .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}
