/* General Body & Root Variables */
:root {
    --primary-color: #E0B38E; /* Light warm color from image */
    --secondary-color: #6A7FDB; /* Blueish color from image */
    --background-color: #1a1a2e; /* Deep dark blue */
    --text-color: #e0e0e0;
    --card-background: #162447;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-image: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.95)), url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    background: rgba(22, 36, 71, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav .logo h1 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-button {
    background-color: var(--secondary-color);
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #5A6FBB;
    color: #fff !important;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--card-background);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: var(--background-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
#hero {
    background-color: transparent;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero-content h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #5A6FBB;
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.content-section .subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.highlighted-section {
    background-color: var(--card-background);
}

/* Principles Grid (About Section) */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.principle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* "Who You Are" Challenges Grid */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.challenge-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--secondary-color);
}

.challenge-card h4 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 2rem;
    align-items: start;
}

.service-card {
    position: relative;
    background: var(--card-background);
    padding: 2rem;
    padding-bottom: 3rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; 
}

.service-card::after {
    content: '▼';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-card:hover::after {
    transform: translateX(-50%) rotate(180deg);
    opacity: 1;
}

.service-card .divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.service-card h4 {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.service-card h5 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.expandable-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, margin-top 0.5s ease-out;
}

.service-card:hover .expandable-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 1.5rem;
}

.expandable-content h6 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.expandable-content ul {
    list-style: none;
    padding-left: 0;
}

.expandable-content li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.expandable-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Community Section */
.community-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.community-logos span {
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #111;
    text-align: center;
    padding: 4rem 0;
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

footer .contact-info {
    margin-top: 1rem;
    font-size: 1.1rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 991px) {
    nav {
        flex-direction: column;
    }
    nav .logo {
        margin-bottom: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links li {
        margin: 0.5rem;
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }
    .content-section h2 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}