
/* ========================================
   CONTACT PAGE - SHREE GANPATI
======================================== */

:root {
    --contact-navy: #08264b;
    --contact-dark: #061c36;
    --contact-blue: #123d70;
    --contact-gold: #d3a44b;
    --contact-text: #43536a;
    --contact-light: #f5f8fc;
    --contact-border: #e3e9f1;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--contact-navy);
    background: #ffffff;
}

.contact-container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

/* ========================================
   HEADER
======================================== */

.contact-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.contact-header-inner {
    max-width: 1300px;
    margin: auto;
    min-height: 95px;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.contact-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.contact-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.contact-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-brand-text strong {
    color: var(--contact-navy);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-brand-text span {
    color: #68768a;
    font-size: 11px;
    letter-spacing: 2px;
}

.contact-nav {
    display: flex;
    align-items: center;
    gap: 23px;
}

.contact-nav a {
    color: var(--contact-navy);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-nav a:hover,
.contact-nav a.active {
    color: var(--contact-gold);
}

.contact-nav .contact-nav-btn {
    background: var(--contact-navy);
    color: white;
    padding: 13px 20px;
    border-radius: 5px;
    white-space: nowrap;
}

.contact-nav .contact-nav-btn:hover {
    background: var(--contact-gold);
    color: white;
}

.contact-menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--contact-navy);
    font-size: 25px;
    cursor: pointer;
}

/* ========================================
   CONTACT BANNER
======================================== */

.contact-banner {
    width: 100%;
    min-height: 440px;

    background-image:
        linear-gradient(
            90deg,
            rgba(4, 25, 54, 0.84) 0%,
            rgba(6, 31, 63, 0.72) 42%,
            rgba(8, 38, 75, 0.30) 100%
        ),
        url("./contact banner.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

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

    padding: 95px 20px;
    text-align: center;
    position: relative;
}

.contact-banner-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: auto;
}

.contact-banner-label {
    display: inline-block;
    color: #f2d28d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.contact-banner h1 {
    color: white;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
}

.contact-banner p {
    color: #edf2f9;
    font-size: 17px;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto 25px;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    font-size: 14px;
}

.contact-breadcrumb a {
    color: white;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: var(--contact-gold);
}

.contact-breadcrumb i {
    color: var(--contact-gold);
    font-size: 11px;
}

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

.contact-intro {
    background: #ffffff;
    padding: 110px 24px 115px;
}

.contact-section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.contact-small-heading {
    display: inline-block;
    color: var(--contact-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
}

.contact-section-heading h2 {
    color: var(--contact-navy);
    font-size: clamp(29px, 3vw, 40px);
    line-height: 1.3;
    margin: 0 0 18px;
}

.contact-section-heading p {
    color: var(--contact-text);
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

/* ========================================
   CONTACT INFORMATION CARDS
======================================== */

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.contact-info-card {
    background: white;
    border: 1px solid var(--contact-border);
    border-radius: 12px;
    text-align: center;
    padding: 45px 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(8, 38, 75, 0.04);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(8, 38, 75, 0.11);
}

.contact-info-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #edf3fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contact-navy);
    font-size: 27px;
}

.contact-info-card h3 {
    font-size: 21px;
    margin: 0 0 14px;
    color: var(--contact-navy);
}

.contact-info-card p {
    color: var(--contact-text);
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
    overflow-wrap: anywhere;
}

.contact-info-card a {
    color: var(--contact-text);
    text-decoration: none;
}

.contact-info-card a:hover {
    color: var(--contact-gold);
}

/* ========================================
   CONTACT MAIN SECTION
======================================== */

.contact-main-section {
    background: var(--contact-light);
    padding: 110px 24px;
    scroll-margin-top: 30px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 75px;
}

.contact-main-left {
    padding-top: 30px;
}

.contact-main-left h2 {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.3;
    margin: 0 0 22px;
    color: var(--contact-navy);
}

.contact-main-description {
    color: var(--contact-text);
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 40px;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
}

.contact-feature-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: var(--contact-navy);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-feature h4 {
    font-size: 18px;
    margin: 3px 0 8px;
    color: var(--contact-navy);
}

.contact-feature p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    color: var(--contact-text);
}

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

.contact-form-card {
    background: white;
    padding: 42px;
    border-radius: 14px;
    box-shadow: 0 12px 45px rgba(8, 38, 75, 0.08);
}

.contact-form-heading {
    margin-bottom: 32px;
}

.contact-form-heading h3 {
    color: var(--contact-navy);
    font-size: 27px;
    margin: 0 0 12px;
}

.contact-form-heading p {
    color: var(--contact-text);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form-group {
    margin-bottom: 23px;
    min-width: 0;
}

.contact-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--contact-navy);
    margin-bottom: 10px;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    padding: 15px 16px;
    background: #f9fbfd;
    border: 1px solid #dce4ee;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: var(--contact-navy);
    outline: none;
    transition: border-color 0.3s;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: var(--contact-blue);
    background: white;
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-submit-btn {
    width: 100%;
    border: none;
    background: var(--contact-navy);
    color: white;
    padding: 17px 25px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: background 0.3s;
}

.contact-submit-btn:hover {
    background: var(--contact-gold);
}

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

.contact-map-section {
    background: white;
    padding: 110px 24px 0;
}

.contact-map-section .contact-section-heading {
    margin-bottom: 55px;
}

.contact-map {
    width: 100%;
    line-height: 0;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 420px;
}

/* ========================================
   CALL TO ACTION
======================================== */

.contact-cta {
    background: var(--contact-navy);
    padding: 75px 24px;
}

.contact-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-cta-content span {
    color: var(--contact-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-cta-content h2 {
    color: white;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.3;
    margin: 15px 0;
}

.contact-cta-content p {
    color: #d5e0ef;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--contact-gold);
    color: var(--contact-dark);
    padding: 17px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
}

.contact-cta-btn:hover {
    background: white;
}

/* ========================================
   FOOTER
======================================== */

.contact-footer {
    background: var(--contact-dark);
    color: white;
    padding: 85px 24px 0;
}

.contact-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1.4fr;
    gap: 42px;
    padding-bottom: 65px;
}

.contact-footer h3 {
    font-size: 19px;
    color: white;
    margin: 0 0 25px;
}

.contact-footer-about p {
    color: #b6c5d8;
    font-size: 14px;
    line-height: 1.9;
    margin: 0 0 25px;
}

.contact-social-links {
    display: flex;
    gap: 12px;
}

.contact-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #163658;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.contact-social-links a:hover {
    background: var(--contact-gold);
}

.contact-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-footer-links a {
    display: block;
    color: #b6c5d8;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 15px;
}

.contact-footer-links a:hover {
    color: var(--contact-gold);
}

.contact-footer-details p {
    color: #b6c5d8;
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 16px;
    overflow-wrap: anywhere;
}

.contact-footer-details i {
    color: var(--contact-gold);
    margin-right: 10px;
}

.contact-footer-bottom {
    border-top: 1px solid #29415d;
    text-align: center;
    padding: 25px 0;
}

.contact-footer-bottom p {
    color: #a9b9cc;
    font-size: 13px;
    margin: 0;
}

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

@media (max-width: 1100px) {

    .contact-menu-toggle {
        display: block;
    }

    .contact-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 20px 30px 30px;
        gap: 0;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
    }

    .contact-nav.show {
        display: flex;
    }

    .contact-nav a {
        padding: 14px 0;
        border-bottom: 1px solid #edf0f4;
    }

    .contact-nav .contact-nav-btn {
        text-align: center;
        margin-top: 15px;
        border-bottom: none;
    }

    .contact-main-grid {
        gap: 40px;
    }

    .contact-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

@media (max-width: 768px) {

    .contact-header-inner {
        min-height: 80px;
        padding: 10px 18px;
    }

    .contact-brand img {
        width: 50px;
        height: 50px;
    }

    .contact-brand-text strong {
        font-size: 13px;
    }

    .contact-brand-text span {
        font-size: 9px;
    }

    .contact-banner {
        min-height: 340px;
        padding: 75px 20px;
        background-position: center;
    }

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

    .contact-banner p {
        font-size: 14px;
    }

    .contact-intro {
        padding: 75px 20px;
    }

    .contact-section-heading {
        margin-bottom: 40px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-card {
        padding: 35px 20px;
    }

    .contact-main-section {
        padding: 75px 20px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-main-left {
        padding-top: 0;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-map-section {
        padding: 75px 0 0;
    }

    .contact-map-section .contact-section-heading {
        padding: 0 20px;
    }

    .contact-map iframe {
        height: 330px;
    }

    .contact-cta {
        padding: 65px 20px;
    }

    .contact-cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .contact-footer {
        padding: 65px 20px 0;
    }

    .contact-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 45px;
    }
}

/* CONTACT PAGE HEADER FIX */

.header .navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.header .brand img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

.header .contact-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    margin-left: auto;
}

.header .contact-nav a {
    white-space: nowrap;
}

.header .contact-menu-toggle {
    display: none;
}

/* MOBILE NAVIGATION */

@media (max-width: 900px) {
    .header .navbar {
        flex-wrap: wrap;
    }

    .header .contact-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .header .contact-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header .contact-nav.active,
    .header .contact-nav.open {
        display: flex;
    }
}

/* RESTORE CONTACT HEADER LOGO AND LAYOUT */

.header .navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    gap: 20px;
}

.header .brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.header .brand .header-logo {
    display: block !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px;
    border-radius: 50% !important;
    object-fit: cover !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header .brand-text h2 {
    margin: 0 0 5px;
    font-size: 20px;
    color: #061c32;
}

.header .brand-text span {
    font-size: 11px;
    letter-spacing: 2px;
    color: #061c32;
}

.header .contact-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.header .contact-nav a {
    white-space: nowrap;
}

@media (min-width: 901px) {
    .header .contact-menu-toggle {
        display: none;
    }
}

@media (max-width: 900px) {
    .header .navbar {
        flex-wrap: wrap;
    }

    .header .contact-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .header .contact-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .header .contact-nav.active,
    .header .contact-nav.open {
        display: flex;
    }
}
