/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

main {
    padding: 10px;
}

section {
    margin-bottom: 20px;
}
h2{
    color: #45a049;
    align-items: center;
    text-align: center;
    font-size: larger;
}
.para{
    color: black;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: medium;
    align-items: center;
    text-align: center;
}
.para1 {
    color: black;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: medium;
    align-items: center;
    text-align: center;
}

.course-card {
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 10px,20px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.course-card img {
    width: 38%;
    height: auto;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    transition: transform 0.2s;
}

.course-card img:hover {
    transform: scale(1.05);
}

.course-card button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.course-card button:hover {
    background-color: #45a049;
}

/* styles.css */

.contact {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
  }
  
  .container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 90%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 20px; /* Add margin to the container for better spacing */
  }
  
  .form-container {
    flex: 1;
  }
  
  .image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .image-container img {
    max-width: 50%;
    border-radius: 50%;
  }
  .img-para {
    color: #45a049;
    font-size: medium;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
  }
  
  h2 {
    margin-top: 0;
    margin-bottom: 20px; /* Add margin below the heading */
  }
  
  .form-group {
    margin-bottom: 15px;
    text-align: left; /* Align the labels and inputs to the left */
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 10px; /* Add margin below each input field for spacing */
  }
  
  button {
    width: 100%;
    padding: 10px;
    border: none;
    background: #007BFF;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px; /* Add margin above the button */
  }
  
  button:hover {
    background: #0056b3;
  }
  
  @media (max-width: 800px) {
    .container {
      flex-direction: column;
    }
  
    .image-container {
      margin-top: 20px;
    }
  }
  
  
footer {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 5px 0;
    }
}

@media (max-width: 600px) {
    .course-card {
        padding: 5px;
        margin: 5px 0;
    }
    .contact-form {
        padding: 10px;
    }
}
