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

:root {
    --primary-accent: #fc6f09;
    --secondary-accent: #fb9704;
    --site-bg: #ffffff;
    --light-bg: #fb9704;
    --dark-bg: #002072;
    --text-color: #616161;
    --text-dark-bg: #ffffff;
    --font-primary: 'Montserrat', Arial, Helvetica, sans-serif;
    --font-secondary: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--site-bg);
}

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

/* Header and Navigation */
.header {
    background-color: var(--site-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 245px;
    height: auto;
    display: block;
}

.logo a {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-bg);
    display: inline-block;
    font-family: var(--font-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8em;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-accent);
}

/* Hero Section */
.hero-section {
    background-image: url('../images/best-CBSE-flashcard-app-android.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: var(--text-dark-bg);
    padding: 80px 0;
    position: relative;
    min-height: 450px;
    scroll-margin-top: 80px; /* Offset for sticky header */
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    min-height: 350px;
}

.hero-text {
    max-width: 600px;
    text-align: left;
    color: var(--text-dark-bg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-dark-bg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-dark-bg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    margin-bottom: 30px;
    text-align: left;
}

.hero-description p {
    color: var(--text-dark-bg);
    margin-bottom: 12px;
    font-size: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description ol {
    margin-left: 20px;
    margin-top: 10px;
    color: var(--text-dark-bg);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.app-download-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin: 40px 0;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
}

.download-btn img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    object-fit: contain;
}

.download-btn:hover img {
    transform: scale(1.05);
}

.patent-note {
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-dark-bg);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    padding: 80px 0;
    scroll-margin-top: 80px; /* Offset for sticky header */
}

.about-section h2 {
    font-size: 50px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Sign-up Section */
.signup-section {
    background: linear-gradient(180deg, #ffa366 0%, #0693e3 100%);
    color: var(--text-dark-bg);
    padding: 80px 0;
    position: relative;
    min-height: 450px;
    overflow: hidden;
}

.signup-section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: url('../images/best-CBSE-flashcard-app-android.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: 0;
}

.signup-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 163, 102, 0.75) 0%, rgba(6, 147, 227, 0.75) 100%);
    z-index: 1;
}

.signup-section .container {
    position: relative;
    z-index: 2;
}

.signup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.signup-left {
    text-align: left;
}

.signup-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--text-dark-bg);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.signup-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark-bg);
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.signup-divider {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-accent);
    margin-bottom: 30px;
}

.signup-right {
    text-align: left;
}

.signup-steps-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-dark-bg);
    font-size: 18px;
    font-weight: 700;
    line-height: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.signup-steps-list li {
    margin-bottom: 10px;
    font-weight: 700;
}

.signup-trial {
    color: var(--text-dark-bg);
    font-size: 15px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    scroll-margin-top: 80px; /* Offset for sticky header */
}

.features-section h2 {
    font-size: 50px;
    text-align: center;
    margin-bottom: 60px;
    text-transform: lowercase;
    color: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    color: var(--secondary-accent);
    margin-bottom: 20px;
}

.feature-item h3,
.feature-item h4 {
    font-size: 20px;
    color: var(--dark-bg);
}

.feature-image {
    grid-column: 2;
    grid-row: 1 / 4;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Benefits Section */
.benefits-section {
    background-image: url('../images/NSG-Benefits-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.benefits-section .container {
    position: relative;
    z-index: 2;
}

.benefits-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 300px;
}

.benefits-text {
    max-width: 500px;
    margin-left: auto;
    color: var(--text-dark-bg);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
}

.benefits-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #0693e3;
    font-weight: 700;
}

.benefits-text p {
    color: #000000;
    margin-bottom: 20px;
    font-size: 16px;
}

.benefits-text .divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.benefit-list {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.benefit-item i {
    color: #0693e3;
    font-size: 20px;
    font-weight: 700;
}

.benefit-item h3 {
    font-size: 16px;
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary-accent) 100%);
    color: var(--text-dark-bg);
}

.pricing-section h2 {
    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;
}

.pricing-section h5 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
}

.pricing-card:hover .card-front {
    transform: rotateY(180deg);
}

.pricing-card:hover .card-back {
    transform: rotateY(0deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    background-color: var(--text-dark-bg);
    color: var(--dark-bg);
    border-radius: 10px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
    overflow-y: auto;
    box-sizing: border-box;
}

.card-back {
    transform: rotateY(180deg);
    text-align: center;
    padding-top: 20px;
    justify-content: flex-start;
    overflow-y: auto;
}

.card-icon {
    font-size: 48px;
    color: var(--primary-accent);
    margin-bottom: 15px;
}

.card-front h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #0693e3;
}

.card-front p {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-accent);
    margin: 0;
}

.card-back h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #0693e3;
}

.card-back p {
    line-height: 1.6;
    margin: 0 0 8px 0;
    font-size: 14px;
}

.card-back p:last-child {
    margin-bottom: 0;
}

.card-back p strong {
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 40px 0;
    text-align: center;
    background-color: #e0e0e0;
    color: var(--text-color);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--dark-bg);
    font-weight: 700;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #666666;
}

.cta-section .app-download-buttons {
    margin: 0;
    justify-content: center;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: var(--dark-bg);
    scroll-margin-top: 80px; /* Offset for sticky header */
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-dark-bg);
}

.contact-col p {
    line-height: 1.8;
    color: var(--text-dark-bg);
}

.contact-col a {
    color: var(--text-dark-bg);
    text-decoration: none;
}

.contact-col a:hover {
    color: var(--secondary-accent);
    text-decoration: underline;
}

.contact-section .social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-section .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px solid var(--text-dark-bg);
    border-radius: 0;
    padding: 5px;
    transition: all 0.3s;
}

.contact-section .social-link img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contact-section .social-link:hover {
    background-color: var(--text-dark-bg);
}

.contact-section .social-link:hover img {
    filter: brightness(0) invert(0);
}

/* Footer */
.site-footer {
    background-color: var(--dark-bg);
    padding: 40px 0 15px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 25px;
}

.footer-col h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark-bg);
}

.footer-col p {
    color: var(--text-dark-bg);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.footer-col a {
    color: var(--text-dark-bg);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--secondary-accent);
    text-decoration: underline;
}

.site-footer .social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px solid var(--text-dark-bg);
    border-radius: 0;
    padding: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.site-footer .social-link img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-footer .social-link:hover {
    background-color: var(--text-dark-bg);
}

.site-footer .social-link:hover img {
    filter: brightness(0) invert(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.policies {
    margin-bottom: 10px;
}

.policies a {
    color: #999999;
    text-decoration: none;
    margin: 0 10px;
}

.policies a:hover {
    color: var(--text-dark-bg);
}

.copyright {
    font-size: 14px;
    color: #999999;
}

.copyright a {
    color: #999999;
    text-decoration: none;
}

.copyright a:hover {
    color: var(--text-dark-bg);
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: var(--primary-accent);
    color: var(--text-dark-bg);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-image {
        grid-column: 1 / 3;
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .logo img {
        max-width: 180px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--site-bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-section {
        min-height: 400px;
        padding: 50px 0;
        background-position: center center;
    }
    
    .hero-content {
        min-height: 300px;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section h2 {
        font-size: 24px;
    }
    
    .hero-description p {
        font-size: 14px;
    }
    
    .hero-description {
        text-align: left;
    }
    
    .app-download-buttons {
        justify-content: center;
    }
    
    .signup-section {
        min-height: 400px;
        padding: 50px 0;
        background-position: center center;
    }
    
    .signup-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .signup-left {
        text-align: center;
    }
    
    .signup-title {
        font-size: 36px;
    }
    
    .signup-subtitle {
        font-size: 20px;
    }
    
    .signup-divider {
        margin: 15px auto 25px;
    }
    
    .signup-right {
        text-align: center;
    }
    
    .signup-steps-list {
        text-align: left;
        display: inline-block;
    }
    
    .about-section h2,
    .features-section h2,
    .benefits-text h2,
    .pricing-section h2,
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section {
        padding: 30px 0;
    }
    
    .cta-section p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-image {
        grid-column: 1;
        grid-row: auto;
    }
    
    .footer-row {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .benefits-content {
        justify-content: center;
        min-height: 400px;
    }
    
    .benefits-text {
        max-width: 100%;
        margin-left: 0;
    }
    
    .benefits-text h2 {
        font-size: 36px;
    }
}

