/* Qur'an Vocational Training Foundation - Modern Bootstrap Theme */

:root {
  --primary-color: #2c3e50;
  --secondary-color: #27ae60;
  --accent-gold: #f39c12;
  --light-bg: #ecf0f1;
  --dark-text: #2c3e50;
  --border-color: #bdc3c7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Trebuchet MS, Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: #f8f9fa;
}

/* Header & Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: var(--accent-gold) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-link {
  color: #ecf0f1 !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--accent-gold) !important;
  border-bottom-color: var(--accent-gold);
}

.nav-link.active {
  color: var(--accent-gold) !important;
  border-bottom-color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(39, 174, 96, 0.8)), url('../images/bg2.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0 60px;
  text-align: center;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 300;
}

.carousel-item img {
  height: 400px;
  object-fit: cover;
  filter: brightness(0.95);
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--accent-gold);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 1.5rem;
}

.card-header h5 {
  color: white;
  font-weight: 600;
  margin: 0;
}

.card-body {
  padding: 1.5rem;
}

.card-body p {
  color: #555;
  line-height: 1.8;
}

/* Mission/Vision Cards */
.mission-card {
  background: white;
  border-left: 4px solid var(--accent-gold);
}

.mission-card h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.mission-card p {
  color: #666;
  font-size: 1rem;
}

/* Accent Elements */
.accent-text {
  color: var(--accent-gold);
  font-weight: 600;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--secondary-color), #229954);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.btn-outline-custom {
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--accent-gold);
  color: white;
}

/* Forms */
.form-control {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  position: relative;
}

.contact-item i {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.contact-item h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
  color: #ecf0f1;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer h5 {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

footer a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 0.3rem 0;
}

footer a:hover {
  color: var(--accent-gold);
  padding-left: 0.3rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: #bdc3c7;
  font-size: 0.9rem;
}

/* Image Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Alert Messages */
.alert-custom {
  border-radius: 5px;
  border-left: 4px solid var(--accent-gold);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .carousel-item img {
    height: 300px;
  }
}

/* Slideshow */
.slideshow-container {
  position: relative;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slideshow-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Animation */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes */
.text-center-custom {
  text-align: center;
}

.mt-custom {
  margin-top: 2rem;
}

.mb-custom {
  margin-bottom: 2rem;
}

.badge-custom {
  background-color: var(--accent-gold);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Success Message */
.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  border-left: 4px solid #28a745;
}
