:root {
    --primary-color: #0c2444;
    /* Deep Navy */
    --secondary-color: #1e4d7b;
    /* Medium Blue */
    --accent-color: #00a8cc;
    /* Teal/Cyan */
    --text-color: #333333;
    /* Dark Gray for text */
    --light-text: #f4f4f4;
    /* Off-white for dark backgrounds */
    --background-color: #ffffff;
    --section-bg: #f9fafb;
    /* Light gray for alternate sections */
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.lang-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    /* Clean gradient fallback */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Image overlay */
    background: linear-gradient(rgba(12, 36, 68, 0.8), rgba(12, 36, 68, 0.6)), url('homepage.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--light-text);
    padding-top: 80px;
    /* Offset for fixed header */
}

/* Fallback if url is invalid/missing image */
.hero:not([style*="url"]) {
    background-color: var(--primary-color);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    /* Removed default single animation, moving to individual elements */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    /* Star invisible */
    animation: slideInDown 1s ease-out forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    /* Start invisible */
    max-width: 600px;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    /* 0.5s delay */
}

.hero-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    /* Start invisible */
    animation: fadeInUp 1s ease-out 1s forwards;
    /* 1s delay */
}

/* New Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #008ba8;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 168, 204, 0.3);
}

.btn-secondary {
    border-color: #fff;
    color: #fff;
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* =========================================
   General Section Styles
   ========================================= */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   About Section
   ========================================= */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-text {
    max-width: 800px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.05rem;
}

.features-list {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.features-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* =========================================
   Services Section
   ========================================= */
.services {
    background-color: var(--section-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

/* Top accent line on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: all 0.4s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    height: 70px;
    width: 70px;
    line-height: 70px;
    background-color: rgba(240, 248, 255, 0.5);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--accent-color);
    color: #fff;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    position: relative;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 36, 68, 0.9);
    /* Overlay */
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 35px;
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
    padding: 15px 40px;
}

.cta-section .btn-primary:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    text-align: center;
}

.info-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 280px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.info-item i {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 168, 204, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.info-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-brand span {
    color: var(--accent-color);
}

.footer-brand p {
    color: #ccc;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: #fff;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }

    .logo span {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .features-list {
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================
   Product Card Styles
   ========================================= */
.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f9fafb;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
    padding: 10px;
    /* Add some padding so it doesn't touch edges */
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.product-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-btn {
    align-self: flex-start;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-btn i {
    transition: transform 0.3s ease;
}

.product-btn:hover i {
    transform: translateX(5px);
}

/* =========================================
   Gallery / Album Styles
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 4/3;
    /* Consistent aspect ratio */
    background-color: #f0f0f0;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 36, 68, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: #fff;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    animation: zoomIn 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: block;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 15px;
    transition: all 0.3s ease;
    z-index: 2001;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        padding: 5px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    color: #fff;
}

.btn-whatsapp i {
    font-size: 1.2rem;
}