:root {
    --primary-color: #004643;
    --secondary-color: #2b2b2b;
    --accent-color: #d4a373;
    --accent-hover: #c39262;
    --bg-color: #ffffff;
    --light-bg: #f4f7f6;
    --border-color: #e5e5e5;
    --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --container-width: 1200px;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--secondary-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px; /* Fully rounded */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Header - Floating Pill Style */
.header {
    padding: 10px 30px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content; /* Hug content */
    max-width: 90%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-list .btn-primary {
    color: #fff !important;
    border-radius: 50px;
    padding: 8px 20px;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.nav-list .btn-primary:hover {
    color: #fff !important;
    background-color: var(--accent-color);
}

.mobile-menu-btn {
    display: none; /* Strictly hidden on desktop */
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
}

.mobile-menu.active {
    right: 0;
    visibility: visible;
    opacity: 1;
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-nav-list {
    text-align: center;
    gap: 30px;
    display: flex;
    flex-direction: column;
}

.mobile-nav-list a {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Banner Section */
.banner-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%; /* Adjusted to show more of the top/center-down part */
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 70, 67, 0.4);
    z-index: 2;
}

.banner-logo {
    position: relative;
    z-index: 3;
    max-width: 250px;
    width: 80%;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

/* Intro Text Section */
.intro-section {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.intro-subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.intro-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    line-height: 1.2;
}

.intro-description {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color);
}

/* Section Common */
.section {
    padding: var(--section-padding);
}

.section-title {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-heading {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.stats-list {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services Section */
.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center; /* Align if we switch to flex */
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-item {
    position: relative;
    padding-top: 20px;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0, 70, 67, 0.1);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: 0;
}

.step-item h4 {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: var(--primary-color);
}

.step-item p {
    position: relative;
    z-index: 1;
}

/* Projects Section */
.projects {
    background-color: var(--light-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.project-img {
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
}

.project-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin-bottom: 20px; /* Added space below the entire list */
    padding-top: 30px; /* Added padding to the top */
}

.contact-details {
    margin-bottom: 20px; /* Added space below the entire list */
}

.contact-details li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 1.2em; /* Adjust size as needed */
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #f9f9f9;
    resize: none; /* Prevent resizing */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a8d5d2;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-logo {
    margin-bottom: 20px;
    display: block;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a8d5d2;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header .nav-list { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .header {
        width: 90%;
        justify-content: center;
        padding: 10px 20px;
    }
    
    .intro-title { font-size: 2.5rem; }
    
    .about-container,
    .contact-wrapper,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .about-image-placeholder {
        order: -1;
    }
    
    .project-img {
        height: 250px;
    }
}
/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 8px;
    padding: 10px 0;
    top: 100%; /* Position below the main link */
    left: 0;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: 500;
    text-transform: none; /* Override uppercase */
    letter-spacing: normal;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--accent-color) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.char-limit {
    display: block; /* Make it a block element */
    text-align: right; /* Align to the right */
    margin-top: 5px; /* Add some space above it */
    font-size: 0.8rem;
    color: #888;
}
}

.contact-content p {
    margin-bottom: 50px; /* Matched spacing to section-heading */
}