
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  body {
    overflow-x: hidden; /* Disable horizontal scrolling */
    
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}
section {
    padding: 40px 0;
}

/* Header Section */
header {
    background-color: #4E2A84;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}
header h1 {
    font-size: 2.5em;
}

/* Button Style */
.cta-button {
    background-color:#5B3B99   ;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}
.cta-button:hover {
    background-color: #726DA8 ;
    color: white;
}

/* Courses Section */
#courses {
    background-color: #fff;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px 70px; /* extra horizontal padding for equal space on both sides */
  margin: 0 auto;
  box-sizing: border-box;
}

.course-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.course-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.course-card h3 {
    margin-top: 15px;
}
.course-card p {
    margin: 10px 0;
}

/* Internships Section */
#internships {
    background-color: #f9f9f9;
}
.internship-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.internship-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.internship-card h3 {
    font-size: 1.5em;
}
.internship-card p {
    margin: 10px 0;
}

/* Resume Builder Section */
#resume-builder {
    background-color: #fff;
}
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
input[type="text"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
button[type="submit"] {
    background-color: #5B3B99;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
button[type="submit"]:hover {
    background-color:#5B3B99;
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .course-grid, .internship-list {
        grid-template-columns: 1fr;
    }
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 50px 0;
}

h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

p.lead {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Create 3 columns */
    gap: 20px;  /* Space between the cards */
    justify-items: center;
    align-items: center;
    margin-top: 20px;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.card-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.btn {
    background-color: #5B3B99 ;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color:#5B3B99 ;
}

@media screen and (max-width: 768px) {
    .row {
        grid-template-columns: repeat(2, 1fr);  /* 2 columns on smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .row {
        grid-template-columns: 1fr;  /* 1 column on very small screens */
    }
}
.heading {
    padding: 50px 20px;
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: medium;
  }
  
  .heading h1 {
    font-size: 32px; /* Large font size for headings on desktop */
    margin-bottom: 15px;
    color: #5B3B99; /* Maintain theme color */
  }
  
  .heading p {
    font-size: 18px; /* Subheading font size */
    margin-bottom: 20px;
    color: #333; /* Neutral text color */
  }
  
  .heading button {
    background-color: #5B3B99; /* Theme color for buttons */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .heading button:hover {
    background-color: #4E2A84; /* Slightly darker on hover */
    transform: translateY(-2px); /* Lifts button slightly */
  }
  
  @media (max-width: 768px) {
    .heading h1 {
      font-size: 24px; /* Smaller heading font for tablets */
    }
  
    .heading p {
      font-size: 16px; /* Adjust subheading font size */
    }
  
    .heading button {
      padding: 8px 16px; /* Smaller button size */
      font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .heading h1 {
      font-size: 20px; /* Compact heading font for mobile */
    }
  
    .heading p {
      font-size: 14px; /* Compact subheading font size */
    }
  
    .heading button {
      width: 90%; /* Full-width buttons for small screens */
      max-width: 300px; /* Limit button width */
      margin: 10px auto; /* Center-align buttons */
      display: block;
    }
  }
  


button{
padding: 10px 300px 0px;
margin: 10px;
background-color: black;
color: white;
cursor: pointer;

/* padding: 10px 20px;
margin: 10px;
font-size: 16px;
background-color: #007bff;
color: white;
border: none;
cursor: pointer;
transition: background-color 0.3s ease; */

}

button:hover {
background-color:#383734 ;
}
