/* Event Slider Responsive Styles */
.eventslider-image {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.eventslider-image .eventslide {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f5f5f5;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
}

/* Tablet */
@media (max-width: 991.98px) {
  .eventslider-image {
    height: 220px;
  }
}

/* Mobile (700px and below) */
@media (max-width: 700px) {
  .eventslider-image {
    height: 400px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .eventslider-image {
    height: 300px;
  }
}
/*  */

/* Organization Structure Page Responsive Styles */
.team-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

/* Team Card Styling */
.team-card {
  background: #8d2a1d;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card-content h3 {
  color: #fff !important;
  margin-bottom: 5px;
  font-size: 18px;
}
.team-card-content p {
  color: #fff !important;
}
.team-card-content .position {
  color: #fff !important;
  font-weight: 500;
  margin-bottom: 10px;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-card-img {
  position: relative;
  height: 300px;
  overflow: visible; /* Changed from hidden to visible */
  margin-bottom: 25px; /* Space for the symbol */
  padding-bottom: 0;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-img img {
  transform: scale(1.05);
}
/* Education Symbol Styling */
.education-symbol {
  position: absolute;
  bottom: -25px; /* Half outside the image container */
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: #f2a227;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 10; /* Higher than both sections */
  border: 3px solid #0e2a46; /* Matches card background */
  transition: all 0.3s ease;
}

.education-symbol i {
  font-size: 24px;
  color: #fff;
}

/* Add hover effect if desired */
.team-card:hover .education-symbol {
  background: #fff;
  border-color: #f2a227;
}

.team-card:hover .education-symbol i {
  color: #f2a227;
}
/* .team-card-img::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  content: "";
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease-in-out;
  background: rgba(48, 55, 63, 0.7);
}

.team-card:hover .team-card-img::after {
  height: 100%;
  opacity: 1;
  visibility: visible;
} */

.team-card-content {
  padding: 30px 20px 20px; /* More top padding */
  position: relative;
  text-align: center;
  z-index: 1;
}

.team-card-content h3 {
  margin-bottom: 5px;
  color: #333;
  font-size: 18px;
}

.team-card-content .position {
  color: #666;
  font-weight: 500;
  margin-bottom: 10px;
}

.team-card-content .school,
.team-card-content .contact,
.team-card-content .taluka {
  color: #555;
  font-size: 14px;
  margin-bottom: 5px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .team-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .team-card-img {
    height: 250px;
    margin-bottom: 25px;
  }
}

@media (max-width: 575px) {
  .team-card-grid {
    grid-template-columns: 1fr;
  }
  .team-card-img {
    height: 220px;
    margin-bottom: 25px;
  }
  .education-symbol {
    width: 45px;
    height: 45px;
    bottom: -22.5px;
  }
}
.eventslider-image .eventslide {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f5f5f5;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
}

/* Tablet */
@media (max-width: 991.98px) {
  .eventslider-image {
    height: 250px;
  }
}

/* footer Small Mobile */
@media (max-width: 575.98px) {
  .eventslider-image {
    height: 100px;
  }
}
.it-footer-area ul {
  color: #0e2a46;
}

.it-footer-area ul li {
  color: #0e2a46;
}

.it-footer-area ul li::marker {
  color: #0e2a46;
}
/* Center video play and "आता पहा" on small screens */
/* All screens below 768px */
@media (max-width: 767.98px) {
  .eventslider-image {
    height: 160px;
  }
  .it-video-content {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }
  .it-video-button {
    display: flex;
    justify-content: center;
  }
  .it-video-play-wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
    margin-top: 15px;
  }
  .it-video-play {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .it-footer-area .row {
    justify-content: center !important;
    text-align: center !important;
  }
  .it-footer-area [class^="col-"] {
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  .it-footer-widget,
  .it-footer-logo,
  .it-footer-text,
  .it-footer-social,
  .it-footer-title,
  .it-footer-list,
  .it-footer-contact-list {
    text-align: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 999.98px) {
  .it-footer-area .row {
    justify-content: center !important;
    text-align: center !important;
  }
  .it-footer-area [class^="col-"] {
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  .it-footer-widget,
  .it-footer-logo,
  .it-footer-text,
  .it-footer-social,
  .it-footer-title,
  .it-footer-list,
  .it-footer-contact-list {
    text-align: center !important;
    justify-content: center !important;
  }
}

/* Register form css */

.registration-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: #8b2a1d; /* Coffee color */
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.registration-btn:hover {
  background-color: #6e2016; /* Darker shade for hover */
}

.btn-icon {
  display: flex;
  align-items: center;
}

.message-success {
  background-color: #d4edda !important;
  color: #155724 !important;
  border: 1px solid #c3e6cb !important;
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
}

.message-error {
  color: #842029;
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
  padding: 10px;
  margin-top: 10px;
}

.file-error {
  border: 2px solid #f44336 !important;
}

.debug-info {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
  padding: 10px;
  margin: 10px 0;
  font-size: 12px;
  border-radius: 3px;
}

/* Fix dropdown styling */
.it-student-regiform-item select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd !important;
  border-radius: 5px;
  font-size: 16px;
  background-color: #F3F5F5;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  cursor: pointer;
}

.it-student-regiform-item textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd !important;
  border-radius: 5px;
  font-size: 16px;
  background-color: #F3F5F5;
  color: #333;
  appearance: none;
  background-size: 16px;
}

.it-student-regiform-item select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Improve register button */
/* Updated register button styling */
.it-student-regiform-btn button {
  background-color: rgba(141, 42, 29, 1) !important;
  color: white;
  border: none;
  padding: 15px 23px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(141, 42, 29, 0.3);
  text-transform: none;
}

.it-student-regiform-btn button:hover {
  background-color: rgba(110, 30, 20, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 30, 20, 0.4);
}

.it-student-regiform-btn button:disabled {
  background-color: #6c757d !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.about-pr {
    padding: 0px 50px 0px 15px !important;
}


/* Responsive styles for your about section */

/* For tablets and below: stack columns vertically */
@media (max-width: 991.98px) {
    .it-about-4-area .row {
        flex-direction: column !important;
        gap: 20px !important;
        min-height: unset !important;
    }
    .mar-fix{
    padding: 40px 0px !important;
    }
    .it-about-4-area .col-lg-7,
    .it-about-4-area .col-md-6,
    .it-about-4-area .col-lg-5,
    .it-about-4-area .col-md-6 {
        flex: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }
    .it-about-4-area .it-about-image {
        margin-top: 20px;
    }
}

/* For small screens: reduce paddings and font sizes */
@media (max-width: 767.98px) {
    .it-about-4-area {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    .it-about-4-area .it-section-title-3 {
        font-size: 22px !important;
    }
    .it-about-4-area h3 {
        font-size: 16px !important;
    }
    .it-about-4-area p,
    .it-about-4-area li {
        font-size: 14px !important;
    }
    .it-about-4-area .it-about-image img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* For extra small screens: stack images vertically */
@media (max-width: 480px) {
    .it-about-4-area .it-about-image > div {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .it-about-4-area .it-about-image img {
        border-radius: 6px !important;
    }
}

@media (max-width: 768px) {
  .dropMb {
    padding: 15px 0px !important;
  }
  .my-custom-margin-0 {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  .it-footer-area .row {
    flex-direction: column !important;
    align-items: center !important;
  }
  .about-pr {
    padding: 0px 15px 0px 15px !important;
  }
}
.fa-phone {
  transform: rotate(90deg);
}




