/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: #0044cc;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    float: left;
    font-size: 1.5rem;
}

header nav {
    float: right;
    margin-top: 10px;
}

header ul {
    list-style: none;
}

header ul li {
    display: inline;
    margin-left: 20px;
}

header ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header ul li a:hover {
    text-decoration: underline;
}

/* Hero Section with Transparent Background Image */
.hero {
    position: relative;
    background: url('../images/scada-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 60px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark transparent overlay */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 44, 110, 0.4); /* Optional: blue tint */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.hero .tagline {
    font-size: 1.4rem;
    font-style: italic;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }
    .hero h2 {
        font-size: 1.6rem;
    }
    .hero .tagline {
        font-size: 1.1rem;
    }
}

/* Sections */
#about, #contact {
    padding: 60px 0;
    background: white;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#about h2, #contact h2 {
    margin-bottom: 1rem;
    color: #0044cc;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    header h1, header nav {
        float: none;
        text-align: center;
    }
    header nav {
        margin-top: 15px;
    }
    header ul li {
        display: block;
        margin: 10px 0;
    }
    .hero h2 {
        font-size: 2rem;
    }
}

/* Project Objectives Styling */
#about {
    padding: 60px 0;
    background: white;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#about h2 {
    margin-bottom: 1rem;
    color: #0044cc;
    text-align: center;
    font-size: 2rem;
}

#about p {
    text-align: center;
    font-style: italic;
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.objectives {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.objectives li {
    background: #f8f9fa;
    margin: 12px 0;
    padding: 14px 18px;
    border-left: 5px solid #0044cc;
    border-radius: 0 6px 6px 0;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.objectives li:hover {
    background: #e3f2fd;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 68, 204, 0.15);
}

.objectives li::before {
    content: "✓";
    color: #0044cc;
    font-weight: bold;
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .objectives li {
        font-size: 1rem;
        padding: 12px 15px;
    }
    .objectives li::before {
        left: -25px;
    }
}