/* ========================= VVIT Tech Club Styles ========================= */

/* Hero Section Styles */
.hero-section-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-style-techclub {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(86, 171, 47, 0.05) 0%, rgba(168, 224, 99, 0.05) 100%);
  min-height: 550px;
  display: flex;
  align-items: center;
}

.hero-style-techclub::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(168, 224, 99, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(86, 171, 47, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-style-techclub .container {
  position: relative;
  z-index: 1;
}

.hero-content-wrapper h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #56AB2F 0%, #2E7D1F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero-content-wrapper h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #4a4a4a;
  margin-bottom: 20px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hero-content-wrapper h1 {
    font-size: 2.5rem;
  }
  
  .hero-content-wrapper h2 {
    font-size: 1.5rem;
  }
}

/* Resources Section */
.resources-section {
  padding: 100px 0;
  background: #ffffff;
}

.resource-card {
  background: #ffffff;
  border: 2px solid #e8f5e0;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #56AB2F 0%, #A8E063 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}

.resource-card:hover {
  border-color: #56AB2F;
  box-shadow: 0 10px 30px rgba(86, 171, 47, 0.15);
}

.resource-card:hover::before {
  transform: scaleX(1);
}

.resource-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #A8E063 0%, #56AB2F 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 1.75rem;
  box-shadow: 0 5px 15px rgba(86, 171, 47, 0.2);
}

.resource-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.4;
}

.resource-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  min-height: 60px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  background: linear-gradient(135deg, #56AB2F 0%, #A8E063 100%);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.resource-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(86, 171, 47, 0.3);
  color: white;
  text-decoration: none;
}

/* Student Portfolios Section */
.student-portfolios-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fdf5 0%, #ffffff 100%);
}

.student-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 3px 15px rgba(86, 171, 47, 0.08);
}

.student-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(86, 171, 47, 0.2);
}

.student-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: linear-gradient(135deg, #56AB2F 0%, #A8E063 100%);
}

.student-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.student-card:hover .student-image img {
  transform: scale(1.05);
}

.student-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(86, 171, 47, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.student-card:hover .student-image .overlay {
  opacity: 1;
}

.btn-view {
  background: white;
  color: #56AB2F;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-view:hover {
  background: linear-gradient(135deg, #A8E063 0%, #56AB2F 100%);
  color: white;
  transform: scale(1.05);
}

.student-info {
  padding: 25px;
}

.student-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.student-role {
  display: none;
  color: #56AB2F;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.student-bio {
  display: none;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Modal Styles */
.modal-dialog.modal-lg {
  max-width: 75vw;
}

.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 40px rgba(86, 171, 47, 0.2);
}

.modal-header {
  background: linear-gradient(135deg, #56AB2F 0%, #388E1C 100%);
  color: white;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 20px 25px;
}

.modal-title {
  font-weight: 600;
  font-size: 1.25rem;
  color: white;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.modal-header .btn-close:hover {
  opacity: 1;
}

.portfolio-iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: 0 0 12px 12px;
}

@media (max-width: 991px) {
  .modal-dialog.modal-lg {
    max-width: 90vw;
  }
  
  .portfolio-iframe {
    min-height: 70vh;
  }
}

@media (max-width: 768px) {
  .modal-dialog.modal-lg {
    max-width: 95vw;
  }
  
  .portfolio-iframe {
    min-height: 75vh;
  }
}

/* Section Titles */
.section-title h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
}

.section-title h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #56AB2F 0%, #A8E063 100%);
  border-radius: 2px;
}

.section-title p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Button Styles */
.button {
  background: linear-gradient(135deg, #A8E063 0%, #56AB2F 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.button:hover {
  background: linear-gradient(135deg, #56AB2F 0%, #388E1C 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(86, 171, 47, 0.3);
  color: white;
  text-decoration: none;
}

.button-lg {
  padding: 18px 50px;
  font-size: 1.1rem;
}

/* Footer */
.footer-style-4 {
  background: linear-gradient(135deg, #2a3f1e 0%, #1a2813 100%);
  color: white;
  padding: 60px 0 20px;
}

.footer-widget h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #A8E063 0%, #56AB2F 100%);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #A8E063;
  padding-left: 5px;
}

.footer-widget p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-text {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(168, 224, 99, 0.2);
  margin-top: 30px;
}

.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #56AB2F 0%, #388E1C 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #A8E063 0%, #56AB2F 100%);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wow {
  visibility: hidden;
}

.wow.fadeInUp {
  animation: fadeInUp 0.8s ease-out both;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content-wrapper h1 {
    font-size: 2.5rem;
  }
  
  .hero-content-wrapper h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .resource-card,
  .student-card {
    margin-bottom: 25px;
  }
  
  .section-title h3 {
    font-size: 1.5rem;
  }
  
  .student-image {
    height: 200px;
  }
  
  .footer-social ul {
    justify-content: flex-start;
  }
}

/* Scroll Smooth */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #56AB2F 0%, #A8E063 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #388E1C;
}

/* Portfolio Accordion Styles */
.student-portfolios-section .accordion {
  margin-top: 30px;
}

.student-portfolios-section .accordion-item {
  background: white;
  border: 2px solid #e8f5e0;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.student-portfolios-section .accordion-item:hover {
  border-color: #56AB2F;
  box-shadow: 0 5px 20px rgba(86, 171, 47, 0.1);
}

.student-portfolios-section .accordion-button {
  background: linear-gradient(135deg, #f8fdf5 0%, #ffffff 100%);
  color: #1a1a1a;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px 25px;
  border: none;
  transition: all 0.3s ease;
}

.student-portfolios-section .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #56AB2F 0%, #A8E063 100%);
  color: white;
  box-shadow: none;
}

.student-portfolios-section .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(86, 171, 47, 0.25);
  border-color: #56AB2F;
}

.student-portfolios-section .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a1a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.student-portfolios-section .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.student-portfolios-section .accordion-body {
  padding: 25px;
  background: white;
}

/* Student List Styles */
.student-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.student-item {
  background: linear-gradient(135deg, #f8fdf5 0%, #ffffff 100%);
  border: 2px solid #e8f5e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.student-item:hover {
  border-color: #56AB2F;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(86, 171, 47, 0.15);
}

.student-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.student-link i {
  font-size: 1.5rem;
  color: #56AB2F;
  transition: all 0.3s ease;
}

.student-item:hover .student-link {
  color: #56AB2F;
}

.student-item:hover .student-link i {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .student-list {
    grid-template-columns: 1fr;
  }
  
  .student-portfolios-section .accordion-button {
    font-size: 1rem;
    padding: 15px 20px;
  }
}

/* Full-Screen Modal Styles */
.fullscreen-modal .modal-content {
  border: none;
  border-radius: 0;
  height: 100vh;
  background: #ffffff;
}

.fullscreen-modal .modal-body {
  padding: 0;
  height: 100vh;
  overflow: hidden;
}

.btn-close-fullscreen {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1060;
  width: 50px;
  height: 50px;
  background: rgba(86, 171, 47, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-close-fullscreen i {
  font-size: 1.5rem;
  color: white;
  line-height: 1;
}

.btn-close-fullscreen:hover {
  background: rgba(56, 142, 28, 0.95);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-close-fullscreen:focus {
  outline: 3px solid rgba(86, 171, 47, 0.5);
  outline-offset: 2px;
}

.portfolio-iframe-fullscreen {
  width: 100%;
  height: 100vh;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .btn-close-fullscreen {
    width: 45px;
    height: 45px;
    top: 15px;
    right: 15px;
  }
  
  .btn-close-fullscreen i {
    font-size: 1.3rem;
  }
}
