:root {
    --primary: #2d7fb8;
    /* Matching the SDC text blue */
    --primary-light: #5ab9ea;
    /* Lighter blue from swirls */
    --primary-dark: #1b4f72;
    --accent: #56cbf9;
    /* Bright cyan/blue accent */
    --accent-glow: rgba(86, 203, 249, 0.2);
    --light: #f0f8ff;
    /* AliceBlue tint */
    --text: #334155;
    --text-heading: #1e3a8a;
    --border: #bfdbfe;
    --card-bg: #ffffff;
    --container: 1200px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--light);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-top: 0;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--primary-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

header .inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--primary-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

header .logo img {
    height: 50px;
    width: auto;
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

/* Hero */
.hero {
    background: var(--primary);
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Image will be added via inline style in template */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right bottom, rgba(45, 127, 184, 0.9), rgba(90, 185, 234, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.75);
    /* Dark background for contrast */
    padding: 3rem;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.35rem;
    color: #f1f5f9;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.4);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.section-header p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Cards */
.grid-companies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 6rem;
}

.company-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border-color: var(--accent);
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.company-card:hover::before {
    opacity: 1;
}

.company-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.company-card p {
    color: #64748b;
    margin-bottom: 0;
}

/* News */
.news-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    transition: 0.2s;
}

.news-card h2 {
    font-size: 1.75rem;
    color: var(--text-heading);
}

.news-date {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

/* Footer */
footer {
    background: var(--primary);
    color: #94a3b8;
    text-align: center;
    padding: 4rem 2rem;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 2px solid var(--primary-light);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 1rem 0;
        z-index: 200;
    }

    nav.open {
        display: flex;
    }

    nav a {
        margin-left: 0;
        padding: 0.75rem 2rem;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }

    header {
        position: sticky;
    }

    header .inner {
        position: relative;
    }

    .hero {
        padding: 5rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .grid-companies {
        grid-template-columns: 1fr;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .company-card {
        padding: 1.75rem;
    }

    footer {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    header .logo {
        font-size: 1rem;
    }

    header .logo img {
        height: 36px;
    }
}