/* Contact Page Styles */
:root {
    --primary-color: #912976;
    --accent-color: #ff4081;
    --white: #ffffff;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-fashion: 0 20px 40px rgba(145, 41, 118, 0.15);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #912976 0%, #673AB7 100%);
    padding: 140px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('') center/cover;
    opacity: 0.1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Playfair Display', serif;
}

.header-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Contact Info Section */
.contact-info {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-info .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.contact-methods h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.contact-methods>p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.6;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 50px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #E91E63;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.contact-method:nth-child(3) {
    border-left-color: #673AB7;
}

.contact-method:nth-child(4) {
    border-left-color: #4CAF50;
}

.contact-method:nth-child(5) {
    border-left-color: #FF4081;
}

.method-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.method-content p {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.contact-link {
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 18px;
    font-family: 'Playfair Display', serif;
}

.form-header p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.5;
}

.contact-form {
    display: grid;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E91E63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

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

.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    cursor: pointer;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: auto;
}


/* Campus Locations */
.campus-locations {
    padding: 120px 0;
    background: white;
}

.campus-locations .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-header h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.section-header p {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.campus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.campus-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
    border: 2px solid #E91E63;
    position: relative;
    transition: all 0.3s ease;
}

.campus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.15);
}

.campus-card:nth-child(2) {
    border-color: #673AB7;
}

.campus-card:nth-child(3) {
    border-color: #FF4081;
}


.campus-card>div {
    padding: 50px;
}

.campus-header {
    margin-bottom: 40px;
}

.campus-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.campus-subtitle {
    color: #E91E63;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.campus-card:nth-child(2) .campus-subtitle {
    color: #673AB7;
}

.campus-card:nth-child(3) .campus-subtitle {
    color: #FF4081;
}

.campus-info {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding: 8px 0;
}

.info-icon {
    font-size: 1.3rem;
}

.info-item span:last-child {
    color: #666;
    font-size: 1.05rem;
}

.campus-features h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.campus-features ul {
    list-style: none;
    padding: 0;
}

.campus-features li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.campus-features li span:first-child {
    color: #E91E63;
    font-weight: bold;
}

.campus-card:nth-child(2) .campus-features li span:first-child {
    color: #673AB7;
}

.campus-card:nth-child(3) .campus-features li span:first-child {
    color: #FF4081;
}

.campus-contact {
    display: flex;
    gap: 18px;
    margin-top: 40px;
}


/* ===== BUTTONS ===== */
.btnprimary {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btnprimary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: var(--shadow-fashion);
}

.btnprimary:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(233, 30, 99, 0.3);
}

.btn-outline {
    flex: 1;
    text-align: center;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-outline {
    border: 2px solid #E91E63;
    color: #E91E63;
    background: transparent;
}

.btn-outline:hover {
    background: #E91E63;
    color: white;
}

.campus-card:nth-child(2) .btn-outline {
    border-color: #673AB7;
    color: #673AB7;
}

.campus-card:nth-child(2) .btn-outline:hover {
    background: #673AB7;
}

.campus-card:nth-child(3) .btn-outline {
    border-color: #FF4081;
    color: #FF4081;
}

.campus-card:nth-child(3) .btn-outline:hover {
    background: #FF4081;
}



.campus-card:nth-child(2) .btn-primary {
    background: #673AB7;
    border-color: #673AB7;
}

.campus-card:nth-child(3) .btn-primary {
    background: #FF4081;
    border-color: #FF4081;
}

/* Practical Hours */
.practical-hours {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.practical-hours .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.hours-card {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
    border-top: 6px solid #E91E63;
    transition: all 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.15);
}

.hours-card:nth-child(2) {
    border-top-color: #673AB7;
}

.hours-card:nth-child(3) {
    border-top-color: #FF4081;
}

.hours-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.day {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.time {
    color: #E91E63;
    font-weight: 600;
    font-size: 1.1rem;
}

.hours-note {
    text-align: center;
    color: #666;
    margin-top: 25px;
    font-style: italic;
    line-height: 1.5;
}

.period-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 18px;
    border-left: 4px solid #E91E63;
}

.period-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.period-item p {
    color: #666;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.period-status {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.period-status.active {
    background: #4CAF50;
    color: white;
}

.period-status:not(.active):not(.special) {
    background: #FF9800;
    color: white;
}

.period-status.special {
    background: #673AB7;
    color: white;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.service-icon {
    font-size: 1.6rem;
}

.service-item span:last-child {
    color: #666;
    font-size: 1.05rem;
}

/* FAQ Section */
.contact-faq {
    padding: 120px 0;
    background: white;
}

.contact-faq .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 18px;
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #E91E63;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.1);
}

.faq-question {
    padding: 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.8rem;
    color: #E91E63;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px 30px;
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

.faq-answer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {

    .page-header .container,
    .contact-info .container,
    .campus-locations .container,
    .practical-hours .container,
    .contact-faq .container {
        padding: 0 40px;
    }

    .contact-grid {
        gap: 60px;
    }

    .campus-grid,
    .hours-grid {
        gap: 40px;
    }
}

@media (max-width: 1024px) {

    /* Tablet & Small Desktop: 2 Columns for Campus */
    .campus-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Make the 3rd item span full width on tablet for better balance */
    .campus-card:nth-child(3) {
        grid-column: span 2;
    }

    /* Center content in the spanning card if clearer */
    .campus-card:nth-child(3) .campus-contact {
        justify-content: center;
    }
}

@media (max-width: 968px) {

    .contact-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .header-content h1 {
        font-size: 3rem;
    }

    .contact-methods h2,
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    .page-header .container,
    .contact-info .container,
    .campus-locations .container,
    .practical-hours .container,
    .contact-faq .container {
        padding: 0 20px;
    }

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

    .campus-grid {
        grid-template-columns: 1fr;
        /* Force 1 column on mobile */
        gap: 30px;
    }

    /* Reset span for mobile */
    .campus-card:nth-child(3) {
        grid-column: auto;
    }

    .campus-card:nth-child(3) .campus-contact {
        justify-content: flex-start;
        /* Reset alignment */
    }

    .campus-card>div {
        padding: 30px;
    }

    .hours-card {
        padding: 30px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}