/* General Body & Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #ffffff; /* Changed to white like Apple */
    color: #1d1d1f;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-weight: 600;
    color: #000000;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* Header and Navigation */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #d2d2d7;
    padding: 0 22px;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1024px;
}

.main-nav .logo {
    font-size: 19px;
    font-weight: 500;
    color: #1d1d1f;
    display: flex;
    align-items: center;
}

.main-nav .logo:hover {
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px; /* Creates space between items */
}

.main-nav ul li a {
    color: #1d1d1f;
    font-size: 14px;
}

.cta-button {
    background-color: #0071e3;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 14px !important;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #0077ed;
    text-decoration: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background-color: #1d1d1f;
    margin: 2px 0;
    transition: 0.3s;
}

/* Main Content Area */
main {
    max-width: 980px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.content-page {
    padding: 20px 0;
    text-align: left;
}

.content-page h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

/* Hero Section for Homepage */
.hero {
    padding: 60px 20px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 24px;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto 30px;
}

.button {
    background-color: #0071e3;
    color: #fff;
    padding: 12px 24px;
    border-radius: 980px; /* Pill shape */
    font-weight: 500;
    display: inline-block;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #0077ed;
    text-decoration: none;
}

/* Key Features Section */
.key-features {
    padding: 80px 0;
    background-color: #f5f5f7;
}

.key-features h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #c4c4c4;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature p {
    color: #6e6e73;
    font-size: 16px;
}

/* Showcase Section */
.showcase {
    padding: 80px 0;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-image {
    width: 100%;
    height: 300px;
    background-color: #c4c4c4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6e6e73;
}

.showcase-text {
    text-align: left;
}

.showcase-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.showcase-text p {
    color: #6e6e73;
    margin-bottom: 20px;
    font-size: 16px;
}

/* About Page Sections */
.our-mission, .our-story {
    margin-bottom: 60px;
}

.our-mission h2, .our-story h2, .meet-the-team h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

.our-mission p, .our-story p {
    font-size: 18px;
    color: #6e6e73;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

/* Team Grid */
.meet-the-team {
    margin-top: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
    padding: 20px;
}

.team-photo {
    width: 120px;
    height: 120px;
    background-color: #c4c4c4;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.team-member h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-member p {
    color: #6e6e73;
    font-size: 14px;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #000;
}

.contact-item p {
    color: #6e6e73;
    font-size: 16px;
    margin: 0;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: #c4c4c4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6e6e73;
    font-size: 18px;
}

/* Forms */
.contact-form {
    max-width: 450px;
    margin: 0;
    text-align: left;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box; /* Important for padding */
    background-color: rgba(230, 230, 230, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 125, 250, 0.6);
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 40px 20px;
    color: #6e6e73;
    font-size: 12px;
    border-top: 1px solid #d2d2d7;
    max-width: 980px;
    margin: 60px auto 0;
}

/* Image Placeholders */
.feature-icon,
.showcase-image,
.team-photo,
.map-placeholder {
    position: relative;
}

.feature-icon::after,
.showcase-image::after,
.team-photo::after,
.map-placeholder::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #8e8e93;
    font-size: 14px;
}

/* Responsive Design - Media Queries */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid #d2d2d7;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .main-nav ul.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 20px;
    }
    
    /* Content Page */
    .content-page h1 {
        font-size: 36px;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Showcase */
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .showcase-text {
        text-align: center;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Typography */
    .key-features h2 {
        font-size: 32px;
    }
    
    .showcase-text h2 {
        font-size: 28px;
    }
    
    .our-mission h2,
    .our-story h2,
    .meet-the-team h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    /* Further mobile optimization */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .content-page h1 {
        font-size: 28px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    main {
        margin: 40px auto;
        padding: 0 15px;
    }
}