/* Custom Properties */
:root {
    --primary: #648729; /* Olive Green */
    --secondary: #E3CA66; /* Gold */
    --secondary-dark: #cdae45;
    --accent: #8D99AE;
    --bg-light: #F8F9FA;
    --text-dark: #1A1A1A;
    --text-light: #555555;
    --white: #FFFFFF;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(11, 37, 69, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary) {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('images/hero_construction.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 37, 69, 0.92) 0%, rgba(11, 37, 69, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding-top: 80px; /* offset for navbar */
}

.iso-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 650px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Stats Section */
.stats {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(255, 107, 53, 0.2);
}

.stat-item p {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.1);
}

.service-img {
    height: 320px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-content {
    padding: 40px;
}

.service-content h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.read-more {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.read-more:hover {
    color: var(--secondary-dark);
    gap: 5px; /* Creates a nice hover effect with the arrow */
}

/* Features / About Section */
.features {
    background-color: var(--white);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-text h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.features-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 24px;
}

.feature-list strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.feature-list span {
    color: var(--text-light);
}

.features-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 20px;
    position: relative;
}

.arch-box {
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.box-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background-color: var(--primary);
    background-image: linear-gradient(rgba(11,37,69,0.8), rgba(11,37,69,0.8)), url('images/service_construction.png');
}

.box-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background-color: var(--secondary);
    background-image: linear-gradient(rgba(255,107,53,0.8), rgba(255,107,53,0.8)), url('images/service_consulting.png');
}

.box-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    padding: 20px;
}
.box-3::after {
    content: 'ISO 9001';
}

/* CTA Section */
.cta {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 120px 0;
    background-image: linear-gradient(135deg, rgba(11, 37, 69, 0.95), rgba(11, 37, 69, 0.8)), url('images/hero_construction.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-container h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.cta-container p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #051324; /* Very dark blue */
    color: var(--white);
    padding: 80px 0 20px;
}

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

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

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

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

.footer-col ul a {
    color: rgba(255,255,255,0.7);
}

.footer-col ul a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .features-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero-btns { flex-direction: column; width: 100%; max-width: 300px; }
    .btn-large { width: 100%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .section { padding: 60px 0; }
    .features-image-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .box-1, .box-2, .box-3 { grid-column: 1 / 2; grid-row: auto; height: 200px; }
    .cta-container h2 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
}
