/* ===========================================================================
   SOKYO Analytics - Contact Page Stylesheet
   Unified with Index.css for consistent styling
   ============================================================================ */

/* ============================================================================
   IMPORTS & FONTS
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================================
   BASE STYLES
   ============================================================================ */

* {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #F7F8F3;
    color: #2F342C;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark {
    background-color: #1C2119;
    color: #DDE3D0;
}

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

.modern-header {
    background: rgba(247, 248, 243, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid #E5E7DE;
    transition: all 0.3s ease;
}

.dark .modern-header {
    background: rgba(28, 33, 25, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid #3A4234;
}

.nav-link {
    position: relative;
    transition: all 0.2s ease;
    color: #6E7566;
}

.dark .nav-link {
    color: #8A9480;
}

.nav-link.active,
.nav-link:hover {
    color: #2F342C;
}

.dark .nav-link.active,
.dark .nav-link:hover {
    color: #C7D7B2;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #AEBF96;
    transform: translateX(-50%);
    transition: width 0.2s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================================================
   SIDEBAR STYLES
   ============================================================================ */

.floating-sidebar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 420px;
    max-height: 85vh;
    background: #FFFFFF;
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid #E5E7DE;
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dark .floating-sidebar {
    background: #262B23;
    border: 1px solid #3A4234;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dark .floating-sidebar > div:first-child,
.dark .floating-sidebar > div:last-child {
    background: #262B23 !important;
    border-color: #3A4234 !important;
}

.floating-sidebar.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(47, 52, 44, 0.4);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

.dark .sidebar-overlay {
    background: rgba(28, 33, 25, 0.6);
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sidebar-content {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    background: #DDE3D0;
    transition: background 0.3s ease;
}

.dark .sidebar-content {
    background: #343C30;
}

.sidebar-link {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    color: #6E7566;
}

.dark .sidebar-link {
    color: #8A9480;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #AEBF96;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    border-radius: 0 2px 2px 0;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: #CBD7BE;
    color: #2F342C;
}

.dark .sidebar-link:hover,
.dark .sidebar-link.active {
    background: #3A4234;
    color: #C7D7B2;
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
    transform: translateX(0);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #2F342C;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.dark .hamburger-line {
    background: #DDE3D0;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================================
   TEXT & GRADIENTS
   ============================================================================ */

.gradient-text {
    background: linear-gradient(135deg, #2F342C 0%, #6E7566 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark .gradient-text {
    background: linear-gradient(135deg, #C7D7B2 0%, #AEBF96 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-badge {
    background: #E4EBD8;
    border: 1px solid #C7D7B2;
    transition: all 0.3s ease;
}

.dark .trust-badge {
    background: #343C30;
    border: 1px solid #4A5244;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

.contact-form-card {
    background: #FFFFFF;
    border: 1px solid #E5E7DE;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.dark .contact-form-card {
    background: #262B23;
    border: 1px solid #3A4234;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6E7566;
    margin-bottom: 0.5rem;
}

.dark .form-label {
    color: #8A9480;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: #FFFFFF;
    border: 1px solid #E5E7DE;
    border-radius: 0.75rem;
    color: #2F342C;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.dark .form-input {
    background: #343C30;
    border: 1px solid #3A4234;
    color: #DDE3D0;
}

.form-input:focus {
    outline: none;
    border-color: #AEBF96;
    box-shadow: 0 0 0 3px rgba(174, 191, 150, 0.1);
}

.dark .form-input:focus {
    border-color: #C7D7B2;
    box-shadow: 0 0 0 3px rgba(199, 215, 178, 0.1);
}

.form-input::placeholder {
    color: #9CA495;
}

.dark .form-input::placeholder {
    color: #6E7566;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: #AEBF96;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(174, 191, 150, 0.3);
}

.submit-button:hover {
    background: #7F8C6D;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(174, 191, 150, 0.4);
}

.submit-button:active {
    transform: scale(0.98);
}

.dark .submit-button {
    background: #C7D7B2;
    color: #2F342C;
}

.dark .submit-button:hover {
    background: #AEBF96;
}

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

.contact-info-card {
    background: #FFFFFF;
    border: 1px solid #E5E7DE;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.dark .contact-info-card {
    background: #262B23;
    border: 1px solid #3A4234;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2F342C;
    margin-bottom: 1.5rem;
}

.dark .contact-info-title {
    color: #DDE3D0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #AEBF96 0%, #7F8C6D 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(174, 191, 150, 0.25);
}

.dark .info-icon {
    background: linear-gradient(135deg, #7F8C6D 0%, #AEBF96 100%);
}

.info-heading {
    font-weight: 600;
    color: #2F342C;
    margin-bottom: 0.25rem;
}

.dark .info-heading {
    color: #DDE3D0;
}

.info-text {
    font-size: 0.875rem;
    color: #6E7566;
}

.dark .info-text {
    color: #8A9480;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: #EEF0E7;
    border: 1px solid #E5E7DE;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6E7566;
    transition: all 0.2s ease;
}

.dark .social-icon {
    background: #343C30;
    border-color: #3A4234;
    color: #8A9480;
}

.social-icon:hover {
    background: #AEBF96;
    border-color: #AEBF96;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.dark .social-icon:hover {
    background: #C7D7B2;
    border-color: #C7D7B2;
}

/* ============================================================================
   DARK MODE ADJUSTMENTS
   ============================================================================ */

.dark .floating-sidebar .shrink-0 {
    background: #262B23 !important;
    border-color: #3A4234 !important;
}

.dark .floating-sidebar .bg-sage-100 {
    background: #3A4234 !important;
}

.dark .floating-sidebar .bg-sage-100:hover {
    background: #4A5244 !important;
}

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

@media (max-width: 768px) {
    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }

    .form-input {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }

    .submit-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .contact-info-title {
        font-size: 1.25rem;
    }
}

/* ============================================================================
   END OF STYLESHEET
   ============================================================================ */
