/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Bubble Animation Background */
.bubble-container {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    top: 0;
    left: 0;
    display: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    animation: rise 10s infinite ease-in;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 20%;
    animation-duration: 12s;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 50%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    left: 70%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 85%;
    animation-duration: 7s;
    animation-delay: 3s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }
    50% {
        transform: translate(100px);
    }
    100% {
        bottom: 110vh;
        transform: translateX(-200px);
    }
}

/* Top Bar */
.top-bar {
    background-color: #003d82;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar span {
    margin-right: 20px;
}

.top-bar .social-icon {
    color: white;
    margin-left: 15px;
    font-size: 16px;
    transition: all 0.3s;
}

.top-bar .social-icon:hover {
    transform: translateY(-2px);
    color: #007bff;
}

/* Main Header */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand h2 {
    font-weight: bold;
    background: linear-gradient(45deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #007bff;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Slider */
.hero-slider {
    height: 600px;
    overflow: hidden;
}

.slide-content {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}


.slide-content .container {
    position: relative;
    z-index: 2;
}

.slide-content h1 {
    color: white;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    animation: slideInLeft 1s;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.slide-content p {
    color: white;
    font-size: 20px;
    margin-bottom: 30px;
    animation: slideInLeft 1.2s;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.slide-content .btn {
    animation: slideInUp 1.4s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #003d82;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    font-size: 18px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,123,255,0.15);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    color: #003d82;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.cta-section .btn-light {
    background: white;
    color: #007bff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-section .btn-light:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Blog Section */
.blog-section {
    background-color: #f0f4f8;
}

.blog-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

.blog-card .card-img-top {
    transition: transform 0.3s ease;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: relative !important;
    transform: none !important;
    top: 0 !important;
    left: 0 !important;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05) !important;
}

.blog-card .card-title {
    color: #003d82;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card .card-text {
    color: #666;
    line-height: 1.6;
}

.blog-card .btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    transition: all 0.3s;
}

.blog-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* Gallery Section */
.gallery-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 300px;
    margin-bottom: 30px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* Footer */
.main-footer {
    background-color: #003d82;
    color: white;
    padding: 50px 0 20px;
}

.main-footer h4 {
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 32px;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        height: 400px;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
}

