/* css/contact.css */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

/* Scroll indicator inside hero */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

.scroll-indicator .scroll-line {
    width: 2px;
    height: 40px;
    background: var(--white);
    animation: scroll 1.5s infinite;
}

/* Remove the margin-top from span */
.scroll-indicator span {
    margin-top: 0; /* Changed from 20px to 0 */
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}
@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/Concord-Mockups/imgcrd12.png') center/cover no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(11,31,51,0.6);
    background-attachment: fixed;
    z-index: 1;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 50 L100 50 M0 60 L100 60 M0 70 L100 70" stroke="%23F47B20" stroke-width="0.2" opacity="0.1"/></svg>');
    background-size: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem 6rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    color: var(--light-gray);
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-orange);
}

.breadcrumb i {
    font-size: 0.7rem;
    color: var(--accent-orange);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--light-gray);
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-stat .stat-value i {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    letter-spacing: 0.05em;
}

/* Contact Info Section */
.contact-info-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
}

.contact-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-orange), var(--ocean-blue));
    transition: height 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-card:hover::before {
    height: 100%;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--deep-navy), var(--ocean-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--deep-navy);
}

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
}

.contact-detail i {
    color: var(--accent-orange);
    font-size: 1.2rem;
    min-width: 24px;
}

.contact-detail p {
    line-height: 1.6;
}

.direction-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.direction-link:hover {
    gap: 1rem;
}

/* Emergency Card */
.emergency-card {
    background: linear-gradient(135deg, #fff5f0, var(--white));
    border: 2px solid var(--accent-orange);
    position: relative;
}

.emergency-icon {
    background: var(--accent-orange) !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.emergency-desc {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.emergency-phone,
.emergency-email {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(244, 123, 32, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    color: var(--deep-navy);
    font-weight: 600;
}

.emergency-phone i,
.emergency-email i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.emergency-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* Form Section */
.form-section {
    padding: var(--spacing-2xl) 0;
    background: var(--light-gray);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
}

.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.form-intro {
    color: #666;
    margin: 1rem 0 2rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--deep-navy);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(244, 123, 32, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
}

.checkbox-group a {
    color: var(--accent-orange);
    text-decoration: none;
}

.btn-submit {
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--deep-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map Container */
.map-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-wrapper {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.office-hours {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.office-hours h4 {
    font-size: 1.3rem;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.office-hours h4 i {
    color: var(--accent-orange);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    color: #666;
}

.emergency-note {
    border-bottom: none;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(244, 123, 32, 0.1);
    border-radius: 8px;
    color: var(--deep-navy);
    font-weight: 600;
}

.emergency-note i {
    color: var(--accent-orange);
    margin-right: 0.5rem;
}

/* Terminals Slider Section */
.terminals-slider-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.terminal-slider {
    position: relative;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    flex: 0 0 100%;
    position: relative;
    height: 500px;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(11,31,51,0.95), transparent);
    color: var(--white);
    transform: translateY(100px);
    transition: transform 0.4s ease;
}

.slider-slide:hover .slide-info {
    transform: translateY(0);
}

.slide-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.slide-info .location {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.slide-info .location i {
    color: var(--accent-orange);
    margin-right: 0.5rem;
}

.slide-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.slide-details span {
    font-size: 0.9rem;
    color: var(--light-gray);
}

.slide-details span i {
    color: var(--accent-orange);
    margin-right: 0.5rem;
}

.slide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.slide-link:hover {
    gap: 1rem;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 2;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent-orange);
    transform: scale(1.3);
    box-shadow: 0 0 20px var(--accent-orange);
}

.slider-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}


/* Key Contacts Section */
.key-contacts-section {
    padding: var(--spacing-2xl) 0;
    background: var(--light-gray);
}

.key-contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
    margin-top: 3rem;
}

.key-contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.key-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-orange), var(--ocean-blue));
    transition: height 0.3s ease;
}

.key-contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.key-contact-card:hover::before {
    height: 100%;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--deep-navy), var(--ocean-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.key-contact-card h3 {
    font-size: 1.3rem;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
}

.key-contact-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.contact-person {
    margin-bottom: 1.5rem;
}

.contact-person strong {
    display: block;
    color: var(--deep-navy);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-person span {
    color: #666;
    font-size: 0.85rem;
}

.contact-email,
.contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.contact-email:hover,
.contact-phone:hover {
    color: var(--accent-orange);
}

.contact-email i,
.contact-phone i {
    color: var(--accent-orange);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    align-items: center;
}

.faq-intro {
    color: #666;
    margin: 1rem 0 2rem;
    line-height: 1.6;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--deep-navy);
    margin: 0;
}

.faq-question i {
    color: var(--accent-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.faq-image:hover img {
    transform: scale(1.05);
}

.faq-contact {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(11,31,51,0.9);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    color: var(--white);
}

.faq-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.faq-contact p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.btn-text {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-text:hover {
    gap: 1rem;
}

/* CTA Section */
.cta-section {
   padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, rgba(11, 31, 51, 0.85)), url('../assets/Concord-pix/img448.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .page-hero {
        min-height: 450px;
        height: 55vh;
        padding-top: 100px;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .key-contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 968px) {
    .page-hero {
        min-height: 400px;
        height: auto;
        padding-top: 120px;
        padding-bottom: 2rem;
    }
    
    .contact-info-grid,
    .form-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .slider-slide {
        height: 400px;
    }
    
    .key-contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 350px;
        padding-top: 130px;
        padding-bottom: 2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .slider-slide {
        height: 300px;
    }
    
    .slide-info {
        padding: 1.5rem;
    }
    
    .slide-info h3 {
        font-size: 1.3rem;
    }
    
    .slide-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .slider-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .key-contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
   
}

@media (max-width: 480px) {
    .page-hero {
        min-height: 320px;
        padding-top: 80px;
    }
    
    .page-hero-bg {
        background-attachment: scroll;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-stat .stat-value i {
        font-size: 2rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-card h3 {
        font-size: 1.5rem;
    }
    
    .slider-nav {
        display: none;
    }
    
    .slider-slide {
        height: 250px;
    }
    
    .slide-info {
        transform: translateY(0);
    }
    
    .faq-contact {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 1rem;
    }
}