/* 
   About Us Page Specific Styles
   Contains styling unique to the About Us page
*/

/* Hero Section Styling */
.hero-section {
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 15px;
    max-width: 80%;
    animation: fadeIn 1s forwards;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    text-align: center;
    animation: fadeIn 1s forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.about-section h2 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.about-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

/* Form Section */
.form-section {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    animation: fadeIn 1s forwards;
    animation-delay: 0.4s;
    opacity: 0;
    text-align: center;
}

.form-section h2 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

.form-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.form-section form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-section form > div {
    width: 100%;
    text-align: left;
}

.form-section label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: block;
}

.form-section input, 
.form-section textarea {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    display: block;
}

.form-section input:focus, 
.form-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(78, 84, 200, 0.2);
}

.form-section textarea {
    resize: none;
    height: 120px;
}

.form-section button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.3);
    cursor: pointer;
    margin-top: 1rem;
    width: 200px;
}

.form-section button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(78, 84, 200, 0.4);
}

/* Social media footer section */
.social-media-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-media-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-media-section .bi {
    transition: transform 0.3s ease, color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-media-section .bi:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Social icons styling */
.social-media-section .bi-whatsapp:hover {
    color: #25d366;
}

.social-media-section .bi-instagram:hover {
    color: #e1306c;
}

.social-media-section .bi-facebook:hover {
    color: #3b5998;
}

.social-media-section .bi-twitter:hover {
    color: #1da1f2;
}

.social-media-section .bi-linkedin:hover {
    color: #0077b5;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-section, .form-section {
        padding: 2.5rem 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        height: 50vh;
    }
    
    .hero-content {
        max-width: 90%;
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-section h2, .form-section h2 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 576px) {
    .hero-section {
        height: 40vh;
    }
    
    .hero-content {
        max-width: 95%;
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .about-section, .form-section {
        padding: 2rem 1rem;
    }
    
    .about-section h2, .form-section h2 {
        font-size: 1.5rem;
    }
    
    .about-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .form-section input, .form-section textarea, .form-section button {
        padding: 0.7rem;
    }
    
    .form-section button {
        width: 80%;
    }
    
    .form-section form {
        max-width: 100%;
    }
    
    .social-media-section .bi {
        width: 2rem;
        height: 2rem;
    }
}

/* =========================== 
   DARK MODE STYLES FOR ABOUT US PAGE
   =========================== */

/* About Section Dark Mode */
[data-theme="dark"] .about-section {
    background-color: var(--card-bg);
    box-shadow: 0 5px 20px var(--shadow-color);
}

[data-theme="dark"] .about-section h2 {
    color: var(--text-color);
}

[data-theme="dark"] .about-section p {
    color: #b0b0b0;
}

/* Form Section Dark Mode */
[data-theme="dark"] .form-section {
    background-color: var(--card-bg);
    box-shadow: 0 5px 20px var(--shadow-color);
}

[data-theme="dark"] .form-section h2 {
    color: var(--text-color);
}

[data-theme="dark"] .form-section label {
    color: var(--text-color);
}

[data-theme="dark"] .form-section input,
[data-theme="dark"] .form-section textarea {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-section input:focus,
[data-theme="dark"] .form-section textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(143, 148, 251, 0.2);
}

/* Hero Content Dark Mode */
[data-theme="dark"] .hero-content {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Social Media Section Dark Mode */
[data-theme="dark"] .social-media-section {
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .social-media-section h3 {
    color: var(--text-color);
}

[data-theme="dark"] .social-media-section .bi {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

[data-theme="dark"] .social-media-section .bi:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Dark mode animation */
[data-theme="dark"] .about-section,
[data-theme="dark"] .form-section {
    animation: darkModeFadeIn 1s forwards;
    animation-delay: 0.2s;
}

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