:root {
    --primary: #E50914;
    --secondary: #1C1C1C;
    --accent: #FFB800;
    --background: #F8F8F8;
    --text: #2E2E2E;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Improved Font Face Declaration */
@font-face {
    font-family: 'Libertinus';
    src: url('../fonts/LibertinusSerif-Bold.woff2') format('woff2'),
         url('../fonts/LibertinusSerif-Bold.woff') format('woff'),
         url('../fonts/LibertinusSerif-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap; /* Better performance */
}

@font-face {
    font-family: 'Libertinus';
    src: url('../fonts/LibertinusSerif-Regular.woff2') format('woff2'),
         url('../fonts/LibertinusSerif-Regular.woff') format('woff'),
         url('../fonts/LibertinusSerif-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Fallback font stack */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-radius: 0 0 20px 20px;
}

header.scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* Updated Logo Text with Better Font Fallback */
.logo-text {
    font-family: 'Libertinus', 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: width 0.5s ease;
}

.logo-text:hover::after {
    width: 100%;
}

.logo-text span {
    font-family: 'Libertinus', 'Times New Roman', serif;
    color: var(--secondary);
}

#safety {
    font-family: 'Libertinus', 'Times New Roman', serif;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.mobile-menu:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    margin-top: 70px;
    height: 90vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 1.1s;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    margin: 0 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #20bd5c;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: var(--primary);
    border-radius: 5px;
}

/* About Section */
.about {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--accent);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.certifications {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cert-logo {
    height: 70px;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
}

.cert-logo.animated {
    transform: translateY(0);
    opacity: 1;
}

.cert-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.trusted-badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--secondary);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.3);
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.trusted-badge.animated {
    transform: translateX(0);
    opacity: 1;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--background) 0%, #e8e8e8 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    transform: translateY(50px);
    opacity: 0;
}

.service-card.animated {
    transform: translateY(0);
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Scope Section */
.scope {
    background: var(--white);
}

.scope-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.scope-category {
    background-color: var(--background);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 320px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
}

.scope-category.animated {
    transform: translateY(0);
    opacity: 1;
}

.scope-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
    transition: width 0.4s ease;
}

.scope-category:hover::before {
    width: 10px;
}

.scope-category:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.scope-category h3 {
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.scope-category h3 i {
    margin-right: 15px;
    font-size: 1.8rem;
}

.scope-list {
    list-style: none;
}

.scope-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.scope-list li::before {
    content: '▸';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    transition: all 0.3s ease;
}

.scope-list li:hover {
    transform: translateX(5px);
}

.scope-list li:hover::before {
    color: var(--accent);
    transform: scale(1.3);
}

/* Products Section */
.products {
    background-color: var(--white);
    position: relative;
}

.products::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--primary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.product-card {
    background-color: var(--background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.9);
    opacity: 0;
}

.product-card.animated {
    transform: scale(1);
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 220px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
    width: 100%;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.product-info p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-us {
    background: var(--background);
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.why-us .section-title h2 {
    color: var(--secondary);
}

.why-us .section-title h2::after {
    background-color: var(--primary);
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feature {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 40px 25px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    transform: translateY(30px);
    opacity: 0;
}

.feature.animated {
    transform: translateY(0);
    opacity: 1;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.4s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.feature p {
    color: var(--text);
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item {
    height: 280px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
    transform: scale(0.95);
    opacity: 0;
    position: relative;
    cursor: pointer;
}

.gallery-item.animated {
    transform: scale(1);
    opacity: 1;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: var(--white);
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--background) 0%, #e8e8e8 100%);
}

.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
    transform: translateX(30px);
    opacity: 0;
    transition: all 0.6s ease 0.2s;
}

.contact-info.animated {
    transform: translateX(0);
    opacity: 1;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    margin-top: 5px;
}

.map {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/diagmonds.png');
    opacity: 0.1;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-about {
    flex: 2;
    min-width: 300px;
}

/* Updated Footer Logo with Same Font */
.footer-logo {
    font-family: 'Libertinus', 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-logo span {
    font-family: 'Libertinus', 'Times New Roman', serif;
    color: var(--white);
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links ul li a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 15px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.developer-credit {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #aaa;
}

.developer-credit a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: var(--white);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    background-color: #20bd5c;
    transform: scale(1.1) rotate(5deg);
    animation: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        transform: translateY(30px);
    }
    
    .contact-info.animated {
        transform: translateY(0);
    }
    
    .footer-container {
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 26px;
        color: var(--primary);
        cursor: pointer;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-radius: 0 0 20px 20px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .logo-container {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: 12px;
    }

    .logo-img {
        height: 40px;
    }
    
    /* Mobile Logo Text - Same Font */
    .logo-text {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 20px;
        font-weight: 700;
        text-align: center;
        color: var(--primary);
        font-family: 'Libertinus', 'Times New Roman', serif;
    }
    
    /* Mobile Footer Logo */
    .footer-logo {
        font-size: 24px;
        font-family: 'Libertinus', 'Times New Roman', serif;
    }
    
    /* Improved hero section for mobile */
    .hero {
        height: 80vh;
        min-height: 500px;
        margin-top: 60px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
    
    .hero-content {
        width: 95%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .btn {
        margin: 8px 5px;
        padding: 12px 25px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .scope-categories {
        gap: 25px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .features {
        gap: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 70vh;
        min-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }
    
    .scope-category, .product-card, .feature, .service-card {
        min-width: 100%;
    }
    
    .logo-container {
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 18px;
        font-family: 'Libertinus', 'Times New Roman', serif;
    }
    
    .service-icon, .feature-icon {
        font-size: 2.5rem;
    }
    
    .service-card, .feature {
        padding: 25px 20px;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .map {
        height: 250px;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .developer-credit {
        font-size: 0.75rem;
    }
    
    /* Mobile Footer */
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-container {
        gap: 25px;
    }
    
    .footer-logo {
        font-size: 22px;
        margin-bottom: 15px;
        font-family: 'Libertinus', 'Times New Roman', serif;
    }
    
    .footer-links h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .footer-links ul li {
        margin-bottom: 8px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .service-card h3, .feature h3, .product-info h3 {
        font-size: 1.2rem;
    }
    
    /* Extra small screen optimization */
    .footer-logo {
        font-size: 20px;
        font-family: 'Libertinus', 'Times New Roman', serif;
    }
    
    .footer-links h3 {
        font-size: 1.1rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .logo-text {
        font-size: 16px;
        font-family: 'Libertinus', 'Times New Roman', serif;
    }
}