/* Basic Reset & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
}

/* Header & Navigation */
.header {
    background-color: #0d47a1; /* Darker blue */
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    color: #fff;
    font-weight: 500;
    font-size: 1.1em;
    padding: 5px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.navbar ul li a:hover {
    color: #bbdefb; /* Lighter blue */
    border-bottom: 2px solid #bbdefb;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8em;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://danarisconsult.com/images/herobg.jpg') no-repeat center center/cover; /* Placeholder for a relevant image */
    color: #fff;
    text-align: center;
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh; /* Adjust as needed */
}

.hero-content {
    max-width: 800px;
}

.hero-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #2196f3; /* Medium blue */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #1976d2; /* Slightly darker blue */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #607d8b; /* Greyish blue */
}

.btn-secondary:hover {
    background-color: #455a64;
}

/* Section Styling */
section {
    padding: 80px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

section:nth-of-type(even) {
    background-color: #f9f9f9;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em;
    color: #0d47a1;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2196f3;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.2em;
    max-width: 800px;
    margin: -20px auto 60px auto;
    color: #555;
}


/* About Us Section */
.about-section {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #555;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Services Section */
.services-section .container {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3.5em;
    color: #2196f3;
    margin-bottom: 20px;
}

.service-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: #0d47a1;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.service-item img {
    width: 100%; /* Make images fill the container */
    height: 180px; /* Fixed height for consistency */
    object-fit: cover; /* Crop images to fit */
    border-radius: 5px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
    text-align: center;
    background-color: #e3f2fd; /* Very light blue */
}

.contact-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555;
}

.contact-info {
    margin-bottom: 40px;
    font-size: 1.1em;
    color: #444;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info p i {
    color: #2196f3;
    margin-right: 10px;
    font-size: 1.3em;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button.btn {
    align-self: flex-start; /* Align button to the left */
    width: auto;
    min-width: 150px;
}


/* Footer */
.footer {
    background-color: #0d47a1;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer p {
    font-size: 0.9em;
    margin-bottom: 0;
}

.social-links a {
    color: #fff;
    font-size: 1.5em;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #bbdefb;
}

/* Responsive Design */
@media (max-width: 992px) {
    .logo {
        font-size: 1.5em;
    }

    .navbar {
        display: none; /* Hide desktop nav on smaller screens */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        background-color: #0d47a1;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .navbar.active {
        display: flex;
    }

    .navbar ul {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }

    .navbar ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar ul li:last-child {
        border-bottom: none;
    }

    .navbar ul li a {
        display: block;
        padding: 15px 0;
        font-size: 1.2em;
    }

    .nav-toggle {
        display: block; /* Show toggle button */
    }

    .hero-content h2 {
        font-size: 2.8em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .about-section {
        flex-direction: column;
    }

    .about-image {
        margin-top: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    h2 {
        font-size: 2em;
    }

    .service-item h3 {
        font-size: 1.5em;
    }

    .footer .container {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3em;
    }

    .header .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 100px 15px;
    }

    .hero-content h2 {
        font-size: 1.8em;
    }

    .hero-content p {
        font-size: 0.9em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .section-description {
        font-size: 1em;
    }

    .service-item {
        padding: 25px 15px;
    }
}