:root {
    --primary-color: #2563EB; /* A bright, confident blue from the logo */
    --secondary-color: #4338CA; /* Indigo for depth and contrast */
    --accent-color: #60A5FA; /* A lighter blue for highlights */
    --bg-light: #F9FAFB; /* Slightly off-white for a softer, modern look */
    --bg-dark: #1F2937; /* A deep, cool gray for dark elements */
    --text-primary: #111827; /* A darker gray for crisp, readable text */
    --text-secondary: #4B5563; /* Medium gray for secondary text */
    --text-light: #F9FAFB;
    --border-color: #E5E7EB; /* A neutral light gray for borders */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-text {
    font-family: 'Cal Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* added cw logo styling */
.cw-logo {
    height: 40px;
    width: auto;
    margin-right: 0.6rem;
    filter: drop-shadow(0 2px 10px rgba(37,99,235,0.2));
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Cal Sans', sans-serif;
    font-size: 2.8rem; /* increased for stronger headings */
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 680px; /* increased visual column for larger portrait */
    gap: 3rem;
    align-items: center;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center; /* center the visual column horizontally */
}

/* Hero portrait styling */
.hero-portrait-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    margin: 0 auto; /* ensure the portrait is centered within its column */
}
.hero-portrait {
    width: 680px; /* much bigger portrait */
    max-width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 40px 100px rgba(37,99,235,0.16);
    border: 8px solid var(--primary-color); /* slightly thicker border */
    padding: 4px;
    background: white;
    transform: translateY(0);
}

/* make the geometric pattern more visible / add subtle lines */
.geometric-pattern {
    width: 480px;
    height: 480px;
    background:
      radial-gradient(ellipse at center, rgba(30,64,175,0.28) 0%, rgba(37,99,235,0.12) 40%, transparent 60%),
      linear-gradient(135deg, rgba(30,64,175,0.10), rgba(37,99,235,0.04));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.38; /* increased visibility */
    box-shadow: 0 30px 80px rgba(37,99,235,0.18), inset 0 1px 0 rgba(255,255,255,0.02);
    position: relative;
    overflow: visible;
}

/* subtle crossing line accents inside the geometric shape */
.geometric-pattern::before,
.geometric-pattern::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 140%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.18), transparent);
    transform-origin: center;
    pointer-events: none;
}
.geometric-pattern::before { transform: translate(-50%,-50%) rotate(22deg); }
.geometric-pattern::after  { transform: translate(-50%,-50%) rotate(-28deg); }

/* Hero title and subtitle */
.hero-title {
    font-family: 'Cal Sans', sans-serif;
    font-size: 6.4rem; /* made the hero name much larger */
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-top: 0.6rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-description {
    font-size: 1.25rem;
    margin-top: 1rem;
    color: var(--text-secondary);
    max-width: 60ch;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 4.8rem; /* scale down for mobile but still large */
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .geometric-pattern {
        width: 300px;
        height: 300px;
    }
}