/* ========================================
   MANNYS EYEWEAR - MAIN STYLESHEET
   Black & White Theme with Bootstrap Responsive Design
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #333333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --yellow-pages-gold: #FDB813;
    --transition-speed: 0.3s;
}

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--accent-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { 
    font-size: 1rem; 
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yellow-pages-gold);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
    position: relative;
}

/* ========== UTILITY CLASSES ========== */
.text-size-16 { font-size: 16px; }
.text-size-18 { font-size: 18px; }
.position-relative { position: relative; }

/* ========== OPTIMIZED IMAGE LOADING ========== */
img {
    opacity: 1;
    display: block;
    max-width: 100%;
    height: auto;
    will-change: transform;
}

/* Prevent image flicker and distortion during scroll */
.card-image-wrapper img,
.about-image img,
.flip-card-front img,
#featured img,
.author-avatar img,
.testimonial-personimage img {
    opacity: 1;
    visibility: visible;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
}

/* ========== TOP BAR ========== */
.top-bar-con {
    background: var(--primary-color);
    padding: 10px 0;
    color: var(--secondary-color);
}

.top-bar-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-info ul,
.top-bar-social ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-info .info,
.top-bar-social .info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-info i,
.top-bar-social i.fa-clock {
    color: var(--yellow-pages-gold);
    font-size: 16px;
}

.top-bar-info a,
.top-bar-social p {
    color: var(--secondary-color);
    font-size: 14px;
}

.top-bar-info a:hover {
    color: var(--yellow-pages-gold);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons li a {
    width: 32px;
    height: 32px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.social-icons li a i {
    color: var(--primary-color);
    font-size: 14px;
}

.social-icons li a:hover {
    background: var(--yellow-pages-gold);
    transform: translateY(-3px);
}

.social-icons li a:hover i {
    color: var(--secondary-color);
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    background: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 0;
}

.navbar-brand .logo img {
    max-height: 50px;
}

.navbar-nav {
    align-items: center;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 15px !important;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler-icon {
    background-image: none;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    display: block;
    margin: 5px 0;
    transition: all var(--transition-speed) ease;
}

/* ========== BUTTONS ========== */
.primary_btn {
    background: var(--primary-color);
    color: var(--secondary-color) !important;
    padding: 8px 20px;
    border-radius: 25px;
    border: 2px solid var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: all var(--transition-speed) ease;
}

.primary_btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.primary_btn i {
    margin-left: 6px;
    font-size: 12px;
}

.secondary_btn {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.secondary_btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color) !important;
}



/* ========== MAIN WRAPPER ========== */
.main-wrapper {
    position: relative;
    z-index: 100;
}

/* ========== HERO BANNER CAROUSEL========== */
.banner3-con {
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

#heroBannerCarousel {
    height: 100vh;
    width: 100%;
}

.carousel-inner {
    height: 100vh;
    width: 100%;
}

.carousel-item {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* Remove fade, use slide transition */
    transition: transform 0.8s ease-in-out;
}

/* Individual Slide Background Images with DARKER Black Overlay */
.banner-slide-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
                      url('../images/close-up-of-fashion-glasses-with-changeable-colore.webp');
}

.banner-slide-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
                      url('../images/happy-stylish-interracial-couple-in-autumn-outfit.webp');
}

.banner-slide-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
                      url('../images/group-of-smiling-stylish-african-american-friends.webp');
}

/* Sliding effect for backgrounds */
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: block;
}

.carousel-item-next:not(.carousel-item-left),
.active.carousel-item-right {
    transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-right),
.active.carousel-item-left {
    transform: translateX(-100%);
}

/* Banner Content Positioning */
.banner_content {
    text-align: center;
    padding: 40px 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    animation: fadeInUp 0.8s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.banner_content h6 {
    color: var(--yellow-pages-gold);
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
    animation: fadeIn 1s ease-in-out 0.2s both;
}

.banner_content h1 {
    color: var(--secondary-color);
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 1);
    font-weight: 800;
    animation: fadeIn 1s ease-in-out 0.4s both;
}

.banner_content h1 span {
    color: var(--yellow-pages-gold);
    display: inline-block;
}

.banner_content p {
    color: var(--secondary-color);
    font-size: 19px;
    margin-bottom: 35px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 1);
    line-height: 1.6;
    animation: fadeIn 1s ease-in-out 0.6s both;
}

.button_wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-in-out 0.8s both;
}

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

/* HIDE NAVIGATION ARROWS */
.banner3-con .carousel-control-prev,
.banner3-con .carousel-control-next {
    display: none !important;
}

/* Carousel Indicators - Modern, Smaller, Animated */
.banner3-con .carousel-indicators {
    bottom: 30px;
    z-index: 10;
    margin-bottom: 0;
}

.banner3-con .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin: 0 4px;
    opacity: 1;
    position: relative;
    overflow: hidden;
}

@keyframes indicatorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

.banner3-con .carousel-indicators li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--yellow-pages-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner3-con .carousel-indicators li:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.banner3-con .carousel-indicators li:hover::before {
    width: 100%;
    height: 100%;
}

.banner3-con .carousel-indicators .active {
    background-color: var(--yellow-pages-gold);
    border-color: rgba(255, 255, 255, 0.8);
    width: 32px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(253, 184, 19, 0.8);
    animation: indicatorPulse 2s ease-in-out infinite;
}

.banner3-con .carousel-indicators .active::before {
    width: 100%;
    height: 100%;
}

@keyframes indicatorLoad {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.banner3-con .carousel-indicators .active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    animation: indicatorLoad 8s linear;
}

/* ABOUT SECTION  */
.pricingabout-con {
    padding: 80px 0;
    background: var(--secondary-color);
}

.about_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform var(--transition-speed) ease;
}

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

.about_content {
    padding: 20px 0;
}

.about_content h6 {
    color: var(--yellow-pages-gold);
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.about_content h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.about_content .text {
    color: var(--accent-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .banner3-con {
        min-height: 60vh;
    }
    
    .carousel-item {
        min-height: 60vh;
    }
    
    .banner_content h1 {
        font-size: 2.2rem;
    }
    
    .banner_content p {
        font-size: 16px;
    }
    
    .pricingabout-con {
        padding: 60px 0;
    }
    
    .about-image img {
        max-height: 400px;
    }
    
    .about_content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .banner3-con {
        min-height: 55vh;
        padding: 40px 0;
    }
    
    .carousel-item {
        min-height: 55vh;
    }
    
    .banner_content h1 {
        font-size: 1.8rem;
    }
    
    .banner_content h6 {
        font-size: 14px;
    }
    
    .banner_content p {
        font-size: 15px;
    }
    
    .button_wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .button_wrapper .primary_btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .about-image img {
        max-height: 350px;
    }
    
    .about_content {
        padding: 30px 0 0;
    }
    
    .about_content h2 {
        font-size: 1.8rem;
    }
    
    .about_content .text {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .banner_content h1 {
        font-size: 1.5rem;
    }
    
    .about-image img {
        max-height: 300px;
    }
}
/* ========== FEATURED COLLECTION - FIXED IMAGE DISPLAY ========== */
.service3-con {
    background: var(--secondary-color);
    padding: 80px 0;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 450px;
    perspective: 1000px;
    margin-bottom: 30px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-image-wrapper {
    width: 100%;
    height: 70%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    backface-visibility: hidden;
    transform: translateZ(0) scale(1);
}

.flip-card:hover .card-image-wrapper img {
    transform: translateZ(0) scale(1.1);
}

.card-content {
    padding: 20px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--secondary-color);
    min-height: 30%;
}

.card-content h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.card-content h3 i {
    color: var(--yellow-pages-gold);
    margin-right: 8px;
    font-size: 16px;
}

.card-content p {
    color: var(--accent-color);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--secondary-color);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.flip-card-back h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.flip-card-back h3 i {
    color: var(--yellow-pages-gold);
    margin-right: 10px;
}

.flip-card-back p {
    color: var(--secondary-color);
    font-size: 15px;
    line-height: 1.6;
}


/* ========== SERVICES SECTION ========== */
.statistic-con {
    padding: 80px 0;
    background: var(--light-gray);
}

.statistic_content {
    margin-bottom: 50px;
}

.statistic_content h6 {
    color: var(--yellow-pages-gold);
    margin-bottom: 15px;
}

.statistic_content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.statistic_content p {
    color: var(--accent-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Card Styles */
.service-card {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-speed) ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.service-card:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all var(--transition-speed) ease;
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.service-card:hover .service-icon i {
    color: var(--primary-color);
}

.service-card h5 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: all var(--transition-speed) ease;
}

.service-card:hover h5 {
    color: var(--secondary-color);
}

.service-card p {
    color: var(--accent-color);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    transition: all var(--transition-speed) ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .service-card {
        padding: 35px 20px;
        margin-bottom: 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 28px;
    }
    
    .service-card h5 {
        font-size: 18px;
    }
    
    .service-card p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .statistic-con {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }
    
    .service-icon i {
        font-size: 26px;
    }
}
/* ========== CORE VALUES SECTION ========== */
.help3-con {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 100px 0;
}

.core-values-card {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    height: 100%;
}

.core-values-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--yellow-pages-gold);
}

.core-values-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--secondary-color);
    transition: all var(--transition-speed) ease;
}

.core-values-card:hover .core-values-icon {
    background: var(--yellow-pages-gold);
    transform: rotateY(360deg);
}

.core-values-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.core-values-card p {
    color: var(--accent-color);
}

/* ========== TESTIMONIALS SECTION - UPDATED TO MATCH WEBSITE STYLE ========== */
.testimonial-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.testimonial_content {
    margin-bottom: 50px;
}

.testimonial_content h6 {
    color: var(--yellow-pages-gold);
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.testimonial_content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.testimonial_content p {
    color: var(--accent-color);
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: visible;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--yellow-pages-gold);
}

.testimonial-quote-icon {
    position: absolute;
    top: -15px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--yellow-pages-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(253, 184, 19, 0.3);
    transition: all var(--transition-speed) ease;
}

.testimonial-card:hover .testimonial-quote-icon {
    transform: scale(1.1) rotate(360deg);
    background: var(--primary-color);
}

.testimonial-quote-icon i {
    font-size: 20px;
    color: var(--secondary-color);
}

.star-rating {
    color: var(--yellow-pages-gold);
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.star-rating i {
    transition: all var(--transition-speed) ease;
}

.testimonial-card:hover .star-rating i {
    transform: scale(1.15);
}

.testimonial-text {
    font-size: 15px;
    color: var(--accent-color);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-author-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--yellow-pages-gold);
    transition: all var(--transition-speed) ease;
}

.testimonial-card:hover .author-avatar img {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(253, 184, 19, 0.4);
}

.author-details {
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: none;
    letter-spacing: 0;
}

.author-role {
    display: block;
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 400;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .testimonial-section {
        padding: 60px 0;
    }
    
    .testimonial-card {
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .testimonial-section {
        padding: 50px 0;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-quote-icon {
        width: 45px;
        height: 45px;
        top: -12px;
        right: 20px;
    }
    
    .testimonial-quote-icon i {
        font-size: 18px;
    }
    
    .star-rating {
        font-size: 14px;
    }
    
    .testimonial-text {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .testimonial-author-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .author-avatar img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 575px) {
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .testimonial-author {
        font-size: 15px;
    }
    
    .author-role {
        font-size: 12px;
    }
}

/* ========== BACK TO TOP BUTTON - OPTIMIZED ========== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: var(--yellow-pages-gold);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(253, 184, 19, 0.4);
    transition: all var(--transition-speed) ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop i {
    font-size: 18px;
    color: var(--primary-color);
    transition: transform var(--transition-speed) ease;
}

#backToTop:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

#backToTop:hover i {
    color: var(--yellow-pages-gold);
    transform: translateY(-3px);
}

#backToTop:active {
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    #backToTop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    #backToTop i {
        font-size: 16px;
    }
}

/* ========== CONTACT SECTION ========== */
.footer-con {
    background: var(--light-gray);
}

.contact-info-box {
    background: var(--secondary-color);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-info-box h4 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-of-type {
    border-bottom: none;
}

.contact-info-item i {
    font-size: 24px;
    color: var(--yellow-pages-gold);
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-info-item h6 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
}

.contact-info-item p {
    color: var(--accent-color);
    margin-bottom: 0;
}

.contact-info-item a {
    color: var(--accent-color);
}

.contact-info-item a:hover {
    color: var(--yellow-pages-gold);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========== FOOTER SECTION ========== */
.footer-con {
    background-image: url('../images/stylish-eyeglasses-optical-store-glasses-selecti.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.footer-con .container {
    position: relative;
    z-index: 2;
}

.footer-con .middle_portion {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Logo & Content */
.footer-con .logo-content {
    padding-right: 20px;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-con .text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Footer Social Icons */
.footer-con .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-con .social-icons li a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.footer-con .social-icons li a i {
    color: var(--secondary-color);
    font-size: 16px;
}

.footer-con .social-icons li a:hover {
    background: var(--yellow-pages-gold);
    border-color: var(--yellow-pages-gold);
    transform: translateY(-3px);
}

.footer-con .social-icons li a:hover i {
    color: var(--primary-color);
}

/* Footer Headings */
.footer-con .heading {
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-con .heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--yellow-pages-gold);
}

/* Footer Links */
.footer-con .links ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-con .links ul li i {
    color: var(--yellow-pages-gold);
    font-size: 10px;
    margin-right: 10px;
    transition: transform var(--transition-speed) ease;
}

.footer-con .links ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.footer-con .links ul li a:hover {
    color: var(--yellow-pages-gold);
    padding-left: 5px;
}

.footer-con .links ul li:hover i {
    transform: translateX(3px);
}

/* Footer Working Hours */
.footer-con .timing ul li {
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-con .timing ul li p {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
    font-size: 15px;
}

.footer-con .timing ul li span {
    color: var(--yellow-pages-gold);
    font-size: 14px;
}

/* Footer Contact */
.footer-con .contact ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-con .contact ul li i {
    color: var(--yellow-pages-gold);
    font-size: 18px;
    margin-top: 3px;
    min-width: 20px;
}

.footer-con .contact ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
    transition: all var(--transition-speed) ease;
}

.footer-con .contact ul li a:hover {
    color: var(--yellow-pages-gold);
    padding-left: 5px;
}

/* Copyright Section - Single Line */
.footer-con .copyright {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.footer-con .copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.footer-con .copyright-single-line {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-con .copyright .separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
}

.footer-con .copyright a {
    color: var(--yellow-pages-gold);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.footer-con .copyright a:hover {
    color: var(--secondary-color);
}

.footer-con .copyright img {
    transition: transform var(--transition-speed) ease;
    display: inline-block;
}

.footer-con .copyright a:hover img {
    transform: scale(1.1);
}

/* Fixed Form Container (if needed) */
#fixed-form-container {
    display: none;
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer-con {
        padding: 60px 0 0;
    }
    
    .footer-con .middle_portion {
        padding-bottom: 40px;
    }
    
    .footer-con .logo-content {
        margin-bottom: 40px;
        padding-right: 0;
    }
    
    .footer-con .heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-con .links,
    .footer-con .timing,
    .footer-con .contact {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .footer-con {
        padding: 50px 0 0;
    }
    
    .footer-con .heading {
        text-align: center;
        font-size: 18px;
    }
    
    .footer-con .links ul,
    .footer-con .contact ul {
        text-align: center;
    }
    
    .footer-con .links ul li,
    .footer-con .contact ul li {
        justify-content: center;
    }
    
    .footer-con .timing ul li {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .footer-con .copyright {
        padding: 20px 0;
    }
    
    .footer-con .copyright p {
        font-size: 13px;
    }
    
    .footer-con .copyright-single-line {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .footer-con .copyright .separator {
        display: none;
    }
    
    .footer-con .copyright a img {
        height: 22px;
    }
}

@media (max-width: 575px) {
    .footer-con .social-icons {
        justify-content: center;
    }
    
    .footer-con .copyright a img {
        height: 20px;
        margin: 0 3px;
    }
}
/* ========== RESPONSIVE DESIGN ========== */

/* Tablets and Medium Devices */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    section {
        padding: 60px 0;
    }
    
    .banner_content h1 {
        font-size: 2.5rem;
    }
    
    .banner3-con {
        padding: 80px 0;
        min-height: 500px;
    }
    
    .navbar-collapse {
        background: var(--secondary-color);
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .flip-card {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .service-card,
    .core-values-card {
        margin-bottom: 20px;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h6 { font-size: 0.875rem; }
    
    section {
        padding: 40px 0;
    }
    
    .top-bar-box {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar-info ul,
    .top-bar-social {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-bar-social {
        width: 100%;
    }
    
    .banner_content h1 {
        font-size: 2rem;
    }
    
    .banner_content p {
        font-size: 16px;
    }
    
    .banner3-con {
        padding: 60px 0;
        min-height: 400px;
    }
    
    .button_wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .button_wrapper .primary_btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .flip-card {
        height: 280px;
    }
    
    .flip-card-back {
        padding: 20px;
    }
    
    .flip-card-back h3 {
        font-size: 20px;
    }
    
    .flip-card-back p {
        font-size: 14px;
    }
    
    .service-card,
    .core-values-card {
        padding: 30px 20px;
        margin-bottom: 15px;
    }
    
    .about_content,
    .about_wrapper {
        margin-bottom: 30px;
    }
    
    .contact-info-box {
        margin-bottom: 30px;
    }
    
    .map-container {
        min-height: 300px;
    }
    
    .copyright .row {
        text-align: center !important;
    }
    
    .copyright .col-md-6 {
        margin-bottom: 15px;
    }
    
    .owl-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    #button {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    #button::after {
        font-size: 16px;
    }
}

/* Small Mobile Devices */
@media (max-width: 575px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .banner_content h1 {
        font-size: 1.75rem;
    }
    
    .testimonial_content p,
    .statistic_content p {
        font-size: 16px;
    }
    
    .testimonial-box {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .review-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-personimage {
        margin-bottom: 10px;
    }
    
    .review-content ul {
        justify-content: center;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .header,
    .top-bar-con,
    #button,
    .loader-mask {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}