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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #01248b;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: #01248b;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    justify-self: center;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link.active {
    text-decoration: underline;
    text-underline-offset: 8px;
}

.nav-logo {
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    justify-self: center;
}

/* Hero Section */
.hero {
    background: #01248b;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.9;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transform: scale(1.1);
}

.network-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px;
    opacity: 0.8;
    z-index: 2;
}

/* Experience Section */
.experience {
    background: #01248b;
    padding: 80px 0;
}

.experience-header {
    text-align: center;
    margin-bottom: 80px;
}

.experience-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-section {
    margin-bottom: 100px;
}

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

.feature-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-align: center;
}

.feature-text p {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.8;
    font-weight: 400;
    text-align: center;
}

.feature-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* App Mockup Images */
.app-mockup-img {
    max-width: 80%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.app-mockup-img:hover {
    transform: scale(1.05);
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.phone-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    border-bottom: 1px solid #e9ecef;
}

.time {
    font-weight: 700;
}

.profile-pic {
    width: 30px;
    height: 30px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.title {
    font-weight: 700;
    font-size: 16px;
}

.notification {
    position: relative;
}

.notification::after {
    content: '1';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffc107;
    color: #000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Calendar View */
.calendar-view {
    padding: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 700;
    color: #000;
}

.month-nav {
    font-size: 18px;
    cursor: pointer;
    color: #007bff;
}

.month-year {
    font-size: 18px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day-header {
    text-align: center;
    font-weight: 600;
    color: #6c757d;
    font-size: 12px;
    padding: 10px 0;
}

.day {
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.day:hover {
    background-color: #f8f9fa;
}

.day.prev-month {
    color: #adb5bd;
}

.day.selected {
    background-color: #1a1a2e;
    color: #ffffff;
    font-weight: 700;
}

/* Resources View */
.resources-view {
    padding: 20px;
    overflow-y: auto;
    height: calc(100% - 60px);
}

.resource-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.resource-image {
    width: 100%;
    height: 80px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.resource-info p {
    margin-bottom: 5px;
    font-size: 12px;
    color: #000;
}

.added-by {
    color: #6c757d !important;
    font-size: 10px !important;
}

.resource-title {
    font-weight: 700 !important;
    font-size: 14px !important;
}

.phone {
    color: #007bff !important;
    font-weight: 600 !important;
}

.address {
    color: #6c757d !important;
}

.map-link {
    color: #007bff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
}

.map-link:hover {
    text-decoration: underline;
}

/* Admin Dashboard */
.admin-dashboard {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.admin-dashboard h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.admin-dashboard p {
    color: #6c757d;
}

/* Video Section */
.video-section {
    background: #01248b;
    padding: 80px 0;
    text-align: center;
}

.video-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.video-container {
    margin: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.video-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.video-right {
    display: flex;
    align-items: center;
}

.community-logo {
    width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

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

.video-placeholder {
    width: 200px;
    height: 200px;
    background: #333;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.05);
}

.play-button {
    font-size: 3rem;
    margin-bottom: 10px;
}

.video-placeholder p {
    font-size: 1rem;
    font-weight: 600;
}

.video-description {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.6;
    text-align: left;
    max-width: 400px;
}

/* About Section */
.about {
    background: #ffffff;
    padding: 80px 0;
}

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

.about-container h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #01248b;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 60px;
}

.about-banner {
    margin-bottom: 60px;
    text-align: center;
}

.phone-banner-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.phone-banner-img:hover {
    transform: scale(1.02);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.about-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #01248b;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.about-card p {
    font-size: 0.95rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.community-list {
    margin: 15px 0;
    padding-left: 20px;
}

.community-list li {
    font-size: 0.95rem;
    color: #333333;
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #01248b;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-brand h3 {
    text-align: center;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .feature-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .feature-text h3 {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .experience-header h2,
    .video-content h2,
    .about-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .video-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .video-left {
        order: 1;
    }
    
    .video-right {
        order: 2;
    }
    
    .video-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .about-item {
        padding: 20px;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-container h2 {
        font-size: 2rem;
    }
    
    .about-card {
        padding: 20px;
    }
}

/* About Creator Page */
.about-creator {
    background: #ffffff;
    padding: 120px 0 80px;
    min-height: 100vh;
}

.about-creator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.about-creator h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #01248b;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-creator h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
}

.about-creator-content {
    text-align: left;
    margin-bottom: 40px;
}

.about-creator-content p {
    font-size: 1.1rem;
    color: #575050;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.linkedin-link {
    margin-top: 40px;
}

.linkedin-link a {
    color: #01248b;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.linkedin-link a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-section {
    animation: fadeInUp 0.8s ease-out;
}