/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Verdana, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
    background-image: 
        linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

/* Container and Layout */
.container {
    width: 960px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
}

/* Header Styles */
#header {
    background: linear-gradient(180deg, #4A90D9 0%, #2E5C8A 100%);
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid #1a3a5a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

#header .container {
    background: transparent;
    box-shadow: none;
    min-height: auto;
}

#header .logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

#header .company-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}

#header .company-logo:hover {
    transform: scale(1.05);
}

#header .logo-text {
    display: flex;
    flex-direction: column;
}

#header .logo-text h1 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

#header .logo-text h1 a {
    color: white;
    text-decoration: none;
}

#header .logo-text p {
    font-size: 12px;
    margin-top: 3px;
    opacity: 0.9;
    font-weight: normal;
}

#header .nav {
    float: right;
    margin-top: -35px;
}

#header .nav ul {
    list-style: none;
    display: flex;
}

#header .nav li {
    margin-left: 2px;
}

#header .nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.2s;
}

#header .nav a:hover,
#header .nav a.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Clearfix */
#header::after {
    content: "";
    display: table;
    clear: both;
}

/* Main Content Layout */
#main {
    padding: 20px;
}

#main .container {
    display: flex;
    background: #fdfdfd;
}

/* Sidebar */
.sidebar {
    width: 220px;
    margin-right: 20px;
}

.box {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.box h3 {
    background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%);
    color: #333;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid #c0c0c0;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-sidebar {
    list-style: none;
    padding: 10px 0;
}

.nav-sidebar li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-sidebar li:last-child {
    border-bottom: none;
}

.nav-sidebar a {
    display: block;
    padding: 8px 15px;
    color: #2E5C8A;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}

.nav-sidebar a:hover {
    background: #f0f7ff;
    color: #D97B2E;
    padding-left: 20px;
}

.stats {
    padding: 15px;
}

.stat-item {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.stat-item strong {
    color: #2E5C8A;
    font-size: 11px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 3px;
}

/* Content Area */
.content {
    flex: 1;
    padding: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-family: Georgia, serif;
    font-size: 24px;
    color: #2E5C8A;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.lead {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 15px 0;
}

.hero-buttons {
    margin-top: 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 18px;
    margin-right: 10px;
    margin-bottom: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 6px;
    border: 1px solid;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(180deg, #D97B2E 0%, #C66A1A 100%);
    color: white;
    border-color: #B85A15;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #E88A3E 0%, #D77A2A 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: linear-gradient(180deg, #4A90D9 0%, #2E5C8A 100%);
    color: white;
    border-color: #1a3a5a;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(180deg, #5BA0E9 0%, #3E6C9A 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Content Boxes */
.content-box {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-box h2 {
    font-family: Georgia, serif;
    font-size: 20px;
    color: #2E5C8A;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid #4A90D9;
    padding-bottom: 8px;
}

.content-box h3 {
    font-family: Georgia, serif;
    font-size: 18px;
    color: #2E5C8A;
    margin: 20px 0 10px 0;
    font-weight: bold;
}

.content-box h4 {
    color: #D97B2E;
    font-size: 14px;
    font-weight: bold;
    margin: 15px 0 8px 0;
}

.content-box p {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.philosophy-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.philosophy-item h4 {
    color: #2E5C8A;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.philosophy-item p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* About Section */
.about-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-text {
    flex: 2;
}

.about-image {
    flex: 1;
}

.about-img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Project Tracks */
.project-track {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.project-track:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.project-track h3 {
    color: #D97B2E;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    float: left;
    margin-right: 20px;
}

.project-content {
    overflow: hidden;
}

.project-features ul {
    list-style: none;
    padding-left: 0;
}

.project-features li {
    padding: 5px 0 5px 20px;
    position: relative;
    font-size: 13px;
    color: #555;
}

.project-features li::before {
    content: "▸";
    color: #D97B2E;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #d0e8f0 100%);
    border: 1px solid #4A90D9;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.mission-section h3 {
    color: #2E5C8A;
    margin-top: 0;
}

.mission-section p {
    color: #2E5C8A;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.value-item {
    background: #f9f9f9;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.value-item h4 {
    color: #2E5C8A;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.value-item p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* Values in Practice */
.values-in-practice {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li::before {
    content: "●";
    color: #D97B2E;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Culture Content */
.culture-content h3 {
    color: #D97B2E;
    font-size: 16px;
    margin-top: 25px;
}

.culture-content h3:first-child {
    margin-top: 0;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.feature {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature h4 {
    color: #2E5C8A;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.feature p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2E5C8A 0%, #1a3a5a 100%);
    color: white;
    border: 1px solid #1a3a5a;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.cta-section h2 {
    color: white;
    border: none;
    margin-bottom: 15px;
}

.cta-section p {
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 25px;
}

.cta-buttons .btn {
    margin: 5px;
}

/* Contact Information in CTA */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item h4 {
    color: #D97B2E;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.contact-item p {
    color: #e0e0e0;
    font-size: 13px;
    margin: 0;
}

.contact-item a {
    color: #4A90D9;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    color: #D97B2E;
    text-decoration: underline;
}

/* Footer */
#footer {
    background: linear-gradient(180deg, #2E5C8A 0%, #1a3a5a 100%);
    color: white;
    margin-top: 20px;
    padding: 30px 0 20px 0;
}

#footer .container {
    background: transparent;
    box-shadow: none;
    min-height: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #D97B2E;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid #4A90D9;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 5px;
}

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #D97B2E;
}

.footer-section p {
    color: #e0e0e0;
    font-size: 12px;
    line-height: 1.4;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4A90D9;
}

.footer-bottom p {
    color: #b0b0b0;
    font-size: 11px;
    margin: 0;
}

/* Footer Contact Styles */
.footer-contact {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #4A90D9;
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 12px;
}

.footer-contact strong {
    color: #D97B2E;
    font-weight: bold;
}

.footer-contact a {
    color: #4A90D9;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #D97B2E;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 980px) {
    .container {
        width: 100%;
        margin: 0;
    }
    
    #main .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 15px;
    }
    
    .project-image {
        float: none;
        margin-right: 0;
        margin-bottom: 15px;
        max-width: 100%;
    }
    
    .philosophy-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive for new contact info */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .community-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #header .nav {
        float: none;
        margin-top: 10px;
    }
    
    /* Logo responsive adjustments */
    #header .logo-section {
        flex-direction: row;
        align-items: center;
    }
    
    #header .company-logo {
        height: 40px;
    }
    
    #header .logo-text h1 {
        font-size: 20px;
    }
    
    #header .nav ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    #header {
        padding: 10px 15px;
    }
    
    #header .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    #header .company-logo {
        height: 35px;
    }
    
    #header .logo-text h1 {
        font-size: 22px;
    }
    
    #header .nav {
        float: none;
        margin-top: 0;
    }
    
    #header .nav ul {
        justify-content: center;
    }
    
    #main {
        padding: 15px;
    }
    
    .content-box,
    .hero {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 15px;
    }
    
    .btn {
        display: block;
        margin: 5px 0;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-sidebar a:focus,
#header .nav a:focus {
    outline: 2px solid #D97B2E;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    #header .nav,
    .sidebar,
    .btn,
    #footer {
        display: none;
    }
    
    .container {
        box-shadow: none;
        width: 100%;
    }
    
    .content-box {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}