:root {
    --primary-color: #003366; /* Deep Tech Navy Blue */
    --accent-color: #00AEEF; /* Bright Cyan/Aqua for accents */
    --background-light: #f4f6f8; /* Very light grey */
    --background-dark: #1f2833; /* Dark background for footer */
    --text-dark: #212529;
    --text-light: #ffffff;
    --font-family: 'Roboto', 'Segoe UI', 'Arial', sans-serif;
    --shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
}
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header */
header {
    background-color: var(--text-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}
nav a {
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
    flex-shrink: 0;
}
nav a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0050A0 100%);
    color: var(--text-light);
    padding: 120px 0;
    text-align: center;
}
.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}
.hero p {
    font-size: 1.35rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Sections */
.section {
    padding: 90px 0;
    text-align: center;
}
.section.white-bg {
    background-color: var(--text-light);
}
.section.light-bg {
    background-color: var(--background-light);
}
h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}
.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
    margin-top: 30px;
}
.card {
    background: var(--text-light);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--accent-color);
}
.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.2);
}
.card .centerdiv {
    text-align: center;
}
.card img {
    height:200px;
    margin-left: auto;
    margin-right: auto;
}
.card h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

/* PrismGeo Specific */
.prismgeo-intro {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact/CTA */
.contact-info {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.contact-info p {
    font-size: 1.1rem;
    margin: 10px 0;
    color: var(--accent-color);
}
.contact-info span {
    font-weight: 700;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 50px 0;
    text-align: center;
}
footer p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #adb5bd;
}
footer .logo-footer {
    color: var(--cd-target-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
.hero h1 {
    font-size: 2.5rem;
}
.hero p {
    font-size: 1.1rem;
}
.grid-3 {
    grid-template-columns: 1fr;
}
nav {
    display: flex;
    margin-top: 15px;
    text-align: center;
}
nav a {
    margin: 0 10px;
}
.flex-between {
    flex-direction: column;
}
/* Parent container for positioning */
.language-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 30px; /* Aligns with existing nav links */
}

/* Style for the Globe Icon */
.lang-icon {
    /* Use the same base styling as other nav links for visual consistency */
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
    display: inline-block;
}
.lang-icon:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}
}
/* The actual dropdown box (initially hidden) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--text-light); /* White background */
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 101; /* Above header */
    top: 100%; /* Position right below the icon */
    right: 0; /* Align to the right side of the icon */
    border-radius: 5px;
    border-top: 3px solid var(--accent-color);
    padding: 5px 0;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: var(--text-dark);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-weight: 400; /* Less bold than nav links */
    border-bottom: none; /* Remove underline from default nav styles */
    margin: 0;
}

/* Highlight language links on hover */
.dropdown-content a:hover {
    background-color: var(--background-light);
    color: var(--primary-color);
}

/* Style for the currently active language */
.dropdown-content a.active-lang {
    font-weight: 700;
    background-color: #e6f0ff; /* Light blue hint */
    color: var(--primary-color);
}

/* Parent container for positioning */
.language-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 30px; /* Aligns with existing nav links */
    flex-shrink: 0;
}

/* SHOW the dropdown content on hover over the parent container */
.language-dropdown:hover .dropdown-content {
    display: block;
}