
/* GLOBAL VARIABLES  */

:root {
    --primary-color: #0B2545;
    --accent-color: #00A8E8;
    --accent-hover: #008bbf;
    --light-bg: #F8FAFC; 
    --white: #ffffff;
    --text-dark: #1E293B; 
    --text-light: #64748B; 
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px; 
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* TYPOGRAPHY & HEADINGS */

h2.page-title {
    color: #fff;
    font-size: 3.5rem; 
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

h3.section-heading,
h3.category-heading {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.heading-underline {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

p.section-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* HERO SECTIONS (FIXED FALLBACK) */

.page-header {
    background-color: var(--primary-color); 
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(rgba(11, 37, 69, 0.8), rgba(11, 37, 69, 0.9)); 
    background-blend-mode: overlay;
    padding: 120px 20px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
}

.header-content-wrapper {
    z-index: 2;
    position: relative;
}


/* MODERN BUTTONS */

.button-container {
    text-align: center;
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 50px; 
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #0077a8 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 168, 232, 0.4);
    border: none;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.5);
}

.outline-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.outline-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* GRID / CARDS (HOVER UPGRADE) */

.modern-section {
    padding: 80px 20px;
}

.alternate-bg {
    background-color: var(--light-bg);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1500px;
    margin: 0 auto;
}

.service-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 168, 232, 0.3); 
}

.img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #e2e8f0; 
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover img {
    transform: scale(1.08);
}

.service-item .img-placeholder {
    width: 100%;
    height: 250px;
    object-fit: cover; 
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-name {
    padding: 24px 24px 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.service-description {
    padding: 0 24px 24px;
    color: var(--text-light);
    margin: 0;
    flex-grow: 1; 
}

/* CALL TO ACTION BANNER */

.highlight-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3c63 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.phone-text {
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0;
}

.phone-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.phone-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ABOUT PAGE SPECIFICS */

.about-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.about-section:nth-child(even) {
    background: var(--light-bg);
    padding: 60px 20px;
    max-width: 100%;
}

.story-image-container {
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border-radius: 50px;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50px;
}

@media (max-width: 768px) {
    h2.page-title {
        font-size: 2.2rem;
    }
    
    h3.section-heading {
        font-size: 1.8rem;
    }

    .modern-section {
        padding: 50px 15px;
    }

    .services-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 16px;
        padding: 15px 5px 30px 5px; 
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
    }
    
    .services-list::-webkit-scrollbar {
        display: none;
    }

    .service-item {
        flex: 0 0 85%;
        min-width: 260px;
        max-width: 300px;
        scroll-snap-align: center;
    }
}

/* CLIENTS GRID STYLES */

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.client-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 30px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

/* Hover effect to match your service cards */
.client-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: var(--accent-color);
    border-color: rgba(0, 168, 232, 0.3);
}