/* ===== IETE Kolkata Custom Styles ===== */

:root {
  --primary: #003580;
  --secondary: #0056b3;
  --accent: #e8a020;
  --dark: #1a1a2e;
  --light-bg: #f4f7fc;
  --text-muted: #6c757d;
}

/* ===== Global ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title span {
  color: var(--accent);
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto 40px;
  border-radius: 2px;
}

.section-divider.left {
  margin: 0 0 30px;
}

.bg-light-custom {
  background-color: var(--light-bg);
}

/* ===== Top Info Bar ===== */
.top-bar {
  background-color: var(--dark);
  color: #ccc;
  font-size: 0.82rem;
  padding: 7px 0;
}

.top-bar a {
  color: #ccc;
}

.top-bar a:hover {
  color: var(--accent);
}

/* ===== Navbar ===== */
.navbar {
  background-color: var(--primary) !important;
  padding: 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.25);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.navbar-brand .brand-logo-circle {
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.navbar-brand .brand-text {
  line-height: 1.2;
}

.navbar-brand .brand-text .brand-main {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.navbar-brand .brand-text .brand-sub {
  font-size: 0.7rem;
  color: #b0c4de;
  display: block;
}

.navbar-nav .nav-link {
  color: #d4e1f7 !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 20px 16px !important;
  letter-spacing: 0.3px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero Slider ===== */
.hero-section {
  position: relative;
  height: 90vh;
  min-height: 520px;
  overflow: hidden;
}

.hero-slide {
  height: 90vh;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,30,100,0.78) 0%, rgba(0,10,40,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
}

.hero-content .badge-pill {
  background: var(--accent);
  color: #fff;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin-bottom: 30px;
}

.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.btn-hero-primary:hover {
  background: #d4900e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.4);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 11px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Hero carousel controls */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
}

.hero-section .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  border: none;
}

.hero-section .carousel-indicators button.active {
  background-color: var(--accent);
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--primary);
  padding: 30px 0;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: #b0c4de;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== About Section ===== */
.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.about-img-wrap .about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: #fff;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 6px 20px rgba(232,160,32,0.4);
}

.about-badge .big-num {
  font-size: 1.8rem;
  font-weight: 800;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(0,53,128,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-box i {
  color: var(--primary);
  font-size: 1.3rem;
}

/* ===== Events ===== */
.event-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.event-card .event-img {
  height: 200px;
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card .event-img .event-icon {
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
}

.event-card .event-img .event-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}

.event-date-badge .day {
  font-size: 1.5rem;
  display: block;
}

.event-date-badge .month {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-card .event-type-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 8px;
}

.event-card .card-body {
  padding: 20px;
}

.event-card h5 {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 8px;
}

.event-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.event-meta i {
  width: 16px;
  color: var(--primary);
}

/* ===== Membership ===== */
.membership-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.membership-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.membership-card.featured {
  background: var(--primary);
  color: #fff;
}

.membership-card.featured .card-title {
  color: #fff;
}

.membership-card .badge-featured {
  position: absolute;
  top: 16px;
  right: -24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 32px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.membership-card .card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: rgba(0,53,128,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.membership-card.featured .card-icon {
  background: rgba(255,255,255,0.15);
}

.membership-card .card-icon i {
  font-size: 1.8rem;
  color: var(--primary);
}

.membership-card.featured .card-icon i {
  color: var(--accent);
}

.membership-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.membership-card ul.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  text-align: left;
}

.membership-card ul.feature-list li {
  padding: 6px 0;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.membership-card ul.feature-list li i {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.membership-card.featured ul.feature-list li {
  color: rgba(255,255,255,0.85);
}

.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary-custom:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 9px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: inline-block;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
}

.membership-card.featured .btn-outline-custom {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.membership-card.featured .btn-outline-custom:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ===== Leadership / Team ===== */
.team-card {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: all 0.3s;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  border: 4px solid #f0f4ff;
}

.team-card h5 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Contact ===== */
.contact-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  height: 100%;
}

.contact-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(0,53,128,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-icon-wrap i {
  font-size: 1.4rem;
  color: var(--primary);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,53,128,0.1);
}

.contact-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

/* ===== Page Hero (Inner Pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(232,160,32,0.06);
}

.page-hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: 2.4rem;
}

.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}

.page-hero .breadcrumb-item.active {
  color: var(--accent);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

/* ===== Map ===== */
.map-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ===== Footer ===== */
footer {
  background: var(--dark);
  color: #adb5bd;
  padding: 60px 0 0;
}

footer .footer-brand .brand-main {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

footer .footer-brand .brand-sub {
  color: #6c8db5;
  font-size: 0.78rem;
}

footer h5 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(232,160,32,0.3);
  display: inline-block;
}

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

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

footer .footer-links a {
  color: #adb5bd;
  font-size: 0.88rem;
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

footer .footer-links a i {
  font-size: 0.65rem;
  margin-right: 6px;
  color: var(--accent);
}

footer .footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

footer .footer-contact-item i {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 1rem;
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #adb5bd;
  margin-right: 6px;
  transition: all 0.3s;
}

footer .social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

footer .footer-bottom {
  background: rgba(0,0,0,0.25);
  margin-top: 40px;
  padding: 16px 0;
  font-size: 0.82rem;
  text-align: center;
  color: #6c757d;
}

footer .footer-bottom a {
  color: var(--accent);
}

/* ===== Accordion FAQ ===== */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 10px;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--dark);
  background: #fff;
  font-size: 0.95rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary);
  color: #fff;
}

.faq-accordion .accordion-button::after {
  filter: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(10);
}

/* ===== Back to Top ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,53,128,0.4);
  z-index: 999;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

#backToTop:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 2rem; }
  .navbar-nav .nav-link { padding: 12px 16px !important; }
  .navbar-nav .nav-link::after { display: none; }
  .section-padding { padding: 60px 0; }
  .about-img-wrap .about-badge { bottom: 10px; right: 10px; }
}

@media (max-width: 767px) {
  .hero-content h1 { font-size: 1.7rem; }
  .hero-section, .hero-slide { height: 70vh; min-height: 420px; }
  .hero-content { padding-top: 90px; }
  .top-bar { display: none; }
}
