/* =========================================================
   Sadguru's Print Solutions - Contact Us Stylesheet
   Premium Commercial Printing & Corporate Gifting
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700;1,800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --sg-navy: #0f356d;
    --sg-navy-dark: #09234b;
    --sg-blue: #174b96;
    --sg-gold: #d79a1e;
    --sg-gold-light: #f8b856;
    --sg-gold-dark: #b97d10;
    --sg-slate: #64748b;
    --sg-dark: #0f172a;
    --sg-border: #dbe4f3;
    --sg-border-light: #e8edf5;
    --sg-card-bg: #ffffff;
    --sg-radius-lg: 24px;
    --sg-radius-md: 16px;
    --sg-radius-sm: 12px;
}

.font-manrope {
    font-family: 'Instrument Sans', 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sg-contact-bg {
    background: linear-gradient(180deg, #f8fbff 0%, #f1f5fc 50%, #eef3fb 100%);
    position: relative;
    min-height: 100vh;
}

/* --- Card Base Styles --- */
.sg-card {
    background: var(--sg-card-bg);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    box-shadow: 0 14px 40px rgba(15, 53, 109, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sg-hero-card {
    position: relative;
    background: radial-gradient(circle at top right, rgba(215, 154, 30, 0.08) 0%, transparent 40%),
                linear-gradient(135deg, #ffffff 0%, #f6f9fe 55%, #edf3fc 100%);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    box-shadow: 0 16px 45px rgba(15, 53, 109, 0.09);
}

.sg-header-stripe {
    height: 5px;
    background: linear-gradient(90deg, #174b96 0%, #0f356d 35%, #d79a1e 75%, #f8b856 100%);
}

/* --- Typography & Headings --- */
.sg-hero-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    line-height: 1.15;
    color: var(--sg-navy);
    letter-spacing: -0.01em;
}

.sg-serif-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.25;
    color: var(--sg-navy);
    letter-spacing: -0.01em;
}

.sg-gold-text {
    color: var(--sg-gold);
    background: linear-gradient(135deg, #d79a1e 0%, #b97d10 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Kicker Badge --- */
.sg-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--sg-border);
    color: var(--sg-navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(15, 53, 109, 0.05);
}

.sg-kicker-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sg-blue), var(--sg-gold));
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(23, 75, 150, 0.18);
}

/* --- Hero Feature Pills --- */
.sg-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.sg-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: #ffffff;
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sg-navy);
    box-shadow: 0 2px 8px rgba(15, 53, 109, 0.04);
}

.sg-hero-pill i {
    color: var(--sg-gold);
    font-size: 0.95rem;
}

/* --- Hero Visual & Floating Elements --- */
.sg-hero-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(15, 53, 109, 0.3) 0%, rgba(9, 35, 75, 0.82) 100%),
        url('/images/corporate_handshake.jpg') center/cover no-repeat,
        url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    box-shadow: 0 16px 36px rgba(15, 53, 109, 0.22);
}

.sg-floating-top {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sg-navy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.sg-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    position: relative;
    display: inline-block;
}

.sg-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: sg-pulse 2s infinite;
}

@keyframes sg-pulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(0.9); opacity: 0; }
}

.sg-floating-bottom {
    background: rgba(15, 53, 109, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 16px 20px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.sg-stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sg-gold-light);
    line-height: 1;
    margin-bottom: 4px;
}

.sg-stat-text {
    font-size: 0.85rem;
    color: #e2e8f0;
    font-weight: 500;
    line-height: 1.35;
}

/* --- Contact Info Items (Left Column) --- */
.sg-contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border-radius: var(--sg-radius-md);
    background: #fbfdff;
    border: 1px solid var(--sg-border-light);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.sg-contact-item:hover {
    background: #ffffff;
    border-color: var(--sg-blue);
    box-shadow: 0 10px 25px rgba(23, 75, 150, 0.10);
    transform: translateY(-2px);
}

.sg-contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sg-navy) 0%, var(--sg-blue) 60%, var(--sg-gold) 100%);
    box-shadow: 0 8px 18px rgba(23, 75, 150, 0.22);
    flex-shrink: 0;
    font-size: 1.25rem;
}

.sg-contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.sg-contact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sg-navy);
    margin-bottom: 3px;
}

.sg-contact-value,
.sg-contact-value a {
    color: var(--sg-dark);
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.55;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.15s ease;
}

.sg-contact-value a:hover {
    color: var(--sg-blue);
    text-decoration: underline;
}

.sg-contact-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #eef5ff;
    color: var(--sg-blue);
    border: 1px solid #d0e1f9;
    margin-left: 6px;
    vertical-align: middle;
}

/* Business Hours Highlight Banner */
.sg-hours-banner {
    background: linear-gradient(135deg, #f0f6ff 0%, #edf3fc 100%);
    border: 1px solid #cfe0f5;
    border-radius: var(--sg-radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 1rem;
}

.sg-hours-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sg-blue);
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(23, 75, 150, 0.12);
}

/* --- Form Controls & Styling (Right Column) --- */
.sg-form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--sg-navy);
}

.sg-form-label i {
    color: var(--sg-blue);
    font-size: 0.95rem;
}

.sg-form-control {
    width: 100%;
    border: 1.5px solid var(--sg-border);
    background: #fdfefe;
    color: var(--sg-dark);
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 0.94rem;
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.sg-form-control:hover {
    border-color: #b5c7e3;
    background-color: #ffffff;
}

.sg-form-control:focus {
    border-color: var(--sg-blue);
    box-shadow: 0 0 0 4px rgba(23, 75, 150, 0.12);
    background-color: #ffffff;
}

.sg-form-control::placeholder {
    color: #94a3b8;
    font-size: 0.92rem;
}

select.sg-form-control {
    cursor: pointer;
}

.sg-form-control.is-invalid {
    border-color: #dc2626 !important;
    background-color: #fffdfd;
}

.sg-form-control.is-invalid:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12) !important;
}

.sg-form-error {
    font-size: 0.8rem;
    font-weight: 600;
    color: #dc2626;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- Buttons --- */
.sg-btn-primary {
    background: linear-gradient(135deg, var(--sg-blue) 0%, var(--sg-navy) 100%);
    color: #ffffff !important;
    border: 0;
    border-radius: 12px;
    padding: 13px 30px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 24px rgba(23, 75, 150, 0.25);
    transition: all 0.25s ease;
    cursor: pointer;
}

.sg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(23, 75, 150, 0.35);
    color: #ffffff !important;
}

.sg-btn-primary:active {
    transform: translateY(0);
}

.sg-btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sg-btn-secondary {
    background: linear-gradient(135deg, var(--sg-gold) 0%, var(--sg-gold-dark) 100%);
    color: #ffffff !important;
    border: 0;
    border-radius: 12px;
    padding: 13px 28px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(215, 154, 30, 0.22);
    transition: all 0.25s ease;
    cursor: pointer;
}

.sg-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(215, 154, 30, 0.32);
    color: #ffffff !important;
}

.sg-btn-secondary:active {
    transform: translateY(0);
}

.sg-btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--sg-navy);
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.sg-btn-directions:hover {
    background: var(--sg-blue);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 53, 109, 0.2);
    color: #ffffff !important;
}

/* --- Trust Highlights Strip --- */
.sg-trust-box {
    background: #ffffff;
    border: 1px solid var(--sg-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(15, 53, 109, 0.04);
}

.sg-trust-box:hover {
    border-color: var(--sg-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 53, 109, 0.08);
}

.sg-trust-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f6ff 0%, #e2eefc 100%);
    border: 1px solid #d0e2f9;
    color: var(--sg-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.sg-trust-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sg-navy);
    margin-bottom: 4px;
}

.sg-trust-desc {
    font-size: 0.82rem;
    color: var(--sg-slate);
    line-height: 1.45;
    margin-bottom: 0;
}

/* --- Map Section --- */
.sg-map-frame {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--sg-border);
    box-shadow: 0 8px 24px rgba(15, 53, 109, 0.08);
}

.sg-map-frame iframe {
    width: 100%;
    height: 430px;
    display: block;
    border: 0;
}

/* --- Responsive Polish --- */
@media (max-width: 991.98px) {
    .sg-hero-visual {
        min-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .sg-hero-visual {
        min-height: 280px;
        padding: 18px;
    }
    .sg-map-frame iframe {
        height: 320px;
    }
    .sg-btn-primary,
    .sg-btn-secondary {
        width: 100%;
    }
}
