/* ===== ABOUT US PAGE SPECIFIC STYLES ===== */

/* Hero Section Enhancements */
.hero-description {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Background Light Section */
.bg-light {
    background-color: #f8f9fa;
    position: relative;
}

.bg-light:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: -1;
}

/* About Company Section */
.about-content {
    padding: 20px 0;
}

.about-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
}

.about-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.about-text {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    font-size: 20px;
    color: #27ae60;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.feature-item span {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
}

/* About Image */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

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

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

/* About Image Placeholder */
.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.5s ease;
}

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

.placeholder-content {
    text-align: center;
}

.placeholder-content i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.placeholder-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.placeholder-content p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    margin: 0;
    opacity: 0.8;
}

.about-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover .about-overlay {
    transform: translateY(0);
}

.about-overlay-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.about-overlay-content p {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

/* Mission Vision Cards */
.mission-vision-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mission-vision-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.mission-vision-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon i {
    font-size: 30px;
    color: white;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.card-description {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

.mission-points,
.vision-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-points li,
.vision-points li {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.mission-points li:before,
.vision-points li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 16px;
}

/* Contact Section */
.contact-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-description {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

/* .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
} */

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: white;
}

.contact-details h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.contact-details p {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.form-description {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

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

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control::placeholder {
    color: #999;
}

select.form-control {
    cursor: pointer;
}

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

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 3px;
}

.checkbox-wrapper label {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    line-height: 1.5;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.form-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-result {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-family: 'Raleway', sans-serif;
}

.form-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles */
@media (max-width: 991px) {
    .hero-description {
        font-size: 16px;
        max-width: 500px;
    }

    .about-heading {
        font-size: 24px;
    }

    .about-text {
        font-size: 15px;
    }

    .about-image-wrapper {
        margin-top: 40px;
    }

    .mission-vision-card {
        padding: 30px 25px;
        margin-bottom: 40px;
    }

    .card-title {
        font-size: 22px;
    }

    .contact-form-wrapper {
        padding: 30px;
        margin-top: 40px;
    }

    .form-heading,
    .contact-heading {
        font-size: 24px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .hero-description {
        font-size: 15px;
        max-width: 400px;
        margin-bottom: 25px;
    }

    .about-heading {
        font-size: 22px;
        text-align: center;
    }

    .about-heading:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-text {
        font-size: 14px;
        text-align: left;
    }

    .about-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .feature-item {
        justify-content: center;
        text-align: left;
    }

    .feature-item:hover {
        transform: none;
    }

    .about-image-wrapper {
        margin-top: 30px;
    }

    .about-overlay {
        position: static;
        transform: none;
        background: rgba(0, 0, 0, 0.8);
        padding: 20px;
    }

    .mission-vision-card {
        padding: 25px 20px;
        margin-bottom: 30px;
        text-align: center;
    }

    .mission-vision-card:hover {
        transform: none;
    }

    .card-icon {
        margin: 0 auto 20px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-description {
        text-align: center;
    }

    .mission-points li,
    .vision-points li {
        text-align: left;
    }

    .contact-heading {
        font-size: 22px;
        text-align: center;
    }

    .contact-description {
        text-align: center;
        font-size: 15px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .contact-icon {
        margin: 0 auto 15px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .form-heading {
        font-size: 22px;
        text-align: center;
    }

    .form-description {
        text-align: center;
        font-size: 15px;
    }

    .contact-submit-btn {
        width: 100%;
        padding: 18px;
    }

    .contact-submit-btn:hover {
        transform: none;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero-description {
        font-size: 14px;
        max-width: 300px;
    }

    .about-heading {
        font-size: 20px;
    }

    .mission-vision-card {
        padding: 20px 15px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-description {
        font-size: 14px;
    }

    .contact-form-wrapper {
        padding: 20px 15px;
    }

    .form-heading,
    .contact-heading {
        font-size: 20px;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 14px;
    }

    .contact-submit-btn {
        font-size: 15px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .about-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .contact-form-wrapper,
    .scroll-indicator,
    .to-top-arrow {
        display: none;
    }

    .about-content,
    .mission-vision-card {
        break-inside: avoid;
    }

    .sections {
        page-break-inside: avoid;
    }
}

/* Loading animation for form submission */
.btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form focus animations */
.form-control:focus {
    animation: focusPulse 0.3s ease;
}

@keyframes focusPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Success message animation */
.form-result.success {
    animation: slideInUp 0.5s ease;
}

.form-result.error {
    animation: shake 0.5s ease;
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
