@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: black;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.7);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 5px 20px;
    margin-top: -5px;
    /* border-radius: 10px; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.8);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-surya-panel {
    background-color: #ffb100;
    color: #ffffff;
    padding: 10px 12px;
    font-weight: 400;
    font-size: 13px;
    border-radius: 6px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.logo img {
    height: 60px;
    filter: contrast(1.2);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}



.nav-menu ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu ul li.active a {
    color: #ffb100;
    font-weight: 700;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu ul li.active a::after {
    content: '';
    position: absolute;
    bottom: 24PX;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffb100" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.8 1.42-1.42zm10.48 0l1.8-1.79 1.41 1.41-1.79 1.8-1.42-1.42zM12 4V1h-1v3h1zm5 8a5 5 0 11-10 0 5 5 0 0110 0zm6 1h-3v-1h3v1zm-2.05 5.05l1.79 1.8-1.41 1.41-1.8-1.79 1.42-1.42zm-15.9 0l-1.8 1.79 1.41 1.41 1.8-1.79-1.42-1.42zM12 20v3h1v-3h-1zm-9-8H0v1h3v-1zm2.05 5.05L4.26 18.9l1.41 1.41 1.79-1.8-1.42-1.42z"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    animation: rotate-sun 9s linear infinite;
}

@keyframes rotate-sun {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }

    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}



.nav-menu ul li a:hover {
    color: #ffb100;
}

/* ===========================
   Base Header Styles
=========================== */

.logo img {
    height: 60px;
}

/* ===========================
   Navigation Menu
=========================== */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
    position: relative;
}

.nav-menu ul li a:hover {
    color: #ffb100;
}

.nav-menu ul li.active a {
    color: #ffb100;
    font-weight: 700;
    padding-bottom: 5px;
}

.nav-menu ul li.active a::after {
    content: '';
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffb100" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.8 1.42-1.42zm10.48 0l1.8-1.79 1.41 1.41-1.79 1.8-1.42-1.42zM12 4V1h-1v3h1zm5 8a5 5 0 11-10 0 5 5 0 0110 0zm6 1h-3v-1h3v1zm-2.05 5.05l1.79 1.8-1.41 1.41-1.8-1.79 1.42-1.42zm-15.9 0l-1.8 1.79 1.41 1.41 1.8-1.79-1.42-1.42zM12 20v3h1v-3h-1zm-9-8H0v1h3v-1zm2.05 5.05L4.26 18.9l1.41 1.41 1.79-1.8-1.42-1.42z"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    animation: rotate-sun 9s linear infinite;
}

@keyframes rotate-sun {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }

    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

/* ===========================
   Hamburger Menu (Mobile)
=========================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
}

.hamburger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Top bar */
.hamburger span:nth-child(1) {
    top: 6px;
}

/* Middle bar */
.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

/* Bottom bar */
.hamburger span:nth-child(3) {
    bottom: 6px;
}

/* Animation to "X" when active */
.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: rotate(-45deg);
}


/* ===========================
   Mobile Navigation Behavior
=========================== */
@media screen and (max-width: 768px) {

    /* =========================
   Professional Mobile Header
========================= */
    .main-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(255, 255, 255, 0.8);
        padding: 10px 16px;
        position: sticky;
        top: 0;
        width: 100%;
        margin: 0;
        z-index: 999;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Logo */
    .logo img {
        height: 45px;
        width: auto;
    }

    /* Hamburger Menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        width: 32px;
        height: 32px;
    }

    .hamburger span {
        height: 3px;
        width: 100%;
        background: #333;
        border-radius: 4px;
        transition: all 0.3s ease;
        transform-origin: center;
        /* important */
    }

    /* Animation to X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -3px);
    }


    /* PM Surya Panel - separate row below header */
    .pm-surya-panel {
        background: #ffb100;
        color: #fff;
        text-align: center;
        padding: 10px 14px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    .header-right {
        width: 80%;
        margin: auto;
        /* border-radius: 0; */
    }

    /* Mobile Nav Menu */
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #ffffff;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        margin-top: 10%;
    }

    .nav-menu ul {
        list-style: none;
        padding: 15px 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 18px;
        justify-content: center;
        align-items: center;
    }

    .nav-menu ul li a {
        color: #333;
        font-size: 15px;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

    .nav-menu ul li a:hover {
        color: #ffb100;
    }

}





/* FOOTER  */

/* pop up card */
.popup {
    display: none;
    /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 500px;
    background-color: #ffffff;
    background-image: url(../images/Background.png);
    background-size: cover;
    background-position: center;
    transform: translate(-50%, -50%);
    padding: 30px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    z-index: 1000;
    text-align: center;
    /* font-family: "Poppins", sans-serif; */
}

/* Heading */
.pop-up-heading {
    font-size: 36px;
    font-weight: 700;
    color: #ffb100;
    /* Theme orange */
    margin-bottom: 15px;
}

/* Paragraph */
.pop-up-para {
    color: #000;
    /* Olive green */
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
}

/* Button */
.close-btn {
    background-color: #ffb100;
    /* Olive green */
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    border: none;
    padding: 0px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
}

.close-btn:hover {
    background-color: #fff;
}



@media (max-width: 600px) {
    .popup {
        width: 90%;
        padding: 20px 15px;
    }

    .pop-up-heading {
        font-size: 28px;
    }

    .pop-up-para {
        font-size: 16px;
    }

    .close-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}





/* section7 Footer */
.section7 {
    background-color: #050505;
    background-image: url('/assets/images/carousel-bg.png');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    color: white;
    font-family: 'Heebo', sans-serif;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
}

.footer-left,
.footer-right {
    flex: 1 1 45%;
}

.footer-left h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-left h2 .highlight {
    color: #fcb426;
}

.footer-left p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #ddd;
}

.map-box {
    border-radius: 15px;
    overflow: hidden;
}

/* Right Section */
.footer-right h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.email-box {
    display: flex;
    margin-bottom: 30px;
    background-color: #222;
    border-radius: 30px;
    overflow: hidden;
    align-items: center;
}

.email-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: white;
    outline: none;
}

.email-box input::placeholder {
    color: #aaa;
}

.email-box button {
    background-color: #fcb426;
    border: none;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 30px;
    transition: background 0.3s;
    margin: 10px;
}

.email-box button:hover {
    background-color: #e0a420;
}

.contact-info p {
    font-size: 1rem;
    margin: 8px 0;
}

.office-address h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.office-address p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
}

.contact-info i,
.office-address i {
    color: #ffb100;
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
}

.social-links {
    display: inline-flex;
    margin-top: 8px;
}

.social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: 150px;
    margin-left: -150px;
}

.social-links i {
  color: #fff;
  font-size: 25px;
}

.contact-info p,
.office-address p {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    margin-bottom: 10px;
}


/* Mobile Footer Styles */
@media (max-width: 768px) {
    .section7 {
        padding: 30px 15px;
        border-radius: 30px 30px 0 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 25px;
    }

    .footer-left,
    .footer-right {
        flex: 1 1 100%;
        text-align: center;
    }

    .footer-left h2 {
        font-size: 1.5rem;
    }

    .footer-left p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .map-box {
        margin: 0 auto;
        max-width: 100%;
    }

    .footer-right h3 {
        font-size: 1.2rem;
    }

    .email-box {
        flex-direction: column;
        background: none;
        gap: 10px;
    }

    .email-box input {
        width: 100%;
        background: #222;
        border-radius: 25px;
    }

    .email-box button {
        width: 100%;
        margin: 0;
    }

    .contact-info p,
    .office-address p {
        font-size: 0.9rem;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .section7 {
        padding: 30px 10px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .footer-left h2 {
        font-size: 28px;
    }

    .footer-left h2 .highlight {
        color: #fcb426;
        font-size: 28px;
    }

    .footer-left p {
        font-size: 0.9rem;
    }

    .footer-right h3 {
        font-size: 1.2rem;
    }

    .email-box input {
        padding: 10px 15px;
        font-size: 0.9rem;
        border-radius: 0;
        text-align: center;
    }

    .email-box button {
        padding: 5px;
        font-size: 14px;
        border-radius: 0;
        font-weight: 400;
    }

    .contact-info p,
    .office-address p {
        font-size: 0.85rem;
    }
}

/* Popup Base */
.quote-popup {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;

}

/* Popup Container */
.popup-content {
    display: flex;
    background: white;
    border-radius: 16px;
    width: 90%;
    height: 95vh;
    max-width: 900px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 10px;
    overflow: scroll;
}

/* Left Image */
.popup-image {
    flex: 1;
    background-color: #eee;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

/* Right Form Section */
.popup-form {
    flex: 1;
    padding: 10px;
    position: relative;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h2 {
    font-size: 24px;
    margin: 0;
}

.close-btn {
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.popup-form h3 {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.popup-form form {
    display: flex;
    flex-direction: column;
}

.popup-form label {
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 10px;
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.popup-form button {
    background-color: #fca311;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 30px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup-form button:hover {
    background-color: #e89600;
}


/********************* whatsapp container */
.whatsapp-container {
    position: fixed;
    z-index: 99;
    bottom: 0;
    right: 3%;
    width: 50px;
    height: 50px;
    background-color: transparent;
}

.whatsapp-container i {
    font-size: 40px;
    color: #25D366;
    display: inline-block;
    animation: whatsappbeat 1.5s infinite;
}

@keyframes whatsappbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}


/* Responsive */
@media (max-width: 768px) {
    .popup-content {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    .popup-image img {
        border-radius: 16px 16px 0 0;
    }

    .popup-form {
        border-radius: 0 0 16px 16px;
    }
}



/* HD Screens (1366x768) */
@media screen and (min-width: 1366px) and (max-width: 1919px) {

    .container,
    .section1-container,
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .main-header {
        width: 100%;
        margin: 0 auto;
    }

    .nav-menu ul {
        gap: 25px;
    }

    .nav-menu ul li a {
        font-size: 1rem;
    }

    .logo img {
        height: 60px;
        width: 100%;
        padding: 5px;
    }

    .quote-button .btn {

        font-size: 0.8rem;
    }
}

/* Full HD Screens (1920x1080) */
@media screen and (min-width: 1920px) {

    .container,
    .section1-container,
    .footer-container {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 30px;
    }

    .main-header {
        width: 90%;
        margin: 0 auto;
    }

    .nav-menu ul {
        gap: 35px;
    }

    .nav-menu ul li a {
        font-size: 1.1rem;
    }

    .logo img {
        height: 60px;
        padding: 10px;
    }

    .quote-button .btn {
        padding: 10px 25px;
        font-size: 1.1rem;
    }
}

/* Mac Devices */
@media screen and (min-width: 1440px) and (max-width: 2560px) {

    .container,
    .section1-container,
    .footer-container {
        /* max-width: 1400px; */
        margin: 0 auto;
        padding: 0 25px;
    }

    .main-header {
        width: 100%;
        margin: 0 auto;
        padding: 15px 0;
        /* margin-top: 20px !important; */
    }

    .nav-menu ul {
        gap: 30px;
    }

    .nav-menu ul li a {
        font-size: 1.05rem;
    }

    .logo img {
        height: 55px;
    }

    .quote-button .btn {
        padding: 9px 22px;
        font-size: 1rem;
    }

    /* Section adjustments */
    section {
        padding: 0px 0;
    }

    /* Grid adjustments */
    .service-grid,
    .advantage-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1400px;
        margin: 0 auto;
    }

    /* Card adjustments */
    .service-card,
    .stat-card {
        padding: 30px;
        margin: 0;
    }

    /* Text adjustments */
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    /* Button adjustments */
    .btn,
    .btn-primary,
    .btn-outline {
        padding: 12px 25px;
        font-size: 1.1rem;
    }

    /* Image adjustments */
    img {
        /* max-width: 100%; */
        height: auto;
        /* margin-left: 55px; */
    }

    /* Footer adjustments */
    .footer-container {
        gap: 50px;
    }

    .footer-left h2 {
        font-size: 2.2rem;
    }

    .footer-left p {
        font-size: 1.1rem;
    }

    .footer-right h3 {
        font-size: 1.6rem;
    }

    .email-box input {
        padding: 15px 25px;
        font-size: 1.1rem;
    }

    .email-box button {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}

/* Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .logo img,
    .service-card img,
    .testimonial-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

.quote-button .btn {
    background-color: #ffb100;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.quote-button .btn:hover {
    background-color: #e59a00;
}

/* for mobile  */
/* Hide mobile quote by default on desktop, show on mobile */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .quote-button .btn {
        display: none;
    }
}