/* CSS Reset & Variables */
:root {
    /* Adjusted Palette - Softer on Eyes */
    --primary-color: #1e293b;
    /* Slate 800 - Lighter than Deep Navy */
    --secondary-color: #38bdf8;
    /* Sky Blue - Softer than Neon Teal */
    --light-slate: #cbd5e1;
    /* Slate 300 */
    --lightest-slate: #f1f5f9;
    /* Slate 100 */
    --white: #ffffff;

    /* Backgrounds for cards/sections */
    --light-navy: #334155;
    /* Slate 700 */
    --lightest-navy: #475569;
    /* Slate 600 */

    --navy-shadow: rgba(15, 23, 42, 0.4);
    --glass-bg: rgba(30, 41, 59, 0.85);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-color);
    color: var(--light-slate);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--lightest-slate);
    margin: 0 0 20px 0;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.highlight {
    color: var(--secondary-color);
}

/* Header & Nav */
.header {
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 10px 30px -10px var(--navy-shadow);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align subtitle */
    line-height: 1;
    /* Tighten line height */
    text-decoration: none;
    /* remove underline from link */
}

.logo-subtitle {
    font-size: 0.7rem;
    /* Much smaller */
    color: var(--light-slate);
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.logo span.highlight {
    color: var(--lightest-slate);
    /* Keep existing highlight style */
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--lightest-slate);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-button {
    padding: 10px 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-button:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(23, 42, 69, 0.6) 0%, rgba(10, 25, 47, 1) 100%);
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 20px;
}

.btn-outline:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* Services Section */
.services {
    background-color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    /* JS Reveal */
    transform: translateY(20px);
}

.section-title {
    font-size: 2.5rem;
    color: var(--lightest-slate);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #112240;
    padding: 40px 30px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: default;
    opacity: 0;
    /* JS Reveal */
    transform: translateY(20px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -15px var(--navy-shadow);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--lightest-slate);
}

.service-card p {
    font-size: 1rem;
    color: var(--light-slate);
}

/* About / Features */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-list i {
    color: var(--secondary-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item {
    background: rgba(100, 255, 218, 0.05);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(90deg, #112240 0%, #172a45 100%);
    padding: 80px 0;
    text-align: center;
    margin: 50px 0;
}

.cta-banner h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
}

.cta-banner p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: #112240;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px -15px var(--navy-shadow);
}

.contact-info {
    background: #172a45;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(-20px);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-links {
    margin-top: auto;
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.contact-form {
    padding: 50px;
    opacity: 0;
    transform: translateX(20px);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #233554;
    padding: 10px 0;
    color: var(--lightest-slate);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--secondary-color);
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--light-slate);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* Placeholder hacks for label animation */
.form-group input:placeholder-shown~label {
    top: 10px;
}

.form-group textarea:placeholder-shown~label {
    top: 10px;
}

.btn-block {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #020c1b;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #233554;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lightest-slate);
    margin-bottom: 20px;
    display: block;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--light-slate);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Language Dropdown Styles */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
}

.lang-dropbtn {
    background-color: transparent;
    color: var(--light-slate);
    padding: 5px 10px;
    font-size: 16px;
    border: 1px solid #233554;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #112240;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border: 1px solid #233554;
    border-radius: 4px;
    z-index: 1000;
}

.lang-dropdown-content a {
    color: #8892b0;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    clear: both;
}

.lang-dropdown-content a:hover {
    background-color: #233554;
    color: #64ffda;
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: #112240;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        padding: 40px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Products Section */
.products {
    background-color: #0d1e38;
    /* Slightly lighter/different than main bg */
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: #112240;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #233554;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.product-showcase {
    height: 180px;
    /* Increased height for images */
    background: #172a45;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--light-slate);
    transition: var(--transition);
    overflow: hidden;
    /* Ensure image doesn't overflow */
    position: relative;
}

.product-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-showcase img {
    transform: scale(1.1);
    /* Zoom effect on hover */
}

.product-card:hover .product-showcase {
    background: rgba(100, 255, 218, 0.1);
    color: var(--secondary-color);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--lightest-slate);
}

.product-info p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--light-slate);
}

.product-link {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.product-link:hover {
    gap: 15px;
    /* Arrow animation */
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@keyframes whatsapp-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);
    }
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}