/* CSS Variables */
:root {
    --primary: #00d9ff;
    --primary-dark: #00b8d4;
    --dark: #0a0e1a;
    --dark-light: #0d1425;
    --text: #ffffff;
    --text-light: #d1d5db;
    --border: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: var(--dark);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

/* Contact Page */
.contact-page {
    min-height: 100vh;
    padding: 120px 0 80px;
}

/* Hero Section */
.hero-section {
    margin-bottom: 80px;
}

.hero-content {
    text-align: center;
    margin-bottom: 64px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 100px;
    padding: 8px 16px;
    margin-bottom: 24px;
}

.contact-badge i {
    color: var(--primary);
    font-size: 0.9rem;
}

.contact-badge span {
    color: var(--primary);
    font-size: 0.9rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(to right, var(--text), var(--primary), var(--text));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Info Section */
.contact-info-section {
    margin-bottom: 80px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-info-card {
    padding: 24px;
    text-align: center;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 184, 212, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-info-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 8px;
}

.contact-info-content {
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-info-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Main Contact Section */
.main-contact-section {
    margin-bottom: 80px;
}

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

/* Contact Form */
.contact-form-card {
    padding: 32px;
}

.form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

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

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

/* Departments Section */
.departments-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.departments-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: 16px;
}

.department-card {
    padding: 24px;
    cursor: pointer;
}

.department-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.department-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 184, 212, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.department-card:hover .department-icon {
    transform: scale(1.1);
}

.department-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

.department-info {
    flex: 1;
}

.department-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.department-card:hover .department-title {
    color: var(--primary);
}

.department-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.department-email {
    color: var(--primary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.department-email:hover {
    color: var(--text);
}

/* Map Section */
.map-section {
    margin-top: 24px;
}

.map-card {
    padding: 24px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
}

.map-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin: 0 auto 16px;
}

.map-text {
    color: var(--text-light);
    margin-bottom: 4px;
}

.map-subtext {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 80px;
}

.faq-card {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(128, 0, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
}

.faq-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 16px;
}

.faq-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeIn {
    animation-name: fadeIn;
}

.slideInLeft {
    animation-name: slideInLeft;
}

.slideInRight {
    animation-name: slideInRight;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

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

    .contact-form-card,
    .department-card,
    .faq-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .form-title,
    .departments-title {
        font-size: 1.5rem;
    }

    .faq-title {
        font-size: 1.5rem;
    }

    .faq-subtitle {
        font-size: 1rem;
    }
}