/* ================================================
   CONTACT PAGE STYLES
   ================================================ */

:root {
    --primary: #2596be;
    --secondary: #fd9909;
    --dark: #333;
    --light: #f4f4f4;
    --white: #fff;
    --gray: #888;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero-contact {
    min-height: 500px;
    background: url('../images/contact.jpeg') center/cover no-repeat; /* change filename as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-contact .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="%23000" /><rect width="1200" height="600" fill="url(%23grid)" /></svg>');
    opacity: 0.8;
}

.hero-contact .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-contact .hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #aaa 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

.hero-contact .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* ================================================
   CONTACT SECTION
   ================================================ */

.contact-section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* ================================================
   CONTACT INFO
   ================================================ */

.contact-info {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.contact-info .section-title {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.contact-info .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
}

.info-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(37, 150, 190, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.info-card:nth-child(2) { animation-delay: 0.3s; }
.info-card:nth-child(3) { animation-delay: 0.4s; }
.info-card:nth-child(4) { animation-delay: 0.5s; }
.info-card:nth-child(5) { animation-delay: 0.6s; }

.info-card:hover {
    background: rgba(37, 150, 190, 0.05);
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(37, 150, 190, 0.1);
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--secondary);
}

/* ================================================
   SOCIAL LINKS
   ================================================ */

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #0d8fb8);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.social-link:nth-child(1) { animation-delay: 0.7s; }
.social-link:nth-child(2) { animation-delay: 0.8s; }
.social-link:nth-child(3) { animation-delay: 0.9s; }
.social-link:nth-child(4) { animation-delay: 1s; }

.social-link:hover {
    background: linear-gradient(135deg, var(--secondary), #ff7f00);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(253, 153, 9, 0.3);
}

/* ================================================
   CONTACT FORM
   ================================================ */

.contact-form-container {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

.contact-form-container .section-title {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.contact-form-container .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(37, 150, 190, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(37, 150, 190, 0.2);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    transition: all 0.3s ease;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(136, 136, 136, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.1);
}

.form-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-highlight,
.form-group textarea:focus ~ .form-highlight {
    width: 100%;
}

.form-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 1rem;
    text-align: center;
}

/* ================================================
   BUTTONS
   ================================================ */

.btn {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    min-width: fit-content;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0d8fb8);
    color: var(--white);
    border: 2px solid transparent;
    margin-top: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 150, 190, 0.3);
    background: linear-gradient(135deg, #0d8fb8, var(--primary));
}

/* ================================================
   MAP SECTION
   ================================================ */

.map-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.map-placeholder iframe {
    width: 100%;
    display: block;
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    .hero-contact {
        min-height: 350px;
    }

    .hero-contact .hero-heading {
        font-size: 2.2rem;
    }

    .hero-contact .hero-subtitle {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-container {
        order: 1;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.2rem;
    }

    .info-icon {
        min-width: auto;
        font-size: 1.8rem;
    }

    .info-content h3 {
        margin-bottom: 0.3rem;
    }

    .info-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-contact {
        min-height: 280px;
    }

    .hero-contact .hero-heading {
        font-size: 1.6rem;
    }

    .hero-contact .hero-subtitle {
        font-size: 0.9rem;
    }

    .contact-grid {
        gap: 1rem;
    }

    .info-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-title::after {
        width: 50px;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .container {
        padding: 0 0.75rem;
    }
}
