* {
    box-sizing: border-box; 
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.accent-color { color: #4fc3f7; }
.accent-color:hover, 
.card a:hover .accent-color { 
    color: #29b6f6; 
}
.btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background-color: #4fc3f7; 
    color: #121212;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 20px;
}
.btn-primary:hover {
    background-color: #29b6f6;
}

nav {
    background: #1e1e1e;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav .logo {
    text-decoration: none;
}
.logo-img {
    height: 60px; 
    width: auto;
    display: block; 
}
nav ul {
    list-style: none;
    display: flex; 
    margin: 0;
    padding: 0;
}
nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background 0.3s;
    font-size: 1.3rem; 
    font-weight: 500;
}
nav ul li a:hover {
    background: #333;
}
nav ul li a.active {
  color: #ffffff; 
  border-bottom: 3px solid #4fc3f7; 
  background: #333; 
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #4fc3f7;
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    .logo-img {
        height: 30px; 
    }
    
    .menu-icon {
        display: block; 
    }
    
    nav ul {
        display: none; 
        flex-direction: column; 
        position: absolute;
        top: 59px; 
        left: 0;
        width: 100%;
        background: #1e1e1e;
        box-shadow: 0 3px 10px rgba(0,0,0,0.6);
        padding-bottom: 10px;
    }
    
    nav ul.open {
        display: flex; 
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #333;
    }
    nav ul li:last-child {
        border-bottom: none;
    }
}

main {
    flex-grow: 1; 
    width: 100%; 
}

header {
    background: linear-gradient(135deg, #0d47a1, #00796b);
    color: white;
    min-height: 100%; 
    
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 3rem;
}
header p {
    font-size: 1.3rem;
    margin-top: 10px;
    opacity: 0.9;
}

@media (min-width: 769px) {
    header {
        min-height: calc(100vh - 85px - 70px); 
    }
}
@media (max-width: 768px) {
    header {
        min-height: calc(100vh - 61px - 70px); 
    }
    header h1 {
        font-size: 2rem;
    }
    header p {
        font-size: 1rem;
    }
}

section {
    padding: 30px 10px 40px 10px; 
    max-width: 1100px; 
    margin: auto;
    text-align: center;
}
.card {
    background: #1e1e1e;
    padding: 30px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-align: left; 
}
.card h2 {
    color: #4fc3f7;
    text-align: center;
}

/* Products/Solutions Specific Styles */
.product-layout {
    display: flex;
    flex-direction: row; 
    gap: 30px;
    align-items: flex-start;
    margin-top: 30px;
}
.product-image {
    flex: 0 0 300px; 
    max-width: 300px;
    text-align: center;
}
.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}
.product-description {
    flex: 1; 
}

@media (max-width: 850px) {
    .product-layout {
        flex-direction: column; 
        align-items: center;
    }
    .product-image {
        max-width: 80%; 
        margin-bottom: 20px;
    }
    .card {
        text-align: center; 
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.solution-item {
    background: #252525;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 5px solid #4fc3f7;
}
.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}
.solution-item i {
    font-size: 3rem;
    color: #4fc3f7;
    margin-bottom: 15px;
}
.solution-item h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
}
.solution-item p {
    font-size: 0.95rem;
    color: #ccc;
}
.solution-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 15px;
    font-size: 0.9rem;
}
.solution-item ul li::before {
    content: "•"; 
    color: #4fc3f7;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

/* About Us Specific Styles */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}
.value-item {
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: transform 0.3s;
}
.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.7);
}
.value-item i {
    font-size: 2.5rem;
    color: #4fc3f7;
    margin-bottom: 15px;
}
.value-item h4 {
    margin: 0 0 10px;
    color: #fff;
}
.value-item p {
    font-size: 0.95rem;
    color: #aaa;
}

/* Footer Styles */
footer {
    background: #121212;
    color: #999;
    padding: 20px;
    font-size: 0.9rem;
    text-align: center;
    width: 100%; 
}
footer a {
    color: #4fc3f7;
    text-decoration: none;
}
#contact .card {
    text-align: center; 
}
#contact .card p {
    margin: 10px 0;
}