/* --- Global Styles & Variables --- */
:root {
    --primary-blue: #0056b3;
    --secondary-blue: #007bff;
    --light-blue-bg: #f0f7ff;
    --white-color: #ffffff;
    --dark-text: #333333;
    --light-text: #666666;
    --border-color: #dee2e6;
    --shadow: 0 4px 15px rgba(0, 86, 179, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: var(--light-text);
}

/* --- Demo Banner --- */
.demo-banner {
    background-color: #fff3cd;
    color: #856404;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
}

/* --- Header & Navigation --- */
header {
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-blue);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white-color);
}

/* --- Hero Section --- */
#hero {
    /* Existing gradient, slightly adjusted for better contrast with new elements */
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(0, 86, 179, 0.95));
    color: var(--white-color);
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative; /* Needed for positioning the background graphic */
    overflow: hidden; /* Ensures graphic doesn't spill out */
}

/* New: Abstract background graphic for the hero section */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use a subtle SVG or a pattern here. This example uses an abstract wave/geometric pattern. */
    /* You can replace this with your own image (e.g., background-image: url('path/to/your/image.svg');) */
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="wave-pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 0 50 Q 75 0 150 50 T 300 50 T 450 50 T 600 50 L 600 100 L 0 100 Z" fill="rgba(255,255,255,0.08)" transform="scale(0.3)"></path></pattern></defs><rect x="0" y="0" width="100%" height="100%" fill="url(#wave-pattern)"/></svg>');
    background-size: cover;
    opacity: 0.5; /* Adjust opacity to make it subtle */
    z-index: 1;
}

#hero .hero-content {
    position: relative; /* Brings content to front of the ::before pseudo-element */
    z-index: 2;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-weight: 300;
}

.cta-buttons a {
    margin: 0 10px;
}
.cta-buttons a {
    margin: 0 10px;
}

/* --- Partners Section --- */
#partners {
    background-color: var(--light-blue-bg);
}
.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logos img {
    height: 50px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--secondary-blue);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.15);
}

.card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.card-link {
    text-decoration: none;
    color: var(--secondary-blue);
    font-weight: 600;
}

.card-link i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.card-link:hover i {
    margin-left: 10px;
}

/* --- About Section --- */
#about {
    background-color: var(--light-blue-bg);
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- Consultants Section --- */
.consultants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.consultant-card {
    padding: 20px;
}

.consultant-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-blue);
    margin-bottom: 20px;
}

.consultant-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.consultant-card p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.social-link {
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-blue);
}

/* --- Contact Section --- */
#contact {
    background-color: var(--light-blue-bg);
}

#contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

#contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-blue);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        background: var(--white-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links li {
        margin: 20px 0;
    }

    .menu-toggle {
        display: block;
    }
    
    #hero {
        height: 70vh;
    }

    #hero h1 {
        font-size: 2.5rem;
    }
}

/* --- Style for Highlighted Card --- */
.card-highlighted {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white-color);
    transform: scale(1.05); /* Make it slightly bigger */
    border-left-color: #ffc107; /* Golden accent border */
    position: relative;
    overflow: hidden; /* Needed for the badge */
}

.card-highlighted:hover {
    transform: scale(1.08) translateY(-10px); /* Enhanced hover effect */
    box-shadow: 0 12px 30px rgba(0, 86, 179, 0.25);
}

/* Overriding text colors for the highlighted card */
.card-highlighted h3,
.card-highlighted .card-link {
    color: var(--white-color);
}

.card-highlighted p {
    color: rgba(255, 255, 255, 0.9);
}

/* "Main Focus" Badge */
.card-highlighted::after {
    content: 'MAIN FOCUS';
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: #ffc107;
    color: var(--dark-text);
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

