﻿:root {
    --contact-primary: #6366F1;
    --contact-dark: #0a0e1a;
    --contact-card-bg: rgba(255, 255, 255, 0.04);
    --contact-border: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] {
    --contact-card-bg: rgba(255, 255, 255, 0.04);
    --contact-border: rgba(255, 255, 255, 0.06);
    --si-alternate-color: #16222F;
    --si-body-bg: #0B131F;
}

[data-bs-theme="light"] {
    --contact-card-bg: rgba(0, 0, 0, 0.02);
    --contact-border: rgba(0, 0, 0, 0.06);
    --si-alternate-color: #F0F6FA;
    --si-body-bg: #ffffff;
}

/* Contact page */
.contact-section {
    width: 100%;
    max-width: 100%;
    background-color: var(--si-alternate-color) !important;
    overflow-x: clip;
}


.contact-section {
    padding: 4rem 0;
}

    .contact-section .d-flex.align-items-start {
        background-color: var(--contact-card-bg);
        border: 1px solid var(--contact-border);
        border-radius: 16px;
        padding: 1.75rem;
        margin-bottom: 1.5rem !important;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    }

[data-bs-theme="dark"] .contact-section .d-flex.align-items-start {
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
}

.contact-section .bg-light.text-primary.rounded-circle {
    background-color: rgba(220, 53, 69, 0.08) !important; 
    color: var(--contact-primary) !important;
    border: 1px solid rgba(220, 53, 69, 0.15);
    width: 56px;
    height: 56px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    font-size: 1.35rem !important;
    transition: all 0.3s ease;
}

.contact-section h2.h4 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.contact-section p.mb-2 {
    opacity: 0.75;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-section .btn-link {
    display: inline-flex !important;
    align-items: center;
    padding: 0;
    margin-top: 0.5rem;
    text-decoration: none !important;
}

    .contact-section .btn-link a {
        color: var(--contact-primary) !important;
        text-decoration: none !important;
        font-size: 0.95rem;
        font-weight: 600;
        position: relative;
    }

        .contact-section .btn-link a::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: var(--contact-primary);
            transform-origin: bottom right;
            transition: transform 0.25s ease-out;
        }

    .contact-section .btn-link .bx-right-arrow-alt {
        color: var(--contact-primary);
        font-size: 1.25rem;
        transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }


/* ==========================================
   HOVER & INTERACTIVE STATES
   ========================================== */

.contact-section .d-flex.align-items-start:hover {
    border-color: rgba(59, 53, 220, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(59, 53, 220, 0.06);
    background-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="light"] .contact-section .d-flex.align-items-start:hover {
    background-color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}


.contact-section .d-flex.align-items-start:hover .bg-light.text-primary.rounded-circle {
    background-color: var(--contact-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(59, 53, 220, 0.4);
    transform: scale(1.05);
}

/* Animate link text line and arrow when hovering anywhere on the card */
.contact-section .d-flex.align-items-start:hover .btn-link a::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.contact-section .d-flex.align-items-start:hover .bx-right-arrow-alt {
    transform: translateX(6px);
}


.desginsection {
   background-color: var(--si-body-bg)
}
/* Mobile viewport safety */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}
