:root {
    --primary-accent: #9a1875;
    --light-accent: #dd32ad;
    --secondary-blue: #5d9eda;
    --dark-blue: #345e91;
    --light-bg: #f4f4f4;
    --text-color: #555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Arial, sans-serif;
    background: #fff;
    color: var(--dark-blue);
    line-height: 1.6;
}

/* Header */
.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #345e91;
    color: white;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    left: 0;
}
.nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
}
.nav a:hover {
    color: #f0a500;
}
.logo img {
    height: 50px; /* Ensure logo height is consistent */
    max-width: 100%;
}

/* Buttons */
.con-btn-fill, .con-btn-outline {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s;
    text-decoration: none;
}

.con-btn-fill {
    background: linear-gradient(90deg, var(--primary-accent), var(--light-accent));
    color: #fff;
    border: none;
}
.con-btn-fill:hover {
    opacity: 0.9;
    box-shadow: 0 4px 10px rgba(154, 24, 117, 0.5);
}

.con-btn-outline {
    background: var(--dark-blue);
    border: 2px solid var(--dark-blue);
    color: #fff;
}
.con-btn-outline:hover {
    background: #fff;
    color: var(--dark-blue);
}

/* Hero Section (.con-hero) */
.con-hero {
     display: flex;
    gap: 40px;
    padding: 120px 20px;
    align-items: center;
    max-width: 1400px;
    margin: auto;
    flex-wrap: wrap;
}

.con-hero-left {
    width: 50%;
}

.con-hero-heading {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-accent);
    margin-bottom: 15px;
}

.con-hero-sub {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #000;
}
.con-hero-buttons {
    display: flex;
    gap: 18px;
    margin: 20px 0;
}
.con-hero-info {
    color: var(--text-color);
    margin-bottom: 18px;
}

.con-hero-points {
    list-style: none;
    margin-bottom: 25px;
}
.con-hero-points li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}
.con-hero-points li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary-blue);
    position: absolute;
    left: 0;
}

.hero-gallery {
    width: 45%;
}
.hero-main-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}
.hero-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.hero-thumb {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    border: 2px solid #ddd;
    cursor: pointer;
    object-fit: cover;
}
.hero-thumb:hover {
    border-color: var(--primary-accent);
}

/* Benefits Section (.con-benefits) */
.con-benefits {
    padding: 60px 5%;
    background: var(--light-bg);
    text-align: center;
}
.con-benefits-title {
    color: var(--dark-blue);
    font-size: 32px;
    margin-bottom: 10px;
}

.con-benefits-sub {
    font-size: 1.1em;
    margin-bottom: 35px;
}

.con-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.con-benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    border-top: 4px solid var(--dark-blue);
}
.con-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--dark-blue);
}
.con-benefit-card p{
    color: #555;
}
.con-benefit-icon {
    font-size: 3em;
    padding: 15px;
    border-radius: 50%;
    color: var(--primary-accent);
    width: 75px;
    height: 75px;
    margin-bottom: 15px;
}
.con-benefit-card h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
}


/* Services Section (.con-services) */
.con-services {
    padding: 80px 5%;
    text-align: center;
}

.con-services-title {
    color: var(--primary-accent);
    font-size: 32px;
    margin-bottom: 10px;
}

.con-services-sub {
    font-size: 1.1em;
    margin-bottom: 35px;
}

.con-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 40px auto 0;
}

.con-service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.con-service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-accent);
}

.con-service-img {
    height: 180px;
    overflow: hidden;
}
.con-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.con-service-card:hover .con-service-img img {
    transform: scale(1.05);
}

.con-service-icon {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
    background: var(--dark-blue);
    color: #fff;
    border-radius: 50%;
    line-height: 55px;
    text-align: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 1.5em; /* Added for the icon inside the circle */
}

.con-service-card h3 {
    margin-top: 40px;
    color: var(--primary-accent);
}

.con-service-card p {
    color: #777;
    padding: 0 20px;
    margin-top: 10px;
}

/* Testimonials Section (.con-testimonials) */
.con-testimonials {
    padding: 70px 5%;
    background: var(--light-bg);
    text-align: center;
}

.con-test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto 0;
}
.con-test-title{
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 10px;
}
.con-test-sub{
    font-size: 16px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
}
.con-test-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    border-bottom: 4px solid var(--dark-blue);
    color: #777; /* Testimonial text color */
}
.con-test-card p {
    flex-grow: 1;
    margin-bottom: 15px;
    font-style: italic;
}
.con-test-card:hover {
    transform: translateY(-5px);
    border-color: var(--dark-blue);
}

.con-test-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(140deg, var(--light-accent), var(--primary-accent));
    border-radius: 50%;
    color: #fff;
    line-height: 65px;
    margin: auto;
    margin-bottom: 15px;
    font-size: 2em;
}
.con-test-card h4{
    font-size: 15px;
    font-weight: 700;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    color: var(--dark-blue);
}

/* Form Section (Site Visit/Consultation) */
#siteVisitSection {
    padding: 40px 5%;
    background: #fff;
}
.popup-box1{
    background: #fff;
    border-radius: 18px;
    overflow: hidden;

    animation: scaleIn .35s 
ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.popup-image {
    width: 100%; /* Default for mobile/small screens */
    flex: none;
}
.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.popup-content {
    width: 100%; /* Default for mobile/small screens */
    padding: 30px;
    position: relative;
}

.popup-formm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}
.popup-formm .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.popup-formm .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 0; /* Override default margin */
}
.popup-formm .form-row input,
.popup-formm .form-row select {
    flex: 1;
    width: 100%;
}
.popup-formm .form-row.full-width {
    flex-direction: column;
}


/* Popup (Modal) - Reusing styles for the consultation popup */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-box {
    width: 850px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    animation: fadeUp 0.4s ease;
}
.popup-images {
    width: 45%;
}
.popup-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popup-content {
    width: 55%;
    padding: 30px;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-accent);
    border: none;
    font-size: 25px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
}

.popup-form input,
.popup-form select {
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
}

.popup-btn {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    border: none;
    background: linear-gradient(90deg, var(--primary-accent), var(--light-accent));
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

/* Animations */
@keyframes fadeUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* Footer */
.footer-area {
    background-color: #1c1c1c;
    color: #fff;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    left: 0;
    right: 0;
}
.footer-area .footer-up {
    padding-top: 20px;
}
.footer-area h6 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #DFB163;;
}
.footer-area .logo img {
    max-width: 180px;
    margin-bottom: 15px;
}
.social-area svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-right: 10px;
}
.social-area a {
    color: #fff;
    display: inline-block;
}
.la-clock:before {
    content: "\f017";
}
.footer-area .social-area a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
}
.footer-area .social-area a:hover {
    color: #f4b400;
}
.footer-area ul {
    list-style: none;
    padding: 0;
}
.footer-area ul li a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}
.footer-area ul li a:hover {
    color: #f4b400;
}
.footer-area .contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
}
.footer-area .contact-info i {
    margin-right: 8px;
    color: #f4b400;
}
.footer-area .subscribe-form input[type="email"] {
    width: 100%;
    padding: 8px;
    border: none;
    margin-bottom: 10px;
}
.footer-area .subscribe-form .main-btn {
    padding: 8px 16px;
    background-color: #f4b400;
    color: #000;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.footer-area .subscribe-form .main-btn:hover {
    background-color: #e0a800;
}
.footer-area .container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-area .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-area .col-lg-3,
.footer-area .col-md-6,
.footer-area .col-sm-12 {
    flex: 1 1 220px;
}


/* Responsive */
@media(max-width: 900px) {
    .con-hero { flex-direction: column; text-align: center; }
    .con-hero-left { width: 100%; text-align: center; }
    .hero-gallery { width: 100%; }
}

@media(max-width: 768px) {
    /* Modal Popup */
    .popup-box { flex-direction: column; width: 90%; }
    .popup-images { width: 100%; height: 200px; }
    .popup-content { width: 100%; }

    /* Main Consultation Form */
    .popup-box1 { flex-direction: column; 
                display: flex;
       
   
    }
    .popup-image { width: 100%; max-width: 100%; }

    /* Hero Section Adjustments */
    .con-hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 15px;
        gap: 25px;
        margin-top: 80px;
    }
    .con-hero-left {
        width: 100%;
    }
    .con-hero-heading {
        font-size: 26px;
        line-height: 1.3;
        text-align: center;
    }
    .con-hero-sub,
    .con-hero-info,
    .con-hero-points li {
        text-align: center !important;
    }
    .con-hero-points {
        padding-left: 0;
    }
    .con-hero-points li {
        padding-left: 28px;
        margin-bottom: 10px;
        font-size: 15px;
        position: relative;
    }
    .con-hero-points li::before {
        content: "\f00c";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: var(--light-accent);
        position: relative;
        left: -15px;
        top: 2px;
        font-size: 15px;
    }
    .con-hero-buttons {
        width: 100%;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 12px !important;
        margin-top: 15px;
    }
    .con-hero-buttons a,
    .con-hero-buttons button {
        width: 80%;
    }
    .hero-gallery {
        width: 100%;
        text-align: center;
    }
    .hero-main-img img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        border-radius: 10px;
    }
    .hero-thumbs {
        justify-content: center;
        gap: 10px;
    }
    .hero-thumb {
        width: 80px;
        height: 80px;
        border-radius: 10px;
        object-fit: cover;
    }
}

@media(max-width: 600px) {
    .con-services-grid,
    .con-benefits-grid,
    .con-test-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .popup-box1 {
        flex-direction: row;
                display: flex;
    }
    .popup-image {
        flex: 1;
        max-width: 40%;
    }
    .popup-content {
        flex: 1.5;
        max-width: 60%;
    }
    .popup-image img {
        height: 100%; /* Take up height of the container */
    }
}

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff; /* Changed to white for visibility on dark header */
}
.popup-content h2{
    font-size: 26px;
    margin-bottom: 8px;
}
.popup-formm .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
@media (max-width: 480px) {
    .nav {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 70px; /* Adjusted to be below the header */
        right: 0;
        width: 200px;
        padding: 15px;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }
    .nav a {
        color: #000;
        margin-left: 0;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }
    .nav a:last-child {
        border-bottom: none;
    }
   
    .hero-main-img img {
        width: 90%;
    }
    .menu-toggle {
        display: block;
    }
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        position: fixed; /* Keep it fixed */
    }
    .nav.show {
        display: flex;
    }

    .hero-thumbs img:nth-child(n+4) {
        display: none;
    }

    /* Form popups on small screens */
    .popup-content h2 {
        font-size: 16px;
    }
    .popup-content p{
      font-size: 10px;
        margin-bottom: 10px;
    }
    .popup-formm .form-row{
        display:block;
        margin-bottom:0 !important;
    }
    .popup-formm{
        gap:0 !important;
        margin-top:20px;
    }
    .popup-btn, .popup-content{
        padding: 10px;
               
        font-size: 13px;
    }
    .popup-close {
    position: absolute;
    /* top: 12px; */
    right: 12px;
    background: var(--primary-accent);
    border: none;
    font-size: 25px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}
}
.popup-formm .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.popup-formm .form-row input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-formm select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-row.full-width {
    flex-direction: column;
}
@media(max-width:767px){
    .popup-content h2 {
        font-size:20px;
    }
    .popup-content p{
        font-size:12px;
    }
    .popup-formm .form-row{
        display:block;
        margin-bottom:0 !important;
    }
    .popup-formm{
        gap:0 !important;
        margin-top:20px;
    }
    .popup-btn , .popup-content{
        padding:10px;
        font-size: 13px;
    }
}
@media (max-width: 768px) {
    .popup-box {
        flex-direction: column;
    }

    .popup-images {
        height: 200px;
    }
     .popup-images img{
    width: 100%;
    height: 100%;
    object-fit: cover;
     }
     
    .popup-content {
        padding: 20px;
    }
   .popup-close {
        position: absolute;
        /* top: 12px; */
        right: 5px;
        /* background: var(--primary-accent); */
        /* border: none; */
        font-size: 25px;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        color: #fff;
        cursor: pointer;
        display: block;
    }
}
@media(max-width: 768px) {
    .popup-box { flex-direction: column; width: 92%; }
    .popup-image { width: 100%; height: 200px; }
    .popup-content { width: 100%; }
}
@media (min-width: 1024px) {
    .popup-box1 {
        
        max-width: 1200px; 
        width: 90%;
        margin: 40px auto; 
        padding: 20px;
    }
    
    .popup-box1 {
        display: flex;
        flex-direction: row; 
        gap: 20px;
    }

    .popup-image {
        flex: 1;
        max-width: 40%;
    }

    .popup-content {
        flex: 1.5; 
        max-width: 60%;
    }
    
    .popup-image img {
        width: 100%;
        height: auto;
    }
}