/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', 'Orbitron', 'Space Mono', Arial, sans-serif;
    background: radial-gradient(circle at 20% 50%, #0a0a0a, #030318, #000000);
    overflow-x: hidden;
    position: relative;
}

/* Animated background grid - TECH EFFECT */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Glowing orbs animation */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 40%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 90%, rgba(142, 68, 173, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Navigation - Futuristic Glassmorphism */
.navi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(15, 25, 45, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 15px;
}

.navi h1 {
    font-size: 1.4rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, #00ffff, #3498db, #8e44ad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    letter-spacing: 2px;
    position: relative;
}

.navi h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, transparent);
}

.pages {
    list-style: none;
    display: flex;
    gap: 25px;
}

.pages li a {
    color: #ccf4ff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.pages li a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #3498db);
    transition: width 0.3s ease;
}

.pages li a:hover {
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.pages li a:hover::before {
    width: 100%;
}

/* Main Welcome Section - Glass Card */
.main-welcome {
    text-align: center;
    width: 70%;
    max-width: 800px;
    margin: 60px auto;
    background: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(16px);
    border-radius: 30px;
    border: 1px solid rgba(0, 255, 255, 0.25);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.main-welcome:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 255, 255, 0.2);
}
.welcome-text {
    padding-top: 20px;
    color: #befffb;
    text-align: center;
    margin: 0 auto 20px;
    width: 95%;
}

.welcome-text h1 {
    color: #cffdf1;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.welcome-text p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Buttons - Mobile Friendly */
.getstarted, .watchdemo {
    padding: 12px 20px;
    margin: 8px auto;
    font-size: 0.9rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    width: 80%;
    max-width: 250px;
    display: block;
    box-shadow: 0 5px 5px 5px rgba(191, 21, 112, 0.2);
    transition: transform 0.3s;
}

.getstarted {
    background: linear-gradient(to right, #3498db, #8e44ad);
    color: white;
}

.watchdemo {
    background: linear-gradient(to right, #3498db, #096d6e);
    color: white;
}

.getstarted:active, .watchdemo:active {
    transform: scale(0.98);
}

/* Popup - Mobile Optimized */
#popupdiv {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding: 15px;
    overflow-y: auto; /* Allow scrolling if content is tall */
}

/* When popup is shown (add via JavaScript) */
#popupdiv.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.formsection {
    background-color: rgb(0, 0, 0);
    padding: 20px 15px;
    border-radius: 20px;
    text-align: center;
    max-width: 95%;
    width: 100%;
    color: white;
    margin: auto;
}

.formsection h2 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    color: #3498db;
}

.formsection p {
    margin-bottom: 20px;
    color: #caf5ff;
    font-size: 0.85rem;
    line-height: 1.4;
}

.google-signin-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    transform: scale(0.9); /* Slightly smaller on mobile */
}

#popupdiv button {
    margin-top: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    width: 80%;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

#popupdiv button:active {
    transform: scale(0.97);
}

/* Video Section - Mobile First */
.video {
    font-family: 'Orbitron', monospace;
    display: flex;
    margin: 30px auto;
    max-width: 600px;
    max-height: 600px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 10px;
}

.video h2 {
    color: #3498db;
    margin-bottom: 15px;
    text-align: center;
    font-size: 2.0rem;
    width: 100%;
    
}

.video iframe {
    border-radius: 20px;
    width: 100%;
    max-height: 600px;
    min-height: 200px;
    transition: all 0.3s ease;
}

/* Responsive Breakpoints */

/* Small phones (up to 480px) */
@media screen and (max-width: 480px) {
    /* Navigation */
    .navi {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }
    
    .navi h1 {
        font-size: 1rem;
    }
    
    .pages {
        gap: 20px;
    }
    
    .pages li a {
        font-size: 0.85rem;
    }
    
    /* Welcome section */
    .main-welcome {
        width: 95%;
        margin: 20px auto;
        padding: 15px 10px;
        border-radius: 20px;
    }
    
    .welcome-text h1 {
        font-size: 1.2rem;
    }
    
    .welcome-text p {
        font-size: 0.85rem;
    }
    
    /* Buttons */
    .getstarted, .watchdemo {
        width: 90%;
        padding: 10px;
        font-size: 0.85rem;
    }
    
    /* Popup */
    .formsection {
        padding: 15px 12px;
        border-radius: 15px;
    }
    
    .formsection h2 {
        font-size: 1.3rem;
    }
    
    .formsection p {
        font-size: 0.8rem;
    }
    
    #popupdiv button {
        width: 90%;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Video */
    .video {
        max-width: 100%;
        margin: 20px auto;
    }
    
    .video h2 {
        font-size: 1.1rem;
    }
    
    .video iframe {
        height: 200px;
        border-radius: 15px;
    }
}

/* Medium phones (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .main-welcome {
        width: 85%;
    }
    
    .welcome-text h1 {
        font-size: 1.8rem;
    }
    
    .formsection {
        max-width: 85%;
        height: auto;
        min-height: 380px;
    }
    
    .video iframe {
        height: 280px;
    }
}

/* Tablets (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .main-welcome {
        width: 70%;
    }
    
    .formsection {
        max-width: 70%;
    }
    
    .video iframe {
        height: 350px;
    }
}

/* Landscape orientation fix for mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .main-welcome {
        margin: 15px auto;
        padding: 10px;
    }
    
    .welcome-text {
        padding-top: 10px;
    }
    
    .formsection {
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .video iframe {
        height: 180px;
    }
}

/* Touch-friendly adjustments */
@media (hover: hover) {
    .getstarted:hover, .watchdemo:hover {
        transform: translateY(-2px);
    }
    
    #popupdiv button:hover {
        transform: translateY(-2px);
    }
    
    .video iframe:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 20px 48px rgba(0,0,0,0.55), 0 0 24px rgb(24, 104, 173);
        transition: all 0.3s ease;
    }
}

/* Fix for very small devices (under 320px) */
@media screen and (max-width: 320px) {
    .welcome-text h1 {
        font-size: 1rem;
    }
    
    .formsection h2 {
        font-size: 1.1rem;
    }
    
    .getstarted, .watchdemo {
        width: 95%;
        font-size: 0.8rem;
    }
}
.features{

  display:flex;
  top:0;
  bottom: 0;
  margin:40px auto;
  flex-wrap:wrap;
  position: relative;
  width: 1000px;
  max-width: 95%;
  align-items: center;
  justify-content: center;
  gap: 50px;

}
.feature-card
{
    width: 350px;
    align-items: center;
    padding: 20px;
    
}
.feature-card:first-child {
    width: 100% !important;    /* Full width */
    text-align: center;
    background: none;
    margin-bottom: 20px;
}

.feature-card:first-child h2 {
    color: rgb(254, 200, 22);  /* Yellow color */
    font-size: 2rem;
}

/* Individual Feature Cards */
.feature-card:not(:first-child) {
    background: rgba(255, 255, 255, 0.1);  /* Semi-transparent white */
    border-radius: 15px;       /* Rounded corners */
    padding: 20px;
    width: 250px;              /* Fixed width for cards */
    transition: transform 0.3s; /* Smooth hover effect */
}

/* Hover Effect */
.feature-card:not(:first-child):hover {
    transform: translateY(-5px); /* Lift card on hover */
    background: rgba(255, 255, 255, 0.15); /* Slightly brighter */
}

/* Card Headings */
.feature-card h4 {
    color: #00ffff;            /* Cyan color */
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Horizontal Rule */
.feature-card hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, transparent);
    margin: 10px 0;
}

/* Card Paragraphs */
.feature-card p {
    color: #cccccc;            /* Light gray */
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .feature-card:not(:first-child) {
        width: 90%;            /* Full width on mobile */
    }
    
    .feature-card:first-child h2 {
        font-size: 1.5rem;     /* Smaller heading on mobile */
    }
    .features {
        gap: 50px;             /* Less gap on mobile */
        width: 100%;           /* Full width container */
        margin: auto;
    }
    .navi .pages{
      display: none;
    }
}
#agreeCheckbox {
    margin-right: 10px;
    transform: scale(1.2);
    width: 15px;
    height: 15px;
    background-color: #cccccc;
    border: 2px solid #999; 
    border-radius: 4px;
    cursor: pointer;
        box-shadow: 0px 10px 10px 5px rgba(255, 0, 0, 0.5), 0px 0px 10px rgba(255, 0, 0, 0.3);


}
#agreeCheckbox:Hover{
    box-shadow: 0px 10px 10px 5px rgba(61, 195, 70, 0.5), 0px 0px 10px rgba(18, 136, 86, 0.3);
}
/* Add these to your existing CSS file */

/* Stats Section - Matches your techie theme */
.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin: 60px auto;
    padding: 35px 20px;
    max-width: 800px;
    background: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(0, 255, 255, 0.25);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ffff, #3498db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    font-family: 'Orbitron', monospace;
}

.stat-item p {
    color: #c8e7ff;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Subjects Preview */
.subjects-preview {
    text-align: center;
    margin: 50px auto;
    padding: 20px;
}

.subjects-preview h3 {
    color: #00ffff;
    font-size: 1.6rem;
    margin-bottom: 30px;
    font-family: 'Orbitron', monospace;
}

.subject-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.subject-tags span {
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #c8e7ff;
    transition: all 0.3s ease;
    cursor: default;
}

.subject-tags span:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: #00ffff;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stats {
        gap: 30px;
        padding: 20px;
        margin: 40px auto;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
    }
    
    .subjects-preview h3 {
        font-size: 1.3rem;
    }
    
    .subject-tags span {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}