/* ========== Contact Page Styles ========== */
/* Hero Section - Same as Home Page */
.hero-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%), url('university-building.png') center/cover;
    background-size: cover;
    background-position: center;
    min-height: calc(60vh - 60px);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #ddd6fe 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
    z-index: 2;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--white);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--white);
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--white);
    top: 50%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 3;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}


.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 35px;
    max-width: 700px;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #c7d2fe 0%, #ddd6fe 50%, #e9d5ff 100%);
    border-radius: 50%;
    z-index: 0;
}

.main-hero-img-icon {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: auto;
    z-index: 1;
    font-size: 200px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-dots {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 2;
}

.dot-1 {
    background: var(--primary-color);
    top: 15%;
    right: 10%;
}

.dot-2 {
    background: #fbbf24;
    bottom: 30%;
    left: 5%;
}

.dot-3 {
    background: #10b981;
    top: 40%;
    right: 5%;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-circle {
        width: 500px;
        height: 500px;
    }
    
    .main-hero-img-icon {
        font-size: 240px;
    }
}

.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.char-counter {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 400;
    margin-left: 8px;
}

#charCount {
    color: var(--primary-color);
    font-weight: 700;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237c3aed' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

select.form-input option {
    padding: 10px;
    background-color: var(--white);
    color: var(--text-dark);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.info-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #f3e8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.info-content p,
.info-content a {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.info-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

.social-links-contact {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links-contact a {
    width: 45px;
    height: 45px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-links-contact a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.success-message.show {
    display: block;
}

.privacy-notice {
    background: rgba(59, 130, 246, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    margin: 15px 0;
}

.privacy-content {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.privacy-icon {
    color: #3b82f6;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.privacy-text {
    font-size: 0.85rem;
    color: #1e40af;
    line-height: 1.5;
}

.privacy-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    margin-left: 3px;
    display: inline;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Privacy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.privacy-modal.active {
    display: flex;
}

.privacy-modal-content {
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px 35px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.privacy-modal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    margin-top: 0;
    padding-right: 30px;
}

.privacy-modal-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-dark);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .privacy-modal-content {
        padding: 20px;
    }
    
    .privacy-modal-content h2 {
        font-size: 1.25rem;
    }
}

/* Location Map Card */
.map-card {
    grid-column: 1 / -1;
}

.map-container-small {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 12px;
}

.map-container-small iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

/* Business Hours Card - Compact */
.contact-info .info-card:last-child {
    padding: 22px;
}

.contact-info .info-card:last-child h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
}

.contact-info .info-card:last-child .info-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info .info-card:last-child .info-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-info .info-card:last-child .info-content p {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .map-container-small {
        height: 200px;
    }
}


