:root {
  --primary-green: #1d8884;
  --dark-green:#13514e;
  --primary-red: #E42525;
  --mint: #9fd4c0;
  --white: #ffffff;
  --light-bg: #f5faf7;
  --text-dark: #222222;
  --border-color: #e5e5e5;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --font-primary: "Poppins", sans-serif;
}

body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

/* Hero */

.contact-hero{
    background: 
            url('../images/About_KRIMS/1\ ..webp');
    background-size:cover;
    background-position:center;
    padding:180px 0;
    color:#fff;
}

.contact-hero h1{
    font-size:55px;
    font-weight:700;
}

.contact-hero p{
    font-size:18px;
}

/* ==========================
   CONTACT V2
========================== */

.krims-contact-v2{
    background:
    linear-gradient(
    135deg,
    #f5fbfb,
    #ffffff);
}

.krims-contact-tag{
    background:#1d8884;
    color:#fff;
    padding:8px 18px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
}

.krims-contact-heading{
    font-size:46px;
    font-weight:700;
    margin-top:20px;
}

.krims-contact-text{
    max-width:700px;
    margin:auto;
    color:#666;
}
/* ==========================
   RESPONSIVE CONTACT HERO
========================== */

/* Tablet */
@media (max-width: 991px) {
    .contact-hero{
        padding: 100px 0;
        min-height: 350px;
        background-position: center center;
    }

    .contact-hero h1{
        font-size: 42px;
    }

    .contact-hero p{
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .contact-hero{
        padding: 80px 0;
        min-height: 300px;
        background-size: cover;
        background-position: center;
        text-align: center;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-hero h1{
        font-size: 34px;
        line-height: 1.3;
        /* margin-bottom: 15px; */
        margin-top: 100px;
    }

    .contact-hero p{
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .contact-hero{
        padding: 70px 0;
        min-height: 260px;
        background-position: center;
    }

    .contact-hero h1{
        font-size: 28px;
    }

    .contact-hero p{
        font-size: 14px;
    }
}
/* Mobile Banner Image */
@media (max-width: 767px) {
    .contact-hero{
        background:
            url("../images/About_KRIMS/about_krims_mobile_banner.png")
            center center/cover no-repeat;

        padding: 80px 0;
        min-height: 300px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .contact-hero{
        background:
            url("../images/About_KRIMS/about_krims_mobile_banner.png")
            center center/cover no-repeat;

        padding: 70px 0;
        min-height: 260px;
    }

    .contact-hero h1{
        font-size: 28px;
    }

    .contact-hero p{
        font-size: 14px;
    }
}
/* Mobile Banner Image */
@media (max-width: 767px) {
    .contact-hero{
        background:
            url("../images/About_KRIMS/about\ krims_mobile_banner.png")
            center center/cover no-repeat;

        padding: 80px 0;
        min-height: 880px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .contact-hero{
        background:
            url("../images/About_KRIMS/aboutkrims_mobile_banner1.png")
            center center/cover no-repeat;

        padding: 70px 0;
        min-height: 460px;
    }

    .contact-hero h1{
        font-size: 28px;
    }

    .contact-hero p{
        font-size: 14px;
    }
}
/* CONTACT CARDS */

.krims-info-card{
    background:#fff;
    padding:25px;
    border-radius:20px;
    text-align:center;
    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
    border: 1px solid gray;
    transition:.4s;
}

.krims-info-card:hover{
    transform:translateY(-10px);
}

.krims-info-card i{
    font-size:40px;
    color:#1d8884;
    margin-bottom:15px;
}

.krims-info-card h5{
    font-weight:700;
}

/* FORM CARD */

.krims-contact-form-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

    padding:50px;
    border: 2px solid rgba(128, 128, 128, 0.421);
}

.krims-form-content{
    padding-right:30px;
}

.krims-form-content h3{
    font-size:32px;
    font-weight:700;
    margin-bottom:20px;
}

.krims-form-content p{
    color:#666;
}

.krims-form-content ul{
    padding-left:20px;
}

.krims-form-content li{
    margin-bottom:10px;
    color:#1d8884;
    font-weight:600;
}

/* FORM */

.krims-input{
    width:100%;
    border:none;
    background:#f5f8fa;
    padding:16px 20px;
    border-radius:12px;
    outline:none;
    transition:.3s;
}

.krims-input:focus{
    box-shadow:
    0 0 0 3px rgba(29,136,132,.15);
}

.krims-send-btn{
    width:100%;
    border:none;
    padding:16px;
    border-radius:12px;
    background:#1d8884;
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.krims-send-btn:hover{
    background:#146864;
}

/* RESPONSIVE */

@media(max-width:991px){

    .krims-contact-heading{
        font-size:34px;

    }

    .krims-contact-form-card{
        padding:30px;
    }

    .krims-form-content{
        padding-right:0;
        margin-bottom:30px;
        text-align:center;
    }

}

@media(max-width:576px){

    .krims-contact-heading{
        font-size:28px;
    }

    .krims-contact-form-card{
        padding:20px;
    }

}
.krims-map-section iframe{
    width:100%;
    height:500px;
    border:none;
}
/* CTA */

.krims-cta-section{
    padding:80px 0;
    background:#f8fbfb;
}

.krims-cta-box{
    background:linear-gradient(
    135deg,
    #1d8884,
    #0f6b68);

    color:#fff;
    padding:60px;
    border-radius:25px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.krims-cta-box h2{
    font-size:40px;
    font-weight:700;
    margin-bottom:15px;
}

.krims-cta-box p{
    font-size:17px;
    opacity:.95;
    margin-bottom:0;
}

.krims-cta-btn{
    display:inline-block;
    background:#fff;
    color:#1d8884;
    padding:15px 35px;
    border-radius:50px;
    font-weight:700;
    text-decoration:none;
    transition:.3s;
}

.krims-cta-btn:hover{
    transform:translateY(-3px);
}

@media(max-width:991px){

    .krims-cta-box{
        text-align:center;
        padding:40px 25px;
    }

    .krims-cta-box h2{
        font-size:30px;
    }

    .krims-cta-btn{
        margin-top:25px;
    }

}
.error-message{
    display:block;
    color:#dc3545;
    font-size:13px;
    margin-top:5px;
}

.input-error{
    border:1px solid #dc3545 !important;
}

#successMsg{
    display:none;
    margin-top:20px;
    background:#d4edda;
    color:#155724;
    padding:15px;
    border-radius:10px;
    text-align:center;
    font-weight:600;
}