/* Universal Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

/* Header & Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #1a252f;
    letter-spacing: 1px;
}

.logo span {
    color: #c0392b; /* Corporate Crimson accent color */
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #c0392b;
}

/* Portal Button Accent */
.portal-btn {
    background-color: #1a252f;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s ease !important;
}

.portal-btn:hover {
    background-color: #c0392b;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 37, 47, 0.85), rgba(26, 37, 47, 0.85)), 
                url('https://unsplash.com') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ddd;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #c0392b;
    color: #fff;
}

.btn-primary:hover {
    background-color: #a93226;
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a252f;
}

/* Sections Common styling */
h2 {
    font-size: 32px;
    color: #1a252f;
    margin-bottom: 10px;
}

.subtitle {
    color: #777;
    margin-bottom: 40px;
    font-size: 18px;
}

/* About Section */
.about {
    background-color: #fff;
}

.about-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    flex: 1;
    background: #fdfdfd;
    padding: 40px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-top: 4px solid #c0392b;
}

.about-card h3 {
    margin-bottom: 15px;
    color: #1a252f;
}

/* Services Section */
.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.service-box {
    flex: 1;
    background: #fff;
    padding: 35px 25px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: left;
}

.service-box h3 {
    color: #1a252f;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Contact Form Section */
.contact {
    background-color: #fff;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0 auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 16px;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #c0392b;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

/* Footer */
footer {
    background-color: #1a252f;
    color: #aaa;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
    }
    nav ul {
        margin-top: 15px;
        flex-direction: column;
    }
    nav ul li {
        margin: 10px 0;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .about-grid, .services-grid {
        flex-direction: column;
    }
}
