/* CSS Reset and Variables */
:root {
    --primary: #168B5E;
    --primary-dark: #0B4A33;
    --primary-light: #E8F5EE;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F8FAF9;
    --white: #FFFFFF;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

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

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

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

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

.mt-4 {
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* Typography elements */
.section-title {
    margin-bottom: 40px;
}

.section-title .subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
    padding: 10px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-img {
    height: 55px !important;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 74, 51, 0.9), rgba(22, 139, 94, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

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

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

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.mv-card {
    background: var(--primary-light);
    padding: 20px;
    border-radius: 12px;
}

.mv-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.mv-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.mv-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.core-values-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary);
}

.core-values-box h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.core-values-box ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.core-values-box ul li i {
    color: var(--primary);
}

/* Areas of Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.expertise-item {
    background: var(--white);
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--primary);
    transition: var(--transition);
    position: relative;
}

.expertise-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.expertise-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 12px;
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.expertise-item:hover .expertise-icon {
    background: var(--primary);
    color: var(--white);
}

.expertise-item h3 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    line-height: 1.4;
}

/* Services Section */
.services-grid {
    display: grid;

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-list {
    border-top: 1px solid #EEE;
    padding-top: 15px;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.service-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Experience / Projects */
.projects-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.projects-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--primary-light);
}

.project-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.project-year {
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.project-content {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    flex-grow: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.project-location {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-img {
    height: 80px !important;
    width: auto !important;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0px 0px 1px rgba(255, 255, 255, 1)) !important;
    opacity: 1 !important;
}

.brand-col p {
    max-width: 300px;
}

.footer h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

.links-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary);
    font-size: 1.2rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.animate-up,
.animate-left,
.animate-right {
    opacity: 0;
}

.animate-up.show {
    animation: slideUp 0.8s ease forwards;
}

.animate-left.show {
    animation: slideLeft 0.8s ease forwards;
}

.animate-right.show {
    animation: slideRight 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Read More / Read Less Styles */
.project-brief {
    transition: var(--transition);
}

.project-brief.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    margin-top: 8px;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .core-values-box {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: -30px;
        margin-left: 30px;
        margin-right: 30px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }

    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-cta {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .projects-timeline::before {
        left: 20px;
    }

    .project-year {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .project-item {
        gap: 15px;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}