 /* Global Styles */
:root {
  --primary-red: #ff3b30;
  --dark-red: #d70015;
  --light-red: #ff5e52;
  --white: #ffffff;
  --black: #333333;
  --gray: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;   
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--white);
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-primary:hover {
  background-color: var(--white);
  color:red;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 59, 48, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background-color: var(--primary-red);
  color: var(--white);
  transform: translateY(-3px);
}

 

h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  color: var(--primary-red);
}

h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background-color: var(--primary-red);
  animation: underlineGrow 1.5s infinite alternate;
}

@keyframes underlineGrow {
  0% {
    width: 70px;
  }
  100% {
    width: 100px;
  }
}

/* Header Styles */
header {
  background-color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  margin-right: 10px;
  animation: logoPulse 4s infinite;
  max-width: 100%;
}

@keyframes logoPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.logo-text {
  color: var(--primary-red);
}

.logo-text h1 {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.logo-text p {
  font-size: 0.8rem;
  opacity: 0.8;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}
    
nav ul li a:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
}

.enroll-btn {
  margin-left: 30px;
  background-color: var(--primary-red);
  color: var(--white);
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  /* animation: pulse 2s infinite; */
  text-decoration: none;
  display: inline-block;
}

.enroll-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 59, 48, 0.3);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 59, 48, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

body {
    overflow-x: hidden;
}

.course-list {
  list-style: none;
  padding-left: 0;
}

.course-list li::before {
  content: "✔ ";
  color: #e74c3c;
  font-weight: bold;
}


.course-card{
  background:#fff;
  border-radius:8px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
  height:100%;
}

.course-list{
  padding-left:18px;
  color:#666;
  min-height:80px;
}

.offers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}


/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-red);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: var(--white);
  color: var(--primary-red);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  padding-right: 50px;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--primary-red);
  animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 5px rgba(255, 59, 48, 0.3);
  }
  100% {
    text-shadow: 0 0 15px rgba(255, 59, 48, 0.5);
  }
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 600px;
  color: var(--black);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.typing-text {
  font-size: 1.5rem;
  margin-bottom: 30px;
  height: 2rem;
  color: var(--black);
}

.typing-text span {
  color: var(--primary-red);
  font-weight: bold;
  border-right: 2px solid var(--primary-red);
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-red);
  }
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
  min-width: 300px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  animation: float 3s ease-in-out infinite;
}

.code-bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.bubble {
  position: absolute;
  background-color: rgba(255, 59, 48, 0.1);
  border-radius: 50%;
  animation: floatBubble linear infinite;
}

@keyframes floatBubble {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Features Section */
.features {
  background-color: var(--gray);
  text-align: center;
}

.features h2 {
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform-style: preserve-3d;
}

.feature-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary-red);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 15px 30px rgba(255, 59, 48, 0.1);
}

.feature-card:hover:before {
  height: 10px;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-red);
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Courses Section */
.courses {
  background-color: var(--white);
  padding: 60px 0;
}

.courses h2 {
  text-align: center;
}

.courses-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}
.course-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

html, body {
  overflow-x: hidden;
}

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(255, 59, 48, 0.1);
  border-color: rgba(255, 59, 48, 0.3);
}

.course-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-red);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.course-content {
  padding: 20px;
}

.course-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
  font-size: 1.3rem;
}

.course-content p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
  min-height: 60px;
}

.course-price {
  font-weight: bold;
  color: var(--primary-red);
  margin-bottom: 15px;
  font-size: 18px;
}

.course-actions {
  display: flex;
  gap: 10px;
}

.course-actions a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.course-actions a:first-child {
  background: white;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.course-actions a:last-child {
  background: var(--primary-red);
  color: white;
  border: 2px solid var(--primary-red);
}

.course-actions a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--gray);
  color: var(--black);
  text-align: center;
}

.testimonials h2 {
  color: var(--primary-red);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  margin: 20px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 59, 48, 0.1);
}

.testimonial:before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: rgba(255, 59, 48, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 3px solid var(--primary-red);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 5px;
  color: var(--primary-red);
}

.author-info p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.stars {
  color: var(--primary-red);
  margin-bottom: 15px;
}

/* CTA Section */
.cta {
  background-color: var(--primary-red);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  animation: bubbleMove 15s linear infinite;
  z-index: 0;
}

@keyframes bubbleMove {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--white);
  animation: none;
}

.cta h2:after {
  display: none;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  max-width: 100%;
}

.footer-about p {
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-red);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  color: var(--white);
}

.footer-links h3:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-red);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--white);
  opacity: 0.7;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--primary-red);
}

.footer-newsletter p {
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 30px 0 0 30px;
  outline: none;
  min-width: 200px;
}

.newsletter-form button {
  background-color: var(--primary-red);
  color: var(--white);
  border: none;
  padding: 0 20px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--dark-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Floating Code Elements */
.floating-code {
  position: absolute;
  color: rgba(255, 59, 48, 0.1);
  font-family: monospace;
  font-weight: bold;
  z-index: -1;
  user-select: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .courses-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .menu-toggle {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
  }
  
  nav {
    width: 100%;
    display: none;
    margin-top: 20px;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
  }
  
  nav ul li {
    margin: 5px 0;
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    padding: 10px 0;
  }
  
  .header-cta {
    width: 100%;
    margin-top: 15px;
    text-align: center;
  }
  
  .enroll-btn {
    margin-left: 0;
    width: 100%;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }
  
  .typing-text {
    font-size: 1.3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .courses-container {
    grid-template-columns: 1fr;
  }
  
  .course-actions {
    flex-direction: column;
  }

  section {
    padding: 60px 0;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    border-radius: 30px;
    width: 100%;
  }
  
  .newsletter-form button {
    margin-top: 10px;
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .typing-text {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .testimonial {
    padding: 30px 20px;
  }
  
  .testimonial-content {
    font-size: 1rem;
  }
  
  .cta {
    padding: 80px 0;
  }
  
  .cta h2 {
    font-size: 1.8rem;
  }
  
  .cta p {
    font-size: 1rem;
  }
  
  footer {
    padding: 40px 0 20px;
  }
}

@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .courses-container {
    grid-template-columns: 1fr;
  }
  
  .course-content h3 {
    font-size: 1.2rem;
  }
  
  .course-actions {
    flex-direction: column;
  }
}


.hero-carousel {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-slider {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.6s ease;
}

.hero-slide {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 60px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #d63c4f, #7b2cbf);
}

.hero-left {
  flex: 1;
  color: #fff;
}

.hero-left h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-left ul {
  list-style: none;
  padding: 0;
}

.hero-left ul li {
  font-size: 18px;
  margin-bottom: 12px;
}

.hero-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 30px;
  background: #5e7bff;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.hero-right {
  flex: 1;
  text-align: center;
}

.hero-right img {
  max-width: 90%;
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #222;
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
}

.hero-arrow.left { left: 20px; }
.hero-arrow.right { right: 20px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  background: #aaa;
  display: inline-block;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
}

.hero-dots .dot.active {
  background: #5e7bff;
}

/* Mobile */
@media(max-width: 768px) {
  .hero-slide {
    flex-direction: column;
    text-align: center;
  }

  .hero-left h2 {
    font-size: 34px;
  }
}
:root {
  --primary-red: #ff3b30;
  --white: #ffffff;
}

.courses {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.horizontal-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.course-slide {
  display: flex;
  flex: 0 0 100%;
  height: 100%;
  flex-direction: row; /* ensures text and image side by side */
}

.course-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  margin-left: 30px;
  background-color: var(--primary-red);
  color: #fff;
}

.course-text h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 25px;
  color: white; /* changes heading color */

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.course-text ul {
  font-size: 20px;
  line-height: 2;
  list-style: none;
  padding-left: 0;
}

.course-image {
  flex: 1;
  min-width: 0;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(231,76,60,0.8);
  color: var(--white);
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
}

.carousel-arrow.left {
  left: 20px;
}

.carousel-arrow.right {
  right: 20px;
}

.courses {
  width: 100vw;       /* full viewport width */
  max-width: 100%;    /* remove any max-width restriction */
  margin: 0;          /* remove default margin */
  padding: 0;         /* remove default padding */
  height: 100vh;      /* full height of viewport */
  overflow: hidden;
}

/* ================================
   COURSE GRID SECTION
================================ */

.course-grid-section {
  width: 100%;
  padding: 60px 5%;
  background-color: #f8f9fa;
  box-sizing: border-box;
}

/* Each row */
.course-grid-row {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
}

/* Individual card */
.course-grid-card {
  width: 33.333%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.course-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Image container */
.course-grid-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.course-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content area */
.course-grid-content {
  padding: 20px;
}

.course-grid-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.course-grid-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* Price */
.course-grid-price {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  color: #e74c3c;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

/* Tablets */
@media (max-width: 992px) {
  .course-grid-row {
    flex-wrap: wrap;
  }

  .course-grid-card {
    width: 48%;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .course-grid-card {
    width: 100%;
  }

  .course-grid-content {
    text-align: center;
  }
}
