/* ========================================
   Brenemex Pharmacy Custom Styles
   Primary Color: Lemon (#FFD700, #FFF44F, #FFEB3B)
   ======================================== */

:root {
    --lemon-primary: #FFD700;
    --lemon-light: #FFF44F;
    --lemon-dark: #FFC107;
    --navy-blue: #072365;
    --teal: #02B9B1;
    --white: #ffffff;
    --gray-light: #f4f7fc;
    --gray-dark: #4f5256;
    --transition: all 0.3s ease;
}

/* ========================================
   Preloader
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.preloader-inner {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--gray-light);
    border-top: 5px solid var(--lemon-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-blue);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   Header Customization
   ======================================== */
.header-top-bar-area {
    background: var(--navy-blue);
}

.header-left address {
    color: var(--white);
    font-size: 14px;
}

.header-left address i {
    color: var(--lemon-primary);
    margin-right: 8px;
}

.headr-bar-right a {
    color: var(--white);
    transition: var(--transition);
}

.headr-bar-right a:hover {
    color: var(--lemon-primary);
}

.social-icons-header a {
    margin-left: 15px;
    font-size: 16px;
    transition: var(--transition);
}

.social-icons-header a:hover {
    color: var(--lemon-primary);
    transform: translateY(-2px);
}

.sticky-header {
    transition: var(--transition);
}

.sticky-header.scroll-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-blue);
    margin: 0;
}

.logo-text span {
    color: var(--lemon-primary);
}

#main-navigation-wrapper .nav>li>a:hover,
#main-navigation-wrapper .nav>li>a.active {
    color: var(--lemon-primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-area-brenemex {
    min-height: 700px;
    background: linear-gradient(135deg, #f4f7fc 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 150px 0 100px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FFD700" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    width: 100px;
    height: 100px;
    background: var(--lemon-light);
    opacity: 0.3;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    width: 150px;
    height: 150px;
    background: var(--lemon-primary);
    opacity: 0.2;
    bottom: 20%;
    right: 5%;
    animation-delay: 2s;
}

.hero-shapes .shape-3 {
    width: 80px;
    height: 80px;
    background: var(--teal);
    opacity: 0.3;
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-containt {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--lemon-primary);
    position: relative;
    display: inline-block;
}

.hero-tagline {
    font-size: 32px;
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: var(--gray-dark);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.theme-btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.theme-btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--lemon-primary);
    color: var(--navy-blue);
}

.btn-primary:hover {
    background: var(--lemon-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: var(--teal);
    color: var(--white);
}

.btn-secondary:hover {
    background: #01a099;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(2, 185, 177, 0.3);
}

.btn-tertiary {
    background: var(--navy-blue);
    color: var(--white);
}

.btn-tertiary:hover {
    background: #051a4d;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(7, 35, 101, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--navy-blue);
}

.btn-white:hover {
    background: var(--lemon-primary);
    transform: translateY(-3px);
}

/* ========================================
   Quick Info Section
   ======================================== */
.quick-info-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding: 0 0 80px;
}

.info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    margin-bottom: 30px;
    border-top: 4px solid var(--lemon-primary);
}

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

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--lemon-light) 0%, var(--lemon-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.info-card:hover .icon-wrapper {
    transform: rotate(360deg);
}

.icon-wrapper i {
    font-size: 36px;
    color: var(--navy-blue);
}

.info-card h3 {
    font-size: 22px;
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 15px;
    color: var(--gray-dark);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   Section Titles
   ======================================== */
.section-subtitle {
    display: inline-block;
    color: var(--teal);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 60px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background: var(--lemon-primary);
}

.section-title {
    font-size: 42px;
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--lemon-primary);
    padding: 25px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.experience-badge h3 {
    font-size: 28px;
    color: var(--navy-blue);
    font-weight: 700;
    margin: 0 0 5px;
}

.experience-badge p {
    font-size: 14px;
    color: var(--navy-blue);
    margin: 0;
    font-weight: 600;
}

.about-content p {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--lemon-primary);
    font-size: 20px;
}

.feature-item span {
    font-size: 16px;
    color: var(--navy-blue);
    font-weight: 600;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    background: var(--gray-light);
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    transition: var(--transition);
    margin-bottom: 30px;
    border: 2px solid transparent;
    height: 100%;
}

.service-card:hover {
    border-color: var(--lemon-primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--lemon-light) 0%, var(--lemon-primary) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 32px;
    color: var(--navy-blue);
}

.service-card h3 {
    font-size: 22px;
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: var(--teal);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--lemon-primary);
    gap: 12px;
}

/* ========================================
   Counter Section
   ======================================== */
.counter-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #051a4d 100%);
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FFD700" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top;
    background-size: cover;
}

.counter-card {
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.counter-icon {
    width: 80px;
    height: 80px;
    background: var(--lemon-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

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

.counter-icon i {
    font-size: 36px;
    color: var(--navy-blue);
}

.counter-card h3 {
    font-size: 48px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
}

.counter-card p {
    font-size: 18px;
    color: var(--lemon-light);
    margin: 0;
    font-weight: 600;
}

/* ========================================
   Laboratory Section
   ======================================== */
.laboratory-highlight-section {
    background: var(--gray-light);
}

.lab-content p {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 25px;
}

.lab-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.lab-features li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--navy-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.lab-features li i {
    color: var(--lemon-primary);
    font-size: 20px;
}

.lab-image-wrapper img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    background: var(--white);
}

.testimonial-card {
    background: var(--gray-light);
    padding: 35px 30px;
    border-radius: 15px;
    transition: var(--transition);
    margin-bottom: 30px;
    border-left: 4px solid var(--lemon-primary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rating {
    margin-bottom: 20px;
}

.rating i {
    color: var(--lemon-primary);
    font-size: 18px;
    margin-right: 3px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
}

.customer-info h4 {
    font-size: 18px;
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

.customer-info span {
    font-size: 14px;
    color: var(--teal);
    font-weight: 600;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--lemon-primary) 0%, var(--lemon-dark) 100%);
}

.cta-wrapper {
    padding: 40px;
}

.cta-section h2 {
    font-size: 36px;
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    color: var(--navy-blue);
    margin: 0;
}

/* ========================================
   Footer
   ======================================== */
.footer-area {
    background: var(--navy-blue);
}

.footer-box h2 {
    color: var(--lemon-primary);
}

.footer-box p,
.footer-box .text-foot li,
.footer-box .text-foot li a {
    color: var(--white);
}

.footer-box .text-foot li i {
    color: var(--lemon-primary);
}

.footer-box .text-foot li:hover a {
    color: var(--lemon-primary);
}

.foot-scoail a {
    color: var(--white);
    font-size: 20px;
    margin-right: 15px;
}

.foot-scoail a:hover {
    color: var(--lemon-primary);
}

.footer-bottom {
    background: #051a4d;
}

.footer-bottom p a:hover {
    color: var(--lemon-primary);
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.go-top {
    background: var(--lemon-primary);
    color: var(--navy-blue);
}

.go-top:hover {
    background: var(--navy-blue);
    color: var(--lemon-primary);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-tagline {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cta-section .text-right {
        text-align: left !important;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-tagline {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .theme-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .quick-info-section {
        margin-top: 0;
    }
}

/* ========================================
   Animation Classes
   ======================================== */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
