.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 180px 0 80px;
}

/* Page Header */
.contact-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    
}

.contact-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 50%, #1a8fc9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: linear-gradient(145deg, rgba(15, 20, 45, 0.6), rgba(10, 14, 39, 0.4));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(41, 170, 226, 0.2);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease forwards;
}

.info-card:nth-child(2) { animation-delay: 0.1s; }
.info-card:nth-child(3) { animation-delay: 0.2s; }
.info-card:nth-child(4) { animation-delay: 0.3s; }

.info-card:hover {
    transform: translateY(-5px) translateX(0);
    border-color: rgba(41, 170, 226, 0.5);
    box-shadow: 0 20px 60px rgba(41, 170, 226, 0.15);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.info-icon {
    width: 56px;
    height: 56px;
    background: rgba(41, 170, 226, 0.15);
    border: 1px solid rgba(41, 170, 226, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(41, 170, 226, 0.4);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.info-card-content {
    padding-right: 72px;
}

.info-card-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 12px;
}

.info-card-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.info-card-content a:hover {
    color: #fff;
    transform: translateX(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(15, 20, 45, 0.6), rgba(10, 14, 39, 0.4));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(41, 170, 226, 0.2);
    border-radius: 24px;
    padding: 48px;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards 0.2s;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.6);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group label span {
    color: #ff6b6b;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font), sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    color: rgb(255, 255, 255);
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(41, 170, 226, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a8fc9 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font), sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(41, 170, 226, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(41, 170, 226, 0.5);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Map Section */
.map-section {
    background: linear-gradient(145deg, rgba(15, 20, 45, 0.6), rgba(10, 14, 39, 0.4));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(41, 170, 226, 0.2);
    border-radius: 24px;
    padding: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.map-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(41, 170, 226, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.3) brightness(0.8);
}

/* Social Links */
.social-section {
    text-align: center;
    margin-top: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.social-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link {
    width: 56px;
    height: 56px;
    background: rgba(41, 170, 226, 0.1);
    border: 1px solid rgba(41, 170, 226, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 24px rgba(41, 170, 226, 0.4);
}


/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */

/* Large screens (laptops/desktops) */
@media (max-width: 1400px) {
    .contact-wrapper {
        padding: 0 20px;
    }

    .contact-grid {
        gap: 30px;
    }

    .contact-header h1 {
        font-size: 3rem;
    }

    .contact-header p {
        font-size: 1.1rem;
    }
}

/* Medium screens (1024px and below) */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-wrapper,
    .info-card,
    .map-section {
        padding: 32px;
    }

    .contact-header h1 {
        font-size: 2.8rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .map-container {
        height: 350px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2.4rem;
    }

    .contact-header p {
        font-size: 0.95rem;
    }

    .info-card {
        padding: 24px;
    }

    .info-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .info-card-content {
        padding-right: 0;
        margin-top: 12px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .map-section {
        padding: 24px;
    }

    .map-container {
        height: 300px;
    }

    .social-links {
        gap: 12px;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .contact-header p {
        font-size: 0.9rem;
    }

    .info-card {
        padding: 20px;
    }

    .info-card-header {
        gap: 8px;
    }

    .form-control {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 16px 24px;
        font-size: 1rem;
    }

    .map-container {
        height: 250px;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }

    .social-section h3 {
        font-size: 1.3rem;
    }
}

/* Extra small phones (360px and below) */
@media (max-width: 360px) {
    .contact-header h1 {
        font-size: 1.8rem;
    }

    .contact-header p {
        font-size: 0.85rem;
    }

    .form-control {
        padding: 12px 14px;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .info-card {
        padding: 18px;
    }

    .map-container {
        height: 220px;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }
}
