* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

#about {
    font-family: 'Montserrat', sans-serif;
    background-color: #353535;
    min-height: 100vh;
    padding: 40px 20px;
    overflow-x: hidden;
    position: relative;
}

#about .background-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../assets/aboutBg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

#about .container {
    max-width: 1000px;
    margin: 0 auto;
    margin-right: auto;
    margin-left: 50px;
    position: relative;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    z-index: 2; /* Ensure content is above background */
}

#about .section {
    background-color: #EFEFEF;
    border-radius: 3px;
    margin-bottom: 30px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

#about .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

#about .section:hover::before {
    left: 100%;
}

#about .section:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: #EFEFEF;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

#about .section .section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 0 !important;
}

#about .section .section-title {
    font-size: 2.2em !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 5px !important;
    font-family: 'Montserrat', sans-serif !important;
    text-align: left !important;
}

#about .section .section-subtitle {
    font-size: 0.9em !important;
    color: #666 !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
}

#about .section .dropdown-arrow {
    font-size: 1.5em !important;
    color: #333 !important;
    transition: transform 0.3s ease !important;
}

#about .section:hover .dropdown-arrow {
    transform: rotate(180deg) !important;
}

#about .section .section-content {
    max-height: 0 !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    transition: all 0.5s ease !important;
    opacity: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

#about .section:hover .section-content {
    max-height: 200px !important;
    margin-top: 25px !important;
    opacity: 1 !important;
}

#about .content-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: #333;
    padding: 20px;
    background-color: #F4F4F4;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
}

#about .brand-section {
    background-color: #EFEFEF;
    color: #333;
}

#about .brand-section .section-title,
#about .brand-section .dropdown-arrow {
    color: #333;
}

#about .brand-section .section-subtitle {
    color: #666;
}

#about .brand-section:hover {
    background-color: #EFEFEF;
}

/* Responsive design */
@media (max-width: 1024px) {
    #about {
        background-image: url('../assets/aboutBg.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    #about .background-image {
        display: none;
    }
    
    #about .container {
        padding: 0 20px;
        margin-left: auto;
        max-width: 100%;
    }
    
    #about .section {
        padding: 25px;
        margin-bottom: 20px;
        background-color: rgba(239, 239, 239, 0.95);
        backdrop-filter: blur(10px);
    }
    
    #about .section .section-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        z-index: 2 !important;
        margin-bottom: 0 !important;
    }
    
    #about .section .section-title {
        font-size: 1.8em !important;
        text-align: left !important;
    }
    
    #about .content-text {
        font-size: 1em;
        padding: 15px;
        background-color: rgba(244, 244, 244, 0.95);
        text-align: justify;
    }
}

@media (max-width: 768px) {
    #about {
        background-image: url('../assets/aboutBg.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    #about .background-image {
        display: none;
    }
    
    #about .container {
        padding: 0 20px;
        margin-left: auto;
        max-width: 100%;
    }
    
    #about .section {
        padding: 25px;
        margin-bottom: 20px;
        background-color: rgba(239, 239, 239, 0.95);
        backdrop-filter: blur(10px);
    }
    
    #about .section .section-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        z-index: 2 !important;
        margin-bottom: 0 !important;
    }
    
    #about .section .section-title {
        font-size: 1.5em !important;
        text-align: left !important;
    }
    
    #about .content-text {
        font-size: 0.9em;
        padding: 15px;
        background-color: rgba(244, 244, 244, 0.95);
        text-align: justify;
    }
}

@media (max-width: 480px) {
    #about {
        background-image: url('../assets/aboutBg.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    #about .background-image {
        display: none;
    }
    
    #about .container {
        padding: 0 15px;
        margin-left: auto;
        max-width: 100%;
    }
    
    #about .section {
        padding: 20px;
        margin-bottom: 15px;
        background-color: rgba(239, 239, 239, 0.95);
        backdrop-filter: blur(10px);
    }
    
    #about .section .section-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        z-index: 2 !important;
        margin-bottom: 0 !important;
    }
    
    #about .section .section-title {
        font-size: 1.3em !important;
        text-align: left !important;
    }
    
    #about .content-text {
        font-size: 0.75em; 
        padding: 12px; 
        background-color: rgba(244, 244, 244, 0.95);
        text-align: justify;
    }
}

@media (max-width: 375px) {
    #about {
        background-image: url('../assets/aboutBg.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }
    
    #about .section .section-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        z-index: 2 !important;
        margin-bottom: 0 !important;
    }
    
    #about .section .section-title {
        font-size: 1.2em !important;
        text-align: left !important;
    }
    
    #about .content-text {
        font-size: 0.7em;
        padding: 10px;
        text-align: justify;
    }
}