/* Custom styles for Bootstrap Responsive Page */

/* Global styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #4b5563;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
    min-height: 100vh;
}

/* Navigation styles */
.navbar {
    backdrop-filter: blur(10px);
    background-color: #00148c !important;
}

.navbar-brand {
    font-size: 1.5rem;
    color: #ffffff !important;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fadc00!important;
}

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

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid #fadc00;
    outline-offset: 2px;
}

.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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.container {
    max-width: 1200px;
}

/* Logo styles */
.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    max-height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Section headings */
h2 {
    color: #0072ce;
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}
h3 {
    color: #0072ce;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 2px;
}

/* Content sections */
.row {
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Section spacing and visual hierarchy */
#home {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

#features {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin: 2rem 0;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

#contact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 2rem 0;
}

/* Button enhancements */
.btn {
    border-radius: 5px;
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: #00148c !important;
}

.btn-primary:hover {
    background: #0072ce !important;
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #1e7e34);
}

.btn-success:hover {
    background: linear-gradient(45deg, #1e7e34, #155724);
}

/* Image enhancements */
.img-fluid {
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.img-fluid:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Footer styles */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
    margin: 3rem 0;
}

footer p {
    color: #666;
    font-size: 0.9rem;
}

footer a {
    color: #0072ce;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0072ce;
    text-decoration: underline !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .lead {
        text-align: center;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin: 1rem 0;
    }
    
    .logo {
        max-height: 60px;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Animation for page load */
.row {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.row:nth-child(1) { animation-delay: 0.1s; }
.row:nth-child(2) { animation-delay: 0.3s; }
.row:nth-child(3) { animation-delay: 0.5s; }
.row:nth-child(4) { animation-delay: 0.7s; }

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

/* Additional hover effects */
.col-md-6:hover .img-fluid {
    transform: translateY(-5px) scale(1.02);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.logo-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Additional visual enhancements */
.container {
    position: relative;
    z-index: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Loading animation for images */
.img-fluid {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hover effects for sections */
#features:hover,
#contact:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
} 