/* General */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 105px;
    color: #333;
}

section {
    scroll-margin-top: 110px;
}

a {
    text-decoration: none;
}

/* Header */
.site-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.top-bar {
    background: #0d6efd;
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}

.company-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: 700;
    color: #09326f;
}

.company-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.main-navbar {
    background: #193572;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffc107;
}

/* Slider */
.home-about-section {
    padding: 100px 0 70px;
    background: #f8fbff;
}

.home-slider-img {
    width: 100%;
    height: 430px;
    object-fit: contain;
    background: #fff;
}

.home-content h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 18px;
}

.home-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
}

@media (max-width: 768px) {
    .home-about-section {
        padding: 60px 0;
    }

    .home-slider-img {
        height: 300px;
    }

    .home-content h1 {
        font-size: 28px;
    }
}

.slider-bg {
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slider-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.slider-content {
    position: relative;
    max-width: 650px;
    padding: 40px 0;
}

.slider-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
}

.slider-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

.slider-one {
    background-image: linear-gradient(120deg, #0d6efd, #111827);
}

.slider-two {
    background-image: linear-gradient(120deg, #198754, #111827);
}

.slider-three {
    background-image: linear-gradient(120deg, #fd7e14, #111827);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 45px;
}

.section-title span {
    color: #0d6efd;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    margin-top: 8px;
}

.section-title p {
    max-width: 650px;
    margin: 10px auto 0;
    color: #666;
}

/* Services */
.service-card {
    height: 100%;
    background: #fff;
    padding: 35px 28px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 6px 22px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
     color: #084298;
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.13);
}



.service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: #333;
    line-height: 1.6;
}

.service-link {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}


/* Contact */
.contact-form-box,
.contact-details-box,
.about-box,
.map-box {
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.07);
}

.form-control {
    min-height: 46px;
}
.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.detail-item i {
    width: 50px;
    height: 50px;
    min-width: 50px;      /* Prevent shrinking */
    min-height: 50px;
    flex-shrink: 0;       /* Very important */
    background: #eaf2ff;
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.detail-item div {
    flex: 1;
}

.detail-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.detail-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}
/* About */
.about-box h3 {
    font-weight: 800;
    margin-bottom: 15px;
}

.about-list {
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
}

.about-list li {
    margin-bottom: 12px;
}

.about-list i {
    color: #198754;
    margin-right: 8px;
}

.map-box {
    padding: 10px;
    overflow: hidden;
}

.map-box iframe {
    border-radius: 12px;
}

/* Footer */
.footer {
    background: #193572;
    color: #d1d5db;
    padding: 55px 0 25px;
}

.footer h5 {
    color: #fff;
    margin-bottom: 18px;
}

.footer a {
    color: #d1d5db;
}

.footer a:hover {
    color: #ffc107;
}

.footer hr {
    border-color: rgba(255,255,255,0.18);
    margin: 30px 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 132px;
    }

    section {
        scroll-margin-top: 135px;
    }

    .slider-bg {
        min-height: 430px;
        text-align: center;
    }

    .slider-content h1 {
        font-size: 34px;
    }

    .slider-content p {
        font-size: 16px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 30px;
    }
}
