/* Contact page styles - Modern Redesign */

.page-header {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--deep-charcoal);
}

/* Large Pink Blob - Top Left */
.page-header::after {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background-color: var(--bubblegum-pink);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.9;
    filter: blur(40px);
    z-index: 0;
    animation: float-blob 20s ease-in-out infinite alternate;
}

/* Large Blue Blob - Bottom Right */
.page-header::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background-color: var(--azure-blue);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.9;
    filter: blur(40px);
    z-index: 0;
    animation: float-blob 25s ease-in-out infinite alternate-reverse;
}

/* Yellow Blob - Center */
.page-header .container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 230px;
    background-color: var(--golden-yellow);
    border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%;
    opacity: 0.85;
    filter: blur(35px);
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
}

/* Additional blob removed */

@keyframes float-blob {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(30px, 30px) rotate(15deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(20px, 20px) rotate(10deg);
    }
}

.page-title {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Removed title underline */

.page-description {
    color: var(--light-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-section {
    padding: 80px 0 100px;
    background-color: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Form Main Area */
.contact-form-main {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 35px;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 12px;
}

.form-header p {
    color: var(--dark-gray);
    font-size: 1.05rem;
}

/* Contact Form Styles */
.contact-form {
    background-color: #fff;
    padding: 0;
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--deep-charcoal);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background-color: #fafafa;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--azure-blue);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 185, 255, 0.1);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.submit-group {
    text-align: left;
    margin-top: 30px;
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background-color: var(--bubblegum-pink);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(255, 78, 162, 0.3);
}

.btn-contact-submit:hover {
    background-color: var(--azure-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 185, 255, 0.4);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-contact-submit:hover .btn-icon {
    transform: translateX(5px);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.info-card a {
    color: var(--azure-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--bubblegum-pink);
}

.highlight-card {
    background-color: var(--azure-blue);
    color: white;
}

.highlight-card h3 {
    color: white;
    margin-bottom: 15px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span {
    color: white;
    font-size: 0.95rem;
}

.hours-item span:first-child {
    font-weight: 500;
}

.hours-item span:last-child {
    font-weight: 600;
}

.form-success,
.form-error {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.form-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.form-error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

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

.form-group {
    margin-bottom: 0;
}

/* Name field - full width */
.form-group:nth-child(1),
/* Company field - full width */
.form-group:nth-child(2),
/* Message field - full width */
.form-group:nth-child(5),
/* Submit button - full width */
.form-group:nth-child(6) {
    grid-column: span 2;
}

/* Email and Phone fields side by side - each take 1 column */
.form-group:nth-child(3),
.form-group:nth-child(4) {
    grid-column: span 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--deep-charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--deep-charcoal);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azure-blue);
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #dc3545;
}

.error-feedback {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
}

.form-group button {
    width: 100%;
    padding: 14px;
    cursor: pointer;
}

.map-section {
    height: 400px;
    position: relative;
}

.map-placeholder {
    background-color: var(--light-gray);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.map-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.map-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-charcoal);
    margin-bottom: 15px;
}

.map-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

/* Success/Error Messages */
.form-success,
.form-error {
    background-color: #eafbf4;
    border-left: 4px solid #00d27a;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 12px;
    text-align: center;
}

.form-error {
    background-color: #fff0f0;
    border-left-color: #ff3b30;
}

.success-icon {
    font-size: 48px;
    color: #00d27a;
    margin-bottom: 15px;
}

.error-icon {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    color: white;
    background-color: #ff3b30;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    line-height: 48px;
    margin-bottom: 15px;
}

.form-success h3,
.form-error h3 {
    margin-top: 0;
    color: #333;
    margin-bottom: 10px;
}

.error-feedback {
    color: #ff3b30;
    font-size: 0.85rem;
    margin-top: 5px;
}

.has-error input,
.has-error textarea {
    border-color: #ff3b30;
}

/* Responsive styles */
@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form-main {
        padding: 40px 30px;
    }

    .info-card {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 100px 0 60px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-description {
        font-size: 1rem;
    }

    .contact-form-main {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .form-header h2 {
        font-size: 1.8rem;
    }

    .form-header p {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
    }

    .btn-contact-submit {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }

    .contact-info-sidebar {
        gap: 15px;
    }

    /* Stack all form fields vertically on mobile */
    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group:nth-child(1),
    .form-group:nth-child(2),
    .form-group:nth-child(3),
    .form-group:nth-child(4),
    .form-group:nth-child(5),
    .form-group:nth-child(6) {
        grid-column: span 1;
    }
}