/*==================================================
 DHANI FINANCE LTD
 CONTACT PAGE CSS
 PART 1/4
==================================================*/

/*========================
 ROOT VARIABLES
========================*/

:root {

    --primary: #00843D;
    --primary-dark: #006C31;
    --secondary: #16A34A;
    --light: #F7FFF9;
    --white: #ffffff;
    --text: #1E293B;
    --text-light: #64748B;
    --border: #E5E7EB;

    --radius: 24px;

    --shadow-sm: 0 10px 25px rgba(0, 0, 0, .05);
    --shadow-md: 0 20px 50px rgba(0, 0, 0, .08);
    --shadow-lg: 0 35px 80px rgba(0, 0, 0, .12);

}



/*========================
 RESET
========================*/

.contact-page * {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.contact-page {

    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;

}

.contact-container {

    width: min(1200px, 92%);
    margin: auto;

}



/*========================
 SECTION
========================*/

section {

    position: relative;

}



/*========================
 HERO
========================*/

.contact-hero {

    padding: 110px 0;

    background:

        linear-gradient(135deg,
            #ECFFF4,
            #FFFFFF 70%);

    overflow: hidden;

}



.contact-hero::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    background:

        radial-gradient(circle,
            rgba(0, 132, 61, .08),
            transparent 70%);

    right: -150px;
    top: -150px;

}



.contact-hero::after {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    background:

        radial-gradient(circle,
            rgba(22, 163, 74, .06),
            transparent 70%);

    left: -100px;
    bottom: -100px;

}



.contact-hero .contact-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;

    position: relative;

    z-index: 2;

}



/*========================
 LEFT
========================*/

.contact-left {

    flex: 1;

}



.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 20px;

    background: #E9FFF1;

    border-radius: 50px;

    font-weight: 700;

    color: var(--primary);

    margin-bottom: 25px;

}



.hero-badge i {

    font-size: 18px;

}



.contact-left h1 {

    font-size: 58px;

    font-weight: 900;

    line-height: 1.15;

    margin-bottom: 25px;

    color: #102030;

}



.contact-left h1 span {

    display: block;

    color: var(--primary);

}



.contact-left p {

    font-size: 18px;

    line-height: 1.9;

    color: var(--text-light);

    max-width: 620px;

}



/*========================
 BUTTONS
========================*/

.hero-buttons {

    display: flex;

    gap: 18px;

    margin-top: 40px;

    flex-wrap: wrap;

}



.btn-primary,

.btn-secondary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 58px;

    padding: 0 34px;

    border-radius: 50px;

    font-weight: 800;

    text-decoration: none;

    transition: .35s;

}



.btn-primary {

    background: linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    color: #fff;

    box-shadow:

        0 18px 35px rgba(0, 132, 61, .25);

}



.btn-secondary {

    border: 2px solid var(--primary);

    color: var(--primary);

    background: #fff;

}



.btn-primary:hover {

    transform: translateY(-5px);

}



.btn-secondary:hover {

    background: var(--primary);

    color: #fff;

}



/*========================
 HERO CARD
========================*/

.contact-right {

    width: 420px;

}



.hero-card {

    background: #fff;

    padding: 45px;

    border-radius: 32px;

    box-shadow: var(--shadow-lg);

    position: relative;

    overflow: hidden;

}



.hero-card::before {

    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    background: #E8FFF1;

    border-radius: 50%;

    right: -60px;
    top: -60px;

}



.hero-icon {

    width: 82px;
    height: 82px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    color: #fff;

    font-size: 34px;

    border-radius: 22px;

    margin-bottom: 25px;

    position: relative;

    z-index: 2;

}



.hero-card h2 {

    font-size: 30px;

    margin-bottom: 15px;

    color: #102030;

    position: relative;

    z-index: 2;

}



.hero-card p {

    line-height: 1.8;

    color: var(--text-light);

    margin-bottom: 25px;

    position: relative;

    z-index: 2;

}



.hero-list {

    display: grid;

    gap: 15px;

    position: relative;

    z-index: 2;

}



.hero-list div {

    display: flex;

    align-items: center;

    gap: 12px;

    font-weight: 700;

}



.hero-list i {

    color: var(--primary);

}



/*========================
 SECTION TITLE
========================*/

.section-title {

    text-align: center;

    margin-bottom: 65px;

}



.section-title span {

    display: inline-block;

    padding: 10px 20px;

    background: #E9FFF1;

    border-radius: 50px;

    font-weight: 700;

    color: var(--primary);

    margin-bottom: 20px;

}



.section-title h2 {

    font-size: 46px;

    font-weight: 900;

    margin-bottom: 18px;

    color: #102030;

}



.section-title p {

    max-width: 760px;

    margin: auto;

    font-size: 18px;

    line-height: 1.9;

    color: var(--text-light);

}



/*========================
 CONTACT INFO
========================*/

.contact-info {

    padding: 100px 0;

    background: #fff;

}



.contact-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 28px;

}



.contact-card {

    background: #fff;

    padding: 35px;

    border-radius: 28px;

    box-shadow: var(--shadow-md);

    transition: .35s;

    border: 1px solid #EEF2F7;

}



.contact-card:hover {

    transform: translateY(-10px);

    box-shadow:

        0 35px 70px rgba(0, 132, 61, .12);

}



.contact-icon {

    width: 72px;
    height: 72px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #E9FFF1;

    border-radius: 20px;

    font-size: 28px;

    color: var(--primary);

    margin-bottom: 22px;

}



.contact-card h3 {

    font-size: 24px;

    margin-bottom: 15px;

}



.contact-card p {

    line-height: 1.8;

    color: var(--text-light);

    margin-bottom: 20px;

}



.contact-card a {

    display: inline-flex;

    text-decoration: none;

    font-weight: 700;

    color: var(--primary);

}

/*==================================================
 DHANI FINANCE LTD
 CONTACT PAGE CSS
 PART 2/4
==================================================*/


/*=========================================
 CONTACT FORM SECTION
=========================================*/

.contact-form-section {

    padding: 110px 0;

    background:
        linear-gradient(180deg,
            #F8FFF9 0%,
            #FFFFFF 100%);

    position: relative;

    overflow: hidden;

}



.contact-form-section::before {

    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    background:

        radial-gradient(circle,
            rgba(0, 132, 61, .08),
            transparent 70%);

    left: -180px;
    top: -120px;

}



.contact-form-section::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    background:

        radial-gradient(circle,
            rgba(22, 163, 74, .07),
            transparent 70%);

    right: -100px;
    bottom: -120px;

}



.form-wrapper {

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 45px;

    position: relative;

    z-index: 2;

}



/*=========================================
 FORM CARD
=========================================*/

.form-left {

    background: #fff;

    padding: 50px;

    border-radius: 30px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, .08);

    border: 1px solid #ECF0F3;

}



.form-left h2 {

    font-size: 38px;

    font-weight: 900;

    margin-bottom: 15px;

    color: #102030;

}



.form-left>p {

    font-size: 17px;

    line-height: 1.8;

    color: #64748B;

    margin-bottom: 35px;

}



/*=========================================
 INPUT GROUP
=========================================*/

.input-group {

    margin-bottom: 22px;

    position: relative;

}



.input-group input,

.input-group textarea {

    width: 100%;

    padding: 18px 22px;

    border: 2px solid #E5E7EB;

    border-radius: 16px;

    background: #fff;

    font-size: 16px;

    font-family: inherit;

    transition: .35s;

    outline: none;

}



.input-group textarea {

    resize: vertical;

    min-height: 170px;

}



.input-group input:hover,

.input-group textarea:hover {

    border-color: #C7EFD5;

}



.input-group input:focus,

.input-group textarea:focus {

    border-color: #00843D;

    box-shadow:

        0 0 0 5px rgba(0, 132, 61, .08);

}



/*=========================================
 PLACEHOLDER
=========================================*/

.input-group input::placeholder,

.input-group textarea::placeholder {

    color: #94A3B8;

}



/*=========================================
 SUBMIT BUTTON
=========================================*/

.form-left button {

    width: 100%;

    height: 60px;

    border: none;

    cursor: pointer;

    border-radius: 18px;

    background:

        linear-gradient(135deg,
            #00843D,
            #16A34A);

    color: #fff;

    font-size: 17px;

    font-weight: 800;

    letter-spacing: .3px;

    transition: .35s;

    box-shadow:

        0 18px 35px rgba(0, 132, 61, .22);

}



.form-left button:hover {

    transform: translateY(-4px);

    box-shadow:

        0 25px 50px rgba(0, 132, 61, .28);

}



.form-left button:active {

    transform: scale(.98);

}



/*=========================================
 SUPPORT CARD
=========================================*/

.form-right {

    display: flex;

    flex-direction: column;

    gap: 30px;

}



.support-box {

    background: #fff;

    padding: 40px;

    border-radius: 30px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, .08);

    border: 1px solid #EEF2F7;

    position: relative;

    overflow: hidden;

}



.support-box::before {

    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background: #E9FFF1;

    right: -70px;
    top: -70px;

}



.support-box h3 {

    font-size: 30px;

    font-weight: 900;

    margin-bottom: 25px;

    color: #102030;

    position: relative;

    z-index: 2;

}



.support-box ul {

    list-style: none;

    display: grid;

    gap: 18px;

    position: relative;

    z-index: 2;

}



.support-box li {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    font-size: 16px;

    line-height: 1.8;

    font-weight: 600;

    color: #475569;

}



.support-box li i {

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #E9FFF1;

    color: #00843D;

    font-size: 14px;

    flex-shrink: 0;

}



/*=========================================
 QUICK CONTACT CARD
=========================================*/

.quick-contact {

    background:

        linear-gradient(135deg,
            #00843D,
            #16A34A);

    color: #fff;

    padding: 40px;

    border-radius: 30px;

    box-shadow:

        0 30px 70px rgba(0, 132, 61, .25);

}



.quick-contact h3 {

    font-size: 28px;

    margin-bottom: 18px;

    font-weight: 900;

}



.quick-contact p {

    line-height: 1.8;

    margin-bottom: 25px;

    opacity: .95;

}



.quick-contact a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 54px;

    padding: 0 28px;

    border-radius: 50px;

    background: #fff;

    color: #00843D;

    font-weight: 800;

    text-decoration: none;

    transition: .35s;

}



.quick-contact a:hover {

    transform: translateY(-4px);

}



/*=========================================
 RESPONSIVE
=========================================*/

@media(max-width:1100px) {

    .form-wrapper {

        grid-template-columns: 1fr;

    }

}



@media(max-width:768px) {

    .contact-form-section {

        padding: 80px 0;

    }

    .form-left {

        padding: 30px;

    }

    .support-box {

        padding: 30px;

    }

    .quick-contact {

        padding: 30px;

    }

    .form-left h2 {

        font-size: 30px;

    }

}

/*==================================================
 DHANI FINANCE LTD
 CONTACT PAGE CSS
 PART 3/4
==================================================*/


/*=========================================
 GOOGLE MAP SECTION
=========================================*/

.contact-map-section {

    padding: 110px 0;

    background: #fff;

}

.map-wrapper {

    overflow: hidden;

    border-radius: 32px;

    background: #fff;

    border: 1px solid #ECF0F3;

    box-shadow: 0 30px 70px rgba(0, 0, 0, .08);

}

.map-wrapper iframe {

    width: 100%;

    height: 520px;

    border: 0;

    display: block;

}



/*=========================================
 LOCATION INFO BAR
=========================================*/

.location-bar {

    margin-top: 35px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}

.location-item {

    background: #fff;

    border-radius: 24px;

    padding: 30px;

    border: 1px solid #EEF2F7;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);

    transition: .35s;

}

.location-item:hover {

    transform: translateY(-8px);

    box-shadow: 0 30px 60px rgba(0, 132, 61, .12);

}

.location-item i {

    width: 65px;

    height: 65px;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #E9FFF1;

    color: #00843D;

    font-size: 28px;

    margin-bottom: 20px;

}

.location-item h3 {

    font-size: 22px;

    margin-bottom: 12px;

    color: #102030;

}

.location-item p {

    color: #64748B;

    line-height: 1.8;

}



/*=========================================
 FAQ SECTION
=========================================*/

.contact-faq {

    padding: 110px 0;

    background: linear-gradient(180deg, #F8FFF9, #FFFFFF);

}

.faq-wrapper {

    max-width: 950px;

    margin: auto;

}

.faq-item {

    background: #fff;

    border-radius: 22px;

    margin-bottom: 20px;

    border: 1px solid #ECF0F3;

    overflow: hidden;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .05);

    transition: .3s;

}

.faq-item:hover {

    transform: translateY(-4px);

}

.faq-question {

    display: flex;

    justify-content: space-between;

    align-items: center;

    cursor: pointer;

    padding: 26px 30px;

    font-size: 20px;

    font-weight: 800;

    color: #102030;

}

.faq-question i {

    color: #00843D;

    transition: .35s;

}

.faq-item.active .faq-question i {

    transform: rotate(180deg);

}

.faq-answer {

    display: none;

    padding: 0 30px 28px;

    color: #64748B;

    line-height: 1.9;

    font-size: 16px;

}

.faq-item.active .faq-answer {

    display: block;

}



/*=========================================
 BUSINESS HOURS BOX
=========================================*/

.business-hours {

    margin-top: 70px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

}

.hours-card {

    background: #fff;

    border-radius: 28px;

    padding: 35px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, .06);

    border: 1px solid #EEF2F7;

}

.hours-card h3 {

    font-size: 28px;

    margin-bottom: 20px;

    color: #102030;

}

.hours-list {

    display: flex;

    justify-content: space-between;

    padding: 15px 0;

    border-bottom: 1px dashed #E5E7EB;

    font-size: 16px;

    color: #64748B;

}

.hours-list:last-child {

    border: none;

}



/*=========================================
 CONTACT CTA
=========================================*/

.contact-cta {

    margin-top: 80px;

    background: linear-gradient(135deg, #00843D, #16A34A);

    border-radius: 35px;

    padding: 70px 50px;

    color: #fff;

    text-align: center;

    overflow: hidden;

    position: relative;

}

.contact-cta::before {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    background: rgba(255, 255, 255, .08);

    border-radius: 50%;

    left: -80px;

    top: -80px;

}

.contact-cta::after {

    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    background: rgba(255, 255, 255, .06);

    border-radius: 50%;

    right: -60px;

    bottom: -60px;

}

.contact-cta h2 {

    font-size: 42px;

    margin-bottom: 20px;

    position: relative;

    z-index: 2;

}

.contact-cta p {

    max-width: 760px;

    margin: 0 auto 35px;

    line-height: 1.9;

    font-size: 18px;

    position: relative;

    z-index: 2;

}

.contact-cta a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 18px 40px;

    border-radius: 50px;

    background: #fff;

    color: #00843D;

    text-decoration: none;

    font-weight: 800;

    transition: .35s;

    position: relative;

    z-index: 2;

}

.contact-cta a:hover {

    transform: translateY(-5px);

}



/*=========================================
 RESPONSIVE
=========================================*/

@media(max-width:992px) {

    .location-bar {

        grid-template-columns: 1fr;

    }

    .business-hours {

        grid-template-columns: 1fr;

    }

}

@media(max-width:768px) {

    .contact-map-section,

    .contact-faq {

        padding: 80px 0;

    }

    .map-wrapper iframe {

        height: 380px;

    }

    .faq-question {

        font-size: 18px;

        padding: 22px;

    }

    .faq-answer {

        padding: 0 22px 22px;

    }

    .contact-cta {

        padding: 45px 25px;

    }

    .contact-cta h2 {

        font-size: 30px;

    }

    .contact-cta p {

        font-size: 16px;

    }

}




/*==================================================
 DHANI FINANCE LTD
 CONTACT PAGE CSS
 PART 4/4 (FINAL)
==================================================*/


/*=========================================
 SCROLL TO TOP BUTTON
=========================================*/

.scroll-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 58px;

    height: 58px;

    border-radius: 50%;

    background: linear-gradient(135deg, #00843D, #16A34A);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

    cursor: pointer;

    box-shadow: 0 20px 45px rgba(0, 132, 61, .30);

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: .35s;

    z-index: 999;

}

.scroll-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

.scroll-top:hover {

    transform: translateY(-6px);

}



/*=========================================
 FLOATING ACTION BUTTONS
=========================================*/

.floating-contact {

    position: fixed;

    left: 20px;

    bottom: 20px;

    display: flex;

    flex-direction: column;

    gap: 15px;

    z-index: 999;

}

.floating-contact a {

    width: 58px;

    height: 58px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    color: #fff;

    font-size: 22px;

    box-shadow: 0 18px 35px rgba(0, 0, 0, .20);

    transition: .3s;

}

.floating-contact a.call {

    background: #00843D;

}

.floating-contact a.whatsapp {

    background: #25D366;

}

.floating-contact a:hover {

    transform: translateY(-5px) scale(1.05);

}



/*=========================================
 PAGE ANIMATIONS
=========================================*/

.fade-up {

    opacity: 0;

    transform: translateY(40px);

    transition: all .8s ease;

}

.fade-up.show {

    opacity: 1;

    transform: translateY(0);

}

.fade-left {

    opacity: 0;

    transform: translateX(-50px);

    transition: all .8s ease;

}

.fade-left.show {

    opacity: 1;

    transform: translateX(0);

}

.fade-right {

    opacity: 0;

    transform: translateX(50px);

    transition: all .8s ease;

}

.fade-right.show {

    opacity: 1;

    transform: translateX(0);

}



/*=========================================
 CARD HOVER EFFECTS
=========================================*/

.contact-card,
.location-item,
.hours-card,
.support-box,
.hero-card {

    transition: .35s;

}

.contact-card:hover,
.location-item:hover,
.hours-card:hover,
.support-box:hover,
.hero-card:hover {

    transform: translateY(-10px);

}



/*=========================================
 BUTTON RIPPLE
=========================================*/

.btn-primary,
.btn-secondary,
.form-left button,
.contact-cta a {

    position: relative;

    overflow: hidden;

}

.btn-primary::after,
.btn-secondary::after,
.form-left button::after,
.contact-cta a::after {

    content: "";

    position: absolute;

    width: 0;

    height: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, .30);

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    transition: .5s;

}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.form-left button:hover::after,
.contact-cta a:hover::after {

    width: 320px;

    height: 320px;

}



/*=========================================
 CUSTOM SCROLLBAR
=========================================*/

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #F3F4F6;

}

::-webkit-scrollbar-thumb {

    background: #00843D;

    border-radius: 20px;

}

::-webkit-scrollbar-thumb:hover {

    background: #006C31;

}



/*=========================================
 IMAGE PLACEHOLDER
=========================================*/

img {

    max-width: 100%;

    height: auto;

    display: block;

}



/*=========================================
 LINK TRANSITION
=========================================*/

a {

    transition: .3s;

}



/*=========================================
 SELECTION
=========================================*/

::selection {

    background: #00843D;

    color: #fff;

}



/*=========================================
 REDUCED MOTION
=========================================*/

@media (prefers-reduced-motion:reduce) {

    * {

        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;

    }

}



/*=========================================
 LARGE SCREEN
=========================================*/

@media(min-width:1600px) {

    .contact-container {

        max-width: 1350px;

    }

    .contact-left h1 {

        font-size: 66px;

    }

    .section-title h2 {

        font-size: 52px;

    }

}



/*=========================================
 TABLET
=========================================*/

@media(max-width:992px) {

    .contact-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .contact-hero .contact-container {

        flex-direction: column;

        text-align: center;

    }

    .contact-right {

        width: 100%;

        max-width: 500px;

    }

    .hero-buttons {

        justify-content: center;

    }

    .contact-left p {

        margin: auto;

    }

}



/*=========================================
 MOBILE
=========================================*/

@media(max-width:768px) {

    .contact-grid {

        grid-template-columns: 1fr;

    }

    .contact-left h1 {

        font-size: 38px;

    }

    .section-title h2 {

        font-size: 30px;

    }

    .section-title p {

        font-size: 16px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .btn-primary,
    .btn-secondary {

        width: 100%;

    }

    .contact-card {

        padding: 28px;

    }

    .hero-card {

        padding: 30px;

    }

    .scroll-top {

        right: 15px;

        bottom: 15px;

        width: 52px;

        height: 52px;

    }

    .floating-contact {

        left: 15px;

        bottom: 15px;

    }

    .floating-contact a {

        width: 52px;

        height: 52px;

        font-size: 20px;

    }

}



/*=========================================
 SMALL MOBILE
=========================================*/

@media(max-width:480px) {

    .contact-hero {

        padding: 80px 0;

    }

    .contact-left h1 {

        font-size: 32px;

    }

    .hero-badge {

        font-size: 13px;

        padding: 8px 16px;

    }

    .contact-card h3 {

        font-size: 22px;

    }

    .hero-card h2 {

        font-size: 26px;

    }

    .form-left h2 {

        font-size: 26px;

    }

    .contact-cta h2 {

        font-size: 26px;

    }

}