/* Custom Styles - Enhanced Version */
body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.7;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #0A3D62;
    font-weight: 700;
}

.navbar {
    background: linear-gradient(90deg, #0A3D62, #00A896);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand .logo {
    height: 70px;
    transition: transform 0.3s ease;
}

.navbar-brand .logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #F4F4F4;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
}

.hero {
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    animation: fadeIn 1s ease-in;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideDown 1s ease forwards;
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: slideUp 1.2s ease forwards;
}

.btn-primary {
    background-color: #00A896;
    border-color: #00A896;
    padding: 12px 35px;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 50px;
}

.btn-primary:hover, .btn-outline-primary:hover {
    background-color: #0A3D62;
    border-color: #0A3D62;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: #00A896;
    color: #00A896;
    transition: all 0.3s ease;
    border-radius: 50px;
}

section {
    padding: 100px 0;
    animation: fadeIn 1s ease-in;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #fff;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.bg-light {
    background-color: #F8F9FA;
}

footer {
    background: linear-gradient(90deg, #0A3D62, #00A896);
    padding: 20px 0;
    color: #fff;
}

.form-control {
    border-radius: 5px;
    border: 2px solid #00A896;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #0A3D62;
    box-shadow: 0 0 8px rgba(10, 61, 98, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00A896;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50%;
    text-decoration: none;
    display: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.back-to-top:hover {
    background-color: #0A3D62;
    transform: translateY(-3px);
}

/* Animated Counters */
.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00A896;
    margin-bottom: 10px;
    animation: countUp 2s ease-in-out;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.3rem;
    }
    .navbar-brand .logo {
        height: 50px;
    }
    section {
        padding: 60px 0;
    }
    .card-img-top {
        height: 160px;
    }
}
