:root {
    --primary-color: #000080; /* Navy from logo */
    --secondary-color: #FFD700; /* Gold from logo */
    --background-color: #F0F4F8;
    --text-color: #333;
    --card-background: #FFFFFF;
    --font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    left: 0;
    right: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), #3b5998);
    color: white;
    width: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    text-align: left;
    animation: slideInLeft 1s forwards;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

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

.hero-image {
    animation: slideInRight 1s forwards;
}

.hero-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

/* QR Code Styles */
.qr-code {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.qr-code img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

.qr-code img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* QR Code Modal */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.qr-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 90vw;
    max-height: 90vh;
}

.qr-modal-content img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.qr-modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.qr-modal-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.qr-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.qr-close:hover {
    color: var(--primary-color);
}

/* Sections */
section {
    padding: 60px 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}


h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

section > p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* Why Section */
.why-cards, .benefit-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.card h3, .card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Features Section */
.feature, .leader-feature {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature-content, .leader-content {
    flex: 1;
}
.feature-image, .leader-image {
    flex: 1;
}

.feature-image img, .leader-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    max-width: 100%;
}

.feature:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* For Leaders Section */
.for-leaders-section {
    background: #e0e6eb;
}

.leader-feature {
    gap: 2rem;
}

.leader-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 0;
    width: 100%;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    border-radius: 10px;
}

.cta-section h2 {
    color: white;
}

.cta-section .cta-buttons {
    margin-top: 2rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

/* Animations */
@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 128, 0.1);
}

.menu-toggle:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.menu-toggle[aria-expanded="true"] {
    background-color: rgba(0, 0, 128, 0.1);
}

/* Mobile Navigation */
.nav-menu {
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-menu.active {
    display: flex;
}

/* Responsive Design */
/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-container {
        padding: 0 3%;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-image img {
        max-width: 300px;
    }
    
    .feature, .leader-feature {
        gap: 2rem;
    }
    
    .section-container {
        padding: 0 3%;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Navigation */
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu li a {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 0 5%;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-image img {
        max-width: 280px;
    }
    
    /* Buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 15px 20px;
    }
    
    /* QR Code Responsive */
    .qr-code img {
        width: 70px;
        height: 70px;
    }
    
    /* Typography */
    h2 {
        font-size: 2rem;
    }
    
    section > p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Features and Leaders */
    .feature, .feature:nth-child(even), .leader-feature {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-content h3, .leader-content h3 {
        font-size: 1.8rem;
    }
    
    /* Cards */
    .why-cards, .benefit-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .card {
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Sections */
    .section-container {
        padding: 0 5%;
    }
    
    .cta-container {
        padding: 0 5%;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    /* Header */
    .header-container {
        padding: 0 3%;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    /* Hero */
    .hero {
        padding: 90px 0 30px;
    }
    
    .hero-container {
        padding: 0 3%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    /* Typography */
    h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .feature-content h3, .leader-content h3 {
        font-size: 1.5rem;
    }
    
    .card h3, .card h4 {
        font-size: 1.3rem;
    }
    
    /* Sections */
    .section-container {
        padding: 0 3%;
    }
    
    .card {
        padding: 1.5rem;
        min-width: auto;
    }
    
    /* Footer */
    .footer-container {
        padding: 0 3%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-container {
        padding: 0 3%;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .cta-container {
        padding: 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-image img {
        max-width: 220px;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    /* QR Code Extra Small Screens */
    .qr-code img {
        width: 60px;
        height: 60px;
    }
    
    .qr-modal-content {
        padding: 1rem;
    }
    
    .qr-modal-content img {
        max-width: 250px;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), #3b5998);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: block;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--secondary-color);
}


.contact-cta {
    background: var(--background-color);
    padding: 60px 0;
    text-align: center;
}

.contact-cta h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Active navigation link */
.nav-menu a.active {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 100px 0 40px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
    }
    
    .contact-cta {
        padding: 40px 0;
    }
}

@media (max-width: 320px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }
}
