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

html, body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('images/background.jpg'); /* Placeholder Background Image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Overlay to darken the background for better readability */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: rgba(51, 51, 51, 0.9);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px; /* Adjust as needed */
    width: auto;
}

nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f4f4f4;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 100px 20px;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 20px;
    color: #ddd;
}

/* Services Section */
#services {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.3);
    text-align: center;

}

#services h2 {
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
    opacity: 1.0;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service {
    background: #fff;
    opacity:1.0;
    margin: 10px;
    padding: 30px;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.service h3 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
    opacity: 1.0;
}

.service p {
    font-size: 16px;
    color: #666;
}

/* Digital Twins Page Specific Styles */
.digital-twins {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
    min-height: 80vh;
}

.digital-twins h2 {
    margin-bottom: 20px;
    font-size: 32px;
    text-align: center;
    color: #333;
}

.digital-twins p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.digital-twins h3 {
    font-size: 24px;
    margin-top: 20px;
    color: #333;
}

.digital-twins ul {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
}

.digital-twins li {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555;
}

/* Contact Section */
#contact {
    padding: 60px 0;
    text-align: center;
}

.contact-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-box h2 {
    margin-bottom: 15px;
    font-size: 28px;
    color: #333;
}

.contact-box p {
    font-size: 18px;
    color: #555;
}

.contact-box a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.contact-box a:hover {
    color: #000;
    text-decoration: underline;
}

/* Footer */
footer {
    background: rgba(51, 51, 51, 0.9);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .service {
        width: 45%;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav {
        margin-top: 10px;
    }

    .services {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 80%;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .digital-twins p, .digital-twins li {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .contact-box {
        padding: 20px;
    }

    .contact-box h2 {
        font-size: 24px;
    }

    .contact-box p {
        font-size: 16px;
    }
}
