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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #000;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cookie-icon img {
    width: 60px;
    height: 60px;
    color: #4CAF50;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.cookie-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
    min-width: 200px;
}

.btn-accept {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-accept:hover {
    background: #45a049;
}

.btn-necessary {
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-necessary:hover {
    border-color: #333;
}

.cookie-banner.hidden {
    display: none;
}

/* Header */
.header {
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.with-cookie {
    top: 140px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    color: #4CAF50;
    font-size: 24px;
    font-weight: 700;
     text-decoration: unset;
}

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

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

.nav-menu a:hover {
    color: #4CAF50;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: #000;
}

.stats h2 {
    text-align: center;
    color: #fff;
    font-size: 36px;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: #fff;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #ccc;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background: #000;
}

.courses h2 {
    text-align: center;
    color: #fff;
    font-size: 36px;
    margin-bottom: 50px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.course-price {
    color: #4CAF50;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.course-content p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.course-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.course-btn:hover {
    background: #45a049;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #000;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text > p {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-number {
    background: #4CAF50;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.feature-content h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-content p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}

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

/* Blog Section */
.blog {
    padding: 80px 0;
    background: #000;
}

.blog h2 {
    text-align: center;
    color: #fff;
    font-size: 36px;
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

textarea {
  resize: none;
}

.blog-content h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-content p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}

/* Registration Section */
.registration {
    padding: 80px 0;
    background: #000;
}

.registration h2 {
    text-align: center;
    color: #fff;
    font-size: 36px;
    margin-bottom: 20px;
}

.registration > .container > p {
    text-align: center;
    color: #ccc;
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.registration-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.submit-btn {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #45a049;
}

/* Footer */
.footer {
    background: #000;
    padding: 40px 0 20px;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 30px;
    height: 30px;
}

.footer-brand-name {
    color: #4CAF50;
    font-size: 20px;
    font-weight: 700;
    text-decoration: unset;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4CAF50;
}

.footer-info {
    text-align: center;
    margin-bottom: 20px;
}

.footer-info p {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #666;
    font-size: 12px;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    background: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.thank-you-text h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.thank-you-text p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.thank-you-text .cta-button {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .thank-you-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .thank-you-text h1 {
        font-size: 32px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .thank-you-text h1 {
        font-size: 24px;
    }
    
    .thank-you-text p {
        font-size: 16px;
    }
}

/* Additional Styles and Animations */

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie banner animation */
.cookie-banner {
    animation: slideInFromTop 0.5s ease-out;
}

/* Button hover effects */
.cta-button,
.course-btn,
.submit-btn {
    position: relative;
    overflow: hidden;
}

.cta-button::before,
.course-btn::before,
.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before,
.course-btn:hover::before,
.submit-btn:hover::before {
    left: 100%;
}

/* Form enhancements */
.form-group {
    position: relative;
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: #4CAF50;
    transform: translateY(-20px) scale(0.8);
}

/* Card hover effects */
.course-card,
.blog-card {
    position: relative;
    overflow: hidden;
}

.course-card::before,
.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.course-card:hover::before,
.blog-card:hover::before {
    opacity: 1;
}

/* Stats counter glow effect */
.stat-number {
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

/* Navigation improvements */
.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero section improvements */
.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-image {
    animation: fadeInRight 1s ease-out;
}

.hero-image img {
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Course card enhancements */
.course-card {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.course-card:hover {
    border-color: #4CAF50;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
}

/* Blog card improvements */
.blog-card {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: #4CAF50;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1);
}

/* Feature items animation */
.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

/* Footer improvements */
.footer {
    background: linear-gradient(180deg, #000 0%, #111 100%);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4CAF50;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #45a049;
    transform: translateY(-5px);
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading * {
    animation: pulse 1.5s infinite;
}

/* Error states */
.form-group.error input,
.form-group.error textarea {
    border-color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
}

.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Success states */
.form-group.success input,
.form-group.success textarea {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

/* Selection styles */
::selection {
    background: #4CAF50;
    color: white;
}

::-moz-selection {
    background: #4CAF50;
    color: white;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 4px;
}

/* Print styles */
@media print {
    .cookie-banner,
    .nav-toggle,
    .cta-button,
    .course-btn,
    .submit-btn {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    .hero,
    .stats,
    .courses,
    .about,
    .blog,
    .registration {
        background: #fff !important;
    }
    
    h1, h2, h3, h4 {
        color: #000 !important;
    }
    
    p, .stat-label, .course-content p, .blog-content p {
        color: #333 !important;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .course-card,
    .blog-card {
        border: 2px solid #4CAF50;
    }
    
    .cta-button,
    .course-btn,
    .submit-btn {
        border: 2px solid #fff;
    }
}

/* Dark mode compatibility */
@media (prefers-color-scheme: light) {
    /* Keep dark theme regardless of system preference */
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-content {
        gap: 15px;
    }
    
    .cookie-text h3 {
        font-size: 20px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-buttons {
        gap: 10px;
    }
    
    .btn-accept,
    .btn-necessary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .nav {
        padding: 0 15px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .courses,
    .about,
    .blog,
    .registration {
        padding: 60px 0;
    }
    
    .stats h2,
    .courses h2,
    .about h2,
    .blog h2,
    .registration h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .course-content,
    .blog-content {
        padding: 20px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .hero-text h1 {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .feature-grid {
        gap: 15px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero-text h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero-text p {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

.course-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100vh;
}

.policy {
  margin-top: 80px;
  padding-top: 60px;
  padding-bottom: 60px;
  color: #fff;
}

.policy h1 {
  margin-bottom: 20px;
  color: rgba(113, 255, 101, 1);
  font-size: 30px;
}