/* Base Styles and Variables */
:root {
    --font-primary: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --color-primary: #000;
    --color-secondary: #333;
    --color-accent: #e31b23;
    --color-background: #fff;
    --color-text: #333;
    --color-text-light: #666;
    --color-border: #ddd;
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.main-nav.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 40px;
    z-index: 1001;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--color-accent);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background-color: #ff2d36;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-icon {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

.mobile-menu-btn.active .menu-icon {
    background-color: transparent;
}

.mobile-menu-btn.active .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .menu-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

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

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin-bottom: 2rem;
    }

    .nav-item {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .nav-item::after {
        display: none;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Add padding to account for fixed header */
main {
    padding-top: var(--header-height);
}

/* Page Headers */
.page-header {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: var(--header-height);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Cards and Grids */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
}

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

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-speed);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-widget p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 1rem;
}

.footer-widget ul li a {
    color: #999;
    text-decoration: none;
    transition: all var(--transition-speed);
    display: block;
    position: relative;
    padding-left: 1.5rem;
}

.footer-widget ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all var(--transition-speed);
}

.footer-widget ul li a:hover {
    color: white;
    padding-left: 2rem;
}

.footer-widget ul li a:hover::before {
    opacity: 1;
    left: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-speed);
    font-size: 1rem;
}

.social-links a:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info p {
    color: #999;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.footer-legal a:hover {
    color: white;
}

@media (max-width: 1024px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --container-width: 90%;
    }

    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 3rem;
    }

    .section {
        padding: 4rem 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }
.px-1 { padding-left: 1rem; padding-right: 1rem; }
.px-2 { padding-left: 2rem; padding-right: 2rem; }
.px-3 { padding-left: 3rem; padding-right: 3rem; }

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-speed);
}

.hero-btn.primary {
    background-color: var(--color-accent);
    color: white;
}

.hero-btn.secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.hero-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Latest Message Section */
.latest-message {
    padding: 4rem 0;
    background-color: #f8f8f8;
}

.message-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.message-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.message-thumbnail img {
    width: 100%;
    height: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-speed);
}

.play-button i {
    font-size: 2rem;
    color: var(--color-accent);
}

.message-info {
    padding: 2rem;
}

.message-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    display: block;
}

.message-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.message-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.watch-button,
.share-button {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-speed);
}

.watch-button {
    background-color: var(--color-accent);
    color: white;
}

.share-button {
    background-color: #eee;
    color: var(--color-secondary);
}

/* Featured Grid Section */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
}

.featured-item {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.featured-item.worship {
    background-image: url('assets/images/worship-bg.html');
}

.featured-item.egroups {
    background-image: url('assets/images/egroups-bg.html');
}

.featured-item.give {
    background-image: url('assets/images/give-bg.html');
}

.item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    text-align: center;
}

.item-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: white;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition-speed);
}

.feature-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Events Section */
.events {
    padding: 4rem 0;
    background-color: #f8f8f8;
}

.events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.event-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.event-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.event-content {
    padding: 2rem;
}

.event-content .date {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition-speed);
}

.event-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Resources Section */
.resources {
    padding: 4rem 0;
}

.resources h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.resource-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.resource-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.resource-content {
    padding: 2rem;
}

.resource-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.resource-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.resource-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition-speed);
}

.resource-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* App Download Section */
.app-download {
    padding: 4rem 0;
    background-color: #f8f8f8;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.app-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.app-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
}

.app-button img {
    height: 40px;
}

.app-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .featured-grid,
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .message-grid,
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .message-buttons,
    .app-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* About Page Specific Styles */
.about-header {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/images/about-hero.html');
    background-position: center;
    background-size: cover;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.story-content {
    padding-right: 2rem;
}

.story-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.section-text {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: var(--box-shadow);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.value-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.leader-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-10px);
}

.leader-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.leader-card:hover .leader-image img {
    transform: scale(1.1);
}

.leader-content {
    padding: 2rem;
    text-align: center;
}

.leader-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.leader-title {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-bio {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.leader-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.leader-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.leader-social a:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-3px);
}

/* Stats Section */
.bg-dark {
    background-color: var(--color-primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.stat-card p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-content {
        padding-right: 0;
        text-align: center;
    }

    .story-content .section-title {
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .leader-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 0.8rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.mobile-nav-item i {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.mobile-nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    /* Add padding to main content to account for bottom nav */
    main {
        padding-bottom: 70px;
    }

    /* Hide regular navigation on mobile */
    .nav-menu {
        display: none;
    }

    /* Show only logo and mobile menu button in top nav */
    .main-nav {
        height: 60px;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        height: 30px;
    }
}

/* Add styles for mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 70px;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    overflow-y: auto;
    padding: 2rem;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 1.5rem;
}

.mobile-menu-list a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
}

/* Footer Styles */
.main-footer {
    background-color: var(--color-primary);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info li i {
    color: var(--color-accent);
    font-size: 1.1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Footer Responsive Styles */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 3rem 0 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}
