/* about-contact.css - Modern designs for About and Contact pages */
/* create header styles for about and contact pages */
/* Common Styles for About & Contact Pages */
.page-header {
    position: relative;
    height: 300px;
   
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #000000;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

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

.breadcrumb a:hover {
    color: #921d1d;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
    color: #000000;
    font-weight: 600;
}

.section-title {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

/* About Page Specific Styles */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image .experience {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: #007bff;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.about-image .experience h3 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.about-image .experience p {
    font-size: 14px;
    margin: 5px 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.about-text .signature {
    margin-top: 30px;
}

.about-text .signature img {
    height: 60px;
    margin-bottom: 10px;
}

.about-text .signature h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.about-text .signature p {
    font-size: 14px;
    margin: 5px 0 0;
    color: #777;
}

.mission-vision {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.mission-vision-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .mission-vision-content {
        grid-template-columns: 1fr;
    }
}

.mission-box, .vision-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-box:hover, .vision-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.mission-box h3, .vision-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
}

.mission-box h3 i, .vision-box h3 i {
    color: #007bff;
    margin-right: 15px;
    font-size: 30px;
}

.mission-box p, .vision-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.team-section {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: bottom 0.3s ease;
}

.team-member:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-info p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

.testimonials {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-text:before {
    content: '\201C';
    font-size: 60px;
    color: #007bff;
    opacity: 0.3;
    line-height: 0;
    vertical-align: bottom;
    margin-right: 5px;
}

.testimonial-text:after {
    content: '\201D';
    font-size: 60px;
    color: #007bff;
    opacity: 0.3;
    line-height: 0;
    vertical-align: bottom;
    margin-left: 5px;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.testimonial-author p {
    font-size: 14px;
    color: #777;
    margin: 5px 0 0;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -20px;
    z-index: 1;
}

.testimonial-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-nav button:hover {
    background-color: #007bff;
    color: #fff;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active, .testimonial-dot:hover {
    background-color: #007bff;
}

/* Contact Page Specific Styles */
.contact-section {
    padding: 60px 0;
}

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

@media (max-width: 991px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.contact-info {
    background-color: #007bff;
    border-radius: 10px;
    padding: 40px;
    color: #fff;
    height: 100%;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #fff;
}

.contact-info-item {
    display: flex;
    margin-bottom: 30px;
}

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

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
}

.contact-info-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-text p, .contact-info-text a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-text a:hover {
    color: #fff;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #fff;
    color: #007bff;
    transform: translateY(-3px);
}

.contact-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #007bff;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.btn-submit {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.map-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.map-container {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.faq-section {
    padding: 60px 0;
}

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

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f8f9fa;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question i {
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}