/* Custom CSS for Crescent Bread Website */

/* Performance optimizations */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimize image loading with performance enhancements */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Performance optimizations */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Optimize lazy loaded images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background-color: #f8f9fa;
    background-image: linear-gradient(90deg, #f0f0f0 25%, transparent 25%), 
                      linear-gradient(#f0f0f0 50%, transparent 50%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px;
}

/* Cake Product Modal Styles */
.cake-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.cake-modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: cakeModalSlideIn 0.3s ease-out;
}

@keyframes cakeModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cake-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 2001;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cake-modal-close:hover {
    color: #dc3545;
}

.cake-modal-body {
    display: flex;
    min-height: 500px;
}

.cake-modal-left {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cake-product-image-container {
    position: relative;
    max-width: 100%;
    text-align: center;
}

.cake-modal-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.cake-modal-image:hover {
    transform: scale(1.05);
}

.cake-zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cake-zoom-icon:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

.cake-modal-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cake-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cake-modal-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
}

.cake-size-section {
    margin-bottom: 25px;
}

.cake-size-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.cake-size-options {
    display: flex;
    gap: 10px;
}

.cake-size-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 10px 16px;
    border-radius: 0;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cake-size-btn.active,
.cake-size-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.cake-details {
    margin-bottom: 30px;
}

.cake-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.cake-detail-item:last-child {
    border-bottom: none;
}

.cake-detail-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.cake-detail-value {
    font-weight: 700;
    color: #dc3545;
    font-size: 1rem;
}

.cake-modal-actions {
    margin-top: auto;
}

.cake-order-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cake-order-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

/* Responsive Design for Cake Modal */
@media (max-width: 768px) {
    .cake-modal {
        padding: 10px;
    }
    
    .cake-modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .cake-modal-body {
        flex-direction: column;
        min-height: auto;
    }
    
    .cake-modal-left {
        border-radius: 0;
        padding: 20px;
        flex: none;
    }
    
    .cake-modal-right {
        padding: 20px;
        flex: none;
    }
    
    .cake-modal-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .cake-modal-description {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .cake-modal-image {
        max-height: 250px;
    }
    
    .cake-modal-close {
        font-size: 24px;
        right: 15px;
        top: 10px;
    }
    
    .cake-size-section {
        margin-bottom: 20px;
    }
    
    .cake-details {
        margin-bottom: 20px;
    }
}

/* iPhone and Small Mobile Modal Styles */
@media (max-width: 576px) {
    .cake-modal {
        padding: 5px;
    }
    
    .cake-modal-content {
        width: 98%;
        margin: 1% auto;
        max-height: 98vh;
        border-radius: 8px;
    }
    
    .cake-modal-body {
        flex-direction: column;
    }
    
    .cake-modal-left {
        padding: 15px;
    }
    
    .cake-modal-right {
        padding: 15px;
    }
    
    .cake-modal-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .cake-modal-description {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .cake-modal-image {
        max-height: 200px;
        width: 100%;
        object-fit: contain;
    }
    
    .cake-modal-close {
        font-size: 20px;
        right: 10px;
        top: 8px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cake-size-section h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .cake-size-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .cake-detail-item {
        margin-bottom: 8px;
    }
    
    .cake-detail-label {
        font-size: 0.8rem;
    }
    
    .cake-detail-value {
        font-size: 0.8rem;
    }
    
    .cake-order-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* iPhone SE and smaller */
@media (max-width: 375px) {
    .cake-modal-content {
        width: 100%;
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .cake-modal-left {
        padding: 10px;
    }
    
    .cake-modal-right {
        padding: 10px;
    }
    
    .cake-modal-title {
        font-size: 1.1rem;
    }
    
    .cake-modal-description {
        font-size: 0.75rem;
    }
    
    .cake-modal-image {
        max-height: 180px;
    }
    
    .cake-modal-close {
        font-size: 18px;
        right: 8px;
        top: 5px;
        width: 25px;
        height: 25px;
    }
}

/* Root Variables */
:root {
    --primary-red: #dc3545;
    --secondary-red: #c82333;
    --warning-yellow: #ffc107;
    --dark-color: #343a40;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-red) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}


.hero-slider{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.menu{
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    background-color: #f0f0f0;
    box-shadow: 2px -1px 10px 2px rgba(0,0,0,0.75);
    -webkit-box-shadow: 2px -1px 10px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px -1px 10px 2px rgba(0,0,0,0.75);
    z-index: 1000;
}
.leftside{
    height: 80px;
    float: left;     
}
.leftside img{
    width: 140px;
    height: auto;
    position: absolute;
    top:-33px;
    left: 50px;
}
.rightside{
    width: auto;
    height: 80px;
    float: right;
    display: flex;
    align-items: center;
    padding-right: 20px;
    justify-content: right;
}
.rightside a{
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(0,0,0,0.9);
    text-decoration: none;
    padding: 10px 10px;
    transition: 0.5s;
}
.navicon:hover{
    color:#991b1b
}
.social{
    display: inline;
}
.menubar{
    position: absolute;
    right: 20px;
    top: 25px;
    opacity: 0;
}
.menubar .line{
    height: 2px;
    width: 50px;
    background-color: black;
    margin: 5px 0;
    border-radius: 50px;
    cursor: pointer;
    
}
#cross{
    font-size: 23px;
   color: #fff;
    position: absolute;
    top: 25px;
    left: 25px;
    opacity: 0;
}

#Border{
    padding: 13px 0;
    display: inline;
    border-right: 1px solid #dc2626;
    margin: 0 30px;
}
.rightside i{
    font-size: 18px;
}
#Sweet-Bakery{
    padding: 12px 20px;
    background-color: #dc2626;
    color: #fff;
    border-radius: 5px;
    transition: 0.5s;
    margin-left: 15px;
}
#Sweet-Bakery i{
    margin-right: 8px;
}
#Sweet-Bakery:hover{
    background-color: #991b1b;}

/* Contact map styles */
.map-container {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    min-height: 300px;
    background-color: #f8f9fa;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Centered wide popup styling */
.cb-popup .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 12px;
}
.cb-popup .leaflet-popup-content {
    margin: 0;
    padding: 12px 16px;
    width: 520px; 
}

/* Marker label styling for full location name */
.cb-label {
    background: rgba(255,255,255,0.95);
    color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
}
.cb-label .leaflet-tooltip-tip {
    box-shadow: none;
    background: transparent;
}


/* responsive */
@media (max-width: 768px) {
    .map-container { 
        height: 300px; 
        margin-top: 12px; 
        border-radius: 8px;
        min-height: 250px;
    }
    
    /* Contact section mobile optimization */
    .contact-section .row {
        margin: 0;
    }
    
    .contact-section .col-md-6 {
        padding: 0 15px;
        margin-bottom: 20px;
    }
    
    /* Map container mobile specific */
    .contact-section .map-container {
        height: 280px;
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .map-container {
        height: 250px;
        margin-top: 15px;
        border-radius: 6px;
        min-height: 200px;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Contact form mobile spacing */
    .contact-section .col-md-6:first-child {
        margin-bottom: 25px;
    }
}

/* iPhone Specific Map Styles */
@media (max-width: 414px) {
    .map-container {
        height: 220px;
        margin-top: 10px;
        border-radius: 4px;
        min-height: 180px;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .contact-section .col-md-6 {
        padding: 0 10px;
    }
}

/* iPhone SE and smaller */
@media (max-width: 375px) {
    .map-container {
        height: 200px;
        margin-top: 8px;
        border-radius: 4px;
        min-height: 160px;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #dc3545, transparent);
    margin: 0;
    border: none;
}



.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Mobile Responsive Header */
@media (max-width: 991.98px) {
    .navbar-nav {
        background: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-top: 10px;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 12px 20px !important;
        border-radius: 5px;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav .nav-link:hover {
        background: #f8f9fa;
        color: var(--primary-red) !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .logo-img {
        height: 65px;
    }
    
    /* Navbar Menu Mobile Responsive */
    .Navbar-Menu .menu {
        height: 70px;
    }
    
    .Navbar-Menu .leftside {
        height: 70px;
    }
    
    .Navbar-Menu .leftside img {
        width: 100px;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
    }
    
    .Navbar-Menu .rightside {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        display: none;
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .Navbar-Menu .rightside a {
        font-size: 18px;
        padding: 20px 20px;
        display: block;
        text-align: center;
        text-decoration: none;
        color: #333;
        font-weight: 600;
        background: white;
        border-radius: 8px;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
    
    .Navbar-Menu .rightside a:hover {
        background: white;
        color: #dc3545;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    }
    
    .Navbar-Menu .menubar {
        right: 15px;
        top: 20px;
        opacity: 1;
        display: block;
    }
    
    .Navbar-Menu .menubar .line {
        width: 40px;
        height: 2px;
    }
    
    .Navbar-Menu .social {
        display: none;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 40px;
    }
    
    .navbar-nav {
        padding: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        font-size: 14px;
    }
    
    /* Navbar Menu Small Mobile */
    .Navbar-Menu .menu {
        height: 60px;
    }
    
    .Navbar-Menu .leftside {
        height: 60px;
    }
    
    .Navbar-Menu .leftside img {
        width: 80px;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
    }
    
    .Navbar-Menu .rightside {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        display: none;
        flex-direction: column;
        padding: 25px 15px;
    }
    
    .Navbar-Menu .rightside a {
        font-size: 16px;
        padding: 18px 15px;
        display: block;
        text-align: center;
        text-decoration: none;
        color: #333;
        font-weight: 600;
        background: white;
        border-radius: 8px;
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }
    
    .Navbar-Menu .rightside a:hover {
        background: white;
        color: #dc3545;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    }
    
    .Navbar-Menu .menubar {
        right: 10px;
        top: 15px;
        display: block;
    }
    
    .Navbar-Menu .menubar .line {
        width: 30px;
        height: 2px;
    }
}


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    /* padding-top: 80px; */
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Hero Slider Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-arrow:hover {
    background: rgba(255, 193, 7, 0.8);
    border-color: #ffc107;
    color: #343a40;
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-left {
    left: 30px;
}

.hero-arrow-right {
    right: 30px;
}

.hero-arrow i {
    font-size: 20px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f9fa;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slide.active {
    opacity: 1;
}



.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #ffc107;
    transform: scale(1.2);
}




/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: #6c757d;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Categories */
.product-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
}

.category-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.new-products-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: left;
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 8px;
    padding: 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

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


.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

.product-card:hover .product-image img {
    transform: scale(1.02);
}

.product-info {
    padding: 15px;
    text-align: center;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

/* Product Filter Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {
    animation: fadeInUp 0.5s ease forwards;
}



.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 15px;
}


/* Contact item: icon + text alignment */
.contact-item {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}
.contact-item i {
    color: var(--primary-red);
    font-size: 20px;
    min-width: 28px;
    text-align: center;
    margin-top: 4px;
}
.contact-item h5 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
}
.contact-item p {
    margin: 0;
}
.contact-item a {
    color: inherit;
    text-decoration: none;
}
.contact-item a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

/* Footer */
.footer-section {
    background: #ffffff;
    padding: 60px 0 0;
    color: #333;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info {
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-item i {
    color: var(--primary-red);
    margin-right: 12px;
    margin-top: 2px;
    font-size: 16px;
    min-width: 16px;
}

.contact-item span {
    color: #666;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.subscribe-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.subscribe-form .input-group {
    margin-bottom: 10px;
}

.subscribe-form .form-control {
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
}

.subscribe-form .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.btn-subscribe {
    background: var(--primary-red);
    border: 1px solid var(--primary-red);
    color: white;
    padding: 12px 20px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    color: white;
}

.subscribe-disclaimer {
    color: #999;
    font-size: 12px;
    font-style: italic;
}

.success-message {
    color: #28a745;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

/* Footer Bottom Red Bar */
.footer-bottom {
    background: var(--primary-red);
    padding: 20px 0;
    margin-top: 40px;
}

.copyright {
    color: white;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover {
    background: #e4405f;
}

.social-icon.instagram:hover {
    background: #e4405f;
}


.social-icon.whatsapp {
    background: #25d366;
}

.social-icon.whatsapp:hover {
    background: #128c7e;
}



/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        min-height: 100vh;
        padding-top: 0;
    }
    
    .hero-slider-container {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-slider {
        height: 100%;
    }
    
    .hero-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Hero Arrow Responsive */
    .hero-arrow {
        width: 50px;
        height: 50px;
    }
    
    .hero-arrow i {
        font-size: 16px;
    }
    
    .hero-arrow-left {
        left: 15px;
    }
    
    .hero-arrow-right {
        right: 15px;
    }
    
    /* Hero Dots Mobile */
    .hero-dots {
        bottom: 20px;
    }
    
    .hero-dots .dot {
        width: 12px;
        height: 12px;
    }
    
    /* Product Categories Responsive */
    .product-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Footer Responsive */
    .footer-section {
        padding: 40px 0 0;
    }
    
    .footer-logo-img {
        max-width: 150px;
        margin-bottom: 20px;
    }
    
    .footer-heading {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .contact-item {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .subscribe-text {
        font-size: 13px;
    }
    
    .subscribe-form .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .btn-subscribe {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    .copyright {
        font-size: 12px;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .social-icons {
        justify-content: center;
        gap: 8px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    /* Hero Section iPhone/Small Mobile */
    .hero-section {
        min-height: 100vh;
        padding-top: 0;
    }
    
    .hero-slider-container {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    /* Hero Arrow Mobile */
    .hero-arrow {
        width: 40px;
        height: 40px;
    }
    
    .hero-arrow i {
        font-size: 14px;
    }
    
    .hero-arrow-left {
        left: 10px;
    }
    
    .hero-arrow-right {
        right: 10px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Hero Dots iPhone */
    .hero-dots {
        bottom: 15px;
    }
    
    .hero-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Footer Mobile */
    .footer-section {
        padding: 30px 0 0;
    }
    
    .footer-logo-img {
        max-width: 120px;
    }
    
    .footer-heading {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .contact-item {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .contact-item i {
        font-size: 14px;
        margin-right: 8px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .subscribe-text {
        font-size: 12px;
    }
    
    .subscribe-form .form-control {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .btn-subscribe {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .subscribe-disclaimer {
        font-size: 11px;
    }
    
    .footer-bottom {
        padding: 12px 0;
        margin-top: 25px;
    }
    
    .copyright {
        font-size: 11px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .social-icons {
        justify-content: center;
        gap: 6px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}


/* New logo image (header) */
.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: inline-block;
}


/* Small responsive tweak */
@media (max-width: 576px) {
    .logo-img { height: 44px; }
    .footer-logo-img { height: 80px; }
}

/* iPhone Specific Styles */
@media (max-width: 414px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-slider-container {
        height: 100vh;
        min-height: 450px;
    }
    
    .hero-slide {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
    }
    
    .hero-arrow {
        width: 35px;
        height: 35px;
    }
    
    .hero-arrow i {
        font-size: 12px;
    }
    
    .hero-arrow-left {
        left: 8px;
    }
    
    .hero-arrow-right {
        right: 8px;
    }
    
    .hero-dots {
        bottom: 10px;
    }
    
    .hero-dots .dot {
        width: 8px;
        height: 8px;
    }
}

/* iPhone SE and smaller */
@media (max-width: 375px) {
    .hero-slider-container {
        min-height: 400px;
    }
    
    .hero-arrow {
        width: 30px;
        height: 30px;
    }
    
    .hero-arrow i {
        font-size: 10px;
    }
}

/* Android Performance Optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    /* Android Chrome optimizations */
    .hero-slide-img,
    .product-image img,
    .cake-modal-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .map-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
    
    /* Reduce animation complexity for Android */
    .hero-slide {
        transition: opacity 0.3s ease-in-out;
    }
    
    .product-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .cake-modal-content {
        animation: none;
    }
}

/* Ensure footer explicitly inherits same font */
.footer-section,
.footer-bottom,
.footer-section * {
    font-family: inherit;
}

/* Fix: prevent other CSS from hiding/overriding footer icons */
.footer-section i,
.footer-section .contact-item i,
.footer-section .social-icons i,
.footer-section .whatsapp-float i,
.whatsapp-btn i {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: inherit !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: auto !important;
    font-size: 20px !important; /* adjust size if needed */
    font-style: normal !important;
}

/* Ensure Font Awesome fonts are used for the correct styles */
.footer-section .fa-solid,
.footer-section .fas,
.footer-section i.fa-solid,
.footer-section i.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.footer-section .fa-brands,
.footer-section .fab,
.footer-section i.fa-brands,
.footer-section i.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Make sure pseudo-elements (::before) render with the right font */
.footer-section i::before {
    font-family: inherit !important;
    font-weight: inherit !important;
}

/* Prevent any zero-size or hidden text in contact items */
.footer-section .contact-item span,
.footer-section .contact-item a {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: inherit !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: auto !important;
    font-size: 14px !important; /* adjust size if needed */
    font-style: normal !important;
}



/* Careers Section Styles */
.careers-section {
    background: #ffffff;
}

.careers-hero {
    background: url('career.jpg') center center/cover no-repeat;
    position: relative;
    height: 450px;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.careers-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.careers-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.careers-main {
    background: #ffffff;
    padding: 80px 0;
}

.careers-subtitle {
    color: #343a40;
    font-weight: 600;
    font-size: 1.2rem;
}

.careers-accent {
    border-left: 4px solid #ffc107;
    padding-left: 18px;
}

.careers-headline {
    color: #dc3545;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.careers-description {
    color: #343a40;
    font-size: 1.1rem;
    line-height: 1.6;
}

.careers-cta-subtitle {
    color: #343a40;
    font-weight: 600;
    font-size: 1.2rem;
}

.careers-cta-title {
    color: #dc3545;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.careers-cta-description {
    color: #343a40;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.careers-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

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

.careers-card-icon {
    width: 80px;
    height: 80px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.careers-card-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.careers-card-title {
    color: #343a40;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.careers-card-text {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.careers-btn {
    background: #dc3545;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.careers-btn:hover {
    background: #c82333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .careers-title {
        font-size: 2.5rem;
    }
    
    .careers-headline {
        font-size: 2rem;
    }
    
    .careers-cta-title {
        font-size: 2rem;
    }
    
    .careers-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .careers-content {
        padding: 2rem 0;
    }
}

/* HoReCa Section Styles */
.horeca-section {
    background: #ffffff;
}

.horeca-bg {
    background: #ffffff;
    position: relative;
    min-height: 100vh;
}

.horeca-bg::before {
    display: none;
}

.horeca-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.horeca-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #dc3545;
}

.horeca-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #343a40;
    max-width: 800px;
    margin: 0 auto;
}

.customers-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .horeca-title {
        font-size: 2.5rem;
    }
    
    .horeca-text {
        font-size: 1rem;
    }
    
    .customers-heading {
        font-size: 2rem;
    }
    
    .horeca-content {
        padding: 2rem 0;
    }
}

/* About Us Section Styles */
.about-section {
    background: #ffffff;
}

.about-hero {
    background: url('about.jpg') center center/cover no-repeat;
    position: relative;
    height: 450px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.about-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.about-main {
    background: #ffffff;
    padding: 80px 0;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
}

/* Removed red lines from section headings */

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #343a40;
    margin-bottom: 2rem;
    text-align: left;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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




/* About Cards */
.about-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ffc107);
}

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

.about-card-icon {
    width: 80px;
    height: 80px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.about-card:hover .about-card-icon {
    background: #ffc107;
    transform: scale(1.1);
}

.about-card-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.about-card-title {
    color: #343a40;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.certification-section .about-card-title {
    font-size: 2.2rem;
    font-weight: 700;
}

.about-card-divider {
    width: 60px;
    height: 3px;
    background: #dc3545;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.about-card-text {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
}

/* Simple History Section Styles */
.history-simple-section {
    background: #f8f9fa;
    padding: 4rem 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #dc3545;
}

.history-simple-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 3rem;
    position: relative;
}

/* Red lines removed from history title */

.history-simple-content {
    max-width: 800px;
    margin: 0 auto;
}

.history-simple-content p {
    color: #343a40;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: left;
}

.history-simple-content p:last-child {
    margin-bottom: 0;
}

/* Certification Section */
.certification-section {
    background: #f8f9fa;
}

.certification-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.certification-icon-img {
    max-width: 80px;
    height: auto;
    display: block;
}

.certification-intro {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

.certification-cards {
    margin-top: 2rem;
}

.certification-logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    height: 100%;
    min-height: 280px;
}

.certification-logo-container:hover {
    transform: translateY(-5px);
    border-color: #dc3545;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.certification-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    display: block;
    margin-bottom: 1.5rem;
}

.clickable-cert {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-cert:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.certification-details {
    width: 100%;
}

.certification-details p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cert-number {
    color: #6c757d;
    font-weight: 500;
}

.cert-standard {
    color: #343a40;
    font-weight: 600;
    font-size: 1rem;
}

.cert-description {
    color: #6c757d;
    font-style: italic;
}

.cert-validity {
    color: #28a745;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Certificate Images Section */
.certificate-images-section {
    background: #ffffff;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #dc3545;
}

.certificate-section-title {
    color: #343a40;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.certificate-images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.certificate-image-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dc3545;
    border-radius: 10px;
    padding: 3rem 2rem;
    color: #6c757d;
    font-style: italic;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
}

/* Certificate image styles (for when images are added) */
.certificate-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.certificate-image:hover {
    transform: scale(1.02);
}

/* Responsive Design for About Us */
@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        font-size: 1.2rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    /* Red lines already removed */
    
    .about-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        padding: 2rem 0;
    }
    
    
    
    .quality-policy {
        padding: 2rem 1.5rem;
    }
    
    .policy-header h4 {
        font-size: 1.1rem;
    }
    
    .certification-card {
        margin-bottom: 2rem;
    }
    
    .history-simple-section {
        padding: 3rem 2rem;
    }
    
    .history-simple-title {
        font-size: 2rem;
    }
    
    /* Red lines already removed */
    
    .history-simple-content p {
        font-size: 1rem;
    }
    
    .certificate-images-section {
        padding: 2rem 1.5rem;
    }
    
    .certificate-section-title {
        font-size: 1.5rem;
    }
    
    .certificate-images-container {
        gap: 1.5rem;
    }
    
    .certificate-image-placeholder {
        padding: 2rem 1rem;
        min-height: 150px;
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .about-card {
        padding: 1.5rem 1rem;
    }
    
    .about-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .about-card-icon i {
        font-size: 2rem;
    }
    
    .about-card-title {
        font-size: 1.3rem;
    }
    
    .quality-policy {
        padding: 1.5rem 1rem;
    }
    
    .policy-logo {
        height: 40px;
    }
    
    .policy-header h4 {
        font-size: 1rem;
    }
    
    .policy-list {
        font-size: 0.9rem;
    }
    
    .signature-line {
        width: 150px;
    }
    
    .history-simple-section {
        padding: 2rem 1.5rem;
    }
    
    .history-simple-title {
        font-size: 1.8rem;
    }
    
    .history-simple-content p {
        font-size: 0.9rem;
    }
    
    .certificate-images-section {
        padding: 1.5rem 1rem;
    }
    
    .certificate-section-title {
        font-size: 1.3rem;
    }
    
    .certificate-image-placeholder {
        padding: 1.5rem 1rem;
        min-height: 120px;
        font-size: 0.9rem;
    }
}