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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo-svg {
    fill: #2c5aa0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2c5aa0;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #97bcf0 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #2c5aa0;
    color: white;
}

.btn-primary:hover {
    background-color: #1e3f73;
}

.btn-secondary {
    background-color: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-secondary:hover {
    background-color: #2c5aa0;
    color: white;
}

/* Sections */
section {
    padding: 60px 0;
}

.page-hero {
    background-color: #f8f9fa;
    text-align: center;
    padding: 80px 0 60px;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

/* Grid Layouts */
.goals-grid,
.services-grid,
.successes-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

/* Content Cards */
.goal-card,
.success-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.goal-card:hover,
.success-card:hover {
    transform: translateY(-5px);
}

.goal-icon,
.success-icon {
    margin-bottom: 20px;
}

.goal-card h3,
.success-card h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

/* Team Preview */
.team-member-preview {
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member-preview h4 {
    color: #2c5aa0;
    margin: 15px 0 5px 0;
}

.team-member-preview p {
    color: #666;
    font-size: 0.9rem;
}

/* About Preview */
.about-preview {
    background-color: #f8f9fa;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #2c5aa0;
}

.text-center {
    text-align: center;
}

/* Features and Specialties */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.feature h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

.member-specialties {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.specialty {
    background: #2c5aa0;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

@media (max-width: 768px) {
    .about-highlights {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .member-specialties {
        justify-content: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

/* Service Cards */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 64px;
    height: 64px;
    fill: #2c5aa0;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

/* Team Members */
.team-member {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-image {
    margin-bottom: 20px;
}

.member-avatar {
    width: 120px;
    height: 120px;
    fill: #2c5aa0;
}

.member-role {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    fill: #2c5aa0;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Forms */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

/* Thanks Page */
.thanks-section {
    padding: 100px 0;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 30px;
}

.thanks-actions {
    margin: 40px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

/* Legal Content */
.legal-content {
    padding: 40px 0;
}

.legal-content h1 {
    color: #2c5aa0;
    margin-bottom: 30px;
}

.legal-content h2 {
    color: #2c5aa0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content h3 {
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 20px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#accept-all {
    background-color: #2c5aa0;
    color: white;
}

#accept-necessary {
    background-color: #666;
    color: white;
}

#cookie-settings {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

/* Cookie Settings */
.cookie-settings {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.cookie-category {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.cookie-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 10px;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.toggle-slider:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

input[type="checkbox"]:checked + .toggle-slider {
    background-color: #2c5aa0;
}

input[type="checkbox"]:checked + .toggle-slider:before {
    transform: translateX(25px);
}

input[type="checkbox"] {
    display: none;
}

.cookie-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #2c5aa0;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: #2c5aa0;
    background: rgba(255, 255, 255, 0.2);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #2c5aa0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
}