:root {
    --primary-color: #04480B;
    --accent-color: #FF571D;
    --text-dark: #333;
    --text-light: #666;
    --bg-white: #FFFFFF;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e64a19;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title-left {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #e64a19;
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.text-center {
    text-align: center;
    margin-top: 3rem;
}

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

/* Header & Nav */
.main-header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    text-decoration: none;
    display: inline-block;
    position: relative;
    height: 65px;
}

.logo img {
    height: 100%;
    width: auto;
    vertical-align: middle;
    transition: opacity 0.3s ease-in-out;
}

.logo .logo-white {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.logo:hover { 
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--bg-white);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.mobile-nav-toggle { display: none; }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(4, 72, 11, 0.7), rgba(4, 72, 11, 0.7)), url('hero_background.png') no-repeat center center/cover;
    color: var(--bg-white);
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 75px; /* header height */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: var(--bg-white);
    opacity: 0.9;
}

/* About Brief */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    margin-top: 3rem;
    gap: 1rem;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-color);
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Services Overview & Portfolio Teasers */
.card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}
.card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.portfolio-card {
    position: relative;
    color: white;
}
.portfolio-card img { height: 350px; object-fit: cover; }
.portfolio-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.portfolio-card-content h3 { color: white; }
.portfolio-card-content p { color: white; opacity: 0.9; margin: 0;}


/* Contact Brief */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info p {
    margin-bottom: 1rem;
}
.contact-info p strong {
    color: var(--text-dark);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: #e0e0e0;
    padding-top: 4rem;
}

.main-footer a { color: var(--bg-white); }
.main-footer a:hover { color: var(--accent-color); }
.main-footer h3, .main-footer h4 { color: var(--bg-white); }

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-about h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-social a {
    font-size: 1.5rem;
    margin-right: 1rem;
}
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}
.page-header h1 {
    color: white;
    font-size: 3rem;
}
.page-header p {
    color: white;
    opacity: 0.8;
    font-size: 1.2rem;
}

/* About Page */
.about-intro-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.about-logo {
    height: 80px;
    width: auto;
    flex-shrink: 0;
}
.about-intro-header .section-title-left {
    margin-bottom: 0.25rem;
}
.slogan {
    font-family: var(--font-secondary);
    font-style: italic;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0;
}
.sector-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    column-count: 2;
    column-gap: 2rem;
}
.sector-list li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
}
.sector-list li::before {
    content: '\f00c'; /* FontAwesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 4px;
}

.grid-2-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.img-fluid.rounded { border-radius: 10px; }
.core-values {
    margin-top: 1.5rem;
    padding-left: 0;
}
.core-values li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.core-values li i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}
.feature-box { text-align: center; }
.feature-box i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 1rem; }
.feature-box h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.tabs .tab-nav {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}
.tab-button {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
}
.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content ul li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}
.faq-container { max-width: 800px; margin: auto; }
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}
.faq-item.active .faq-question::after {
    content: '-';
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer p { padding: 0 0 1.5rem 0; }

/* About Page - Meet Our Founder Section */
.ceo-intro .ceo-card {
    max-width: 400px;
    margin: 2rem auto 0 auto;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
}
.ceo-intro .ceo-portrait {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--accent-color);
}
.ceo-intro .ceo-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}
.ceo-intro .ceo-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* CEO Page specific styles */
.ceo-profile {
    background-color: var(--bg-white);
}

.ceo-details-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

.ceo-image img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.ceo-bio h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.ceo-bio h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.ceo-bio .origin {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.ceo-bio p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}


/* Services Page */
.service-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}
.service-item:nth-child(even) {
    grid-template-columns: 1fr 300px;
}
.service-item:nth-child(even) .service-img {
    grid-column: 2;
    grid-row: 1;
}
.service-img {
    border-radius: 10px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.service-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.service-content p { font-size: 1.1rem; }

/* Portfolio Page */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.project-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}
.project-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}
.project-info {
    padding: 1.5rem;
}
.project-info h3 { margin-bottom: 0.5rem; font-size: 1.4rem; }

/* Contact Page */
.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.contact-detail-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}
.contact-detail-item h4 { font-size: 1.2rem; }
.contact-detail-item p { margin-bottom: 0.2rem; }
.contact-detail-item a { color: var(--text-light); }
.contact-detail-item a:hover { color: var(--accent-color); }

.contact-page-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}
.contact-page-form .btn { width: 100%; }

/* Responsive */
@media (max-width: 992px) {
    .grid-2-about, .contact-grid, .service-item, .service-item:nth-child(even) {
        grid-template-columns: 1fr;
    }
     .service-item:nth-child(even) .service-img {
        grid-column: 1;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-social { margin: auto; }
    .ceo-details-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ceo-image {
        max-width: 400px; /* Constrain image size on smaller screens */
        margin: 0 auto;
    }
    .ceo-bio h2, .ceo-bio h3, .ceo-bio .origin {
        text-align: center; /* Center text on smaller screens */
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 75px; /* header height */
        right: 0;
        width: 100%;
        height: calc(100vh - 75px);
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .main-nav.active {
        transform: translateX(0);
        background-color: var(--primary-color);
    }
    .main-nav .nav-links a {
        color: white;
    }
    .main-nav .nav-links a:hover, .main-nav .nav-links a.active {
        color: var(--accent-color);
        border-bottom-color: var(--accent-color);
    }

    .nav-links {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    .nav-links a { font-size: 1.2rem; }
    
    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    .hamburger {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--bg-white);
        position: relative;
        transition: background-color 0.1s;
    }
    .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--bg-white);
        left: 0;
        transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
    }
    .hamburger::before { top: -8px; }
    .hamburger::after { top: 8px; }

    .mobile-nav-toggle.is-active .hamburger { background-color: transparent; }
    .mobile-nav-toggle.is-active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
     .mobile-nav-toggle.is-active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .sector-list {
        column-count: 1;
    }

    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { margin-bottom: 2rem; }
    h1, .hero h1, .page-header h1 { font-size: 2.5rem; }
}