* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #F8FAFC;
    color: #0A192F;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    background: #0A192F;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00B4D8, #00F5D4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: #E2E8F0;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #00B4D8;
}

.btn-outline {
    border: 2px solid #00B4D8;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    background: transparent;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0A192F 0%, #0F2A3F 100%);
    color: white;
    padding: 5rem 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
}

.badge {
    background: rgba(0, 180, 216, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1.2rem;
    border-left: 3px solid #00F5D4;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #00F5D4;
}

.hero-content p {
    font-size: 1.1rem;
    color: #CBD5E1;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: #00B4D8;
    color: #0A192F;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #00F5D4;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,180,216,0.3);
}

.btn-secondary {
    border: 2px solid #00B4D8;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.3s;
    background: transparent;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(0,180,216,0.1);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.cyber-shield {
    font-size: 10rem;
    color: #00B4D8;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features */
.features {
    padding: 5rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #E2E8F0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,180,216,0.15);
    border-color: #00B4D8;
}

.feature-card i {
    font-size: 3rem;
    color: #00B4D8;
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

/* Courses */
.courses-preview {
    padding: 5rem 0;
    background: #F1F5F9;
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.course-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.course-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 0 2px #00B4D8, 0 20px 30px rgba(0,0,0,0.1);
}

.course-img {
    background: #0A192F;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #00B4D8;
}

.course-card .content {
    padding: 1.5rem;
}

.course-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.price {
    color: #00B4D8;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0.6rem 0;
}

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

/* Stats */
.stats {
    background: #0A192F;
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: #00F5D4;
    font-weight: 800;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonial-slider {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    display: none;
    background: #F8FAFC;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #E2E8F0;
}

.testimonial-card.active {
    display: block;
    animation: fade 0.5s;
}

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

.testimonial-card i {
    font-size: 2.5rem;
    color: #00B4D8;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.slider-dots {
    text-align: center;
    margin-top: 1.5rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #CBD5E1;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #00B4D8;
    width: 28px;
    border-radius: 20px;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
    border: 1px solid #E2E8F0;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #00B4D8;
}

/* Contact Form */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    font-family: inherit;
    background: white;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #00B4D8;
    box-shadow: 0 0 0 3px rgba(0,180,216,0.1);
}

/* Footer */
footer {
    background: #0A192F;
    color: #94A3B8;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3, .footer-col h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #94A3B8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #00B4D8;
}

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.socials a {
    background: #1E293B;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
    text-decoration: none;
}

.socials a:hover {
    background: #00B4D8;
    color: #0A192F;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1E293B;
    padding-top: 1.5rem;
}

/* Chatbot */
.chatbot-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00B4D8;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s;
}

.chatbot-btn:hover {
    background: #00F5D4;
    transform: scale(1.05);
}

.chatbot-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 340px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 1001;
    border: 1px solid #E2E8F0;
}

.chatbot-header {
    background: #0A192F;
    color: white;
    padding: 1rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.chatbot-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbot-messages {
    height: 280px;
    overflow-y: auto;
    padding: 1rem;
    background: #F8FAFC;
}

.bot-msg, .user-msg {
    margin-bottom: 0.8rem;
    padding: 0.6rem 0.9rem;
    border-radius: 18px;
    max-width: 85%;
    font-size: 0.85rem;
}

.bot-msg {
    background: #E2E8F0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-msg {
    background: #00B4D8;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chatbot-input {
    display: flex;
    border-top: 1px solid #CBD5E1;
    background: white;
    border-radius: 0 0 20px 20px;
}

.chatbot-input input {
    flex: 1;
    padding: 0.9rem;
    border: none;
    outline: none;
    border-radius: 0 0 0 20px;
}

.chatbot-input button {
    background: #00B4D8;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    color: white;
    border-radius: 0 0 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #0A192F;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1.5rem;
    }
    .nav-menu.active {
        left: 0;
    }
    .hamburger {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary, .btn-secondary {
        text-align: center;
        justify-content: center;
    }
    .cyber-shield {
        font-size: 6rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-container {
        flex-direction: column-reverse;
    }
    .stats-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .socials {
        justify-content: center;
    }
    .contact-form {
        margin-top: 2rem;
    }
    .footer-container > div:last-child form {
        display: flex;
        flex-direction: column;
    }
}