/* Body */


* {
    font-family: 'Kanit', sans-serif;
}

body {
    background-color: #ffffff;
    color: #222;
}

/* Nav Bar */

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

a:hover {
    color: #007bff;
}

header {
    position: relative;
    padding: 0 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar {
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

.navbar .nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
    margin-right: 0;
}

.navbar .menu {
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.navbar .highlight {
    display: block;
    margin-left: 0;
    margin-right: 1rem;
}

/* Highlight Button (CTA) */

.highlight {
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2s ease, background-color 0.3s ease;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.highlight:hover {
    transform: scale(1.05);
    background-color: #0056b3;
}

.highlight:active {
    transform: scale(0.95);
}

/* Dropdown Menu */

.dropdown-menu {
    position: absolute;
    top: 60px;
    width: 250px;
    height: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-menu .highlight {
    width: 80%;
    display: flex;
    justify-content: center;
}

.dropdown-menu.open {
    height: 325px;
    width: 100%;
    max-width: 100%;
    left: 0; 
    right: 0;
}

/* Container Section */
.services{
    background-size: 1000px;
    background-position: center;
}
.services-heading{
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3490dc; /* Bootstrap primary blue */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2779bd;
}
.services-heading h2{
    line-height: 55px;
    font-size: 2.2rem;
    color:#22252e;
    font-weight: 700;
}
.services-heading p{
    font-size: 1rem;
    color:#777474;
    width:50%;
}
 .services{
        margin-top: -120px;
    }
    .services-heading{
        margin:20px;

    }
    .services-heading h2{
        font-size: 1.7rem;
        line-height: 10px;
    }
    .services-heading p{
        width:100%;
    }


    .box{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width:300px;
        text-align: center;
        box-shadow: 2px 2px 20px rgba(90,118,253,0.15);
        border-radius: 10px;
        background-color: #fff;
        margin: 20px;
        flex-grow: 1;
    }
.boxfaculty{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:300px;
    height: 400px;
    text-align: center;
    box-shadow: 2px 2px 20px rgba(90,118,253,0.15);
    border-radius: 10px;
    background-color: #fff;
    margin: 20px;
    flex-grow: 1;
}
.box-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 30px;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
}

.logincontainer {
    display: flex;
    flex-direction: column;
    background-color: transparent;
}
/* Responsive */

@media (max-width: 992px) {
    .navbar .nav ul {
        display: none;
    }

    .navbar .menu {
        display: flex;
    }

    .navbar .menu i {
        display: inline-block;
    }

    .navbar .highlight {
        display: none;
    }

    .dropdown-menu {
        display: block;
    }

    .dropdown-menu .highlight {
        display: block;
        margin-top: 1rem;
    }
}
table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px auto;
      font-family: Arial, sans-serif;
    }
    th, td {
      border: 1px solid #888;
      padding: 10px;
      text-align: center;
    }
    th {
      background-color: #336699;
      color: white;
    }
    tr:nth-child(even) {
      background-color: #f2f2f2;
    }
    


/*sas */
        /* Card Styling */
    .semester-block {
        background-color: #fff;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }


    /* Form Group */
    .form-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    label {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: #333;
    }

    select, input[type="text"], input[type="date"] {
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        outline: none;
        transition: all 0.3s ease;
    }

    /* Input Focus Effect */
    select:focus, input[type="text"]:focus, input[type="date"]:focus {
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

    /* Submit Button */
    .submit-container {
        display: flex;
        justify-content: flex-end;
        margin-top: 20px;
    }


    .submit-btn:hover {
        background-color: #218838;
        transform: scale(1.05);
    }

    /* Styling for mobile responsiveness */
    @media (max-width: 768px) {
        .semester-block {
            padding: 1.5rem;
        }

        .submit-btn {
            width: 100%;
        }
    }



    /* Card container styling */
.card {
    max-width: 1500px;
    margin: 20px auto;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

/* Card header styling */
.card-header {
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

/* Form container grid styling */
.form-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-template-rows: auto auto;
    width: 100%;
}

/* Form row layout */
.form-row {
    display: flex;
    gap: 20px;
}

/* Column layout for each form element */
.form-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Label styling */
.form-column label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

/* Input and select styling */
.form-column input,
.form-column select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

/* Submit button styling */
button[type="submit"] {
    display: block;
    margin-top: 20px;
    font-size: 1.2rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Empty column handling for the second row */
.form-column:nth-child(3) {
    visibility: hidden; /* Hide the empty column in the second row */
}



.form-container {
    display: flex;
    gap: 15px; /* Space between form rows */
    max-width: 100%;
    box-sizing: border-box;
}

.form-row {
    width: 100%;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

input[type="text"], input[type="date"], select {
    width: 100%;
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.custom-select {
    width: 100%;
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .form-row {
        max-width: 100%; /* Full width on smaller screens */
    }
}



/* General button styling */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none; /* Remove underline from the link */
    border-radius: 30px; /* Rounded corners */
    transition: background-color 0.3s, transform 0.2s; /* Smooth transition for hover effects */
}

/* Specific button color */
.btn-info {
    background-color: #17a2b8; /* Light blue color */
    color: white;
}
.btn-delete {
    background-color: #f2153d; /* Light blue color */
    color: white;
}


/* Button rounded edges */
.btn-rounded {
    border-radius: 50px; /* Makes the button fully rounded */
}

/* Add some space between elements */
.btn + .btn {
    margin-left: 10px;
}

/* Optional: Button focus outline removal */
.btn:focus {
    outline: none;
}

/* Optional: Add active state for button click */
.btn:active {
    transform: scale(0.98); /* Button shrinks slightly on click */
}
/* Style for the td container */
.avatar-cell {
    white-space: nowrap; /* Keeps the content in one line */
}

/* Style for the image */
.u-avatar-xs {
    width: 30px;  /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
    object-fit: cover; /* Ensures the image doesn't distort */
}

/* Optional: Adjust rounded circle */
.rounded-circle {
    border-radius: 50%; /* Ensures the image is round */
}

/* Optional: Add margin between avatar and text */
.mr-3 {
    margin-right: 1rem; /* Adjust spacing as needed */
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
  }

  .gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .gallery img:hover {
    transform: scale(1.05);
  }
  .activity-info {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    text-align: left;
  }
  
  .activity-info h2 {
    margin: 0 0 10px 0;
    padding: 0;
    text-align: left;
  }
  
  .activity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 40px; /* 10px row gap, 40px column gap */
  }
  
  .activity-grid h4 {
    margin: 0;
    padding: 4px 0;
    font-weight: normal;
  }
  
  .activity-grid b {
    font-weight: bold;
  }
  .activity-info h2 {
    text-align: center;
    margin: 0;
    padding: 0;
  }
  .header-text {
    text-align: center;
}
.subtitle {
    font-size: 14px;
    margin-bottom: 10px;
}
.activity {
    background-color: #ffffff;
    padding: 20px 25px;
    margin-bottom: 40px;
    border-left: 5px solid #4CAF50; /* colored line accent */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .activity:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  }

  .activity h2 {
    color: #2e7d32;
    margin-bottom: 15px;
  }
  .photos {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }

  .photos img {
    width: 220px;
    height: auto;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .photos img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: #ccc;
  }