html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: auto;
    min-height: 100%;
    overflow-y: auto;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fb;
    color: #1d2939;
    min-height: 100%;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

/* MAIN PAGE AREA */
main {
    display: block;
    min-height: auto;
    overflow: visible;
}

/* NAVBAR */
.custom-navbar {
    background-color: #061b3a;
    padding: 18px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #ffffff !important;
}

.nav-link {
    color: #ffffff !important;
    margin-left: 18px;
    font-weight: 500;
}

    .nav-link:hover {
        color: #37c871 !important;
    }

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #061b3a, #0b3d73);
    color: white;
    padding: 65px 0 70px 0;
    min-height: auto;
    overflow: visible;
}

.hero-small-title {
    color: #37c871;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero-section h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: #e8eef8;
}

.hero-buttons .btn {
    margin-right: 12px;
    margin-bottom: 12px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}

/* HERO CARD */
.hero-card {
    background-color: white;
    color: #1d2939;
    padding: 38px;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

    .hero-card h3 {
        font-weight: 800;
        margin-bottom: 24px;
        color: #061b3a;
        font-size: 30px;
    }

    .hero-card ul {
        padding-left: 22px;
        margin-bottom: 0;
    }

    .hero-card li {
        margin-bottom: 15px;
        font-size: 17px;
        line-height: 1.6;
    }

/* GENERAL SECTIONS */
.section-padding {
    padding: 80px 0;
}

.light-section {
    background-color: #eef3fb;
}

.dark-section {
    background-color: #061b3a;
}

.section-title {
    max-width: 900px;
    margin: 0 auto 45px auto;
    text-align: center;
}

    .section-title h2 {
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 16px;
        color: #061b3a;
    }

    .section-title p {
        font-size: 18px;
        line-height: 1.7;
        color: #475467;
    }

.dark-section .section-title h2 {
    color: white;
}

.dark-section .section-title p {
    color: #e8eef8;
}

/* SERVICE CARDS */
.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 18px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    border: 1px solid #e4e7ec;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    }

    .service-card h4 {
        font-size: 21px;
        font-weight: 800;
        color: #061b3a;
        margin-bottom: 15px;
    }

    .service-card p {
        color: #667085;
        line-height: 1.6;
        margin-bottom: 20px;
    }

/* CONTACT CARDS */
.contact-card {
    background-color: white;
    color: #1d2939;
    padding: 32px;
    border-radius: 18px;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #e4e7ec;
    transition: 0.3s ease;
}

    .contact-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
    }

    .contact-card h4 {
        color: #061b3a;
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 15px;
    }

    .contact-card p {
        color: #667085;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .contact-card .btn {
        border-radius: 8px;
        font-weight: 700;
        padding: 11px 18px;
    }

/* BUTTONS */
.btn-primary {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

    .btn-primary:hover {
        background-color: #084298;
        border-color: #084298;
    }

.btn-outline-light:hover {
    color: #061b3a;
}

.btn-success {
    background-color: #25d366;
    border-color: #25d366;
}

    .btn-success:hover {
        background-color: #1ebe5d;
        border-color: #1ebe5d;
    }

/* PRIVACY PAGE CARD */
.page-header {
    background: linear-gradient(135deg, #061b3a, #0b3d73);
    color: white;
    padding: 70px 0;
    text-align: center;
}

    .page-header h1 {
        font-size: 44px;
        font-weight: 800;
    }

    .page-header p {
        font-size: 18px;
        color: #e8eef8;
    }

.content-card {
    background-color: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

    .content-card h2 {
        color: #061b3a;
        font-weight: 800;
        margin-top: 25px;
        margin-bottom: 12px;
    }

        .content-card h2:first-child {
            margin-top: 0;
        }

    .content-card p {
        color: #475467;
        line-height: 1.7;
    }

/* FOOTER */
.footer-section {
    background-color: #020d1f;
    color: white;
    padding: 25px 0;
    font-size: 14px;
    position: relative;
    width: 100%;
}

    .footer-section p {
        margin: 0;
        color: #e8eef8;
    }

/* REMOVE OLD ASP.NET FOOTER BEHAVIOR */
.footer {
    position: static !important;
    bottom: auto !important;
    width: auto !important;
    line-height: normal !important;
    white-space: normal !important;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 42px;
    }

    .hero-card {
        margin-top: 35px;
    }
}

@media (max-width: 768px) {
    .custom-navbar {
        padding: 14px 0;
    }

    .navbar-brand {
        font-size: 14px;
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .hero-section {
        padding: 55px 0 60px 0;
    }

        .hero-section h1 {
            font-size: 34px;
        }

    .hero-text {
        font-size: 17px;
    }

    .hero-card {
        padding: 28px;
    }

        .hero-card h3 {
            font-size: 24px;
        }

    .section-title h2 {
        font-size: 30px;
    }

    .section-title p {
        font-size: 16px;
    }

    .contact-card {
        padding: 26px;
    }
}
.subservice-card,
.details-card {
    background-color: white;
    color: #1d2939;
    padding: 32px;
    border-radius: 18px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e4e7ec;
}

    .subservice-card h4,
    .details-card h2 {
        color: #061b3a;
        font-weight: 800;
        margin-bottom: 15px;
    }

    .subservice-card p,
    .details-card p {
        color: #667085;
        line-height: 1.7;
    }

.subservice-card {
    transition: 0.3s ease;
}

    .subservice-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    }
.service-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-media-card {
    display: flex;
    align-items: stretch;
    background-color: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e4e7ec;
    transition: 0.3s ease;
}

    .service-media-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    }

.service-media-image {
    width: 300px;
    min-width: 300px;
    height: 230px;
    overflow: hidden;
    background-color: #dfe7f3;
}

    .service-media-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.service-media-content {
    flex: 1;
    padding: 32px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .service-media-content h4 {
        font-size: 28px;
        font-weight: 800;
        color: #061b3a;
        margin-bottom: 15px;
    }

    .service-media-content p {
        font-size: 17px;
        line-height: 1.7;
        color: #667085;
        margin-bottom: 22px;
    }

    .service-media-content .btn {
        align-self: flex-start;
        padding: 10px 20px;
        font-weight: 700;
    }

@media (max-width: 992px) {
    .service-media-card {
        flex-direction: column;
    }

    .service-media-image {
        width: 100%;
        min-width: 100%;
        height: 240px;
    }

    .service-media-content {
        padding: 26px;
    }

        .service-media-content h4 {
            font-size: 24px;
        }
}

@media (max-width: 576px) {
    .service-media-image {
        height: 200px;
    }

    .service-media-content h4 {
        font-size: 22px;
    }

    .service-media-content p {
        font-size: 16px;
    }
}
/* Reduce space between About Us and Our Main Services */
#about {
    padding-top: 50px;
    padding-bottom: 35px;
}

    #about .section-title {
        margin-bottom: 0;
    }

        #about .section-title p {
            margin-bottom: 0;
        }

#services {
    padding-top: 50px;
}
/* ABOUT US ANIMATED RECTANGULAR BOX */
.about-section {
    padding: 55px 0 45px 0;
    background-color: #f5f7fb;
}

.about-animated-box {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(90deg, #00c6ff, #0072ff, #37c871, #00c6ff, #005bea);
    background-size: 400% 400%;
    animation: blueGlowMove 5s linear infinite;
    box-shadow: 0 0 25px rgba(0, 114, 255, 0.45);
}

.about-inner-box {
    background: #ffffff;
    border-radius: 21px;
    padding: 45px 40px;
    text-align: center;
}

    .about-inner-box h2 {
        font-size: 58px;
        font-weight: 900;
        color: #061b3a;
        margin-bottom: 25px;
    }

    .about-inner-box p {
        font-size: 20px;
        line-height: 1.85;
        color: #324b6b;
        max-width: 1120px;
        margin: 0 auto;
    }

@keyframes blueGlowMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 40px 0 35px 0;
    }

    .about-inner-box {
        padding: 30px 20px;
    }

        .about-inner-box h2 {
            font-size: 38px;
        }

        .about-inner-box p {
            font-size: 16px;
            line-height: 1.7;
        }
}
/* RAINBOW ANIMATED BOX FOR OUR MAIN SERVICES */
.services-rainbow-box {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 50px auto;
    padding: 6px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient( 90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #00ffff, #0000ff, #4b0082, #8f00ff, #ff1493, #ff0000 );
    background-size: 500% 500%;
    animation: rainbowLiveMove 6s linear infinite;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.18);
}

.services-rainbow-inner {
    background-color: #ffffff;
    border-radius: 22px;
    padding: 42px 38px;
    text-align: center;
}

    .services-rainbow-inner h2 {
        font-size: 56px;
        font-weight: 900;
        color: #061b3a;
        margin-bottom: 22px;
    }

    .services-rainbow-inner p {
        font-size: 18px;
        line-height: 1.9;
        color: #42526b;
        max-width: 1080px;
        margin: 0 auto;
    }

@keyframes rainbowLiveMove {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 100%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 0%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .services-rainbow-box {
        margin-bottom: 35px;
        border-radius: 22px;
        padding: 4px;
    }

    .services-rainbow-inner {
        padding: 28px 20px;
        border-radius: 18px;
    }

        .services-rainbow-inner h2 {
            font-size: 36px;
        }

        .services-rainbow-inner p {
            font-size: 16px;
            line-height: 1.7;
        }
}
/* HERO RIGHT SERVICE BUTTONS */
.hero-service-card {
    padding: 32px;
}

    .hero-service-card h3 {
        text-align: center;
        margin-bottom: 25px;
    }

.hero-service-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.hero-service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #0b5ed7, #061b3a);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 8px 18px rgba(11, 94, 215, 0.25);
}

    .hero-service-btn:hover {
        background: linear-gradient(135deg, #37c871, #0b5ed7);
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(55, 200, 113, 0.35);
    }

@media (max-width: 576px) {
    .hero-service-buttons {
        grid-template-columns: 1fr;
    }

    .hero-service-btn {
        font-size: 14px;
    }
}
/* PORTFOLIO TESTIMONIAL SECTION */
.portfolio-section {
    background-color: #f5f7fb;
}

.portfolio-title-box {
    position: relative;
    max-width: 1150px;
    margin: 0 auto 45px auto;
    padding: 5px;
    border-radius: 26px;
    background: linear-gradient(90deg, #0b5ed7, #37c871, #00c6ff, #8f00ff, #0b5ed7);
    background-size: 400% 400%;
    animation: portfolioGlowMove 6s linear infinite;
    box-shadow: 0 0 22px rgba(11, 94, 215, 0.25);
}

.portfolio-title-inner {
    background-color: #ffffff;
    border-radius: 21px;
    padding: 38px 34px;
    text-align: center;
}

    .portfolio-title-inner h2 {
        font-size: 52px;
        font-weight: 900;
        color: #061b3a;
        margin-bottom: 18px;
    }

    .portfolio-title-inner p {
        font-size: 18px;
        line-height: 1.8;
        color: #42526b;
        max-width: 1000px;
        margin: 0 auto;
    }

@keyframes portfolioGlowMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.testimonial-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    height: 100%;
    border: 1px solid #e4e7ec;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .testimonial-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.13);
    }

.testimonial-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0b5ed7, #37c871);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 18px;
}

.testimonial-card h4 {
    color: #061b3a;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.testimonial-card span {
    display: block;
    color: #0b5ed7;
    font-weight: 700;
    margin-bottom: 18px;
}

.testimonial-card p {
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .portfolio-title-inner {
        padding: 28px 20px;
    }

        .portfolio-title-inner h2 {
            font-size: 36px;
        }

        .portfolio-title-inner p {
            font-size: 16px;
            line-height: 1.7;
        }
}
/* REDUCE LARGE SECTION GAPS */
.section-padding {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
}

/* Reduce gap after About Us */
.about-section {
    padding-top: 45px !important;
    padding-bottom: 30px !important;
}

/* Reduce gap before Our Main Services */
#services {
    padding-top: 35px !important;
}

/* Reduce gap around Services title box */
.services-rainbow-box {
    margin-bottom: 30px !important;
}

/* Reduce gap around Portfolio section */
#portfolio {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.portfolio-title-box {
    margin-bottom: 30px !important;
}

/* Reduce gap around Contact section */
#contact {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
}

/* Reduce gap inside title boxes */
.about-inner-box,
.services-rainbow-inner,
.portfolio-title-inner {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}
/* PRIVACY POLICY PAGE */
.privacy-policy-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 22px;
    border: 1px solid #e4e7ec;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

    .privacy-policy-box h2 {
        color: #061b3a;
        font-size: 28px;
        font-weight: 800;
        margin-top: 28px;
        margin-bottom: 14px;
    }

        .privacy-policy-box h2:first-child {
            margin-top: 0;
        }

    .privacy-policy-box p {
        color: #475467;
        font-size: 18px;
        line-height: 1.8;
        margin-bottom: 0;
    }

@media (max-width: 768px) {
    .privacy-policy-box {
        padding: 28px 22px;
    }

        .privacy-policy-box h2 {
            font-size: 24px;
        }

        .privacy-policy-box p {
            font-size: 16px;
            line-height: 1.7;
        }
}