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

header {
    background: var(--white);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo svg {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 48px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 300;
    font-size: 17px;
    transition: color 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

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

.nav-buttons {
    display: flex;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
}

/* ================================
   CONTACT PAGE STYLES
   ================================ */

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form Container */
.contact-form-container {
    background: #ffffff;
}

.contact-form-container h2 {
    font-size: 42px;
    font-weight: 700;
    color: #010101;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.form-description {
    font-size: 18px;
    color: #010101;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff5d15;
    box-shadow: 0 0 0 3px rgba(255, 93, 21, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    margin-top: 2px;
}

.checkbox-label a {
    color: #ff5d15;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    margin-top: 8px;
    font-size: 18px;
    padding: 18px 40px;
    width: 100%;
}

/* Form Message */
.form-message {
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

/* Contact Info Container */
.contact-info-container {
    background: #F7F8FB;
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    position: sticky;
    top: 100px;
}

.contact-info-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: #010101;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.info-description {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Contact Info Items */
.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #ff5d15 0%, #ff8c5a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    text-transform: none;
}

.contact-details a {
    display: block;
    color: #ff5d15;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: #ff4c00;
    text-decoration: underline;
}

.contact-details p,
.contact-details span {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    display: block;
}

/* Social Links */
.social-links {
    padding-top: 32px;
    border-top: 2px solid #e5e7eb;
}

.social-links h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    text-transform: none;
}

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

.social-link {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ff5d15;
    border-color: #ff5d15;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ================================
   RESPONSIVE STYLES
   ================================ */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info-container {
        position: static;
    }
}

@media (max-width: 968px) {
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .hamburger-line {
        width: 100%;
        height: 3px;
        background: var(--gray-900);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

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

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

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

    .nav-menu {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 73px);
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 40px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

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

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-link {
        display: block;
        padding: 20px 0;
        font-size: 18px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-buttons {
        position: fixed;
        bottom: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        background: var(--white);
        padding: 20px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-top: 1px solid var(--gray-200);
        flex-direction: column;
    }

    .nav-buttons.active {
        right: 0;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-form-container h2 {
        font-size: 32px;
    }

    .contact-info-container h2 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info-container {
        padding: 32px 24px;
    }

    .btn-submit {
        font-size: 16px;
        padding: 16px 32px;
    }

    .hero-text h1 {
        font-size: 48px !important;
        line-height: 48px !important;
    }

    .hero-text p {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .contact-form-container h2 {
        font-size: 28px;
    }

    .contact-info-container h2 {
        font-size: 20px;
    }

    .form-description,
    .info-description {
        font-size: 15px;
    }

    .contact-form {
        gap: 20px;
    }

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

    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }

    .hero-text h1 {
        font-size: 60px !important;
        line-height: 55px !important;
    }
    .feature-card>h3 {
        font-size: 24px!important;
    }
}

/* Loading State */
.contact-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

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

/* Input Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

.hero-text h1 {
    padding-top: 60px;
    margin-top: 0px;
}

.hero-text p {
    padding-bottom: 60px;
}