/**
 * ╔════════════════════════════════════════════════════════════════════════════╗
 * ║           PREMIUM CONTACT PAGE STYLESHEET v3.0                            ║
 * ║      Enhanced with Inter Font, Advanced Forms & Service Colors            ║
 * ║            Form Validation | Smooth Animations | Responsive               ║
 * ╚════════════════════════════════════════════════════════════════════════════╝
 */

/* ════════════════════════════════════════════════════════════════════════════ */
/* 1. GOOGLE FONTS IMPORT - Professional Typography Stack                     */
/* ════════════════════════════════════════════════════════════════════════════ */

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

/* ════════════════════════════════════════════════════════════════════════════ */
/* 2. ENHANCED CSS VARIABLES - Complete Design System                         */
/* ════════════════════════════════════════════════════════════════════════════ */

:root {
    /* Primary Color Palette */
    --primary-color: #0a1628;
    --secondary-color: #1e3a5f;
    --tertiary-color: #2d4a7c;

    /* Accent Colors */
    --accent-color: #4a90e2;
    --accent-gold: #5b7fa8;
    --accent-light: #6ba3ff;
    --accent-dark: #3a6bc1;

    /* Text Colors */
    --text-primary: #0a1628;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-light: #94a3b8;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e8f1ff 100%);

    /* Status Colors */
    --error-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    --transition-smooth: all 0.8s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 20px 60px rgba(74, 144, 226, 0.25);
    --glow: 0 0 30px rgba(74, 144, 226, 0.3);
    --glow-intense: 0 0 40px rgba(74, 144, 226, 0.5);

    /* Service Category Colors */
    --color-service-tech: #4a90e2;
    --color-service-design: #9b59b6;
    --color-service-marketing: #e74c3c;
    --color-service-business: #16a085;
    --color-service-development: #2980b9;
    --color-service-analytics: #f39c12;
    --color-service-security: #c0392b;
    --color-service-support: #27ae60;

    /* Font Families */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-serif: 'Lora', Georgia, serif;

    /* Spacing Scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 40px;
    --space-3xl: 48px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 25px;
    --radius-full: 50%;

    /* Z-Index Stack */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal: 9000;
    --z-overlay: 9500;
    --z-toast: 9998;
    --z-loading: 9999;
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --primary-color: #4a90e2;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.8);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.9);
    --glow: 0 0 40px rgba(74, 144, 226, 0.5);
    --glow-intense: 0 0 50px rgba(74, 144, 226, 0.6);
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 3. GLOBAL RESET & BASE STYLES                                              */
/* ════════════════════════════════════════════════════════════════════════════ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: var(--transition);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(91, 127, 168, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(107, 163, 255, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: var(--z-base);
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 4. SCROLL PROGRESS BAR - Visual Feedback                                   */
/* ════════════════════════════════════════════════════════════════════════════ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 6px;
    background: linear-gradient(90deg, #4a90e2, #6ba3ff, #5b7fa8);
    background-size: 200% 100%;
    z-index: var(--z-toast);
    transition: width 0.1s linear;
    box-shadow: 0 2px 15px rgba(74, 144, 226, 0.6), 0 0 30px rgba(107, 163, 255, 0.4);
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 2px 15px rgba(74, 144, 226, 0.6), 0 0 30px rgba(107, 163, 255, 0.4);
        background-position: 0% center;
    }
    50% {
        box-shadow: 0 2px 20px rgba(74, 144, 226, 0.8), 0 0 40px rgba(107, 163, 255, 0.6);
        background-position: 100% center;
    }
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 5. NAVIGATION BAR - Fixed Header                                           */
/* ════════════════════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 0 rgba(74, 144, 226, 0.1);
    padding: 15px 0;
    z-index: var(--z-fixed);
    transition: var(--transition-spring);
    border-bottom: 1px solid rgba(74, 144, 226, 0.15);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: white;
    position: relative;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
    font-family: var(--font-family-primary);
    letter-spacing: -0.5px;
}

.logo-text .accent {
    color: #4a90e2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
    padding: 8px 0;
    letter-spacing: 0.2px;
    font-family: var(--font-family-primary);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #6ba3ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

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

.nav-link:hover {
    color: #4a90e2;
    transform: translateY(-2px);
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #4a90e2, #6ba3ff);
    border-radius: var(--radius-full);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.theme-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.theme-toggle:hover {
    border-color: #6ba3ff;
    transform: rotate(180deg) scale(1.15);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.5), 0 0 30px rgba(107, 163, 255, 0.3);
}

.theme-toggle i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 6. CONTACT HERO SECTION - Page Title Area                                 */
/* ════════════════════════════════════════════════════════════════════════════ */

.contact-hero {
    padding: 180px 40px 100px;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #2d4a7c 75%, #0a1628 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 25%, rgba(74, 144, 226, 0.2) 0%, transparent 25%),
        radial-gradient(circle at 85% 75%, rgba(107, 163, 255, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(91, 127, 168, 0.1) 0%, transparent 40%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(107, 163, 255, 0.1) 0%, transparent 70%);
    animation: rotate 40s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.page-title {
    font-size: 64px;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3), 0 0 40px rgba(74, 144, 226, 0.2);
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
    font-family: var(--font-family-primary);
}

.page-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-family-serif);
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.8;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 7. CONTACT CONTENT SECTION - Main Content Area                            */
/* ════════════════════════════════════════════════════════════════════════════ */

.contact-content {
    padding: 100px 40px;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 70% 30%, rgba(74, 144, 226, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(107, 163, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 8. CONTACT FORM SECTION - Form Container                                  */
/* ════════════════════════════════════════════════════════════════════════════ */

.contact-form-wrapper {
    background: var(--bg-primary);
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(74, 144, 226, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03), rgba(107, 163, 255, 0.02));
    pointer-events: none;
    z-index: 0;
}

.contact-form-wrapper.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-form-wrapper h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.5px;
    font-family: var(--font-family-primary);
    position: relative;
    z-index: 1;
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.7;
    font-size: 15px;
    font-family: var(--font-family-primary);
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 9. CONTACT FORM - Form Elements                                           */
/* ════════════════════════════════════════════════════════════════════════════ */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-family: var(--font-family-primary);
    letter-spacing: 0.2px;
}

.form-group label i {
    color: #4a90e2;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--radius-md);
    font-family: var(--font-family-primary);
    font-size: 15px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition-spring);
    font-weight: 400;
    letter-spacing: 0.2px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15), 0 0 20px rgba(74, 144, 226, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-family-primary);
}

.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 8px;
    display: none;
    font-weight: 600;
    font-family: var(--font-family-primary);
    animation: slideInError 0.3s ease;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-color);
    background: rgba(239, 68, 68, 0.05);
}

.form-group.error .error-message {
    display: block;
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 10. BUTTON COMPONENTS - Submit Button                                     */
/* ════════════════════════════════════════════════════════════════════════════ */

.btn {
    padding: 18px 40px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-spring);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 0;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2, #6ba3ff);
    color: white;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4), 0 0 30px rgba(107, 163, 255, 0.2);
    position: relative;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmerButton 3s infinite;
    z-index: -1;
}

@keyframes shimmerButton {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.6), 0 0 50px rgba(107, 163, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.01);
}

.btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px) scale(1.1);
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 11. SUCCESS MESSAGE - Form Success State                                  */
/* ════════════════════════════════════════════════════════════════════════════ */

.success-message {
    display: none;
    text-align: center;
    padding: 50px;
    background: var(--bg-gradient);
    border-radius: var(--radius-xl);
    margin-top: 30px;
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.success-message.show {
    display: block;
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-message i {
    font-size: 70px;
    color: var(--success-color);
    margin-bottom: 25px;
    animation: successBounce 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: inline-block;
}

@keyframes successBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.success-message h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
    font-family: var(--font-family-primary);
}

.success-message p {
    color: var(--text-secondary);
    font-size: 16px;
    font-family: var(--font-family-primary);
    font-weight: 400;
    letter-spacing: 0.2px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 12. CONTACT INFORMATION - Right Column                                    */
/* ════════════════════════════════════════════════════════════════════════════ */

.contact-info-wrapper {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.contact-info-wrapper.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-info-wrapper h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.5px;
    font-family: var(--font-family-primary);
}

.info-description {
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.7;
    font-size: 15px;
    font-family: var(--font-family-primary);
    font-weight: 400;
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 13. CONTACT INFO CARDS - Information Display                              */
/* ════════════════════════════════════════════════════════════════════════════ */

.contact-info-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--bg-primary);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-spring);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03), rgba(107, 163, 255, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.clickable-card {
    cursor: pointer;
    position: relative;
}

.clickable-card::after {
    content: 'Click to open';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 12px;
    color: #4a90e2;
    opacity: 0;
    transition: var(--transition-spring);
    font-weight: 700;
    background: rgba(74, 144, 226, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-family-primary);
    letter-spacing: 0.1px;
}

.clickable-card:hover::after {
    opacity: 1;
    transform: scale(1.05);
}

.clickable-card:hover {
    border-color: #4a90e2;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.3), var(--glow);
}

.clickable-card:active {
    transform: translateY(-7px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90e2, #6ba3ff);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
    transition: var(--transition-spring);
    position: relative;
    z-index: 1;
}

.info-card:hover .info-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.5);
}

.info-icon i {
    font-size: 26px;
    color: white;
    transition: transform 0.3s ease;
}

.info-card:hover .info-icon i {
    transform: scale(1.15);
}

.info-card h4 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 700;
    font-family: var(--font-family-primary);
    letter-spacing: -0.2px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    font-family: var(--font-family-primary);
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 14. RESPONSIVE DESIGN - Mobile Optimization                               */
/* ════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .contact-grid {
        gap: 50px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 32px;
    }

    .info-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 140px 20px 80px;
    }

    .page-title {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .page-subtitle {
        font-size: 19px;
    }

    .contact-content {
        padding: 80px 20px;
    }

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

    .contact-form-wrapper,
    .contact-info-wrapper {
        opacity: 1;
        transform: translateX(0);
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .form-description,
    .info-description {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .contact-form {
        gap: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 14px;
    }

    .btn {
        padding: 16px 32px;
        font-size: 15px;
        width: 100%;
    }

    .contact-info-cards {
        gap: 15px;
    }

    .info-card {
        padding: 20px;
        gap: 16px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon i {
        font-size: 22px;
    }

    .info-card h4 {
        font-size: 17px;
    }

    .info-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 24px;
    }

    .contact-hero {
        padding: 120px 15px 70px;
    }

    .page-title {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .page-subtitle {
        font-size: 17px;
    }

    .contact-content {
        padding: 60px 15px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 24px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 13px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .error-message {
        font-size: 13px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .success-message {
        padding: 35px 20px;
    }

    .success-message i {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .success-message h3 {
        font-size: 22px;
    }

    .success-message p {
        font-size: 14px;
    }

    .info-card {
        padding: 16px;
        gap: 12px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
    }

    .info-icon i {
        font-size: 18px;
    }

    .info-card h4 {
        font-size: 15px;
    }

    .info-card p {
        font-size: 12px;
    }

    .clickable-card::after {
        font-size: 11px;
        top: 10px;
        right: 12px;
        padding: 3px 8px;
    }
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* 15. UTILITY CLASSES & HELPERS                                             */
/* ════════════════════════════════════════════════════════════════════════════ */

* {
    transition-property: background-color, color, border-color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.preload * {
    transition: none !important;
}

/* ════════════════════════════════════════════════════════════════════════════ */
/* END OF ENHANCED CONTACT PAGE STYLESHEET v3.0                               */
/* ════════════════════════════════════════════════════════════════════════════ */

/* Social Section */
.social-section {
    background: var(--bg-primary);
    padding: 35px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.social-section h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 700;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn.linkedin {
    background: #0077b5;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.social-btn.github {
    background: #333;
    color: white;
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-btn i {
    font-size: 22px;
}

/* Map Container */
.map-container {
    background: var(--bg-primary);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.map-placeholder {
    height: 320px;
    background: linear-gradient(135deg, #0a1628, #1e3a5f, #2d4a7c);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.2), transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.map-placeholder i {
    font-size: 70px;
    margin-bottom: 20px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

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

.map-placeholder p {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.map-placeholder span {
    font-size: 15px;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

/* FAQ Section */
.faq-section {
    padding: 100px 40px;
    background: var(--bg-primary);
}

.section-title {
    font-size: 52px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #4a90e2, #6ba3ff, #5b7fa8);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.4);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 70px;
    margin-top: 25px;
    font-size: 18px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: 18px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(74, 144, 226, 0.2);
}

.faq-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-question {
    padding: 28px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-primary);
}

.faq-question h4 {
    font-size: 19px;
    color: var(--text-primary);
    flex: 1;
    font-weight: 700;
}

.faq-question i {
    color: #4a90e2;
    transition: transform 0.3s;
    font-size: 20px;
    background: rgba(74, 144, 226, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #4a90e2, #6ba3ff);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 35px 28px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #050d1a, #0a1628, #1e3a5f);
    color: white;
    padding: 90px 40px 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4a90e2, #6ba3ff, #4a90e2, transparent);
    animation: slideGlow 3s ease-in-out infinite;
}

@keyframes slideGlow {
    0%, 100% { opacity: 0.5; transform: translateX(-20%); }
    50% { opacity: 1; transform: translateX(20%); }
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08), transparent 70%);
    animation: pulse 10s ease-in-out infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
}

.footer-section h3 {
    margin-bottom: 25px;
    font-size: 26px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #6ba3ff);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
}

.footer-section h4 {
    margin-bottom: 25px;
    font-size: 20px;
    color: #6ba3ff;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-section a:hover {
    color: #4a90e2;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: rgba(74, 144, 226, 0.1);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #4a90e2, #6ba3ff);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.social-icons a:hover::before {
    width: 120%;
    height: 120%;
}

.social-icons a:hover {
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.5), 0 0 40px rgba(107, 163, 255, 0.3);
    border-color: #6ba3ff;
}

.social-icons a i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-icons a:hover i {
    transform: rotate(360deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
    position: relative;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90e2, #6ba3ff);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 999;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.5), 0 0 40px rgba(107, 163, 255, 0.2);
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.back-to-top:hover::before {
    width: 100%;
    height: 100%;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.3) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.back-to-top:hover {
    transform: translateY(-10px) scale(1.15);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.7), 0 0 60px rgba(107, 163, 255, 0.4);
}

.back-to-top:active {
    transform: translateY(-7px) scale(1.1);
}

.back-to-top i {
    position: relative;
    z-index: 1;
    font-size: 22px;
    animation: arrowBounce 2s infinite;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 40px 30px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #0a1628, #1e3a5f);
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInDown 0.5s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    
    @keyframes fadeInDown {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 35px 25px;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .map-placeholder {
        height: 280px;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
    }
    
    .back-to-top i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px 20px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 24px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 20px 25px;
    }

    .faq-question h4 {
        font-size: 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 25px 20px;
    }
}

/* Smooth transitions for theme switching */
* {
    transition-property: background-color, color, border-color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Disable transitions during page load */
.preload * {
    transition: none !important;
}