/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #0A3161 0%, #1e3c72 50%, #2a5298 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 90px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-mark {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-svg {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.brand-svg:hover {
    transform: scale(1.1);
}

.company-name h1 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.company-name .tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
    height: 100%;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Services Section */
#services {
    padding: 8rem 5% 5rem 5%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #0A3161 75%, #1e3c72 100%);
    position: relative;
    overflow: hidden;
    margin-top: 90px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.03" points="0,1000 1000,0 1000,1000"/></svg>');
    pointer-events: none;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

#services h2 {
    color: #ffffff;
    margin-bottom: 4rem;
    font-size: 3.5rem;
    text-align: center;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.service-card h3 {
    color: #0A3161;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0A3161 0%, #1e3c72 50%, #2a5298 100%);
    color: #FFFFFF;
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.02" points="0,0 1000,1000 0,1000"/></svg>');
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.contact-info {
    margin-top: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #0A3161 0%, #1e3c72 50%, #2a5298 100%);
    padding: 140px 0 80px 0;
    text-align: center;
    color: white;
}

.contact-container h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-container p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 60vh;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-card, .info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-card h2, .info-card h3 {
    color: #0A3161;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #0A3161;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0A3161;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 49, 97, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.cta-button {
    background: linear-gradient(135deg, #0A3161 0%, #1e3c72 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(10, 49, 97, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 49, 97, 0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(3px);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0A3161 0%, #1e3c72 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.1rem;
    color: #0A3161;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #1e3c72;
}

.business-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.business-hours h4 {
    color: #0A3161;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.hours-item span:first-child {
    color: #475569;
    font-weight: 500;
}

.hours-item span:last-child {
    color: #0A3161;
    font-weight: 600;
}

.nav-links .active {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 5%;
        flex-direction: column;
        gap: 1rem;
        height: auto;
        min-height: 100px;
    }

    header {
        height: auto;
        min-height: 100px;
    }

    .logo {
        gap: 0.5rem;
    }

    .company-name h1 {
        font-size: 1.5rem;
    }

    .company-name .tagline {
        font-size: 0.8rem;
    }

    .logo-mark {
        width: 50px;
        height: 50px;
    }

    .brand-svg {
        width: 30px;
        height: 30px;
    }

    .nav-links {
        gap: 1rem;
        margin-left: 0;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    #services {
        margin-top: 100px;
        min-height: 60vh;
        padding: 4rem 2rem;
    }

    #services h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .service-card {
        min-height: 240px;
        padding: 2.5rem 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links a {
        margin: 0 1rem;
    }

    .contact-container h1 {
        font-size: 2.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .form-card, .info-card {
        padding: 2rem;
    }
    
    .contact-hero {
        padding: 120px 0 60px 0;
    }
    
    .contact-content {
        padding: 60px 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-text {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .company-name h1 {
        font-size: 1.2rem;
    }

    #services {
        margin-top: 100px;
        min-height: 50vh;
        padding: 3rem 1rem;
    }

    #services h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .service-card {
        min-height: 220px;
        padding: 2rem 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .mission-box h3 {
        font-size: 1.5rem;
    }

    .logo-mark {
        width: 180px;
    }

    .menu-button {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    /* Adjust content spacing */
    .section {
        padding: 2rem 1rem;
    }

    /* Improve form usability */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    /* Adjust notification position */
    .notification {
        width: calc(100% - 2rem);
        margin: 0 1rem;
        top: 80px;
    }

    header {
        height: 70px;
    }

    .nav-links {
        padding: 0.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    main {
        padding-top: 70px;
    }

    #services {
        padding: 2.5rem 1rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
        min-height: 160px;
    }
    
    .contact-container h1 {
        font-size: 2rem;
    }
    
    .form-card, .info-card {
        padding: 1.5rem;
    }
    
    .cta-button {
        padding: 0.9rem 1.5rem;
    }
}

/* Add a scroll-to-top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #B31942;
    color: #FFFFFF;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    background-color: #0A3161;
}

/* Add loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Notification System */
.notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
    transition: top 0.3s ease;
}

.notification.show {
    top: 20px;
}

.notification.success {
    border-left: 4px solid #0A3161;
}

.notification.error {
    border-left: 4px solid #B31942;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
}

/* Experience Section */
#experience {
    padding: 5rem 5%;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(10, 49, 97, 0.1);
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.experience-container h2 {
    color: #0A3161;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.experience-container p {
    color: #666;
    margin-bottom: 3rem;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
    justify-items: center;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 350px;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.logo-item img {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.logo-item span {
    color: #0A3161;
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-description {
    color: #666;
    font-size: 0.9rem;
    margin-top: -0.5rem;
}

/* Mobile Experience Section */
@media (max-width: 768px) {
    .logo-grid {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .logo-item {
        padding: 1.5rem;
    }
    
    .logo-item img {
        max-width: 150px;
    }
    
    .experience-container h2 {
        font-size: 2rem;
    }
    
    .logo-item span {
        font-size: 1.1rem;
    }
}

/* Success Page */
.success-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(rgba(10, 49, 97, 0.8), rgba(179, 25, 66, 0.8));
    text-align: center;
    padding: 2rem;
}

.success-message {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 90%;
}

.success-message h1 {
    color: #0A3161;
    margin-bottom: 1rem;
}

.success-message p {
    color: #666;
    margin-bottom: 2rem;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 5px;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .logo {
        height: 40px;
        padding: 3px;
    }
    
    .logo-img {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 50px;
    }
    
    .logo-img {
        max-width: 120px;
    }
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.logo-placeholder {
    width: 200px;
    height: 50px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 5px;
    margin-bottom: 20px;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0A3161;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* About Section Improvements */
#about {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

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

.about-content h2 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.about-content > p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.mission-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mission-box h3 {
    color: #0A3161;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.mission-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
}

.mission-list li {
    padding: 1rem 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
}

.mission-list li:before {
    content: "→";
    color: #B31942;
    position: absolute;
    left: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h4 {
    color: #0A3161;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Mobile Improvements */
@media (max-width: 768px) {
    .about-container {
        padding: 3rem 1.5rem;
    }

    .about-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-content > p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .mission-box {
        padding: 2rem 1rem;
        margin: 2rem 1rem;
        border-radius: 8px;
    }
    
    .mission-list li {
        font-size: 1rem;
        padding: 0.8rem 0;
        padding-left: 1.8rem;
    }

    .value-item {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .value-item h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .value-item p {
        font-size: 0.95rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .about-container {
        padding: 2rem 1rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content > p {
        font-size: 1rem;
        padding: 0;
    }

    .mission-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .mission-box h3 {
        font-size: 1.6rem;
    }

    .mission-list li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
        padding-left: 1.5rem;
    }

    .value-item {
        padding: 1.2rem;
        margin: 0;
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 50px;
}

.carousel-track {
    transition: transform 0.3s ease;
    display: flex;
    width: 100%;
    position: relative;
}

.logo-grid {
    display: flex;
    width: fit-content;
    gap: 2rem;
}

.logo-item {
    min-width: calc(50% - 1rem);
    width: calc(600px - 2rem);
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.logo-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.logo-item:hover .logo-image img {
    transform: scale(1.05);
}

.logo-item span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0A3161;
    text-align: center;
}

.logo-description {
    color: #666;
    font-size: 1rem;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0A3161;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    background: #B31942;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #0A3161;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 30px;
        touch-action: manipulation;
    }

    .logo-item {
        min-width: calc(100vw - 60px);
        width: calc(100vw - 60px);
        padding: 1.2rem;
        gap: 1rem;
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }

    .logo-image {
        height: 120px;
        border-radius: 6px;
    }

    .logo-item span {
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    .logo-description {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .carousel-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        background: rgba(10, 49, 97, 0.9);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-height: 44px;
    }

    .carousel-button:active {
        transform: translateY(-50%) scale(0.95);
        background: rgba(179, 25, 66, 0.9);
    }

    .carousel-dots {
        margin-top: 1.5rem;
        gap: 0.8rem;
        padding: 10px 0;
    }

    .dot {
        width: 8px;
        height: 8px;
        min-width: 24px;
        min-height: 24px;
        position: relative;
    }

    .dot::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 24px;
        background: transparent;
    }
}

@media (max-width: 480px) {
    .logo-item {
        min-width: calc(100vw - 50px);
        width: calc(100vw - 50px);
        padding: 1rem;
    }

    .logo-image {
        height: 100px;
    }

    .carousel-button {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 44px;
    }

    .logo-item:active {
        transform: scale(0.98);
    }
}

/* Add smooth momentum scrolling for iOS */
@supports (-webkit-overflow-scrolling: touch) {
    .carousel-track {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
    }

    .logo-item {
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .carousel-container {
        overscroll-behavior-x: none;
        -webkit-overflow-scrolling: touch;
    }
}

/* Add momentum scrolling for Safari */
@media not all and (pointer: coarse) {
    .carousel-track {
        scroll-behavior: smooth;
    }
}

/* Touch Interaction Improvements */
.carousel-track {
    touch-action: pan-x pinch-zoom;
    -webkit-user-select: none;
    user-select: none;
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-container {
    -webkit-tap-highlight-color: transparent;
}

.logo-item {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 30px;
        touch-action: manipulation;
    }

    .logo-item {
        min-width: calc(100vw - 60px);
        width: calc(100vw - 60px);
        padding: 1.2rem;
        gap: 1rem;
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }

    .carousel-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        background: rgba(10, 49, 97, 0.9);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-height: 44px;
    }

    .carousel-button:active {
        transform: translateY(-50%) scale(0.95);
        background: rgba(179, 25, 66, 0.9);
    }

    .carousel-dots {
        margin-top: 1.5rem;
        gap: 0.8rem;
        padding: 10px 0;
    }

    .dot {
        width: 8px;
        height: 8px;
        min-width: 24px;
        min-height: 24px;
        position: relative;
    }

    .dot::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 24px;
        background: transparent;
    }
}

@media (max-width: 480px) {
    .logo-item:active {
        transform: scale(0.98);
    }

    .carousel-button {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 44px;
    }
}

/* iOS-specific improvements */
@supports (-webkit-overflow-scrolling: touch) {
    .carousel-track {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
    }

    .logo-item {
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .carousel-container {
        overscroll-behavior-x: none;
        -webkit-overflow-scrolling: touch;
    }
}

/* Add momentum scrolling for Safari */
@media not all and (pointer: coarse) {
    .carousel-track {
        scroll-behavior: smooth;
    }
}

/* Non-profit Section Styles */
#nonprofit {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

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

.nonprofit-content h2 {
    color: #0A3161;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.nonprofit-hero {
    height: 400px;
    background: url('https://source.unsplash.com/1600x900/?hunting,fishing') center/cover;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.nonprofit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 49, 97, 0.7), rgba(179, 25, 66, 0.7));
}

.nonprofit-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nonprofit-text h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.nonprofit-text p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.nonprofit-details {
    max-width: 900px;
    margin: 0 auto;
}

.nonprofit-mission-statement {
    text-align: center;
    margin-bottom: 4rem;
}

.nonprofit-mission-statement h3 {
    color: #0A3161;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.nonprofit-mission-statement p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.split-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #0A3161;
}

.split-item h4 {
    font-size: 2.5rem;
    color: #B31942;
    margin-bottom: 1rem;
}

.split-item p {
    font-size: 1.1rem;
    color: #333;
}

.cta-container {
    text-align: center;
    margin-top: 4rem;
}

.nonprofit-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #B31942;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nonprofit-cta:hover {
    background-color: #0A3161;
    transform: translateY(-2px);
}

.cta-note {
    margin-top: 1rem;
    color: #666;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nonprofit-hero {
        height: 300px;
    }

    .nonprofit-text h3 {
        font-size: 2rem;
    }

    .nonprofit-text p {
        font-size: 1.2rem;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nonprofit-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nonprofit-hero {
        height: 250px;
    }

    .nonprofit-text h3 {
        font-size: 1.8rem;
    }

    .nonprofit-text p {
        font-size: 1rem;
    }

    .nonprofit-cta {
        width: 100%;
        padding: 1rem;
    }
}

/* Nonprofit Logo Styles */
.nonprofit-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.nonprofit-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    padding: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.nonprofit-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.nonprofit-logo:hover .nonprofit-logo-img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nonprofit-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nonprofit-logo {
        width: 60px;
        height: 60px;
    }
}

/* Image error handling */
.logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A3161;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50%;
}

/* Image loading states */
.brand-svg {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-svg.loaded {
    opacity: 1;
}