/* Global Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: sans-serif; background: #0f172a; color: #fff; }

.sticky-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Header & Sticky Logic */
header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; background: #0a0a0a; z-index: 1000; }
.logo img { display: block; width: 100%; max-width: 120px; height: auto; }
nav { display: flex; gap: 2rem; }
nav a { color: #fff; text-decoration: none; font-weight: 500; }

/* Search Row */
.search-bar-row { background: #0a0a0a; padding: 10px 5%; top: 95px; z-index: 1000; display: flex; justify-content: flex-end; text-align: center;}
#searchWidgetTrigger { width: 100%; max-width: 300px; padding: 8px 15px; background: #1e293b; border: 1px solid #334155; color: #fff; border-radius: 10px; outline: none; }

/* Force the text inside the Search Widget to be dark/visible */
gen-search-widget input, 
#searchWidgetTrigger {
    color: #333333 !important; /* Dark grey */
    background-color: #ffffff !important; /* Force white background */
    padding: 10px;
    border: 1px solid #ccc;
}

/* Ensure the text stays dark even when the user is typing */
gen-search-widget input:focus {
    color: #000000 !important;
}

/* Hero */
.hero { 
    padding: 100px 10%; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    background: #050505; 
    min-height: 60vh; /* Ensures it feels 'heroic' */
}

.hero-text { 
    max-width: 600px; 
}

.hero-text h1 { 
    font-size: 3.5rem; /* Larger, bolder headline */
    margin-bottom: 1.5rem; 
    line-height: 1.1; 
    letter-spacing: -1px;
}

.hero-text p { 
    font-size: 1.25rem; 
    color: #94a3b8; 
    line-height: 1.8; /* Looser line height improves readability */
    margin-bottom: 2.5rem; 
}

.btn-primary { 
    padding: 16px 32px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Keeps the button professional */
}
.hero-visual { 
    width: 300px; 
    height: 300px; 
    opacity: 0.6; /* Softens the visual so it doesn't distract from the headline */
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.3));
}

/* Features 
Section Layout */
.features {
    padding: 100px 10%;
    background: #050505;
}

.grid {
    display: grid;
    /* Auto-fit makes it responsive: 3 columns on desktop, 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* The Glass Card Base */
.card {
    position: relative;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03); /* Extremely subtle transparency */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px); /* The "Frosted" effect */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Snappy bounce transition */
    overflow: hidden;
}

/* The Subtle Hover Animation */
.card:hover {
    transform: translateY(-12px) scale(1.02); /* Lifts up and grows slightly */
    background: rgba(255, 255, 255, 0.07);
    border-color: #007bff; /* JOPARO Blue highlight */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(0, 123, 255, 0.2); /* Soft blue glow */
}

/* Card Content Styling */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 0.5px;
}

.card p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Footer Refactor */
/* Footer Refactor */
.site-footer {
    background: #050505; /* Deeper black than the header for weight */
    padding: 60px 10% 20px;
    border-top: 1px solid #1e293b;
    color: #94a3b8; /* Slate gray text for readability */
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #007bff; /* JOPARO Blue */
}

.footer-logo {
    max-width: 140px;
    margin-bottom: 20px;
    filter: brightness(0.8);
}

.brand-col p {
    line-height: 1.6;
    font-size: 0.9rem;
}

.venture-desc {
    font-size: 0.8rem;
    color: #475569;
    margin-top: -8px;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}



.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.contact-page {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    background: #050505;
}

.contact-container {
    width: 100%;
    max-width: 600px;
}

/* Make form fields match the dark theme */
.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-top: 5px;
}


/* Force the structure to behave */
main {
    display: block;
    margin: 20px auto;
    max-width: 800px; /* Adjust based on your site design */
    padding: 0 20px;
}

section#contact-section {
    margin-top: 40px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}




/* Force form elements to stack vertically */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds space between the inputs */
    max-width: 500px;
    margin: 0 auto;
}

#contactForm input, 
#contactForm textarea {
    display: block; /* Ensures they occupy the full width of the form */
    width: 100%;
    padding: 12px;
    box-sizing: border-box; /* Prevents padding from breaking the width */
}

/* Optional: Ensure button behaves nicely */
#contactForm button {
    align-self: flex-start;
}