/* Basic Reset for a clean slate */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Container */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Navigation Layout using Flexbox */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Styling */
.logo a {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 2px;
}

/* Navigation Links Layout */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

/* Individual Link Styling */
.nav-links a {
    text-decoration: none;
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Hover Effect for Links */
.nav-links a:hover {
    color: #0056b3; /* Modern blue highlight */
}

/* Hero Section Styling */
.hero {
    background-color: #f8f9fa; /* Light, clean background */
    min-height: 80vh; /* Takes up 80% of the viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    color: #666666;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Button Styling */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    border-radius: 5px; /* Slightly rounded corners */
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0056b3;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #004494;
    transform: translateY(-2px); /* Subtle lift effect on hover */
}

.btn-secondary {
    background-color: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.btn-secondary:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
}

/* Product Page Layout */
.product-page {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-header {
    text-align: center;
    margin-bottom: 50px;
}

.product-header h2 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.product-header p {
    font-size: 18px;
    color: #666666;
}

/* CSS Grid for Feature Cards */
.features-grid {
    display: grid;
    /* This line creates responsive columns automatically */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Individual Feature Card Styling */
.feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect for Cards */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 22px;
    color: #0056b3;
    margin-bottom: 15px;
}

.feature-card p {
    color: #555555;
    line-height: 1.6;
}

/* Contact Page Layout */
.contact-page {
    padding: 60px 20px;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Contact Info Styling */
.contact-info h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-list {
    list-style: none;
}

.info-list li {
    color: #4a4a4a;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Contact Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
}

/* Styling Inputs and Textarea */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit; /* Ensures textarea matches the site font */
}

/* Focus state (when user clicks inside the field) */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr; /* Stacks info and form vertically */
        padding: 20px;
    }
}

/* Footer Styling */
.footer {
    background-color: #1a1a1a; /* Dark background for contrast */
    color: #ffffff;
    padding: 40px 20px 20px;
    margin-top: 60px; /* Pushes the footer away from the main content */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff; /* Brightens up when hovered */
}

/* Copyright Bottom Bar */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333333; /* Subtle dividing line */
    color: #888888;
    font-size: 14px;
}

/* Responsive adjustment for the footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section p {
        max-width: 100%;
    }
}

/* Style for icons in cards */
.card-icon {
    font-size: 40px;
    color: #0056b3;
    margin-bottom: 20px;
    display: block;
}

.hero {
    /* Replace with your image path once downloaded */
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* Mobile Menu Toggle (Hidden by default on Desktop) */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #1a1a1a;
    cursor: pointer;
}

/* Mobile Responsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger icon on mobile */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%; /* Hides the menu off-screen to the left */
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        transition: left 0.5s ease; /* Smooth sliding animation */
    }

    /* This class will be added by JavaScript to show the menu */
    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }
}

/* Language Toggle Button */
.btn-lang {
    background-color: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: auto; /* Pushes the hamburger menu to the right */
    margin-left: 20px;
}

.btn-lang:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Make sure it looks good on mobile */
@media (max-width: 768px) {
    .btn-lang {
        margin-right: 15px;
    }
}

/* Floating WhatsApp Button Styling */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Official WhatsApp Green */
    color: #ffffff;
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e; /* Darker green on hover */
    transform: scale(1.1); /* Subtle grow effect */
    color: #ffffff;
}

/* Adjust size and position for mobile screens */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}