html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

/* ================= TOP BAR ================= */
.contact-icons a i {
    color: #0d6efd;
    transition: 0.3s;
}

.contact-icons a:hover i {
    transform: scale(1.2);
}

/* Social Icons Base Styling */
.social-icons a i {
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block; /* Required for transform scale to work */
}

/* Specific Brand Colors */
.social-icons .bi-facebook { color: #1877f2; }
.social-icons .bi-instagram { color: #e4405f; }
.social-icons .bi-twitter { color: #1da1f2; }
.social-icons .bi-linkedin { color: #0a66c2; }
.social-icons .bi-youtube { color: #ff0000; }

/* Hover Effect for Social Icons */
.social-icons a:hover i {
    transform: scale(1.2);
}



/* This makes the color and hover work for both links and plain icons */
.contact-icons i {
    color: #0d6efd;
    transition: 0.3s;
    display: inline-block;
}

/* Hover effect for the icon */
.contact-icons:hover i {
    transform: scale(1.2);
}

/* If you ever wrap the email in a link, this keeps the text style clean */
.contact-icons a {
    text-decoration: none;
    color: inherit;
}



.btn-start {
    display: inline-flex;
    align-items: center;
    background-color: #2e5add;
    color: white;
    text-decoration: none;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-start i {
    margin-left: 6px;
    transition: 0.3s;
}

.btn-start:hover {
    background-color: #27408B;
}

.btn-start:hover i {
    transform: translateX(4px);
}

/* ================= HEADER / NAV ================= */

.header-main {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo img {
    height: 85px;
    width: 160px;
    margin-left: 20px;
    border-radius: 50px;
    padding: 5px;
    display: block;
}

/* Navbar — DESKTOP EXACT */
.navbar {
    display: flex;
    padding-left: 300px;
    padding-right: 300px;
    position: relative;
    bottom: 55px;

}

.navbar a {
    margin-left: 30px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #1067cb;
}

/* Call Box */
.call-box-container {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}


.call-icon {
    width: 35px;
    height: 35px;
    background-color: #0a3d91;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-icon i {
    color: white;
    font-size: 16px;
}

.call-icon i:hover {
    transform: scale(1.1);
}


.call-title {
    font-size: 12px;
    font-weight: 500;
}

.call-number {
    font-size: 14px;
    font-weight: bold;
    color: #0a3d91;
}

/* Hamburger — hidden on desktop */
.hamburger {
    display: none;
}

/* ================= MOBILE ≤ 479px ================= */

@media (max-width: 479px) {

    /* Top bar stacking */
    .top-bar {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .contact-icons,
    .social-icons {
        justify-content: center;
    }

    .btn-start {
        width: 100%;
        justify-content: center;
    }

    /* Header row */
    .header-main {
        justify-content: space-between;
        padding: 10px 15px;
    }

    /* Hamburger show */
    .hamburger {
        display: block;
        font-size: 30px;
        cursor: pointer;
        color: #0a3d91;
    }

    /* Logo right */
    .logo img {
        margin-left: 0;
        height: 70px;
        width: 140px;
    }

    /* Hide call box */
    .call-box-container {
        display: none;
    }

    /* Navbar BELOW header */
    .navbar {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        background-color: transparent;
        border: none;
        padding: 0;
        margin-top: 22px;
    }

    .navbar a {
        margin: 12px 0;
        text-align: center;
    }

    .navbar.active {
        display: flex;
    }
}


.bg-img{
    position: relative;
    top: -40px;
    height: 500px;
    width: 100%;
    overflow: hidden;
}

.bg-img::before { /*before means blur image p text promitent hoga*/
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(4px); 
    z-index: 1;
}

.banner-overlay {
    position: relative;
    z-index: 2;  /* text above blur */
    color: white;
    padding-left: 50px;
    top: 50%;
    transform: translateY(-50%);
}
.btn-banner{
    background-color: #2e5add;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn-banner-explore{
    background-color: white;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s;
}
.btn-banner:hover {
    background-color: #27408B; 
    color: white;
}
.btn-banner-explore:hover {
    background-color: #f0f0f0; 
    color: black;
}

/* ================= BANNER MOBILE ≤ 479px ================= */

@media (max-width: 479px) {

    .bg-img {
        height: auto;
        min-height: 470px;
        position: relative;
        top: 2px;
    }

    .banner-overlay {
        padding: 0 20px;
        text-align: center;
        top: 50%;
        transform: translateY(-50%);
    }

    .banner-overlay h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .banner-overlay p {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 10px;
    }

    .btn-banner,
    .btn-banner-explore {
        display: block;
        width: 80%;
        margin: 12px auto 0;
        font-size: 15px;
    }
}

.img-1 {
    width: 200px;
    height: 190px;
    border-radius: 50%;
    margin-bottom: 20px;
    margin-top: 50px;
    margin-left: 50px;
}

.img-2 {
    width: 190px;
    height: 190px;
    border-radius: 20px;
    object-fit: cover;
    margin-left: 70px;
}

.img-3 {
    width: 340px;
    height: 400px;
    border-radius: 20px;
    margin-top: 50px;
    margin-right: 42px;
}

.main-heading {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    padding-left: 45px;
    color: gray;
    margin-top: 60px;
}

.sub-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 45px;
}

.para {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 45px;
}

.icon {
    color: #0d6efd;
    font-size: 24px;
    margin-right: 10px;
    padding-left: 45px;
}

.discover-more {
    background-color: #2e5add;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    margin-left: 45px;
    transition: background-color 0.3s;
    width: 150px;
}

.discover-more:hover {
    background-color: #27408B; 
    color: white;
}

/* ================= ABOUT SECTION MOBILE ≤ 479px ================= */

@media (max-width: 479px) {

    /* layout column */
    #about {
        flex-direction: column;
        text-align: center;
    }

    #about > .col-6 {
        width: 100%;
        max-width: 100%;
    }

    /* remove left padding for mobile */
    .main-heading,
    .sub-heading,
    .para,
    .icon,
    .discover-more {
        padding-left: 0;
        margin-left: 0;
        text-align: center;
    }

    .main-heading {
        margin-top: 30px;
        font-size: 18px !important;
    }

    .sub-heading {
        font-size: 20px !important;
        margin-left: 12px;
    }

    .para {
        font-size: 14px;
        line-height: 1.6;
    }
    .icon{
        position: relative;
        left: 10px;
    }

    /* icons in one row */
    #about .d-flex {
        justify-content: space-between;
        gap: 10px;
    }

    #about .d-flex > div {
        justify-content: center;
        text-align: center;
        flex: 1;
        font-size: 14px;
    }

    /* discover more button */
    .discover-more {
        margin: 20px auto 0;
        padding: 13px 18px;
        display: block;
    }

    /* images vertical */
    #about .col-6:last-child {
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
    }

    .img-1,
    .img-2,
    .img-3 {
        width: 90%;
        height: auto;
        margin: 0 0 20px 0;
        border-radius: 20px;
    }
}



.explore-heading {
    font-size: 16px;
    color: gray;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 40px;
    text-align: center;
}

.explore-subheading {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.descripation-explore {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
}


/* ================== SERVICE CARD EFFECT ================== */

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    width: 250px;   /* same as image */
}

.service-card .explore-img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.service-card::after {
    content: attr(data-text);
    position: absolute;
    inset: 0; /* covers whole image */
    background: transparent; /* white transparent */
    color: white; /* dark blue text */
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    transition: transform 0.4s ease;
    transform: translateY(100%); /* start hidden from bottom */
    white-space: pre-line; /* allows line breaks */
    pointer-events: none;
}

.service-card:hover .explore-img {
    filter: blur(4px);
    transform: scale(1.05);
}

.service-card:hover::after {
    transform: translateY(0); /* show overlay */
}


/* ================= SERVICES SECTION MOBILE ≤ 479px ================= */

@media (max-width: 479px) {

    #services {
        text-align: center;
    }

    .explore-heading {
        font-size: 16px !important;
        margin-top: 25px;
    }

    .explore-subheading {
        font-size: 20px !important;
        margin-bottom: 20px;
    }

    /* make images vertical */
    .services-row {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .service-card {
        width: 90%;
    }

    .service-card .explore-img {
        height: auto;
    }

    .descripation-explore {
        font-size: 18px;
        margin-top: 10px;
    }

    .service-card::after {
        font-size: 14px;
    }
}



.testimonials-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    margin-top: 70px;
    color: gray;
}

.testimonials-subheading {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.bg-testimonials-color {
    background: linear-gradient(to bottom, rgb(225, 235, 255), rgb(160, 185, 245));
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 290px;
    width: 250px;
    position: relative;
    left: 40px;
}

.stars {
    width: 70px;
    height: 50px;
    position: relative;
    top: -10px;
    left: 85px;
}

.testimonial-descripation {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    font-weight: 600;
    margin-top: -10px;
}

.testimonial-name {
    font-size: 13px;
    font-weight: bold;
    margin-top: 8px;
}

.testimonial-designation {
    font-size: 12px;
    color: #2e5add;
    margin-top: 2px;
    font-weight: 700;
}

.thumb {
    color: #2e5add;
    font-size: 12px;
    position: relative;
    top: 6px;
    margin-left: 70px;
}

.thumb1 {
    font-size: 11px;
    color: #555;
    font-weight: 600;
    position: relative;
    top: 6px;
    padding: 2px;
}

.customer {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    position: relative;
    bottom: 45px;
    left: 10px;
}
/* ================= TESTIMONIALS MOBILE ≤ 479px ================= */

@media (max-width: 479px) {

    #testimonials {
        text-align: center;
    }

    .testimonials-heading {
        font-size: 18px !important;
        margin-top: 40px;
    }

    .testimonials-subheading {
        font-size: 20px !important;
        margin-bottom: 20px;
        margin-left: 15px;
    }

    .testimonials-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .testimonial-col {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .bg-testimonials-color {
        width: 90%;
        height: auto;
        margin-top: 12px;
        position: relative;
        left: 10px;

    }

    .stars {
        margin-right: 38px;
        transform: translateX(-50%);
    }

    .thumb {
        margin-left: 90px;
        margin-top: 10px;
    }
    .thumb1{
        margin-top: 10px;
    }
    .customer {
        margin-right: 60px;
        width: 70px;
        height: 70px;
    }
}




.contact 
{
    color: gray;
    font-size: 14px;
    font-weight: 600;
    margin-top: 200px;
    margin-left: 45px;
}
.contact-heading{
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 45px;
}
.contact-subheading{
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    padding-left: 45px;
}
.p-guidance{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
    padding-left: 45px;
    position: relative;
    bottom: 60px;
    left: 60px;
}
.para-guidance{
    font-size: 14px;
    color: #555;
    
    padding-left: 45px;
    position: relative;
    bottom: 60px;
    left: 60px;
}
.p-success{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
    padding-left: 45px;
    position: relative;
    bottom: 100px;
    left: 60px;
}
.para-success{
    font-size: 14px;
    color: #555;
    
    padding-left: 45px;
    position: relative;
    bottom: 100px;
    left: 60px;
}
.guidance-img{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
    position: relative;
    left: 45px;
}
.success-img{
    width: 45px;
    height: 45px;
    border-radius: 8px;
    position: relative;
    left: 45px;
    bottom: 35px;
}
.team-img{
    width: 45px;
    height: 45px;
    border-radius: 8px;
    position: relative;
    left: 45px;
    bottom: 70px;
}
.p-team{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
    padding-left: 45px;
    position: relative;
    bottom: 140px;
    left: 60px;
}
.para-team{
    font-size: 14px;
    color: #555;
    padding-left: 45px;
    position: relative;
    bottom: 140px;
    left: 60px;
}


.bg-contact-color{
    background: linear-gradient(to bottom,rgb(225, 235, 255),rgb(160, 185, 245));
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 520px;
    width: 550px;
    margin-left: 80px;
    margin-top: 130px;
}
.bg-contact-color {
    background: linear-gradient(to bottom, rgb(225,235,255), rgb(180,200,245));
    padding: 40px;
    border-radius: 12px;
}

.contact-form {
    gap: 20px;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #d0d8f0;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    background-color: #fff;
}

.form-input:focus {
    border-color: #2e5add;
    box-shadow: 0 0 0 2px rgba(46,90,221,0.15);
}

.form-textarea {
    width: 100%;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #d0d8f0;
    font-size: 14px;
    outline: none;
    resize: none;
    transition: 0.3s;
}

.form-textarea:focus {
    border-color: #020202;
    box-shadow: 0 0 0 2px rgba(46,90,221,0.15);
}

.form-btn {
    margin-top: 5px;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 500;
}

.form-message {
    display: none;              /* hidden initially */
    padding: 10px 15px;       
    margin-top: 15px;           
    border-radius: 6px;         
    font-size: 14px;
    font-weight: 500;
    max-width: 100%;       
    box-sizing: border-box;     
    text-align: center; 
    position: relative;
    left: 50px;        
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* ================= CONTACT SECTION MOBILE ≤ 479px ================= */

@media (max-width: 479px) {

    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-left,
    #contact form {
        width: 100%;
        max-width: 100%;
    }

    .contact {
        margin: 80px 0 5px;
        text-align: center;
        font-size: 18px;
    }

    .contact-heading {
        font-size: 22px !important;
        padding-left: 0;
        text-align: center;
    }

    .contact-subheading {
        padding-left: 0;
        text-align: center;
        font-size: 14px !important;
        margin-bottom: 25px;
    }

    /* contact items */
    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .contact-item img {
        position: static;
        margin: 0;
    }

    .p-guidance,
    .p-success,
    .p-team,
    .para-guidance,
    .para-success,
    .para-team {
        position: static;
        padding-left: 0;
        text-align: left;
    }
    .guidance-img,
    .success-img,
    .team-img {
        position: relative !important;
        top: 20px;
        left: 5px;
        margin: 0;
    }

    /* FORM */
    .bg-contact-color {
        width: 100%;
        height: auto;
        margin: 20px 0 0;
        padding: 25px;
        margin-left: 10px;
    }

    .contact-form {
        flex-direction: column;
    }

    .form-btn {
        width: 100%;
        margin-top: 15px;
    }

    .form-message {
        display: block;          /* show properly */
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
        padding: 10px 12px;
        font-size: 13px;
        text-align: center;

        position: static;        /* remove left offset */
        left: auto;

        box-sizing: border-box;
        border-radius: 6px;
    }
}



.faq-section {
    margin-top: 70px;
    background: linear-gradient(to bottom,rgb(225, 235, 255),rgb(160, 185, 245));
    padding: 60px 20px;
    border-radius: 15px;
}

.faq-subheading {
    font-size: 16px;
    color: #2e5add;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.faq-heading {
    font-size: 32px;
    font-weight: 700;
    color: #0a3d91;
    margin-bottom: 40px;
}

.faq-heading span {
    display: block;
    color: #2e5add;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    color: #2e5add;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    padding: 0 20px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 15px 20px;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

/* ================= FAQ MOBILE ≤ 479px ================= */

@media (max-width: 479px) {

    .faq-section {
        margin-top: 80px;
        padding: 40px 15px;
        border-radius: 10px;
    }

    .faq-subheading {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .faq-heading {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .faq-question {
        font-size: 14px;
        padding: 14px 16px;
    }

    .faq-question::after {
        font-size: 18px;
        right: 16px;
    }

    .faq-answer {
        font-size: 13px;
        line-height: 1.5;
    }

    .faq-item.active .faq-answer {
        padding: 12px 16px;
    }
}


.bgs-color{
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
    padding: 10px;
    margin-left: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-top: 200px;
    width: 1150px;
    height: 260px;
}
.first-heading{
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 45px;
    margin-top: 8px;
    position: relative;
    bottom: 10px;
}
.first-subheading{
    font-size: 16px;
    color: #555;
    position: relative;
    bottom: 25px;
    margin-bottom: 20px;
    padding-left: 45px;
}
.get-started{
    color: black;
    font-size: 16px;
    position: relative;
    left: 45px;
    bottom: 40px;
    font-weight: 600;
}

/* ================= SMALL SCREEN ≤ 479px ================= */

@media (max-width: 479px) {

    .bgs-color{
        flex-direction: column;
        align-items: center;
        margin-left: 10px;
        margin-top: 100px;
        width: 100%;
        height: auto;
        padding: 25px 15px;
    }

    .bgs-color .col-6{
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .bgs-color img{
        width: 270px !important;
        position: static !important;
        margin-bottom: 20px;
    }

    .first-heading{
        font-size: 20px;
        padding-left: 0;
        margin-top: 10px;
        margin-bottom: 15px;
        position: static;
        text-align: center;
    }

    .first-subheading{
        font-size: 14px;
        padding-left: 0;
        position: static;
        margin-bottom: 20px;
        text-align: center;
        line-height: 1.6;
    }

    .get-started{
        font-size: 14px;
        position: static;
        font-weight: 600;
        text-align: center;
    }
}



    .site-footer {
    background: linear-gradient(to bottom,rgb(225, 235, 255),rgb(160, 185, 245));
    padding: 60px 0 0 ;
    font-family: Arial, sans-serif;
    margin-top: 110px;
    }

    .footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    padding: 0 20px;
    }

    .footer-col h4 {
    color: black;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
    }

    .footer-col ul {
    list-style: none;
    padding: 0;
    }

    .footer-col ul li {
    margin-bottom: 12px;
    }

    .footer-col ul li a {
    color: #0a3d91;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    font-weight: 500;
    }

    .footer-col ul li a:hover {
    color: black;
    }

    .footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    }

    .footer-gallery img {
    width: 100%;
    border-radius: 4px;
    }

    .newsletter p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #0a3d91;
    }

    .newsletter-box {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #0a3d91;
    padding-bottom: 8px;
    }

    .newsletter-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #0a3d91;
    flex: 1;
    font-size: 14px;
    }

    .newsletter-box input::placeholder {
    color: #0a3d91;
    }

    .newsletter-box button {
    background: none;
    border: none;
    color: #0a3d91;
    font-size: 18px;
    cursor: pointer;
    }

    .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    }

    .footer-social a {
    width: 38px;
    height: 38px;
    background: #0a3d91;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    }

    .footer-social a:hover {
    background: #3775d8;
    }

    .footer-bottom {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: black;
    }

    .footer-bottom span {
    color: #0a3d91;
    }

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #0a3d91;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#backToTop:hover {
    background-color: #062b65;
}


/* ================= FOOTER RESPONSIVE ≤ 479px ================= */

@media (max-width: 479px) {

    /* ===== FOOTER GRID FIX ===== */
    .footer-container{
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    /* Gallery, Newsletter full width */
    .footer-col:nth-child(4),
    .footer-col:nth-child(5){
        grid-column: 1 / -1;
    }

    .footer-col h4{
        font-size: 14px;
        margin-bottom: 10px;
    }
    .footer-col h4.gallery{
        margin-top: 15px;
        text-align: center;
        font-size: 18px;
        font-weight: 600;
    }
    .footer-col ul li{
        margin-bottom: 8px;
    }

    .footer-col ul li a{
        font-size: 13px;
    }

    /* Gallery */
    .footer-gallery{
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    /* Newsletter */
    .newsletter p{
        font-size: 13px;
        margin-bottom: 10px;
    }

    .newsletter-box{
        width: 100%;
    }

    /* Social icons */
    .footer-social{
        margin-top: 15px;
        justify-content: flex-start;
        gap: 10px;
    }

    .footer-social a{
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    /* Footer bottom */
    .footer-bottom{
        font-size: 12px;
        margin-top: 30px;
        padding: 12px;
    }
}


