/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --light-background: #f3f4f6;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
}

.cta-button:hover {
    background: var(--secondary-color);
}

/* HERO SECTION - Centered Modern Look */
.hero {
    background: #0d1623;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 0;
}
.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 1rem 3rem 1rem;
}
.hero-logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}
.hero-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}
.hero-logo-text {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}
.hero-headline {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.hero-subheadline {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.5;
}
.hero-cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}
.primary-button, .secondary-button {
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.6rem;
    padding: 0.9rem 2rem;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.primary-button {
    background: #162b4d;
    color: #fff;
}
.primary-button:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}
.secondary-button {
    background: #3b82f6;
    color: #fff;
}
.secondary-button:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}

/* Remove old hero flex/image styles */
.hero-flex, .hero-content, .hero-image { display: none !important; }

@media (max-width: 600px) {
    .hero-logo-title {
        flex-direction: column;
        gap: 0.7rem;
    }
    .hero-logo-img {
        width: 60px;
        height: 60px;
    }
    .hero-logo-text {
        font-size: 2rem;
    }
    .hero-headline {
        font-size: 1.3rem;
    }
    .hero-centered {
        padding: 2rem 0.5rem 2rem 0.5rem;
    }
    .hero-cta-buttons {
        flex-direction: column;
        gap: 0.7rem;
    }
}

/* What We Do Section */
.what-we-do {
    padding: 100px 0;
    background: var(--background);
}

.what-we-do h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.what-we-do > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--light-text);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.solution-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.solution-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Industries Section */
.industries {
    padding: 100px 0;
    background: var(--light-background);
}

.industries h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.industry-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Industry Solutions Section */
.industry-solutions {
    padding: 100px 0;
    background: var(--light-background);
}

.industry-solutions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.industry-block {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.industry-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.industry-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-background);
}

.industry-header i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.industry-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.solution-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Why MENADIM Section */
.why-menadim {
    padding: 100px 0;
    background: #f7fafd;
    /* subtle blue-tinted background for contrast */
    border-top: 1px solid #e5eaf2;
    border-bottom: 1px solid #e5eaf2;
}
.why-menadim h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.why-menadim .why-desc {
    text-align: center;
    color: #4b5563;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.feature.visible {
    opacity: 1;
    transform: none;
}
.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--light-background);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1rem;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.client-info {
    color: var(--light-text);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta-section .primary-button {
    background: white;
    color: var(--primary-color);
}

.cta-section .primary-button:hover {
    background: var(--light-background);
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-copyright {
    color: var(--light-text);
    text-align: center;
}

/* Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.7rem;
}
.logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    display: block;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.footer-logo-img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    display: block;
}
.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
}

/* Card and Image Styles for Industry Blocks */
.card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    margin-bottom: 2.5rem;
    overflow: hidden;
    transition: var(--transition);
}
.card:hover {
    box-shadow: 0 8px 32px rgba(37,99,235,0.13);
    transform: translateY(-4px) scale(1.01);
}
.industry-img {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-background);
}
.industry-img img {
    width: 220px;
    height: 180px;
    object-fit: cover;
    border-radius: 1rem 0 0 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.industry-content {
    flex: 1 1 0;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Section Spacing */
section {
    margin-bottom: 3rem;
}

/* Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: none;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .card {
        flex-direction: column;
        align-items: stretch;
    }
    .industry-img img {
        width: 100%;
        height: 180px;
        border-radius: 1rem 1rem 0 0;
    }
    .industry-img {
        flex: unset;
    }
}
@media (max-width: 768px) {
    .hero-flex {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-image img {
        max-width: 100%;
        border-radius: 1rem;
    }
    .card {
        flex-direction: column;
        gap: 0;
    }
    .industry-img img {
        height: 160px;
    }
    .industry-content {
        padding: 1rem 0.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .solutions-grid,
    .industries-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments for industry sections */
@media (min-width: 768px) {
    .industry-block {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

@media (max-width: 768px) {
    .industry-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .industry-header i {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .solution-list li {
        padding-left: 1rem;
    }
}

.footer-social {
    display: flex;
    gap: 1.2rem;
    margin: 1rem 0 0.5rem 0;
    justify-content: center;
}
.footer-social a {
    color: #3b82f6;
    font-size: 1.5rem;
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
}
.footer-social a:hover {
    color: #2563eb;
    transform: scale(1.18);
} 