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-box i:hover {
    transform: scale(1.2);
}

.call-icon i {
    color: white;
    font-size: 16px;
}

.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;
}

@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;
    }
}


/* ================= ABOUT OWNER ================= */
.about-owner {
    margin-top: 80px;
}

.owner-img {
    width: 90%;
    height: 350px;
    position: relative;
    left: 40px;
    border-radius: 12px;
    margin-top: 10px;
}

.section-tag {
    font-size: 14px;
    font-weight: 600;
    color: gray;
    text-transform: uppercase;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin: 15px 0;
}

.owner-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    text-align: justify; /*ik hi alignment m krdy ga content ko*/
    margin-right: 40px;
}

/* ================= TEAM ================= */
.team-section {
    margin-top: 100px;
}

.team-card {
    text-align: center;
    padding: 20px;
}

.team-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.team-card h5 {
    font-size: 16px;
    font-weight: 600;
}

.team-card p {
    font-size: 14px;
    color: #666;
}

/* ================= PROCESS ================= */
.process-section {
    margin-top: 100px;
}

.process-wrapper {
    text-align: center;
}

.process-card i {
    font-size: 36px;
    color: #0a3d91;
    margin-bottom: 12px;
}

.process-card h5 {
    font-size: 16px;
    font-weight: 600;
}

.process-card p {
    font-size: 14px;
    color: #666;
}

/* ================= MOBILE ≤ 479px ================= */
@media (max-width: 479px) {

    .owner-img {
        width: 100%;
        height: 250px;
        left: 0;
    }
    .about-owner {
        margin-top: 30px;
        text-align: center;
    }

    .section-title {
        margin-top: 20px;
        font-size: 22px;
    }

    .owner-content p {
        font-size: 14px;
        margin-left: 30px;
    }
    .owner-content .section-tag {
        font-size: 18px;
        margin-top: 25px;
    }

    .team-section,
    .process-section {
        margin-top: 70px;
    }

    .team-card,
    .process-card {
        margin-bottom: 25px;
    }

    .process-card i {
        font-size: 30px;
    }
}


.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;
    }
}
