/* Global Styles */
:root {
    --primary-color: #0072CE;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-color: #212529;
    --light-color: #FFFFFF;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF !important;
}

/* Navbar Styling */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    background-color: #FFFFFF !important;
}

.navbar-brand img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 8px 15px;
    margin: 0 5px;
    transition: color 0.3s ease;
}

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

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

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    padding: 0;
    z-index: 1;

}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 114, 206, 0.7); /* #0072CE with 70% opacity */
    z-index: 2;
    pointer-events: none;
}

.hero-section > .container,
.hero-section h1,
.hero-section p,
.hero-section .btn {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-section .btn {
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 600;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Carousel Navigation Styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #0072CE;
    border-radius: 50%;
    padding: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-item img {
    border-radius: 8px;
    background-color: #f8f9fa;
}

.g-recaptcha {
    margin-bottom: 15px;
}

@media screen and (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: left center;
    }
}

/* Section Styling */
section {
    padding: 80px 0;
}

section h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 700;
}

section h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Alternating Content Styling */
.row.align-items-center {
    margin-bottom: 60px;
}

.row.align-items-center h3 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.row.align-items-center img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.row.align-items-center img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Card Styling */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.card-title {
    font-weight: 600;
    color: var(--primary-color);
}

.card .btn {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Styling */
footer {
    background-color: var(--dark-color);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

footer a {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: var(--accent-color) !important;
    transform: translateX(5px);
}

footer .social-icons a {
    margin-right: 15px;
    font-size: 1.5rem;
}

footer .social-icons a:hover {
    transform: translateY(-5px);
}

footer .input-group {
    margin-top: 15px;
}

footer .input-group .form-control {
    border-radius: 30px 0 0 30px;
    padding: 10px 20px;
}

footer .input-group .btn {
    border-radius: 0 30px 30px 0;
    padding: 10px 20px;
}

/* Logo Sizing */
footer img {
    height: 60px;
    width: 60px;
    max-width: 150px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    .row.align-items-center {
        margin-bottom: 40px;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    /* Responsive logo sizing */
    .navbar-brand img {
        height: 40px;
        max-width: 150px;
    }
    
    footer img {
        height: 50px;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .row.align-items-center {
        margin-bottom: 30px;
    }
    
    /* Mobile logo sizing */
    .navbar-brand img {
        height: 35px;
        max-width: 120px;
    }
    
    footer img {
        height: 45px;
        max-width: 180px;
    }
}

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

.slide-in-left {
    animation: slideInLeft 1s ease-in-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-in-out;
}

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

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
