/* New About Us Page Styles */

/* Hero Section */
.about-hero {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.9) 0%, rgba(0, 68, 148, 0.8) 100%), url('../images/about/about-main.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
}

.about-hero .btn {
    animation: fadeInUp 1.4s ease;
}

.about-hero .scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

/* About Section */
.about-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.05);
    z-index: -1;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.05);
    z-index: -1;
}

.about-image-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
    z-index: 2;
    animation: pulse 2s infinite;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    line-height: 1.2;
}

.about-content {
    padding-left: 20px;
}

.section-title {
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #0d6efd, #0a58ca);
}

.feature-box {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-box:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
    transition: all 0.3s ease;
}

.feature-box:hover .icon-box {
    transform: rotateY(180deg);
}

.icon-box i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-box:hover .icon-box i {
    transform: rotateY(-180deg);
}

/* Vision & Mission Section */
.vision-mission-section {
    position: relative;
    padding: 100px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.vision-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(13, 110, 253, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: 0;
}

.vision-mission-tabs {
    position: relative;
    z-index: 1;
}

.vm-tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.vm-tab-btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vm-tab-btn.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}

.vm-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.vm-tab-content.active {
    display: block;
}

.vm-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.vm-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.vm-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.vm-card p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
}

.vm-card img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.vm-card:hover img {
    transform: scale(1.05);
}

/* Values Section */
.values-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.05);
    z-index: -1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(10, 88, 202, 0.05) 100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.value-card:hover::before {
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background-color: #0d6efd;
}

.value-icon i {
    font-size: 2rem;
    color: #0d6efd;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon i {
    color: #fff;
}

.value-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: #6c757d;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(13, 110, 253, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: 0;
}

.testimonial-slider {
    position: relative;
    z-index: 1;
    padding: 30px 0;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    margin-right: 2px;
}

.testimonial-text {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: rgba(13, 110, 253, 0.1);
    position: absolute;
    line-height: 1;
}

.testimonial-text::before {
    top: -10px;
    left: 0;
}

.testimonial-text::after {
    bottom: -30px;
    right: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #0d6efd;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

.author-info p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.05);
    z-index: -1;
}

.contact-info {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info:hover .info-item .icon {
    background-color: #0d6efd;
}

.info-item .icon i {
    color: #0d6efd;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-info:hover .info-item .icon i {
    color: #fff;
}

.info-item .text h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.info-item .text p {
    color: #6c757d;
    margin-bottom: 0;
}

.social-links h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    color: #0d6efd;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #0d6efd;
    color: #fff;
    transform: translateY(-5px);
}

.contact-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #0d6efd, #0a58ca);
}

.form-label {
    font-weight: 600;
    color: #495057;
}

.form-control {
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Map Section */
.map-section {
    position: relative;
}

.map-container {
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .about-hero h1 {
        font-size: 2.8rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 20px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
    
    .experience-badge .text {
        font-size: 0.8rem;
    }
    
    .vm-tab-btn {
        padding: 12px 20px;
        font-size: 1.1rem;
    }
    
    .vm-card {
        padding: 30px;
    }
    
    .vm-card-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .vm-card h3 {
        font-size: 1.6rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .about-hero {
        min-height: 60vh;
    }
    
    .about-hero-content {
        padding: 80px 0;
    }
    
    .about-hero h1 {
        font-size: 2.2rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .about-section,
    .vision-mission-section,
    .values-section,
    .testimonials-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        bottom: 10px;
        right: 10px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.7rem;
    }
    
    .vm-tab-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .vm-tab-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        margin-bottom: 30px;
    }
}