/* ======================== */
/* GENERAL STYLES */
/* ======================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

/* Prevent horizontal scrolling/panning on small devices */
html, body {
    overflow-x: hidden;
    /* prefer vertical panning on touch devices */
    touch-action: pan-y;
}

/* ======================== */
/* NAVIGATION BAR */
/* ======================== */

.navbar {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -8px);
}

/* ======================== */
/* HERO SECTION */
/* ======================== */

.hero {
    background: none;
    padding: 0;
    text-align: center;
    box-shadow: none;
    display: block;
}

.hero-content {
    width: 100%;
}

 .hero-content img {
     width: 100%;
     height: auto;
     display: block;
     object-fit: cover;
     max-height: 525px;
 }
/* ======================== */
/* SECTION CONTAINER */
/* ======================== */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a3a52;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ======================== */
/* BACKGROUND SECTION */
/* ======================== */

.background {
    background-color: white;
    padding: 0;
}

.background-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.background-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.background-text h2::after {
    margin: 1rem 0 0 0;
}

.background-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

 .background-image img {
     width: 100%;
     max-width: 350px;
     height: auto;
     border-radius: 8px;
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
     transition: transform 0.3s ease;
     position: relative;
 }
 
 .background-image {
     display: flex;
     justify-content: center;
     align-items: flex-start;
 }
 
 .background-image img:hover {
     transform: scale(1.02);
 }
/* ======================== */
/* CLIENTS SECTION */
/* ======================== */

.clients {
    background-color: #f8f9fa;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.client-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.client-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #1a3a52;
}

.client-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ======================== */
/* SERVICES SECTION */
/* ======================== */

.services {
    background-color: white;
}

.services .section-container {
    padding-top: 0.5rem;
}

.services-intro {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* For images that should show the full image without cropping */
.contain-image {
    object-fit: contain !important;
    object-position: center;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.2rem;
    margin: 1.5rem 1.5rem 0.8rem 1.5rem;
    color: #1a3a52;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.7;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ======================== */
/* ISSUE AREAS SECTION */
/* ======================== */

.issue-areas {
    background-color: #e8eaed;
}

.issue-areas-overlay {
    position: relative;
    width: 100%;
}

.issue-areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.issue-areas-text h2 {
    color: #1a3a52;
    text-align: left;
    margin-bottom: 1.5rem;
}

.issue-areas-text h2::after {
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 1rem 0 0 0;
}

.issue-areas-content p {
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.9;
    margin: 0;
}

.issue-areas-image {
    width: 100%;
    height: 100%;
}

.issue-areas-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

 .issue-areas-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 8px;
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
     transition: transform 0.3s ease;
     max-height: 650px;
 }
 
 .issue-areas-image img:hover {
     transform: scale(1.02);
 }
/* ======================== */
/* ISSUES SECTION (OLD - KEEPING FOR REFERENCE) */
/* ======================== */

.issues {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.issue-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.issue-item:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    transform: translateX(8px);
}

.issue-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #1a3a52;
}

.issue-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ======================== */
/* CONTACT SECTION */
/* ======================== */

.contact {
    background: white;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.info-label {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.3rem;
}

.info-value {
    color: #555;
    font-size: 1rem;
}

.info-value a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ======================== */
/* FOOTER */
/* ======================== */

.footer {
    background-color: #1a3a52;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.footer-content p {
    margin: 0;
}

/* ======================== */
/* RESPONSIVE DESIGN */
/* ======================== */

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .background-content {
        grid-template-columns: 1fr;
    }

    .background-text h2 {
        text-align: center;
    }

    .background-text h2::after {
        margin: 1rem auto 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .issue-areas-content {
        grid-template-columns: 1fr;
    }

    .issue-areas-text h2 {
        text-align: center;
    }

    .issue-areas-text h2::after {
        margin: 1rem auto 0;
    }
}

@media (max-width: 600px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        display: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
        border-radius: 0;
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: none;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .section-container {
        padding: 2rem 1rem;
    }
}