.hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    padding-left: 80px;
    overflow: hidden;
    color: white;
}

/* Image Styling */
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* important */
    z-index: 1;
}

/* Optional Dark Overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 50, 0.6);
    z-index: 2;
}

/* Text Content */

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 19px;
    line-height: 2;
}



.contact-section{
    padding:100px 0;
    background:#ffffff;
}

.contact-wrapper{
    display:flex;
    gap:80px;
    align-items:center;
}

.contact-left{
    flex:1;
}

.contact-left h2{
    font-size:48px;
    margin-bottom:15px;
}

.contact-left p{
    margin-bottom:30px;
    color:#555;
}

.contact-left h4{
    margin-bottom:20px;
    font-size:22px;
}

.contact-info{
    list-style:none;
    padding:0;
}

.contact-info li{
    margin-bottom:15px;
    font-size:15px;
}

.contact-right{
    flex:1;
    background:#fff;
    padding:0 60px 0 20px;
    border: 5px  solid rgb(226, 225, 225);
    border-radius:25px;
    
}

.contact-right h3{
    font-size:32px;
    margin-bottom:10px;
}

.contact-right p{
    margin-bottom:30px;
    color:#555;
}

/* CF7 Styling */
.contact-right input,
.contact-right textarea{
    width:100%;
    padding:18px;
    margin-bottom:20px;
    border-radius:40px;
    border:1px solid #ddd;
    font-size:14px;
}

.contact-right textarea{
    border-radius:20px;
    height:150px;
}

.contact-right input[type="submit"]{
    background:#07409A;
    color:#fff;
    border:none;
    cursor:pointer;
    font-weight:600;
    transition:0.3s;
}

.contact-right input[type="submit"]:hover{
    background:#7EB918;
}



/* Contact Info List */

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #444;
}

/* Circle Style */
.icon-circle {
    min-width: 45px;
    height: 45px;
    background: #07409A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ECC15C;
    font-size: 16px;
}

.icon-circle:hover{
    color:#fff ;
}

/* Hover Effect (optional professional touch) */
.contact-info li:hover .icon-circle {
    background: #7EB918;
    transition: 0.3s ease;
    color: #fff;
}


/* Remove extra space from CF7 */
.wpcf7 p {
    margin: 0 0 15px;
}

/* Make form compact */
.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 12px 18px;   /* pehle 18px tha, ab chota */
    margin-bottom: 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* Textarea height kam */
.contact-right textarea {
    height: 110px;
    border-radius: 20px;
}

/* Button compact */
.contact-right input[type="submit"] {
    padding: 12px;
    font-size: 14px;
    border-radius: 30px;
}

/* Remove CF7 extra bottom gap */
.wpcf7 {
    margin: 0;
}


.form-group {
    margin-bottom: 15px;
}





@media (max-width: 768px) {

    /* Hero Section */
    .hero {
        height: auto;
        padding: 60px 20px;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}



/* ============================= */
/* CONTACT PAGE MOBILE */
/* ============================= */

@media (max-width: 768px) {

    .contact-section {
        padding: 50px 0;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    /* LEFT SIDE */
    .contact-left {
        text-align: center;
    }

    .contact-left h2 {
        font-size: 24px;
    }

    .contact-left p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .contact-left h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* ICON LIST */
    .contact-info li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 12px;
        gap: 10px;
        margin-bottom: 18px;
    }

    .icon-circle {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 13px;
    }

    /* RIGHT SIDE FORM */
    .contact-right {
        padding: 10px 45px 10px 15px;
        border-radius: 18px;
    }

    .contact-right h3 {
        font-size: 18px;
    }

    .contact-right p {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .contact-right input,
    .contact-right textarea {
        padding: 15px 15px;
        font-size: 12px;
        margin-bottom: 1px;
        border-radius: 13px;
    }

    .contact-right textarea {
        height: 50px;
    }

    .contact-right input[type="submit"] {
        padding: 10px;
        font-size: 13px;
    }

}







/* Full screen preloader */
#preloader {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#fff; /* background color */
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

/* Preloader content */
.preloader-content {
    text-align:center;
}

/* Logo */
#preloader-logo {
    width:500px; /* logo size */
    opacity:0.5; /* initial opacity */
    transition: opacity 0.3s ease;
    margin-bottom:20px;
}

/* Loading bar container */
.loading-bar {
    width:200px;
    height:8px;
    background:#ccc;
    border-radius:4px;
    overflow:hidden;
    margin:0 auto;
}

/* Loading progress */
.loading-progress {
    width:0%;
    height:100%;
    background:#033386; /* progress color */
    transition: width 0.1s linear;
}