:root {
    --primary: #0865C9;
    --navy: #0B2D63;
    --light-blue: #DCEEFF;
    --bg-light: #F3F8FF;
    --white: #FFFFFF;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
p{
    font-size: 14px;
}
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    font-weight: 400;
}

h1, h2, h3, h4,
.navbar,
button {
    font-family: 'Poppins', sans-serif;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.navbar {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: #123b72;
    text-decoration: none;
}

.logo span {
    color: #f0a52b;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #263b59;
    font-size: 14px;
    font-weight: 600;
}

.nav-btn, .primary-btn {
    background:  var(--navy);
    color: var(--white);
    padding: 13px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
}



.hero {
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    background-image: url('../images/finance-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    width: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    width: 48%;
    padding: 40px 0;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #0B2D63;
    margin-bottom: 20px;
}

.hero-text p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #243F65;
    margin-bottom: 28px;
}

.primary-btn {
    display: inline-block;
    background: #0865C9;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.primary-btn:hover {
    background: #0B2D63;
}



/* ABOUT SECTION */

.about-section {
    padding: 65px 0;
    background: #ffffff;
}

.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.about-content {
    flex: 1;
}

.section-line {
    display: block;
    width: 45px;
    height: 4px;
    background: #1760ae;
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: 30px;
    color: #102f5c;
    margin-bottom: 15px;
}

.about-content > p {
    color: #52647b;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 25px;
}

.about-facts {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.fact-box {
    flex: 1;
    text-align: center;
    border-right: 1px solid #cbd9e8;
    padding: 10px 5px;
}

.fact-box:last-child {
    border: none;
}

.fact-icon {
    font-size: 30px;
    margin-bottom: 8px;
    color: var(--primary);
}

.fact-box h3 {
    color: #103c79;
    font-size: 21px;
    margin-bottom: 5px;
}

.fact-box span {
    font-size: 13px;
    color:var(--navy);
}

.about-card {
    flex: 1;
    background: #edf6ff;
    border-radius: 15px;
    padding: 30px;
    min-height: 225px;
}

.about-card h3 {
    color: #102f5c;
    font-size: 21px;
    margin-bottom: 12px;
}

.about-card p {
    color: #334b6b;
    line-height: 1.6;
}

.growth-chart {
    height: 120px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    border-bottom: 2px solid #7caee2;
    margin-top: 20px;
    position: relative;
}

.chart-bar {
    width: 35px;
    background: #80b6eb;
    border-radius: 4px 4px 0 0;
}

.bar1 { height: 25px; }
.bar2 { height: 40px; }
.bar3 { height: 55px; }
.bar4 { height: 75px; }
.bar5 { height: 95px; }

.growth-chart span {
    font-size: 25px;
    color: #0753a1;
    position: absolute;
    right: 0;
    top: 0;
}

/* MOBILE RESPONSIVE */

@media(max-width: 768px) {

    .about-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .about-content h2 {
        font-size: 25px;
    }

    .about-facts {
        gap: 5px;
    }

    .fact-box h3 {
        font-size: 16px;
    }

    .fact-box span {
        font-size: 11px;
    }

    .about-card {
        padding: 22px;
    }
}

/***********SERVICES****************/

/* SERVICES SECTION */

.services-section {
    padding: 55px 0;
    background: #f1f7fd;
}

.services-heading {
    text-align: center;
    margin-bottom: 30px;
}

.services-heading .section-line {
    margin: 0 auto 12px;
}

.services-heading h2 {
    font-size: 30px;
    color: #102f5c;
    margin-bottom: 8px;
}

.services-heading p {
    color: #52647b;
    font-size: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e0e8f1;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.09);
}

.service-icon {
    font-size: 38px;
    color: #0755a5;
    margin-bottom: 5px;
}

.service-card h3 {
    font-size: 17px;
    color: #102f5c;
    /*margin-bottom: 5px;*/
}

.service-card p {
    font-size: 13px;
    color: #52647b;
    line-height: 1.5;
}

@media(max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 375px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/************ EMI SECTION *******/

/* EMI CALCULATOR SECTION */

.emi-section {
    padding: 55px 0;
    background: #eaf4fd;
}

.emi-heading {
    margin-bottom: 30px;
}

.emi-heading h2 {
    color: #102f5c;
    font-size: 30px;
    margin-bottom: 8px;
}

.emi-heading p {
    color: #52647b;
}

.emi-wrapper {
    display: flex;
    align-items: stretch;
    gap: 25px;
}

.emi-user-card,
.emi-calculator-card {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #d9e6f3;
}

.user-icon {
    width: 65px;
    height: 65px;
    background: #dceeff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 15px;
}

.emi-user-card h3,
.emi-calculator-card h3 {
    color: #102f5c;
    font-size: 21px;
    margin-bottom: 8px;
}

.emi-user-card p,
.emi-calculator-card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

#leadForm input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccd8e5;
    border-radius: 7px;
    margin-bottom: 13px;
    font-size: 14px;
    outline: none;
}

#leadForm input:focus {
    border-color: #1760ae;
}

#leadForm button {
    width: 100%;
    padding: 14px;
    border: none;
    background: #0755ad;
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 7px;
    cursor: pointer;
}

#leadForm button:hover {
    background: #103b75;
}

#leadMessage {
    margin-bottom: 12px;
    font-size: 13px;
}

.message-error {
    color: #dc2626;
}

.message-success {
    color: #15803d;
}

@media(max-width:768px) {

    .emi-wrapper {
        flex-direction: column;
    }

    .emi-user-card,
    .emi-calculator-card {
        padding: 22px;
    }

}

#emiCalculateForm {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 20px;
}

#emiCalculateForm .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#emiCalculateForm label {
    font-weight: 600;
    color: #183b63;
}

#emiCalculateForm input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d5dfeb;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

#calculateBtn {
    background: #174f91;
    color: #fff;
    border: none;
    padding: 13px 22px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

#emiResult {
    grid-column: 1 / -1;
    margin-top: 15px;
}

@media(max-width: 600px) {
    #emiCalculateForm {
        grid-template-columns: 1fr;
    }
}

.emi-result-box {
    background: #f1f7ff;
    border: 1px solid #d5e5f7;
    border-radius: 8px;
    padding: 20px;
}

.emi-result-box h3 {
    color: #174f91;
    margin-bottom: 15px;
}

.emi-result-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #d5e5f7;
}

.emi-result-item:last-child {
    border-bottom: none;
}

.emi-result-item strong {
    color: #174f91;
}

.message-error {
    color: #d93025;
}

/* Contact Section */
.contact-section {
    padding: 70px 0;
    background: #f3f8ff;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading span {
    color: #1d5795;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 32px;
    color: #173b65;
    margin: 10px 0;
}

.section-heading p {
    color: #64748b;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: stretch;
}



.contact-info h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

.contact-info p {
    line-height: 1.7;
    color: #e5efff;
}

.contact-info-item {
    margin-top: 28px;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 8px;
}

.contact-form-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-form-card h3 {
    color: #173b65;
    margin-bottom: 25px;
}

.contact-form-card .form-group {
    margin-bottom: 18px;
}

.contact-form-card label {
    display: block;
    margin-bottom: 8px;
    color: #243b55;
    font-weight: 600;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #d5dfeb;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: #1d5795;
}

.contact-form-card button {
    width: 100%;
    padding: 15px;
    background: #174f8d;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.contact-form-card button:hover {
    background: #103d70;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-card {
        padding: 25px;
    }
}
.contact-form-card select {
    width: 100%;
    padding: 13px;
    border: 1px solid #d5dfeb;
    border-radius: 6px;
    background: #fff;
    color: #243b55;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    cursor: pointer;
}

.contact-form-card select:focus {
    outline: none;
    border-color: #1d5795;
}

#contactMessage {
    margin: 12px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
}



/* FOOTER SECTION */

.main-footer {
    width: 100%;
    background: linear-gradient(110deg, #123f78, #082957);
    padding: 12px 0;
    color: #ffffff;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* LOGO */

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    font-size: 30px;
    color: #ffffff;
}

.footer-logo-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    margin: 0;
    color: #ffffff;
}

.footer-logo-text span {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    color: #ffffff;
    margin-top: 2px;
}

/* DIVIDER */

.footer-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.7);
}

/* COPYRIGHT */

.footer-bottom {
    flex: 1;
}

.footer-bottom p {
    font-size: 11px;
    color: #ffffff;
    margin: 0;
}

/* SOCIAL ICONS */

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social a {
    width: 20px;
    height: 20px;
    background: #ffffff;
    color: #123f78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #f0a52b;
    color: #ffffff;
}

/* MOBILE RESPONSIVE */

@media (max-width: 600px) {

    .footer-content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .footer-brand {
        width: 100%;
        justify-content: center;
    }

    .footer-divider {
        display: none;
    }

    .footer-bottom {
        flex: 0 0 100%;
    }

    .footer-social {
        width: 100%;
        justify-content: center;
    }
}

.footer-column h2,
.footer-column h3 {
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 23px;
}

.footer-column p {
    color: #d5e4f5;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #d5e4f5;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: left;
    padding: 20px 10px;
}

.footer-bottom p {
    color: #d5e4f5;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.about-card {
    background-image: url('../images/abt_bg.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #edf6ff;

    border-radius: 16px;
    padding: 30px;
    min-height: 280px;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.about-card h3 {
    color: #0B2D63;
    font-size: 22px;
    margin-bottom: 15px;
}

.about-card p {
    color: #24456f;
    font-size: 14px;
    line-height: 1.7;
    max-width: 60%;
}


/* EMI SECTION */
.emi-section {
    background: linear-gradient(135deg, #eaf4ff, #dcecff);
    padding: 60px 0;
}

.emi-heading {
    margin-bottom: 25px;
}

.emi-heading .section-line {
    display: block;
    width: 30px;
    height: 3px;
    background: #0865c9;
    margin-bottom: 8px;
}

.emi-heading h2 {
    color: #0B2D63;
    font-size: 32px;
    margin-bottom: 5px;
}

.emi-heading p {
    color: #243f65;
    font-size: 15px;
}

/* USER FORM CARD */
.emi-user-card {
    background: #fff;
    padding: 20px 25px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(11, 45, 99, 0.08);

    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
    align-items: center;
}

.user-icon {
    grid-column: 1;
    grid-row: 1 / 3;

    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #dceeff;
    color: #0865c9;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.emi-user-card h3 {
    grid-column: 2;
    color: #152c4e;
    font-size: 17px;
    margin: 0 0 3px;
}

.emi-user-card p {
    grid-column: 2;
    color: #52647d;
    font-size: 12px;
    margin: 0 0 15px;
}

/* FORM INPUTS */
.emi-user-card form {
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.emi-user-card input {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 10px 12px;
    border: 1px solid #cbd9e9;
    border-radius: 7px;
    outline: none;
    font-size: 13px;
    box-sizing: border-box;
}

.emi-user-card input:focus {
    border-color: #0865c9;
}

#leadMessage {
    grid-column: 1 / 3;
}

.emi-user-card button {
    grid-column: 1 / 3;
    width: 100%;
    height: 42px;
    background: #0865c9;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.emi-user-card button:hover {
    background: #0B2D63;
}

/* MOBILE RESPONSIVE */
@media (max-width: 576px) {
    .emi-heading h2 {
        font-size: 27px;
    }

    .emi-user-card {
        padding: 18px;
    }

    .emi-user-card form {
        grid-template-columns: 1fr;
    }

    .emi-user-card input,
    #leadMessage,
    .emi-user-card button {
        grid-column: 1;
    }
}


/* EMI CALCULATOR LAYOUT */

.calculator-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 15px;
    align-items: stretch;
}

/* LEFT PANEL */

.emi-input-panel {
    background: #f1f7ff;
    border: 1px dashed #b9d8ff;
    border-radius: 12px;
    padding: 18px;
}

.calculator-title {
    text-align: center;
    margin-bottom: 15px;
}

.calculator-title i {
    display: block;
    color: #0865c9;
    font-size: 22px;
    margin-bottom: 5px;
}

.calculator-title h3 {
    color: #0B2D63;
    font-size: 17px;
    margin-bottom: 5px;
}

.calculator-title p {
    color: #52647d;
    font-size: 12px;
    line-height: 1.5;
}

/* FORM */

.emi-input-panel .form-group {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.emi-input-panel label {
    font-size: 12px;
    font-weight: 600;
    color: #0B2D63;
}

.emi-input-panel input {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 8px 10px;
    border: 1px solid #d3dfed;
    border-radius: 6px;
    box-sizing: border-box;
    outline: none;
    font-size: 12px;
}

.emi-input-panel input:focus {
    border-color: #0865c9;
}

.emi-input-panel button {
    width: 100%;
    height: 38px;
    background: #0B2D63;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.emi-input-panel button:hover {
    background: #0865c9;
}

/* RIGHT RESULT PANEL */

.emi-result-panel {
    background: #dceeff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
}

.result-box {
    padding: 10px 0;
    border-bottom: 1px solid #a9cfff;
}

.result-box:last-child {
    border-bottom: none;
}

.result-box span {
    display: block;
    font-size: 13px;
    color: #0B2D63;
    font-weight: 600;
    margin-bottom: 5px;
}

.result-box h2 {
    color: #0B2D63;
    font-size: 25px;
    margin: 0;
}

/* MOBILE RESPONSIVE */

@media (max-width: 650px) {
    .calculator-layout {
        grid-template-columns: 1fr;
    }

    .emi-result-panel {
        min-height: 220px;
    }
}

/* EMI Calculator - Side by Side Fix */

#calculatorFormArea.calculator-layout {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr !important;
    gap: 15px;
    width: 100%;
    align-items: stretch;
}

#calculatorFormArea .emi-input-panel {
    width: 100%;
    box-sizing: border-box;
}

#calculatorFormArea .emi-result-panel {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

/* Mobile */
@media (max-width: 650px) {
    #calculatorFormArea.calculator-layout {
        grid-template-columns: 1fr !important;
    }
}


/* FINAL EMI SIDE-BY-SIDE LAYOUT */

#calculatorFormArea {
    display: grid !important;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr) !important;
    gap: 15px !important;
    align-items: stretch !important;
    width: 100%;
}

/* LEFT FORM */
#calculatorFormArea > .emi-input-panel {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
}

/* RIGHT RESULT */
#calculatorFormArea > .emi-result-panel {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

/* MOBILE */
@media (max-width: 650px) {
    #calculatorFormArea {
        grid-template-columns: 1fr !important;
    }
}

/* CONTACT SECTION */

.contact-section {
    position: relative;
    padding: 45px 0 55px;
    background: linear-gradient(
        to bottom,
        #ffffff 75%,
        #e5f2ff 100%
    );
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 45px;
    align-items: center;
}

/* LEFT CONTACT INFO */

.contact-info {
    padding: 10px 0;
}

.contact-info .section-line {
    display: block;
    width: 32px;
    height: 3px;
    background: #0865c9;
    margin-bottom: 8px;
}

.contact-info h2 {
    color: #0B2D63;
    font-size: 30px;
    margin-bottom: 8px;
}

.contact-info > p {
    color: #243f65;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
    color: #0B2D63;
    font-size: 13px;
}

.contact-info-item i {
    color: #0865c9;
    width: 16px;
    font-size: 14px;
}

/* RIGHT FORM CARD */

.contact-form-card {
    background: #ffffff;
    padding: 16px;
    border: 1px solid #e5edf7;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(11,45,99,0.05);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #dce5f0;
    border-radius: 7px;
    background: #fff;
    color: #0B2D63;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    box-sizing: border-box;
    outline: none;
}

.contact-form-grid input,
.contact-form-grid select {
    height: 38px;
}

.contact-form-grid textarea {
    grid-column: 1 / 3;
    resize: vertical;
    min-height: 65px;
}

.contact-form-grid input:focus,
.contact-form-grid select:focus,
.contact-form-grid textarea:focus {
    border-color: #0865c9;
}

.contact-form-card button {
    width: 100%;
    height: 40px;
    margin-top: 8px;
    background: #0865c9;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form-card button:hover {
    background: #0B2D63;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info h2 {
        font-size: 26px;
    }

}

@media (max-width: 480px) {

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-grid textarea {
        grid-column: 1;
    }

    .contact-form-card {
        padding: 12px;
    }

}

/* HEADER RESPONSIVE MENU */

.header {
    position: relative;
    z-index: 999;
    background: #ffffff;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    position: relative;
}

.logo img {
    max-width: 160px;
    height: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    text-decoration: none;
    color: #0B2D63;
    font-size: 14px;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: #0B2D63;
    font-size: 25px;
    cursor: pointer;
    padding: 8px;
}

/* MOBILE MENU */


/* =================================
   HERO SECTION - RESPONSIVE
================================= */

/* Desktop: 1280px and above */
.hero {
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-sizing: border-box;
}

.hero-text {
    flex: 1 1 50%;
    min-width: 0;
}

.hero-text h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.7;
}

.hero-image {
    flex: 1 1 50%;
    min-width: 0;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

/* Tablet: 768px to 1024px */
@media (max-width: 1024px) {

    .hero {
        min-height: 460px;
    }

    .hero-content {
        gap: 20px;
        padding: 35px 25px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-image img {
        max-height: 350px;
    }
}

/* Mobile: 375px to 767px */
@media (max-width: 767px) {

    .hero {
        min-height: auto;
        height: auto;
        padding: 35px 0 20px;
        background-color: #eff6ff;
        background-image: none;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 20px;
        gap: 20px;
    }

    .hero-text {
        width: 100%;
        flex: 1 1 auto;
        text-align: center;
    }

    .hero-text h1 {
        font-size: clamp(29px, 8vw, 36px);
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero-image {
        display: block;
        width: 100%;
        flex: 1 1 auto;
        text-align: center;
    }

    .hero-image img {
        display: block;
        width: 100%;
        max-width: 420px;
        height: auto;
        max-height: 280px;
        object-fit: contain;
        margin: 0 auto;
    }
}

/* Small Mobile: 375px and below */
@media (max-width: 375px) {

    .hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-text h1 {
        font-size: 29px;
    }

    .hero-text p {
        font-size: 13px;
    }

    .hero-text .primary-btn {
        font-size: 13px;
        padding: 12px 18px;
    }
}

/* HERO DESKTOP CONTENT ALIGNMENT */

@media (min-width: 1025px) {

    .hero-text {
        max-width: 650px;
    }

    .hero-text h1 {
        max-width: 550px;
        font-size: 48px;
        line-height: 1.2;
    }

    .hero-text p {
        max-width: 600px;
        font-size: 16px;
        line-height: 1.7;
        margin-top: 20px;
        margin-bottom: 28px;
    }

}

/* HEADER TABLET & MOBILE FIX */

@media (max-width: 1024px) {

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .logo img {
        max-width: 145px;
    }

    .menu-toggle {
        display: block !important;
        margin-left: auto;
        flex-shrink: 0;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        padding: 10px 20px;
        box-sizing: border-box;
        z-index: 9999;
        box-shadow: 0 8px 15px rgba(0,0,0,.1);
    }

    .main-nav.active a {
        width: 100%;
        padding: 13px 5px;
        box-sizing: border-box;
    }

    .nav-btn {
        display: none !important;
    }
}

/* HERO TABLET RESPONSIVE */

@media (min-width: 768px) and (max-width: 1024px) {

    .hero {
        min-height: 450px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 25px;
        gap: 20px;
    }

    .hero-text {
        width: 100%;
        max-width: 600px;
    }

    .hero-text h1 {
        font-size: 38px;
        max-width: 500px;
    }

    .hero-text p {
        max-width: 500px;
        font-size: 15px;
    }

    .hero-image {
        width: 100%;
        text-align: center;
    }

    .hero-image img {
        max-width: 400px;
        height: auto;
    }
}

/* MOBILE HERO DESCRIPTION - 2 LINES */

@media (max-width: 767px) {

    .hero-text p {
        width: 100%;
        max-width: 340px;
        font-size: 14px;
        line-height: 1.7;
        margin: 15px auto 22px;
        text-align: left;
    }

}
