/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
    color: #111;
    margin-top: 3%;
  }
  
  @media (max-width: 600px) {
    body {
      margin-top: 19%;
    }
  }
  
  @media (max-width: 600px) {
    .logo-img-absolute {
      top: 0.7rem;
    }
  }
  
  .logo-img-absolute img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .logo-text-container {
    margin-left: 40px;
  }
  
  .logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: inherit;
  }
  
  /* Mobile Menu */
  .menu-toggle,
  .close-icon {
    display: none;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      font-size: 1.8rem;
      cursor: pointer;
      margin-left: auto;
    }
  
    .close-icon {
      display: block;
      font-size: 1.8rem;
      text-align: right;
      padding: 0.5rem 1rem;
      cursor: pointer;
      color: white;
    }
  
    
  }
  
  /* Learning Section */
  .learning-section {
    padding: 2rem;
    text-align: center;
  }
  .learning-header {
    height: 170px;
    background-color: #181717;
    color: white;
    margin-top: 5%;
  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  /* Apply animation only to h2 and p */
  .learning-header h2,
  .learning-header p {
    animation: slideIn 1s ease-out;
  }
  
  /* Animation keyframes */
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(-30px); /* slightly from the left */
    }
    to {
      opacity: 1;
      transform: translateX(0);     /* to original position */
    }
  }
  
  .learning-header h2 {
    font-size: 34px;
  }
  
  .learning-header p {
    font-size: 18px;
    color: #999; /* lighter text for contrast */
  }
  
  .learning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
  }
  
  .course-card {
    width: 450px;
    background: #f7f7f7;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }
  

  .course-card:hover {
    transform: scale(1.02);
  }

  .course-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  .course-info {
    padding: 1rem;
    text-align: left;
  }

  .course-info .meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 8px;
  }

  .course-info h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #111;
  }

  .course-info .subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 1rem;
  }

  .course-info .view-btn {
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: black;
    color: white;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s;
  }

  .course-info .view-btn:hover {
    background: #333;
  }

  @media (max-width: 1024px) {
    .learning-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .course-card {
      width: 100%;
      max-width: 420px;
    }
  }
  
  @media (max-width: 768px) {
    .learning-grid {
      grid-template-columns: 1fr;
    }
  
    .learning-header {
      height: auto;
      padding: 2rem 1rem;
      margin-top: 10%;
    }
  
    .learning-header h2 {
      font-size: 28px;
    }
  
    .learning-header p {
      font-size: 16px;
    }
  
    .course-card {
      width: 100%;
      max-width: 100%;
    }
  
    .course-info {
      padding: 1rem;
    }
  
    .course-info h3 {
      font-size: 18px;
    }
  
    .course-info .subtitle {
      font-size: 15px;
    }
  
    .course-info .view-btn {
      width: 100%;
      text-align: center;
    }
  }
  
  /* Social Sidebar */
  .social-sidebar {
    position: fixed;
    top: 35%;
    right: 0;
    background: rgba(136, 136, 136, 0.95);
    padding: 10px 5px;
    border-radius: 10px 0 0 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
  }
  
  .social-sidebar .icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .social-sidebar .icon img {
    width: 20px;
    height: 20px;
  }
  .social-sidebar.move-left {
    right: auto;
    left: 0;
    border-radius: 0 10px 10px 0;
  }
      
  
  .icon.linkedin { background-color: #0077b5; }
  .icon.whatsapp { background-color: #25d366; }
  
  /* Footer */
  footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
  }
  



  .cta-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 60px 80px;
    position: relative;
    color: white;
    gap: 40px;
  }
  
  .cta-left {
    width: 50%;
    min-width: 300px;
    padding-right: 40px;
    border-right: 1px solid white;
  }
  
  .logo h1 {
    font-size: 36px;
    font-weight: bold;
  }
  
  .dot {
    color: #a78bfa;
  }
  
  /* .logo p {
    font-size: 14px;
    color: #aaa;
    margin-top: 4px;
  } */
  
  .cta-text h2 {
    font-size: 60px;
    margin: 60px 0 20px;
    line-height: 1.2;
  }
  
  .cta-text button {
    padding: 14px 30px;
    font-size: 16px;
    background: transparent;
    color: white;
    border: 1px solid white;
    cursor: pointer;
  }
  
  .cta-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 40%;
    min-width: 250px;
  }
  
  .info-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .info-block p,
  .info-block a {
    font-size: 16px;
    margin-bottom: 6px;
    color: white;
    text-decoration: none;
  }
  
  .info-block a:hover {
    text-decoration: underline;
  }
  
  .scroll-top {
    position: absolute;
    bottom: 20px;
    right: 40px;
    width: 160px;
    height: 160px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .scroll-top span {
    font-size: 80px;
  }
  
  /* Animations */
  .animate-left,
  .animate-up {
    opacity: 0;
  }
  
  @keyframes slideInLeft {
    from {
      transform: translateX(-60px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .animate-left.visible {
    animation: slideInLeft 1s ease-out forwards;
  }
  
  @keyframes slideInUp {
    from {
      transform: translateY(60px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .animate-up.visible {
    animation: slideInUp 1s ease-out forwards;
  }
  
  .cta-animate {
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease-out;
  }
  
  .cta-animate.animate {
    animation: slideInUp 1s ease-out forwards;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .cta-section {
      flex-direction: column;
      padding: 40px 20px;
      text-align: center;
    }
  
    .cta-left,
    .cta-right {
      width: 100%;
      padding: 0;
      border-right: none;
    }
  
    .cta-text h2 {
      font-size: 36px;
      margin-top: 40px;
    }
  
    .cta-text button {
      font-size: 14px;
      padding: 12px 24px;
    }
  
    .scroll-top {
      position: static;
      margin: 40px auto 0;
      width: 100px;
      height: 100px;
    }
  
    .scroll-top span {
      font-size: 48px;
    }
  }
/* Default: show border */
.cta-left {
  border-right: 1px solid white;
}

/* On mobile: hide the border */
@media (max-width: 768px) {
  .cta-left {
    border-right: none;
  }
}
  