.main-content {
    flex: 1;
    margin-top: 0;
    padding: var(--space-xl) 0;
}

.contact-hero {
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: center;
    background: linear-gradient(180deg, var(--color-base-100) 0%, var(--color-base-200) 100%);
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--color-accent);
    border-radius: 30px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    margin-bottom: var(--space-md);
    backdrop-filter: blur(10px);
}

.contact-hero-heading {
    font-size: var(--font-size-xl);
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.contact-hero-description {
    font-size: var(--font-size-md);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.contact-info {
    padding-right: var(--space-lg);
}

.contact-info-title {
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-method-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-method-content h3 {
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    font-size: 1.25rem;
}

.contact-method-content p {
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
}

.contact-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

.social-media {
    margin-top: var(--space-xl);
}

.social-media-title {
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 1.25rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    transform: translateY(-3px);
}

.smartphone-form-container {
    position: relative;
    width: 100%;
}

.smartphone-frame {
    background: #1a1a1a;
    border-radius: 50px;
    padding: 25px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.6),
        inset 0 0 0 3px rgba(255, 255, 255, 0.1);
    position: relative;
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
}

.smartphone-notch {
    width: 220px;
    height: 30px;
    background: #1a1a1a;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.smartphone-screen {
    background: var(--color-base-200);
    border-radius: 40px;
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    min-height: 650px;
    border: 3px solid rgba(255, 255, 255, 0.08);
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    margin-bottom: var(--space-lg);
    color: var(--color-text-tertiary);
    font-size: 0.9375rem;
}

.status-time {
    font-weight: 600;
    font-size: 1rem;
}

.status-icons {
    display: flex;
    gap: 0.75rem;
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.form-header-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: white;
    font-size: 2.25rem;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

.form-header h2 {
    color: var(--color-text-primary);
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
}

.form-header p {
    color: var(--color-text-tertiary);
    font-size: 1.0625rem;
    line-height: 1.5;
}

.smartphone-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 0.625rem;
    color: var(--color-text-primary);
    font-weight: 500;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 1.0625rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238b949e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
}

#projectType {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#projectType option {
    color: black;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#projectType:focus {
    border-color: var(--color-accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

.form-footer {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-disclaimer {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.submit-button {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, var(--color-accent), #0891b2);
    color: white;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.smartphone-home-button {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at center, #2a2a2a, #1a1a1a);
    border-radius: 50%;
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.75rem;
}

.smartphone-side-button {
    position: absolute;
    width: 4px;
    height: 50px;
    background: #2a2a2a;
    border-radius: 2px;
    z-index: 1;
}

.smartphone-side-button.volume-up {
    top: 100px;
    right: -4px;
}

.smartphone-side-button.volume-down {
    top: 160px;
    right: -4px;
}

.smartphone-side-button.power {
    top: 80px;
    left: -4px;
}

@media (max-width: 1400px) {
    .contact-grid {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .contact-grid {
        gap: var(--space-lg);
        max-width: 1000px;
    }

    .smartphone-frame {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    :root {
        --space-xl: 5rem;
        --space-lg: 3rem;
        --font-size-xl: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        max-width: 800px;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-method {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .smartphone-frame {
        max-width: 450px;
        border-radius: 40px;
    }

    .smartphone-screen {
        border-radius: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --font-size-xl: 2rem;
    }

    .smartphone-frame {
        max-width: 400px;
        padding: 20px;
        border-radius: 35px;
    }

    .smartphone-screen {
        padding: var(--space-md);
        min-height: 600px;
        border-radius: 25px;
    }

    .smartphone-notch {
        width: 180px;
        height: 25px;
    }

    .form-header-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    :root {
        --space-xl: 3rem;
        --font-size-xl: 1.75rem;
    }

    .main-content {
        margin-top: 70px;
    }

    .contact-hero-heading {
        font-size: 1.75rem;
    }

    .smartphone-frame {
        max-width: 350px;
        padding: 15px;
        border-radius: 30px;
    }

    .smartphone-screen {
        padding: var(--space-md);
        min-height: 550px;
        border-radius: 20px;
    }

    .smartphone-notch {
        width: 150px;
        height: 20px;
    }

    .smartphone-home-button {
        width: 60px;
        height: 60px;
        bottom: -30px;
        font-size: 1.5rem;
    }

    .form-header-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .floating-button {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

@media (max-width: 400px) {
    .smartphone-frame {
        max-width: 320px;
        padding: 12px;
        border-radius: 25px;
    }

    .smartphone-screen {
        padding: var(--space-sm);
        min-height: 500px;
        border-radius: 18px;
    }

    .smartphone-notch {
        width: 130px;
        height: 18px;
    }
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.modal h3 {
  margin: 0 0 1rem 0;
  color: #333;
}
.modal p {
  margin: 0 0 1.5rem 0;
  color: #555;
}
.modal button {
  background: #4caf50;
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.modal button:hover {
  background: #388e3c;
}