/* CSS Variables for Theme Colors */
:root {
    /* Dark Theme */
    --primary-color: #133978;
    --secondary-color: #000000;
    --accent-color: #FFD700;
    --text-color: #ffffff;
    --bg-color: #000000;
    --card-bg: #1a1a1a;
    --border-color: #333;
    --hover-color: #1e4a8c;
    --gradient-primary: linear-gradient(135deg, #133978, #1e4a8c);
    --gradient-accent: linear-gradient(135deg, #FFD700, #FFA500);
}

[data-theme="light"] {
    /* Light Theme */
    --primary-color: #133978;
    --secondary-color: #ffffff;
    --accent-color: #133978;
    --text-color: #000000;
    --bg-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(19, 57, 120, 0.2);
    --hover-color: #1e4a8c;
    --gradient-primary: linear-gradient(135deg, #133978, #1e4a8c);
    --gradient-accent: linear-gradient(135deg, #133978, #1e4a8c);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Ensure consistent font across all elements */
h1, h2, h3, h4, h5, h6, p, span, div, a, button, input {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

.logo:hover {
    color: var(--accent-color);
    text-decoration: none;
    opacity: 0.8;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 1rem;
}

.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.8rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.mobile-menu.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--gradient-primary);
    color: white;
}

/* Hero Section */
.about-hero {
    padding: 8rem 0 4rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: var(--bg-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-highlight {
    color: var(--accent-color);
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.hero-visual {
    position: relative;
    height: 400px;
    animation: slideInRight 0.8s ease-out;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 10%;
    right: 20%;
    animation-delay: 0.5s;
}

.element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

.element-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background: var(--bg-color);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
}

.mission-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.mission-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.feature-content {
    padding: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.feature-content p {
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-link:hover {
    gap: 1rem;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--bg-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.team-info p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 4rem 0;
    background: transparent;
}

.disclaimer-card {
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.disclaimer-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    font-size: 2rem;
    flex-shrink: 0;
}

.disclaimer-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.disclaimer-content p {
    line-height: 1.8;
    opacity: 0.9;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #16213e 100%);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 4rem;
}

.disclaimer-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.disclaimer-section h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disclaimer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding: 10px 20px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Large Indian Phones - iPhone Pro Max, OnePlus Pro, Samsung Galaxy S-series (430px-768px) */
@media (min-width: 431px) and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .mission-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.show {
        display: block !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-card {
        justify-content: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .float-element {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .mission-card {
        border-radius: 12px;
        padding: 1rem;
    }
    
    .mission-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .mission-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .mission-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-item {
        border-radius: 12px;
    }
    
    .feature-content {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        border-radius: 8px;
        margin-bottom: 0.8rem;
    }
    
    .feature-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-content p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .feature-link {
        font-size: 0.8rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .team-card {
        border-radius: 12px;
        padding: 1rem;
    }
    
    .team-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .team-info h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .team-info p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .disclaimer-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Indian Phone Optimizations */
/* Samsung Galaxy A-series, Vivo Y-series, Oppo A-series, Realme budget phones (360px-390px) */
@media (min-width: 360px) and (max-width: 390px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .mission-card {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .team-member {
        padding: 1rem;
    }
}

/* iPhone 12/13/14, OnePlus Nord, Realme flagship phones (390px-430px) */
@media (min-width: 391px) and (max-width: 430px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .mission-card {
        padding: 1.2rem;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .team-member {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .menu-toggle {
        display: block !important;
        z-index: 1001;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu {
        width: 100%;
        left: 0;
        right: 0;
    }
}

/* Light Mode Specific Adjustments */
[data-theme="light"] {
    --primary-color: #133978;
    --secondary-color: #ffffff;
    --accent-color: #133978;
    --text-color: #000000;
    --bg-color: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(19, 57, 120, 0.2);
    --hover-color: #1e4a8c;
    --gradient-primary: linear-gradient(135deg, #133978, #1e4a8c);
    --gradient-accent: linear-gradient(135deg, #133978, #1e4a8c);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .hero-badge {
    background: var(--gradient-primary);
    color: white;
}

[data-theme="light"] .about-hero {
    background: var(--bg-color);
}

[data-theme="light"] .mission-section,
[data-theme="light"] .features-section,
[data-theme="light"] .team-section {
    background: var(--bg-color);
}

[data-theme="light"] .disclaimer-section {
    background: transparent;
}

[data-theme="light"] .disclaimer-card {
    background: transparent;
    border-color: var(--primary-color);
}

[data-theme="light"] .disclaimer-content h3 {
    color: #133978 !important;
}

[data-theme="light"] .disclaimer-content p {
    color: #133978 !important;
}

[data-theme="light"] .disclaimer-icon {
    background: var(--gradient-primary);
    color: white;
}

[data-theme="light"] .mobile-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .stat-card,
[data-theme="light"] .mission-card,
[data-theme="light"] .feature-item,
[data-theme="light"] .team-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="light"] .stat-card:hover,
[data-theme="light"] .mission-card:hover,
[data-theme="light"] .feature-item:hover,
[data-theme="light"] .team-card:hover {
    border-color: var(--primary-color);
}

[data-theme="light"] .footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #16213e 100%);
}

[data-theme="light"] .hero-highlight {
    color: var(--primary-color);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

[data-theme="light"] .section-title {
    color: var(--primary-color);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

[data-theme="light"] .stat-number {
    color: var(--primary-color) !important;
}

[data-theme="light"] .feature-link {
    color: var(--primary-color) !important;
}

[data-theme="light"] .highlight {
    color: var(--primary-color) !important;
}

[data-theme="light"] .hero-title,
[data-theme="light"] .section-title,
[data-theme="light"] .hero-highlight {
    color: var(--text-color) !important;
}

[data-theme="light"] .hero-highlight {
    color: var(--primary-color) !important;
}

[data-theme="light"] .section-title {
    color: var(--primary-color) !important;
}

/* Ensure proper contrast in light mode */
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active,
[data-theme="light"] .mobile-nav-link:hover,
[data-theme="light"] .mobile-nav-link.active {
    background: var(--gradient-primary);
    color: white;
}

[data-theme="light"] .theme-toggle:hover {
    background: var(--gradient-primary);
    color: white;
}/*
 Ultra Small Budget Phones (320px and below) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .mission-card {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .team-member {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .mission-grid {
        gap: 0.75rem;
    }
    
    .features-grid {
        gap: 0.75rem;
    }
    
    .team-grid {
        gap: 0.75rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
}