/* ===================================
   CONTACT US PAGE REDESIGN
   Premium Design with Modern UI/UX
   =================================== */

/* ===================================
   HERO SECTION
   =================================== */
.contact-page-header {
    position: relative;
    min-height: 50vh;
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, #1a1b3c 0%, #2d2e6e 50%, #1a1b3c 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1531415074968-036ba1b575da?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: 1;
}

.contact-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-color, #fff), transparent);
    z-index: 2;
}

.contact-page-header .container {
    position: relative;
    z-index: 3;
}

.contact-page-header .page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.contact-page-header .page-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.7;
    font-weight: 400;
}

/* Decorative floating elements */
.contact-floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: contactFloat 6s ease-in-out infinite;
}

.contact-floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
}

.contact-floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--secondary-color, #f0c969);
    bottom: -50px;
    left: -50px;
    animation-delay: -2s;
}

@keyframes contactFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ===================================
   CONTACT CARDS SECTION
   =================================== */
.contact-cards-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #ff8a50 100%);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a50 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(242, 106, 54, 0.3);
}

.contact-info-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card-icon i {
    font-size: 2rem;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2d2e6e;
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: #d35400;
}

/* ===================================
   MAIN CONTACT SECTION
   =================================== */
.contact-main-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form Card */
.contact-form-wrapper {
    background: linear-gradient(135deg, #2d2e6e 0%, #1a1b3c 100%);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form-new .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-new input,
.contact-form-new textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-new input::placeholder,
.contact-form-new textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form-new input:focus,
.contact-form-new textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(242, 106, 54, 0.2);
}

.contact-form-new textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form-new .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form-new .btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a50 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(242, 106, 54, 0.4);
}

.contact-form-new .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(242, 106, 54, 0.5);
}

/* Contact Details Side */
.contact-details-wrapper {
    padding: 1rem 0;
}

.contact-details-header {
    margin-bottom: 2.5rem;
}

.contact-details-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #2d2e6e;
    margin-bottom: 0.75rem;
}

.contact-details-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.contact-detail-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(242, 106, 54, 0.1) 0%, rgba(242, 106, 54, 0.05) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contact-detail-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #2d2e6e;
    margin-bottom: 0.25rem;
}

.contact-detail-content p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.contact-detail-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Operating Hours Card */
.contact-hours-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d35400 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    color: white;
}

.contact-hours-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-hours-card p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.95;
}

/* Social Links */
.contact-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-social-link {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social-link i {
    font-size: 1.25rem;
    color: #2d2e6e;
    transition: color 0.3s ease;
}

.contact-social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a50 100%);
}

.contact-social-link:hover i {
    color: white;
}

/* ===================================
   MAP SECTION
   =================================== */
.contact-map-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.contact-map-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-map-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
}

.contact-map-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #2d2e6e;
    margin-bottom: 0.75rem;
}

.contact-map-header p {
    font-size: 1.1rem;
    color: #666;
}

.contact-map-wrapper {
    position: relative;
    height: 450px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-map-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    flex-wrap: wrap;
}

.contact-map-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.contact-map-feature i {
    font-size: 1rem;
    color: var(--primary-color);
}

.contact-map-feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d2e6e;
}

.contact-directions-cta {
    text-align: center;
    padding: 0 2rem 2.5rem;
}

.contact-directions-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2d2e6e 0%, #1a1b3c 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(45, 46, 110, 0.3);
}

.contact-directions-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(45, 46, 110, 0.4);
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards-grid .contact-info-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-main-grid {
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrapper {
        order: 2;
    }

    .contact-details-wrapper {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-page-header {
        min-height: 45vh;
        padding: 8rem 0 4rem;
        background-attachment: scroll;
    }

    .contact-page-header::before {
        background-attachment: scroll;
    }

    .contact-cards-section {
        margin-top: -60px;
        padding: 2.5rem 0;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-cards-grid .contact-info-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .contact-form-new .form-row {
        grid-template-columns: 1fr;
    }

    .contact-map-features {
        flex-direction: column;
        align-items: center;
    }

    .contact-map-wrapper {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-info-card {
        padding: 2rem 1.5rem;
    }

    .contact-card-icon {
        width: 70px;
        height: 70px;
    }

    .contact-detail-item {
        padding: 1.25rem;
    }

    .contact-social-links {
        justify-content: center;
    }
}

/* ===================================
   DARK MODE SUPPORT
   =================================== */
[data-theme="dark"] .contact-cards-section,
[data-theme="dark"] .contact-main-section,
[data-theme="dark"] .contact-map-section {
    background: var(--dark-bg, #1a1b2e);
}

[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .contact-detail-item,
[data-theme="dark"] .contact-map-container {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contact-info-card h3,
[data-theme="dark"] .contact-detail-content h4,
[data-theme="dark"] .contact-map-header h2,
[data-theme="dark"] .contact-details-header h2 {
    color: white;
}

[data-theme="dark"] .contact-info-card p,
[data-theme="dark"] .contact-detail-content p,
[data-theme="dark"] .contact-map-header p,
[data-theme="dark"] .contact-details-header p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .contact-social-link {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contact-social-link i {
    color: white;
}

[data-theme="dark"] .contact-map-features {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .contact-map-feature {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .contact-map-feature span {
    color: white;
}