:root {
    --primary-color: #0f3041;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --text-color: #ecf0f1;
    --bg-color: #f4f4f9;
    --card-bg: #ffffff;
    --text-dark: #333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

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

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

.card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #e67e22;
}


/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

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

/* Logo styles */
.logo {
    text-decoration: none;
    display: inline-block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: 'Audiowide', sans-serif;
    font-weight: 400;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 2px 2px 0 #2c5282, 3px 3px 5px rgba(0,0,0,0.2);
    text-align: left;
}

.logo-sub {
    font-size: 0.9375em;
    font-weight: 700;
    color: #e53e3e;
    text-align: right;
    margin-top: -5px;
}

.navbar .logo-main {
    font-size: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=2070') no-repeat center center/cover;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 48, 65, 0.8);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero .tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
}

/* About Section */
.about-section {
    background: var(--card-bg);
}
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.vision-mission-grid h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}
.vision-mission-grid .mission ul {
    list-style: none;
    padding-left: 0;
}
.vision-mission-grid .mission li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.vision-mission-grid .mission li::before {
    content: '✔';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Competencies Section */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.competency-card {
    text-align: left;
}

.competency-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.competency-card ul {
    list-style: none;
    padding-left: 0;
}

.competency-card li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.95rem;
}

.competency-card li::before {
    content: '›';
    color: var(--accent-color);
    position: absolute;
    left: 5px;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}


/* Management Section */
.management-section {
    background: var(--card-bg);
}
.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}
.manager-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #e0e0e0 url('https://cdn-icons-png.flaticon.com/512/3135/3135715.png') no-repeat center center/cover;
    margin: 0 auto 20px;
    border: 4px solid var(--accent-color);
}
.management-card h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}
.management-card p {
    color: #777;
    font-style: italic;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.service-card {
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 40px 20px;
}

/* Projects Section - Timeline */
.projects-section {
    background: var(--card-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--accent-color);
    top: 35px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    position: relative;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.timeline-content .project-client {
    font-style: italic;
    color: #777;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.timeline-year {
    background: var(--accent-color);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -15px;
    right: 20px;
}


/* Clients Section */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    align-items: center;
}
.client-logo {
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}
.client-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.client-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--text-color);
    padding-top: 60px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid #4a627a;
    flex-wrap: wrap;
    gap: 30px;
}
.contact-info {
    flex: 2;
    min-width: 300px;
}
.contact-info h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}
.contact-info p {
    margin-bottom: 10px;
    line-height: 1.8;
}
.footer-logo {
    flex: 1;
    text-align: right;
}

.footer .logo-main {
    font-size: 60px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease-in-out;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .footer-logo .logo {
        margin: 0 auto;
    }
    
    /* Timeline Responsive */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 21px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .tagline {
        font-size: 1.2rem;
    }
}