/* Contact Page Styles - Same Animations as About Page */
.contact-hero {
    background: linear-gradient(rgba(26, 86, 219, 0.9), rgba(30, 58, 138, 0.9)), 
                url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease 0.6s both;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #fbbf24;
    color: #1e3a8a;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Animated Background Shapes - MOVING UP ONLY */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: moveUp linear infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 90%;
    left: 10%;
    animation-duration: 20s;
    animation-delay: 0s;
    background: rgba(255, 255, 255, 0.15);
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 85%;
    left: 70%;
    animation-duration: 25s;
    animation-delay: 3s;
    background: rgba(255, 255, 255, 0.08);
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 95%;
    left: 30%;
    animation-duration: 18s;
    animation-delay: 7s;
    background: rgba(255, 255, 255, 0.12);
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 88%;
    left: 50%;
    animation-duration: 22s;
    animation-delay: 5s;
    background: rgba(255, 255, 255, 0.1);
}

.shape-5 {
    width: 70px;
    height: 70px;
    top: 92%;
    left: 80%;
    animation-duration: 28s;
    animation-delay: 2s;
    background: rgba(255, 255, 255, 0.18);
}

.shape-6 {
    width: 90px;
    height: 90px;
    top: 86%;
    left: 20%;
    animation-duration: 24s;
    animation-delay: 9s;
    background: rgba(255, 255, 255, 0.05);
}

.shape-7 {
    width: 50px;
    height: 50px;
    top: 94%;
    left: 60%;
    animation-duration: 16s;
    animation-delay: 11s;
    background: rgba(255, 255, 255, 0.2);
}

/* Main Contact Section */
.main-contact-section {
    padding: 100px 0;
    background: var(--light);
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 20px;
    border-radius: 2px;
    animation: widthGrow 1s ease 0.5s both;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.7s both;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* MV Card Styles (Same as About Page) */
.mv-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    margin-bottom: 30px;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.mv-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: floatIcon 3s ease-in-out infinite;
}

.mv-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* Contact Info Column */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-details {
    color: var(--gray);
    line-height: 1.7;
}

.contact-details address {
    font-style: normal;
    line-height: 1.7;
}

.contact-details address strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h4 {
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-item p {
    margin: 5px 0;
    line-height: 1.5;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.transport-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--gray);
}

.transport-item i {
    color: var(--primary);
    width: 20px;
}

/* Map Column */
.map-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.map-note {
    background: var(--light);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--gray);
    border-left: 4px solid var(--primary);
    margin-top: 15px;
}

.map-note i {
    color: var(--primary);
    margin-right: 8px;
}

/* Quick Form */
.quick-form {
    margin-top: 20px;
}

.contact-form {
    margin-top: 20px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Departments Section */
.departments-section {
    padding: 80px 0;
    background: white;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.department-card {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.department-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.department-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    animation: floatIcon 4s ease-in-out infinite;
}

.department-card h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.department-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.dept-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary);
}

.dept-email i {
    font-size: 0.9rem;
}

.dept-email a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.dept-email a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.faq-question h3 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.faq-question i.fa-question-circle {
    color: var(--primary);
}

.faq-question .fa-chevron-down {
    color: var(--gray);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-slow);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-item.active .faq-question .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

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

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

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

/* CIRCLES MOVING UP ONLY ANIMATION */
@keyframes moveUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    70% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-1000px) scale(0.5);
        opacity: 0;
    }
}

/* Icon floating animation - UP AND DOWN */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes widthGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .mv-card {
        padding: 2rem;
    }
    
    .hero-shapes .shape {
        animation-duration: 15s !important;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 80px;
    }
    
    .contact-hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-shapes .shape {
        width: 40px !important;
        height: 40px !important;
        animation-duration: 12s !important;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .mv-card {
        padding: 1.5rem;
    }
    
    .mv-icon {
        font-size: 2.5rem;
    }
}