/**
 * Responsive Styles
 * We Believe 2 CIC Website
 */

/* Tablet Styles (768px and below) */
@media (max-width: 768px) {
@media (max-width: 768px) {
    .logo-nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        height: auto;
        padding: 10px var(--container-padding);
    }
    
    .logo {
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .logo-container {
        padding: 8px;
    }

    .logo img {
        height: 60px;
        margin: 5px;
    }
    
    .menu-toggle {
        display: flex;
        position: static;
        transform: none;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        transform: translateX(-100%);
        transition: transform var(--transition-standard);
        z-index: 1000;
        padding-top: 100px;
        margin-left: 0;
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding: 20px;
        height: 100%;
        justify-content: flex-start;
        align-items: stretch;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 20px 0;
        font-size: 18px;
        text-align: center;
    }

    nav ul li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .cta-button {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }

    .hero {
        padding-top: 120px;
    }
}

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

    .logo-container {
        padding: 6px;
    }

    nav ul li a {
        font-size: 16px;
        padding: 15px 0;
    }
}
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }

    .hero {
        padding-top: 120px;
    }
    
    .values-container {
        flex-direction: column;
        align-items: center;
    }
    
    .value-card {
        width: 100%;
        max-width: 300px;
    }
    
    .mission-statement {
        font-size: 20px;
    }
    
    section {
        padding: 60px var(--container-padding);
    }
    
    .section-title {
        font-size: 32px;
    }
}

/* Mobile Styles (480px and below) */
@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }

    .logo-text {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .mission-statement {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .value-icon {
        font-size: 36px;
    }

    nav ul li a {
        font-size: 16px;
        padding: 15px 0;
    }
}

/* Large Screen Styles (1200px and above) */
@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* REPLACE THE MOBILE SECTIONS IN YOUR responsive.css WITH THIS */

/* Mobile Header Styles */
@media (max-width: 768px) {
    .logo-nav-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: auto;
        padding: 8px var(--container-padding); /* Reduced padding */
        position: relative;
    }
    
    .logo {
        justify-content: center;
        margin-bottom: 0;
        order: 1;
    }

    .logo-container {
        padding: 5px; /* Reduced padding */
    }

    .logo img {
        height: 120px; /* Increased from 80px */
        margin: 5px; /* Reduced margin */
    }
    
    .menu-toggle {
        display: flex;
        position: absolute;
        right: var(--container-padding);
        top: 50%;
        transform: translateY(-50%);
        order: 2;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        transform: translateX(-100%);
        transition: transform var(--transition-standard);
        z-index: 1000;
        padding-top: 100px; /* Reduced padding */
        margin-left: 0;
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding: 20px;
        height: 100%;
        justify-content: flex-start;
        align-items: stretch;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 20px 0;
        font-size: 18px;
        text-align: center;
    }

    nav ul li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .cta-button {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }

    .hero {
        padding-top: 140px; /* Reduced to account for smaller header */
    }
}

@media (max-width: 480px) {
    .logo-nav-container {
        padding: 6px var(--container-padding); /* Further reduced padding */
    }

    .logo img {
        height: 100px; /* Increased from 70px */
        margin: 3px; /* Reduced margin */
    }

    .logo-container {
        padding: 3px; /* Reduced padding */
    }

    nav {
        padding-top: 90px; /* Reduced padding */
    }

    nav ul li a {
        font-size: 16px;
        padding: 15px 0;
    }

    .hero {
        padding-top: 120px; /* Reduced to account for smaller header */
    }
}

/* ADD THESE STYLES TO YOUR responsive.css TO FIX FOOTER WHITE SPACE */

/* Fix footer white space on mobile */
@media (max-width: 768px) {
    footer {
        padding: 30px var(--container-padding) 15px; /* Reduced from 50px to 30px top, 20px to 15px bottom */
    }
    
    .footer-content {
        gap: 25px; /* Reduced from 40px */
        margin-bottom: 25px; /* Reduced from 40px */
    }
    
    .footer-links h3 {
        margin-bottom: 15px; /* Reduced from 20px */
    }
    
    .footer-links ul li {
        margin-bottom: 8px; /* Reduced from 10px */
    }
    
    .social-icons {
        margin-top: 15px; /* Reduced from 20px */
    }
    
    .copyright {
        padding-top: 15px; /* Reduced from 20px */
    }
}

@media (max-width: 480px) {
    footer {
        padding: 25px var(--container-padding) 10px; /* Even more compact on mobile */
    }
    
    .footer-content {
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer-logo {
        margin-bottom: 15px;
    }
}