/* ==========================================================================
   CONTACT PAGE - PROFESSIONAL DESIGN
   Visually Stunning & Modern Contact Interface
   ========================================================================== */

/* ==========================================================================
   HERO SECTION - ENHANCED DESIGN
   ========================================================================== */
.contact-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    padding: 6rem 5% 5rem;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(43, 43, 43, 0.82) 0%,
        rgba(31, 31, 31, 0.58) 45%,
        rgba(22, 51, 0, 0.58) 100%
    );
    z-index: 1;
}

.contact-hero video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(58%);
    transform: scale(1.03);
    z-index: 0;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 3rem 2rem;
   
}

.contact-hero-tagline h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-hero-tagline .highlight {
    position: relative;
    color: var(--primary-color);
}
.contact-hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Enhanced Animations */
@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes highlightPulse {
    0%, 100% { 
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% { 
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
}

@keyframes underlineGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(147, 197, 114, 0.2);
        transform: scaleX(0.9);
    }
    50% {
        box-shadow: 0 0 25px rgba(147, 197, 114, 0.2);
        transform: scaleX(1);
    }
}

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

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
    filter: drop-shadow(0 -5px 10px rgba(0, 0, 0, 0.2));
}

/* ==========================================================================
   CONTACT GRID SECTION - PROFESSIONAL LAYOUT
   ========================================================================== */
.contact-grid-section {
    padding: 8rem 5%;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
}

.contact-grid-section::before {
    content: none;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.section-header p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

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

/* ==========================================================================
   CONTACT FORM - PROFESSIONAL DESIGN
   ========================================================================== */
.contact-form-container {
    background: rgba(31, 31, 31, 0.72);
    backdrop-filter: blur(16px);
    border-radius: 18px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: none;
}

.form-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-header h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 2rem;
    position: relative;
}

.contact-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    font-family: var(--font-ui);
    letter-spacing: 0.01em;
    color: var(--text-primary);
    text-transform: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 20, 0.7);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-shadow: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(147, 197, 114, 0.2);
    background: rgba(8, 12, 20, 0.85);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: normal;
}

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

/* Professional Custom Dropdown */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-selected {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 20, 0.7);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-shadow: none;
}

.dropdown-selected:hover,
.dropdown-selected.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(147, 197, 114, 0.2);
    background: rgba(8, 12, 20, 0.85);
}

.dropdown-selected .placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.dropdown-arrow {
    font-size: 0.875rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.dropdown-selected.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
  background: var(--dropdown-bg);
  border: var(--dropdown-border);
  border-radius: var(--dropdown-radius);
  box-shadow: var(--dropdown-shadow);
  padding: 8px;
    opacity: 0;
    visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-speed) ease;
    z-index: 1000;
  overflow: hidden;
}

.dropdown-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
  padding: 10px 12px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: 1px solid transparent;
  border-radius: var(--dropdown-item-radius);
  margin: 5px 0;
    position: relative;
    overflow: hidden;
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(147, 197, 114, 0.2), 
        transparent);
    transition: left 0.3s ease;
}

.dropdown-option:hover {
  background: var(--dropdown-item-hover-bg);
  border-color: var(--dropdown-item-hover-border);
}

.dropdown-option:hover::before {
    left: 100%;
}

.dropdown-option.selected {
  color: var(--text-primary);
  background: var(--dropdown-item-selected-bg);
  border-color: var(--dropdown-item-selected-border);
  box-shadow: 0 0 14px rgba(147, 197, 114, 0.2);
  font-weight: 600;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.checkbox-group a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.submit-btn {
  color: white;
  background: linear-gradient(
    135deg,
    #a9d18e 0%,
    #6a8b4d 48%,
    #163300 100%
  );
  background-size: 300% 300%;
  border: 1px solid rgba(106, 139, 77, 0.38);
  box-shadow: 0 4px 15px rgba(22, 51, 0, 0.28), 0 0 26px rgba(106, 139, 77, 0.22),
    inset 0 1px 0 rgba(198, 221, 179, 0.08);
  position: relative;
  overflow: hidden;
  animation: gradientShift 4s ease-in-out infinite;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 221, 179, 0.16),
    transparent
  );
  transition: left 0.5s ease;
}

.submit-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(177, 206, 148, 0.18) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  pointer-events: none;
}

.submit-btn:hover {
    background: linear-gradient(
        135deg,
        #b4da99 0%,
        #76995a 48%,
        #1a3c06 100%
    );
    background-size: 300% 300%;
    box-shadow: 0 8px 32px rgba(22, 51, 0, 0.36),
        0 0 0 1px rgba(106, 139, 77, 0.24), inset 0 1px 0 rgba(198, 221, 179, 0.1);
    transform: scale(1.02);
    animation: gradientShift 1.5s ease-in-out infinite,
        buttonPulse 2s ease-in-out infinite;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover::after {
    width: 120px;
    height: 120px;
    opacity: 0.6;
}

.submit-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 16px rgba(22, 51, 0, 0.32);
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 8px 32px rgba(22, 51, 0, 0.34),
        0 0 0 3px rgba(106, 139, 77, 0.3), inset 0 1px 0 rgba(198, 221, 179, 0.08);
    animation: gradientShift 1.5s ease-in-out infinite,
        buttonPulse 2s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(147, 197, 114, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 12px 40px rgba(147, 197, 114, 0.7),
            0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.submit-btn:focus:not(:hover) {
    transform: translateY(-2px);
}

/* ==========================================================================
   CONTACT INFO - MODERN CARDS
   ========================================================================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(10, 14, 22, 0.7);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.info-card::before {
    content: none;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.16);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

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

.info-icon i {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.info-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 1rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.info-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

.info-card a:hover::after {
    width: 100%;
}

/* ==========================================================================
   MAP SECTION - ENHANCED DESIGN
   ========================================================================== */
.map-section {
    padding: 6rem 5%;
    background: linear-gradient(180deg, 
        var(--dark-bg) 0%, 
        rgba(3, 3, 8, 0.95) 100%);
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(147, 197, 114, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(179, 214, 156, 0.18) 0%, transparent 50%);
    pointer-events: none;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.map {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
}

.contact-guidance {
    padding: 2rem;
}

.contact-guidance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.contact-guidance-card {
    background: rgba(8, 12, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.contact-guidance-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.contact-guidance-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .contact-guidance {
        padding: 1.25rem;
    }

    .contact-guidance-grid {
        grid-template-columns: 1fr;
    }
}

.map iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(20%) contrast(1.1) brightness(0.9);
    transition: filter 0.3s ease;
}

.map:hover iframe {
    filter: grayscale(0%) contrast(1.2) brightness(1);
}

/* ==========================================================================
   FAQ SECTION - MODERN ACCORDION
   ========================================================================== */


/* ==========================================================================
   CTA SECTION - ENHANCED DESIGN
   ========================================================================== */
.cta {
    padding: 6rem 5%;
    background: linear-gradient(135deg, 
        rgba(147, 197, 114, 0.2) 0%, 
        rgba(31, 31, 31, 0.18) 50%, 
        rgba(179, 214, 156, 0.18) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(147, 197, 114, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, 
        var(--text-primary) 0%, 
        var(--primary-color) 50%, 
        var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--accent-color-2) 50%, 
        var(--secondary-color) 100%);
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    font-family: var(--font-ui);
    letter-spacing: 0.025em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(147, 197, 114, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(147, 197, 114, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background-position: 100% 0;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-small {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 1rem;
    font-style: italic;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container,
    .contact-info {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 60vh;
        padding: 6rem 5% 4rem;
    }
    
    .contact-hero-content {
        padding: 2rem 1.5rem;
    }
    
    .contact-grid-section,
    .map-section,
    .contact-faq,
    .cta {
        padding: 4rem 5%;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-answer p {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-content {
        padding: 1.5rem 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.border-none {
    border: none !important;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* ==========================================================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.contact-form input:focus,
.contact-form textarea:focus,
.dropdown-selected:focus,
.submit-btn:focus,
.cta-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .contact-form-container,
    .info-card {
        border-width: 2px;
    }
    
    .contact-form input,
    .contact-form textarea,
    .dropdown-selected {
        border-width: 2px;
    }
}

.contact-hero {
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 6vw 4rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(43, 43, 43, 0.84) 0%,
        rgba(31, 31, 31, 0.64) 48%,
        rgba(22, 51, 0, 0.58) 100%
    );
    z-index: 1;
}

.contact-hero video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(60%);
    transform: scale(1.03);
    z-index: 0;
}

.contact-hero-content {
    max-width: 760px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.contact-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.contact-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.contact-hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-action {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 16, 24, 0.7);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.contact-action.muted {
    color: rgba(255, 255, 255, 0.7);
}

.contact-action:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.contact-main {
    padding: 3rem 6vw 6rem;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form-card,
.contact-info-card {
    background: rgba(31, 31, 31, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

.contact-form-card h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.contact-form-note {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-status {
    display: none;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form-status.has-message {
    display: block;
}

.contact-form-status-success {
    display: block;
    color: #d7f0c8;
    background: rgba(147, 197, 114, 0.12);
    border-color: rgba(147, 197, 114, 0.28);
}

.contact-form-status-error {
    display: block;
    color: #ffd9d3;
    background: rgba(170, 71, 49, 0.16);
    border-color: rgba(170, 71, 49, 0.28);
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row.inline {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.contact-form label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 20, 0.7);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
}

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

.contact-form .error {
    color: #ffb5a7;
    font-size: 0.875rem;
    line-height: 1.5;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: rgba(147, 197, 114, 0.2);
    box-shadow: 0 0 0 2px rgba(147, 197, 114, 0.2);
}

.submit-btn {
    margin-top: 0.5rem;
    padding: 1.1rem 1.75rem;
    border-radius: 180px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-1px);
}

.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 10, 0.72);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 4000;
}

.success-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    width: min(420px, 100%);
    padding: 28px;
    border-radius: 24px;
    background: rgba(26, 31, 25, 0.96);
    border: 1px solid rgba(147, 197, 114, 0.22);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: rgba(147, 197, 114, 0.14);
    border: 1px solid rgba(147, 197, 114, 0.24);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.success-modal h3 {
    margin-bottom: 0.75rem;
}

.success-modal p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.success-action {
    margin-top: 1.5rem;
    padding: 0.9rem 1.3rem;
    border-radius: 999px;
    border: 1px solid rgba(147, 197, 114, 0.24);
    background: rgba(147, 197, 114, 0.14);
    color: var(--text-primary);
    cursor: pointer;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-block h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
}

.contact-info-block p,
.contact-info-block a {
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-info-block a:hover {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 960px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 5rem 6vw 3rem;
    }
    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }
}
