/* ===================================
   Contact Page Styles
   =================================== */

/* Mobile menu toggle positioning adjustment to match other pages */
@media (max-width: 1023px) {
    .mobile-menu-toggle {
        /* margin-left: var(--space-4) !important; */
        /* margin-right: 0 !important; */
    }
}

/* Hero Section */
.contact-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.contact-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1;
    filter: brightness(0.5);
}

.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(74, 58, 255, 0.9) 0%, rgba(34, 193, 195, 0.8) 100%); */
    z-index: 2;
}

.contact-hero .container {
    position: relative;
    z-index: 4;
}

.contact-hero .hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.contact-hero .hero-tag {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: var(--text-sm, 0.875rem);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.contact-hero .hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-hero .title-line {
    display: block;
}

.contact-hero .title-line.highlight {
    background: linear-gradient(135deg, #00f5ff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero .hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-details a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary);
}

/* Contact Form */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

.form-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 58, 255, 0.1);
}

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

.form-error {
    display: block;
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-error.visible {
    opacity: 1;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.8rem;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

/* Office Locations */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.office-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.office-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.office-flag {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.office-flag i {
    font-size: 1.5rem;
    color: white;
}

.office-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.office-type {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.office-address {
    margin-bottom: 1.5rem;
}

.office-address p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.office-contact {
    margin-bottom: 1.5rem;
}

.office-contact a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.office-contact a:hover {
    color: var(--secondary);
}

.office-hours h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.office-hours p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(74, 58, 255, 0.05);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Fix contact hero section for mobile */
    .contact-hero {
        min-height: 100vh;
        height: 100vh;
    }
    
    .contact-hero .hero-background {
        width: 100vw;
        height: 100vh;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-hero .hero-image {
        width: 100vw;
        height: 100vh;
        left: 50%;
        transform: translateX(-50%);
        background-size: cover;
        background-position: center center;
        object-fit: cover;
    }
    
    .contact-hero .hero-overlay {
        width: 100vw;
        height: 100vh;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-hero .hero-content {
        padding-top: 20vh;
        text-align: center !important;
    }
    
    .contact-hero .hero-tag {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        width: max-content !important;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .contact-cards,
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .office-header {
        flex-direction: column;
        text-align: center;
    }
    
    .office-flag {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-card,
    .office-card {
        padding: 2rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Loading States */
.form-loading .btn {
    opacity: 0.7;
    pointer-events: none;
}

.form-loading .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.form-success {
    background: #222;
    color: #b6fcb6;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    display: none;
}

.form-success.visible {
    display: block;
} 

.contact-hero .hero-title {
  font-size: 2.4rem;
  font-weight: 700;
}

.contact-hero .hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
}

@media (max-width: 576px) {
  .contact-hero .hero-title {
    font-size: 2rem;
  }
} 

.contact-card, .form-container {
  background: #181818;
  color: #e0e0e0;
  border: 1.5px solid #333;
  box-shadow: 0 4px 24px rgba(255,255,255,0.04);
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.contact-card h3, .form-header h2 {
  color: #f5f5f5;
}

.contact-card p, .form-header p {
  color: #e0e0e0;
}

.contact-icon {
  background: #232323;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 2px solid #333;
  box-shadow: 0 2px 8px rgba(255,255,255,0.08);
}

.contact-icon i {
  font-size: 2rem;
  color: #f5f5f5;
}

.form-group label {
  color: #e0e0e0;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #232323;
  color: #e0e0e0;
  border: 2px solid #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #f5f5f5;
  box-shadow: 0 0 0 3px rgba(245, 245, 245, 0.08);
}

.form-success {
  background: #222;
  color: #b6fcb6;
} 

#contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  border: 2px solid #333;
  margin: 2rem 0;
} 