/* --- VARIABLES & RESET (DARK MODE) --- */
:root {
    --primary-color: #3b82f6; /* Brighter Blue for dark mode contrast */
    --accent-color:  #60a5fa;
    --dark-bg:       #0f172a;       /* Very dark blue/black */
    --card-bg:       #1e293b;       /* Dark gray for cards */
    --text-main:     cornsilk;     /* Almost white text */
    --text-muted:    cornsilk;    /* Light gray for secondary text */
    --nav-bg:        rgba(15, 23, 42, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- BACKGROUND IMAGES CONFIGURATION --- */
/* Common settings for all backgrounds */
body.bg-home, body.bg-features, body.bg-vision, body.bg-about, body.bg-benefits {
    background-position: center;
    background-size: contain;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
/* Home Page Background */
body.bg-home {
    /* Image with a heavy dark overlay (0.85 opacity) for readability */
    background-image: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.9)), url('bg-home.png');
}
/* Features/Vision Page Background */
/*body.bg-features {*/
/*    background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.95)), url('bg-features.png');*/
/*}*/
/*body.bg-vision {*/
/*    !* The 0.6 values mean only 60% darkness, letting 40% of the image shine through *!*/
/*    background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.7)), url('bg-vision.png');*/
/*}*/
/*body.bg-benefits {*/
/*    !* A slightly stronger overlay (0.85) to ensure the yellow bars don't compete with the text *!*/
/*    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(30, 58, 138, 0.8)), url('bg-benefits.png');*/
/*}*/
/*!* NEW: About Page (Neutral/Professional Dark Blue) *!*/
/*body.bg-about {*/
/*    background-image: linear-gradient(rgba(15, 23, 42, 0.65), rgba(30, 41, 59, 0.9)), url('bg-about.png');*/
/*}*/
/* Standard Dark Page Background */

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER & NAV --- */
header {
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    /* Removes the text styling since it's now an image */
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    /* 1. Invert colors: Turns white background to black, and dark text to light */
    filter: invert(1);
    
    /* 2. Screen blend: Makes the black background transparent */
    mix-blend-mode: screen;
}
.nav-links { display: flex; gap: 20px; }
.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: 0.5s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5); /* Glow effect */
}

/* Hamburger Menu */
.hamburger { display: none; cursor: pointer; }
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.5s ease-in-out;
    background-color: var(--text-main);
}

/* --- HERO SECTION --- */
.hero {
    /* Removed background image from here since it's now on body */
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-main);
    padding: 0 20px;
}

/*h1, h2, h3, h4{
	color:cornsilk;
	}*/

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}
.hero h1, .hero p, .section h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.btn {
    display: inline-block;
    background: var(--text-muted);
    color: #fff;
    padding: 12px 30px;
    border-radius: 15px;
    margin-top: 25px;
    transition: 0.5s;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* --- SECTIONS & CARDS --- */
.section { padding: 60px 0; }
.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--text-main);
}

.grid-3, .grid-4 {
    display: grid;
    gap: 25px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
    /* 1. Semi-transparent dark background (Adjust 0.6 to make it lighter/darker) */
    background: rgba(15, 23, 42, 0.4); 
    
    /* 2. The "Frosted Glass" Blur Effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* For Safari */

    /* 3. Subtle border to define the edges */
    border: 1px solid rgba(255, 255, 255, 0.15);
    
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.5s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    /* Make it slightly less transparent on hover */
    background: rgba(15, 23, 42, 0.8);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.3rem;
}
.card p {
    color: var(--text-muted);
    font-size: 1.3rem;
}

/* --- FORMS (Contact Page) --- */
.contact-container { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 20px; }
.contact-info, .contact-form {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    padding: 30px;
    border-radius: 12px;
    flex: 1;
    min-width: 300px;
}

.form-group label { color: var(--text-main); margin-bottom: 8px; display: block; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    margin-bottom: 20px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-item h3,.contact-item h4  { color: var(--text-muted); font-size: 1rem; margin-bottom: 5px; }


/* --- FULL PAGE BACKGROUND ROTATION --- */

.background-slider {
    position: fixed; /* Sticks to the window, doesn't scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* CRITICAL: Puts it BEHIND everything (text, cards, etc.) */
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 1.5s ease-in-out; /* Slow, smooth fade */
}

/* Add a dark overlay so your white text is always readable */
.bg-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85); /* 85% Dark Blue tint */
}

/* The active class makes the current slide visible */
.bg-slide.active {
    opacity: 1;
}


/* --- FOOTER --- */
footer {
    background: #020617;
    color: var(--text-muted);
    text-align: center;
    padding: 25px 0;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .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); }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        transition: 0.5s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.5);
    }
    .nav-links.active { left: 0; }
}

/* --- QUOTE for VISION.HTML --- */
blockquote {
	font-size: 1.5em;
	}