/* Sticky Footer & Body */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Logo Image */
.logo-img {
    height: 80px;      /* larger default size for desktops */
    width: auto;
    transition: height 0.3s;
}

@media (max-width: 768px) {
    .logo-img {
        height: 60px;    /* smaller logo for mobile */
    }
}

/* Optional: Adjust navbar padding */
.navbar .navbar-brand {
    padding: 0;
    margin-right: 20px;
}

/* Active link styling */
.navbar-nav .nav-link.active {
    font-weight: 600;
    color: #0d6efd !important;
}

.navbar.sticky-top .logo-img {
    height: 70px;      /* shrink slightly on sticky scroll if needed */
}

/* Carousel Hero */
/* Carousel Hero */
.carousel-bg {
    height: 80vh;                  /* 80% of viewport height */
    min-height: 400px;             /* minimum height for small screens */
    max-height: 900px;             /* max height for large screens */
    background-size: cover;        /* image covers container */
    background-position: center;   /* center image */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
    border-radius: 5px;
    max-width: 90%;
    text-align: center;
}

.carousel-caption h1 {
    font-size: 48px;   /* fixed size */
    font-weight: 700;
}

.carousel-caption p {
    font-size: 20px;   /* fixed size */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .carousel-bg {
        height: 50vh;
    }

    .carousel-caption h1 {
        font-size: 28px;
    }

    .carousel-caption p {
        font-size: 16px;
    }
}

/* Services Cards */
/* Service Cards */
.service-card {
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Equal height for all cards */
.service-card.flex-fill {
    display: flex;
    flex-direction: column;
}

/* Icon Circle */
.service-card .icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    font-size: 1.8rem;
    transition: background 0.3s;
}

.service-card:hover .icon-circle {
    background: #0056b3;
}

/* Card heading */
.service-card h5 {
    margin-top: 15px;
    font-weight: 700;
    color: #333;
}

/* Card paragraph */
.service-card p {
    margin-top: 10px;
    color: #555;
    font-size: 0.95rem;
}

/* Coverage Section */
.coverage-section {
    background: #2c3e50;
    padding: 80px 0;
}

/* Vendor Section */
.vendor-section {
    background: #f5f5f5;
    padding: 80px 0;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Footer Section */

.footer-section h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #ffdd57;
}

.footer-section p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.social-icons a {
    color: #ffffff;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ffdd57;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }

    .footer-links li {
        display: inline-block;
        margin: 5px 10px;
    }

    .social-icons {
        margin-top: 10px;
    }
}

/* Navbar active link style */
.nav-link.active {
    font-weight: 600;
    color: #0d6efd !important;
}

/* Contact Cards */
.contact-card {
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Make all cards equal height */
.contact-card.flex-fill {
    display: flex;
    flex-direction: column;
}

/* Icon Circle */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    font-size: 1.8rem;
    transition: background 0.3s;
}

.contact-card:hover .icon-circle {
    background: #0056b3;
}

/* Card heading */
.contact-card h5 {
    margin-top: 15px;
    font-weight: 700;
    color: #333;
}

/* Card paragraph */
.contact-card p {
    margin-top: 10px;
    color: #555;
    font-size: 0.95rem;
}

/* Optional extra info styling */
.text-center p a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.text-center p a:hover {
    color: #0056b3;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-card h5 {
        font-size: 1.2rem;
    }

    .contact-card p {
        font-size: 0.9rem;
    }
}

/* Value cards (core values section) */
.value-card {
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.value-card i {
    margin-bottom: 15px;
}

/* Headings and text */
.value-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.value-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Hero image */
img.img-fluid {
    width: 100%;
    height: auto;
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .carousel-bg {
        height: 50vh;
    }

    .carousel-caption h1 {
        font-size: 8vw;
    }

    .carousel-caption p {
        font-size: 4vw;
    }

    .service-card .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-card h5 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .value-card {
        padding: 20px 15px;
    }

    .value-card h5 {
        font-size: 1.1rem;
    }

    .value-card p {
        font-size: 0.9rem;
    }
}