/********** Template CSS **********/
:root {
    --primary: #FF5E14;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #02245B;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 30px;
    height: 30px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgb(228 232 241 / 0%) 0%, rgb(228 232 241 / 0%) 100%)
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header
{
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/water-3.webp); center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}




/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: linear-gradient(rgb(0 0 0 / 48%), rgb(0 0 0 / 85%)), url(../images/water-3.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #090a0c);
    background: #9469e7;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/

.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/

.footer {
    color: #ffffff;
    background: linear-gradient(rgb(0 0 0 / 76%), rgb(0 0 0 / 82%)), url(../img/dw33.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
744


.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #08E3BB;
    border-top: 1px solid rgba(255, 255, 255, .1);
}


    /* Main content ka overlap hatana */
    .content, main, section {
        margin-left: 0 !important;
        padding: 10px !important;
        width: 100% !important;
    }

    /* Text wrap fix */
    p, h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
    }

    /* Menu items vertically stack ho */
    .menu li {
        display: block !important;
        margin: 5px 0 !important;
    }

    /* Images resize */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Call/WhatsApp buttons fix */
    .whatsapp, .call-btn {
        position: fixed !important;
        bottom: 15px !important;
        right: 15px !important;
        z-index: 9999 !important;
    }
}
/* ====== Mobile Header Size Fix ====== */
@media (max-width: 768px) {
    /* Logo chhota kare */
    #myhead img.max-230 {
        max-width: 140px !important; /* Pehle 230px tha */
        height: auto !important;
    }

    /* Header ki padding kam kare */
    #myhead .p-2 {
        padding: 5px !important;
    }

    /* Menu items ka gap kam kare */
    #myhead ul.fw-bold li {
        padding: 5px 10px !important;
    }

    /* Sticky header ki height adjust kare */
    #myhead.sticky {
        min-height: 50px !important;
    }
}
.contact-form-container .form-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: #0077b6;
}

.contact-form-container .form-subtitle {
  text-align: center;
  font-size: 15px;
  color: #666;
  margin-bottom: 25px;
}

.contact-form {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
}

.contact-form .form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  display: block;
}

.contact-form input,
.contact-form select {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 10px 15px;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: #0077b6;
  box-shadow: 0 0 5px rgba(0, 119, 182, 0.3);
}

.contact-form button {
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(45deg, #0077b6, #00b4d8);
  border: none;
  transition: 0.3s;
}

.contact-form button:hover {
  background: linear-gradient(45deg, #023e8a, #0096c7);
  transform: scale(1.05);
}
/* Responsive Map */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 50%; /* 50% = 2:1 ratio (desktop/laptop ke liye perfect) */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* Centering the whole page content */
.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;  /* Center horizontally */
  justify-content: center; /* Center vertically if height set */
  min-height: 100vh;  /* Full page height */
  padding: 20px;
  background: #f1f5f9; /* light gray background */
}

/* Contact Form */
.contact-form-container {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  width: 100%;
  max-width: 500px; /* fixed width in center */
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  margin-bottom: 30px;
}

/* Google Map Responsive */
.map-container {
  position: relative;
  width: 100%;
  max-width: 800px; /* same width as form or bigger */
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.form-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;   /* Center align text */
  color: #0077b6;
  margin-bottom: 10px;
}
.form-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: #0077b6;
  margin-bottom: 10px;
  position: relative;
  display: inline-block; /* underline center me dikhane ke liye */
}

.form-title::after {
  content: "";
  display: block;
  width: 60px;            /* underline length */
  height: 3px;            /* underline thickness */
  background: #00b4d8;    /* underline color */
  margin: 8px auto 0;     /* center me line niche */
  border-radius: 2px;
}
/* ====== CONTACT + MAP LAYOUT ====== */
.contact-section{ padding: 40px 0; }

.contact-wrap{
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  align-items: start;
}

.contact-box, .map-box{
  background: #fff; border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 22px;
}

/* form styling (simple, clean) */
.form-title{ text-align:center; margin: 4px 0 6px; color:#1089ff; }
.form-sub{ text-align:center; margin-bottom:16px; color:#6b7280; font-size:14px; }

.contact-form .fld{ display:block; margin-bottom:14px; }
.contact-form .fld span{ display:block; font-size:14px; margin-bottom:6px; color:#374151; }
.contact-form input, .contact-form textarea{
  width:100%; padding:12px 14px;
  border:1px solid #e5e7eb; border-radius:10px; outline:none;
}
.contact-form input:focus, .contact-form textarea:focus{ border-color:#1089ff; box-shadow:0 0 0 3px rgba(16,137,255,.15); }

.btn-submit{
  width:100%; padding:12px 16px; border:0; border-radius:12px;
  background:#1089ff; color:#fff; font-weight:600; cursor:pointer;
}

/* map iframe should fill the box */
.map-box iframe{ width:100%; height:100%; min-height:420px; border:0; border-radius:10px; }

/* ====== Responsive: stack on mobile ====== */
@media (max-width: 992px){
  .contact-wrap{ grid-template-columns: 1fr; }
  .map-box{ padding: 0; }            /* extra space nahi chahiye */
  .map-box iframe{ min-height: 360px; }
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    min-height: 500px; /* Height adjust कर सकते हो */
}

.contact-form, 
.contact-map {
    flex: 1;                /* दोनों half half space लेंगे */
    padding: 20px;
    box-sizing: border-box;
}

.contact-form {
    background: #f9f9f9;     /* हल्का बैकग्राउंड */
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #0077cc;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form button {
    margin-bottom: 12px;
    padding: 10px;
    font-size: 16px;
}

.contact-form button {
    background: #0077cc;
    color: #fff;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    background: #005fa3;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}
!-- ===== CSS Styling ===== -->
<style>
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    min-height: 500px;
    margin: 30px 0;
}

/* Both sections equal width */
.contact-form, 
.contact-map {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

/* Form Styling */
.contact-form {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #0077cc;
}

.contact-form p {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form button {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}

.contact-form input:focus {
    border-color: #0077cc;
}

.contact-form button {
    background: #0077cc;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #005fa3;
}

/* Map Styling */
.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-form, .contact-map {
        flex: 100%;
        min-height: 300px;
    }
}
</style>
