/* ======= Page Base ======= */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fc;
    margin: 0;
    padding: 80px 0 0 0;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ======= Navigation Override ======= */
nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.8rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(43, 78, 135, 0.1);
    min-height: 70px;
    display: flex;
    align-items: center;
}


/* ======= Contact Section Header ======= */
.contact-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    position: relative;
}

.contact-section-header .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(43, 78, 135, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-section-header .section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.contact-section-header:hover .section-badge::before {
    left: 100%;
}

.contact-section-header .section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
    font-weight: 800;
    background: linear-gradient(135deg, #2b4e87 0%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.contact-section-header .section-subtitle {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Animation for section header */
.contact-section-header {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======= Responsive Design for Header ======= */
@media (max-width: 992px) {
    .contact-section-header {
        margin-bottom: 4rem;
    }
    
    .contact-section-header .section-title {
        font-size: 2.5rem;
    }
    
    .contact-section-header .section-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .contact-section-header {
        margin-bottom: 3rem;
    }
    
    .contact-section-header .section-title {
        font-size: 2.2rem;
    }
    
    .contact-section-header .section-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-section-header .section-badge {
        padding: 0.5rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* ======= Header Section ======= */
.contact-header {
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 50%, #f4c632 100%);
    color: white;
    padding: 140px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(119, 199, 181, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 198, 50, 0.15) 0%, transparent 50%);
}

.contact-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.contact-header .container {
    max-width: 900px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.contact-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.contact-header p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
}

/* ======= Contact Content Section ======= */
.contact-content {
    padding: 120px 5%;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
    position: relative;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(43, 78, 135, 0.2) 50%, transparent 100%);
}

.contact-content .container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.contact-info-centered {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(43, 78, 135, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    max-width: 700px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(43, 78, 135, 0.15);
    border-color: rgba(43, 78, 135, 0.3);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(43, 78, 135, 0.4);
}

.contact-icon {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(43, 78, 135, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.contact-card:hover .contact-icon::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2b4e87 0%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

.contact-details p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
    font-weight: 400;
}

/* Special styling for location card */
.contact-card:first-child {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    border: 2px solid rgba(43, 78, 135, 0.2);
}

.contact-card:first-child .contact-details p {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Special styling for email card */
.contact-card:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}

.contact-card:nth-child(2) .contact-details p {
    color: #2b4e87;
    font-weight: 600;
    font-size: 1.15rem;
}

/* Special styling for response time card */
.contact-card:last-child {
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

.contact-card:last-child .contact-details p {
    color: #2b4e87;
    font-weight: 600;
    font-size: 1.15rem;
}

/* ======= Contact Call to Action ======= */
.contact-cta {
    padding: 80px 5%;
    background: white;
    text-align: center;
}

.contact-cta .container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content {
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(43, 78, 135, 0.1);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2b4e87 0%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(43, 78, 135, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(43, 78, 135, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* ======= Footer - Clean Version ======= */
footer {
    background: #0d1321;
    color: white;
    padding: 80px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: auto;
}

.footer-section h3 {
    color: #77c7b5;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section p, 
.footer-section li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a:hover {
    color: #77c7b5;
}

.footer-bottom {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 1rem;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #77c7b5;
}

.footer-legal {
    margin-top: 1rem;
}

.footer-legal a:hover {
    color: #77c7b5;
}

/* ======= Responsive Design ======= */

/* Tablets & Small Laptops */
@media (max-width: 992px) {
    .contact-header h1 {
        font-size: 3rem;
    }
    
    .contact-header p {
        font-size: 1.2rem;
    }
    
    .contact-card {
        padding: 2.5rem;
        max-width: 600px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Mobile */
@media (max-width: 600px) {
    body {
        padding-top: 60px;
    }
    
    nav {
        min-height: 60px;
        padding: 0.6rem 5%;
    }

    .contact-header {
        padding: 100px 20px 60px;
    }

    .contact-header h1 {
        font-size: 2.5rem;
    }

    .contact-header p {
        font-size: 1.1rem;
    }

    .contact-content {
        padding: 80px 5%;
    }

    .contact-card {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .contact-details h3 {
        font-size: 1.3rem;
    }

    .contact-details p {
        font-size: 1rem;
    }

    .cta-content {
        padding: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .contact-content .container {
        max-width: 1100px;
    }
    
    .contact-card {
        max-width: 800px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}