/* style.css */
:root {
    --primary-blue: #2D8CFF; /* Custom Blue from Logo */
    --primary-blue-darker: #0072E3;
    --accent-orange: #FF8C00; /* Custom Orange from Logo */
    --accent-orange-darker: #E67E00;
    --text-dark: #1a202c; /* Near black for text */
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    --bg-dark: #212529; /* Bootstrap dark */
    --bg-light: #f8f9fa; /* Bootstrap light */
    --font-family-main: 'Poppins', sans-serif;
    --border-radius-sm: 0.3rem;
    --border-radius-md: 0.5rem;
    --box-shadow-light: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-family-main);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
}

.section-title {
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.highlight-blue { color: var(--primary-blue); }
.highlight-orange { color: var(--accent-orange); }
.text-primary-custom { color: var(--primary-blue) !important; }


/* --- Navbar --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow-light);
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}
.navbar-brand img { margin-right: 10px; }
.navbar-brand span { color: var(--primary-blue); }
.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
}
.navbar-toggler:focus { box-shadow: none; }

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-blue);
}
.navbar-nav .nav-item .btn-primary-custom {
    font-weight: 600;
}

/* --- Custom Primary Button --- */
.btn-primary-custom {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(45, 140, 255, 0.3);
}
.btn-primary-custom:hover, .btn-primary-custom:focus {
    background-color: var(--primary-blue-darker);
    border-color: var(--primary-blue-darker);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(45, 140, 255, 0.4);
}


/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--bg-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden; /* For potential future pseudo-element shapes */
}
.hero-section::before { /* Subtle pattern or shape */
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* background-image: url('path/to/subtle-pattern.svg'); */
    /* opacity: 0.05; */
    z-index: 0;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-section h1 {
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}
.hero-image {
    max-height: 550px; /* Adjust as needed */
    /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2)); */
}
.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-blue);
}

/* --- Section Backgrounds --- */
.section-bg-light { background-color: var(--bg-light); }
.section-bg-dark { background-color: var(--bg-dark); }

/* --- Feature Cards --- */
.feature-card {
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-md);
}
.feature-card .icon-bg {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    background-color: rgba(45, 140, 255, 0.1); /* Light blue bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.feature-card:hover .icon-bg {
    background-color: var(--primary-blue);
    color: white;
}
.feature-card h5 {
    font-weight: 600;
    color: var(--text-dark);
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Modules Section --- */
.dashboard-image {
    border: 5px solid white;
    filter: drop-shadow(0px 10px 30px rgba(0,0,0,0.15));
    max-width: 100%;
}
.feature-list li {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}
.feature-list i { font-size: 1.1rem; }

/* --- Why eWMS Section --- */
.why-card {
    background-color: rgba(255,255,255, 0.05); /* Subtle on dark bg */
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    height: 100%;
}
.why-card:hover {
    background-color: rgba(255,255,255, 0.1);
    transform: translateY(-5px);
}
.why-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}
.why-card h4 {
    color: var(--text-light);
    font-weight: 600;
}
.why-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact-form-wrapper {
    background-color: white;
    border-radius: var(--border-radius-md);
}
.contact-form-wrapper .form-control {
    padding: 0.9rem 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid #ced4da;
}
.contact-form-wrapper .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(45, 140, 255, 0.25);
}
.contact-info a {
    color: var(--primary-blue);
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}


/* --- Footer --- */
.footer-section {
    background-color: var(--bg-dark); /* Matches Hero for consistency */
    color: rgba(255, 255, 255, 0.7);
}
.footer-section h5 {
    color: white;
    font-weight: 600;
}
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}
.footer-link:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}
.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.social-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.social-icon:hover {
    color: var(--accent-orange);
    transform: scale(1.1);
}
.copyright-bar {
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
}
.copyright-bar a {
    color: white;
    text-decoration: none;
}
.copyright-bar a:hover {
    color: var(--accent-orange);
}

/* --- WOW.js animation delays (optional) --- */
.wow.animate__delay-0s { animation-delay: 0s !important; }
.wow.animate__delay-1s { animation-delay: 0.1s !important; } /* Animate.css delay-1s is too long */
.wow.animate__delay-2s { animation-delay: 0.2s !important; }
.wow.animate__delay-3s { animation-delay: 0.3s !important; }
/* ... and so on if needed, or use data-wow-delay directly */

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .hero-section { min-height: auto; padding: 100px 0 60px 0; text-align: center; }
    .hero-section .display-4 { font-size: 2.8rem; }
    .hero-section .lead { font-size: 1.1rem; }
    .navbar-nav { margin-top: 1rem; }
    .navbar-nav .nav-item .btn-primary-custom { width: 100%; margin-top: 0.5rem; margin-left: 0 !important; }
}

@media (max-width: 767.98px) {
    .section-title { font-size: 1.8rem; }
    .hero-section .display-4 { font-size: 2.2rem; }
    .feature-card, .why-card { padding: 1.5rem 1rem; }
    .contact-form-wrapper { padding: 1.5rem !important; }
}