/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Header and Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0056b3 !important;
}

.logo {
    width: 50px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo {
    transform: rotate(-15deg);
}

.nav-link {
    color: #555 !important;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover, .nav-link.active {
    color: #fff !important;
    background-color: #0056b3;
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    color: #fff;
    padding: 8rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero .btn-primary {
    background-color: #fff;
    color: #0056b3;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Main Content and Sections */
.main-content {
    padding: 0;
}

.section {
    padding: 5rem 1rem;
    overflow: hidden;
}

.section h2 {
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

.section p {
    font-size: 1.1rem;
    color: #666;
}

.section-bg-light {
    background-color: #ffffff;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    object-fit: cover;
    height: 180px;
}

.card-body {
    padding: 1.75rem;
}

.card-title {
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 1rem;
}

/* Images */
.img-fluid {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 4rem 0 2rem;
}

.footer h5 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer p, .footer a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer .social-icons a {
    color: #ecf0f1;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer .social-icons a:hover {
    color: #3498db;
}

.footer .bottom-bar {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel */
.carousel-item {
    height: 80%;
}

.carousel-inner {
    height: 350px;
}
.smartphone-app-img {
    max-height: 370px;
    width: auto;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .footer {
        text-align: center;
    }

    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }

    .social-icons {
        justify-content: center;
    }
}