/* ========== GLOBAL STYLES ========== */
:root {
   --primary: #007cf0;
            --secondary: #00dfd8;
            --dark: #0a192f;
            --light: #f8f9fa;
            --gray: #6c757d;
            --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

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

section {
    padding: 80px 0;
    position: relative;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}


p {
    color: var(--gray);
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 124, 240, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 124, 240, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 124, 240, 0.4);



}



.nav {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

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

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

.logo img {
  max-height: 50px;
}

.menu-wrap {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item a {
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.menu-item a:hover {
  background: #e3f2fd;
  transform: rotateX(10deg) rotateY(10deg) scale(1.05);
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0f0f0;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.search-bar input {
  border: none;
  background: transparent;
  outline: none;
  padding: 0.3rem;
  width: 150px;
}

.search-icon {
  color: #1d8cf8;
  cursor: pointer;
}

/* Menu Toggle - Mobile */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  margin-bottom: 5px;
  background: #1a1a1a;
  border-radius: 5px;
  transition: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {
  .menu-wrap {
    width: 100%;
    display: none;
    flex-direction: column;
    background: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }

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

  .menu {
    flex-direction: column;
    width: 100%;
  }

  .search-bar {
    margin-top: 1rem;
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }
}



/* ========== COURSES SECTION ========== */

        .center {
            text-align: center;
            font-size: 4xl;
        }

        .main-color {
            color: #4e6bff;
        }

        /* Header Styles */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }

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

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #4e6bff;
        }

        /* Courses Section */
        h2 {
            font-size: 36px!important;
            margin-bottom: 40px;
            color: #2c3e50;
            font-weight: bold!important;
        }

        .course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .course-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .course-header {
            position: relative;
            height: 180px;
            overflow: hidden;
        }

        .course-header img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .course-card:hover .course-header img {
            transform: scale(1.05);
        }

        .tech-stack {
            position: absolute;
            bottom: 10px;
            right: 10px;
            display: flex;
        }

        .tech-icon {
            width: 30px;
            height: 30px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .tech-icon img {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

        .course-content {
            padding: 20px;
        }

        .course-title {
            font-size: 20px;
            margin-bottom: 10px;
            color: #2c3e50;
            font-weight: bold;
        }

        .course-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            font-size: 14px;
            color: #666;
        }

        .course-meta i {
            margin-right: 5px;
            color: #4e6bff;
        }

        .course-desc {
            color: #666;
            margin-bottom: 20px;
            font-size: 14px;
            line-height: 1.5;
        }

        .course-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .course-action {
            display: flex;
            gap: 10px;
        }

        .course-btn {
            padding: 8px 15px;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
             background: linear-gradient(90deg, var(--primary), var(--secondary))!important;
            color: white!important;
        }

        .course-btn:first-child {
            background-color: #f0f2ff;
            color: #4e6bff;
            border: 1px solid #d6dcff;
        }

        .course-btn:first-child:hover {
            background-color: #e0e5ff;
        }

        .course-btn:last-child {
            background-color: #4e6bff;
            color: white;
            border: 1px solid #4e6bff;
        }

        .course-btn:last-child:hover {
            background-color: #3a56d4;
            border-color: #3a56d4;
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .course-grid {
                grid-template-columns: 1fr;
            }
        }
/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleX {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}


  /* Footer */
        footer {
            background: linear-gradient(135deg, var(--dark), #162a47);
            color: white;
            padding: 80px 0 30px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }

        .footer-col h3 {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
        }

        .footer-col p {
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: var(--transition);
            position: relative;
        }

        .footer-links a::before {
            content: '→';
            position: absolute;
            left: -20px;
            opacity: 0;
            transition: var(--transition);
            color: var(--secondary);
        }

        .footer-links a:hover {
            color: white;
            padding-left: 20px;
        }

        .footer-links a:hover::before {
            opacity: 1;
            left: 0;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            transition: var(--transition);
        }

        .social-link:hover {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }