/* 
  SOLAR ENERGY News - Main Stylesheet 
  A clean, professional news website theme
*/

/* ===== GENERAL STYLES ===== */
:root {
  --primary-color: #061f40;
  --primary-light: #060c3b;
  --primary-dark: #5380c2;
  --secondary-color: #f8f9fa;
  --accent-color: #4caf50;
  --text-color: #333333;
  --text-light: #666666;
  --text-muted: #888888;
  --border-color: #e5e5e5;
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  /* Spacing using 8px system */
  --space-xs: 0.5rem;  /* 8px */
  --space-sm: 1rem;    /* 16px */
  --space-md: 1.5rem;  /* 24px */
  --space-lg: 2rem;    /* 32px */
  --space-xl: 3rem;    /* 48px */
  
  /* Typography */
  --font-heading: font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --font-body:  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;


  /* Transitions */
  --transition: all 0.3s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--secondary-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

h1, h2, h3, h4, h5, h6 {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

h1 {    
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-md);
}

.btn {
  padding: 0.6rem 1.5rem;
  border-radius: 0.25rem;
  transition: var(--transition);
  font-weight: 600;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

img {
  max-width: 100%;
}

/* Container adjustments */
.container {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* ===== HEADER STYLES ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-banner {
  background-color: var(--white);
  color: var(--white);
  padding: 10px;
}
    /* Scrolling bar */
    .scrolling-bar {
      background-color: #03134e;
      color: white;
      overflow: hidden;
      white-space: nowrap;
    }

    .scrolling-text {
      display: inline-block;
      padding-left: 100%;
      animation: scroll-left 25s linear infinite;
    }

    @keyframes scroll-left {
      0% { transform: translateX(0%); }
      100% { transform: translateX(-100%); }
    }
.logo {
  text-align: left;
}

.logo-img {
  width: 250px;
  height: auto;
  display: block;      /* remove any inline spacing */
  margin-left: 0;      /* ensures it's flush to the left */
}

.social-icons a {
  color: var(--primary-color);
  margin-left: var(--space-xs);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--gray-300);
}

.navbar {
  padding: var(--space-xs) 0;
  background-color: var(--white);
}

.navbar-nav .nav-item {
  padding: 0 var(--space-xs);
  font-size: 1.0rem;
}

.navbar-nav .nav-link {
  color: black;
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .active .nav-link {
  color: var(--primary-color);
}

.navbar-nav .active .nav-link::after,
.navbar-nav .nav-link:hover::after {
  width: 70%;
}
/* When scrolled, hide the top part of the header */
header.scrolled .header-top {
  display: none;
}

/* Navbar should remain visible and fixed (optional) */
header nav.navbar {
  /* If you want navbar fixed at top */
  position: sticky;
  top: 0;
  background-color: white; /* or your header bg */
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-item.dropdown:hover .dropdown-menu {
      display: block;
    }

    /* General dropdown style */
    .dropdown-menu {
      margin-top: 0;
      border-radius: 0;
      padding: 0;
    }
  .dropdown-menu a{
    color: black;
  }
    .dropdown-menu .col-md-4,
    .dropdown-menu .col-12 {
      padding: 1rem;
    }

    /* Centered & wide dropdown */
    .custom-dropdown {
      width: 70vw;
      left: 50%;
      transform: translateX(-50%);
    }
.view{
  font-size: 1.0rem;
}
    .border-bottom {
      border-bottom: 1px solid #ddd !important;
    }

    /* Responsive fixes */
    @media (max-width: 767.98px) {
        .custom-dropdown {
          width: 100vw;
          left: 0;
          transform: none;
          max-height: 60vh; /* Limit height */
          overflow-y: auto;  /* Enable vertical scroll */
          position: absolute;
          z-index: 1050;
        }

      .dropdown-menu .col-12 {
        border-right: none !important;
        border-bottom: 1px solid #ddd;
      }

      .dropdown-menu .col-12:last-child {
        border-bottom: none;
      }
    }

.event-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 80px;
}

.event-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.event-details {
  flex: 1;
}

.event-title {
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.event-date {
  font-size: 0.7rem;
  color: #6c757d;
}

/* Optional: Slight padding control on mobile */
@media (max-width: 576px) {
  .event-item {
    gap: 8px;
    min-height: 70px;
  }

  .event-img {
    width: 36px;
    height: 36px;
  }

  .event-title {
    font-size: 0.75rem;
  }

  .event-date {
    font-size: 0.65rem;
  }
}
/* Global dropdown font size reduction */
.dropdown-menu.custom-dropdown {
  font-size: 0.8rem; /* Smaller than default Bootstrap size */
}

/* Further reduce on smaller screens */
@media (max-width: 576px) {
  .dropdown-menu.custom-dropdown {
    font-size: 0.75rem;
  }
}

.news-item {
  min-height: 80px;
}

.news-img {
  width: 70px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.small {
  font-size: 0.8rem;
}

.extra-small {
  font-size: 0.7rem;
  color: #6c757d;
}

@media (max-width: 576px) {
  .news-img {
    width: 40px;
    height: 36px;
  }

  .small {
    font-size: 0.75rem;
  }

  .extra-small {
    font-size: 0.65rem;
  }
}
  .date-box {
  background-color: #0a2240;        /* Dark navy blue */
  color: white;
  text-align: center;
  border-radius: 0.75rem;           /* Rounded corners */
  width: 56px;                      /* Fixed width */
  height: 64px;                     /* Fixed height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;              /* Center horizontally */
  font-family: sans-serif;
  flex-shrink: 0;                   /* Prevent resizing in flex containers */
}

.date-day {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 2px;
  line-height: 1;
}


  .event-item .text-decoration-none {
    color: #000;
  }

  .event-item .text-muted {
    font-size: 0.8rem;
  }


.navbar-toggler {
  border: none;
  background: transparent;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(rgba(7, 44, 94, 0.8), rgba(4, 25, 54, 0.8)), url('https://images.pexels.com/photos/326461/pexels-photo-326461.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: var(--space-xl) 0;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

/* ===== PAGE TITLE ===== */
.page-title {
  background-color: var(--gray-100);
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
}

.page-title h1 {
  margin-bottom: var(--space-xs);
}

.breadcrumb {
  margin-bottom: 0;
  background-color: transparent;
  padding: 0;
}
.breadcrumb li{
  font-size: 13px;
}
.breadcrumb-item a {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--gray-600);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: var(--space-md) 0 var(--space-xl);
}

.section-heading {
  margin-bottom: var(--space-md);
  position: relative;
}

.section-heading h2 {
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

/* ===== ARTICLE GRID ===== */
.article-grid {
  margin-bottom: var(--space-lg);
}


.article-card{
  height: 300px;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-card-content {
  padding: var(--space-md);
}

.article-category {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  font-weight: 600;
}

.article-title {
  font-size: 1.0rem;
  margin-bottom: var(--space-xs);
  line-height: 1.0;
}

.article-excerpt {
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.article-meta {
  display: flex;
  justify-content:space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.article-date {
  display: flex;
  align-items: center;
}

.article-date i {
  margin-right: 5px;
}

.article-author {
  display: flex;
  align-items: center;
}


















/* Ensure columns have consistent height */
.article-card {
  display: flex;
  flex-direction: column;
}

/* Card container takes full height to balance layout */
.article-card .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Hover effect */
.article-card .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Uniform image size */
.article-card .card-img-top {
  object-fit: cover;
  height: 200px; /* Adjust as needed */
  width: 100%;
  border-radius: 4px 4px 0 0;
}

/* Consistent padding */
.article-card .card-body {
  flex-grow: 1;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Title styling */
.article-card .card-title {
  font-size: 0.5rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

/* Title link */
.article-card .card-title a {
  color: #333;
  text-decoration: none;
  display: block;
}

.article-card .card-title a:hover {
  color: #007bff;
  text-decoration: underline;
}








.article-author i {
  margin-right: 5px;
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Article Card Small */
.article-card-sm {
  margin-bottom: var(--space-md);
}

.article-card-sm img {
  border-radius: 6px;
  margin-bottom: var(--space-xs);
}

.article-card-sm h4 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.article-card-sm .article-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== SINGLE ARTICLE ===== */
.single-article {
  background-color: var(--white);
  border-radius: 8px;
  padding: var(--space-lg);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.article-header {
  margin-bottom: var(--space-md);
}
.article-header h1{
  font-size: 1.9rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-meta span {
  display: flex;
  align-items: center;
}

.article-meta span i {
  margin-right: 5px;
}

.article-featured-image {
  margin-bottom: var(--space-md);
  border-radius: 8px;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
}

.article-content {
  margin-bottom: var(--space-lg);
   font-size: 1.1rem;
}
.article-content li{
  font-size: 16px;
}
.article-content .lead {
  font-size: 1.0rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--gray-700);

}
.article-content a{
  color: #4c9ceb;

}
.article-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.75rem;
}
.article-content p {
  text-align: justify;
  font-size: 16px;
}

.article-content blockquote {
  border-left: 2px solid var(--primary-color);
  padding: var(--space-xs);
  background-color: var(--gray-100);
  margin: var(--space-xs) 0;
  font-size: 1.0rem;

}
.blockquote-footer{
  height: 3px;
}
.article-tags {
  margin-bottom: var(--space-md);
}

.article-tags span {
  font-weight: 600;
  margin-right: var(--space-xs);
}

.article-tags a {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--gray-200);
  color: var(--text-color);
  border-radius: 4px;
  margin: 0 0.3rem 0.3rem 0;
  font-size: 0.7rem;
  transition: var(--transition);
}

.article-tags a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.article-share {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.article-share span {
  font-weight: 600;
  margin-right: var(--space-xs);
}

.article-share a {
  display: inline-block;
  margin-right: var(--space-xs);
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background-color: var(--gray-200);
  color: var(--text-color);
  border-radius: 50%;
  transition: var(--transition);
}

.article-share a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.article-author-bio {
  display: flex;
  align-items: center;
  background-color: var(--gray-100);
  padding: var(--space-md);
  border-radius: 8px;
  margin-bottom: var(--space-lg);
}

.author-image {
  flex-shrink: 0;
  margin-right: var(--space-md);
}

.author-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.related-articles {
  margin-top: var(--space-lg);
}

.related-articles h3 {
  margin-bottom: var(--space-md);
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  background-color: var(--white);
  padding: var(--space-md);
  border-radius: 8px;
  margin-bottom: var(--space-md);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--gray-200);
  position: relative;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

/* Search Widget */
.search .input-group {
  border-radius: 6px;
  overflow: hidden;
}

/* Categories Widget */
.categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories li {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.categories li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.categories a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
}

.categories a:hover {
  color: var(--primary-color);
}

.categories span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Upcoming Events Widget */
.event-item {
  display: flex;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gray-200);
}

.event-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.event-date {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  border-radius: 6px;
  padding: 0.5rem;
  width: 50px;
  height: 50px;
  margin-right: var(--space-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.event-date .day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.event-details h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.event-details p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Newsletter Widget */
.newsletter form {
  margin-top: var(--space-sm);
}

/* Popular Posts Widget */
.popular-post {
  display: flex;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gray-200);
}

.popular-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.post-image {
  width: 80px;
  height: 60px;
  margin-right: var(--space-sm);
  flex-shrink: 0;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.post-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.post-info .post-date {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* Social Icons Large */
.social-icons-large {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
}

.social-icons-large a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--gray-200);
  color: var(--text-color);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons-large a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--gray-800);
  color: var(--gray-300);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-info, 
.footer-contact, 
.footer-links {
  margin-bottom: var(--space-lg);
}

footer h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xs);
}

footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact li i {
  margin-right: 10px;
  margin-top: 5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-300);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  margin-bottom: 0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
  .sidebar {
    position: static;
    margin-top: var(--space-lg);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .single-article {
    padding: var(--space-md);
  }
}

@media (max-width: 767px) {
  .hero {
    padding: var(--space-lg) 0;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}


    .trending-section {
      padding: 2rem 1rem;
      margin: 30px 0;
      background-color: #fafafa;
      border-radius: 10px;
    }

    .carousel-wrapper {
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .trending-label {
      background-color: #444;
      color: #fff;
      font-weight: bold;
      border-radius: 20px;
      padding: 4px 8px;
      margin-right: 10px;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .trending-label i {
      color: gold;
    }

    .trending-container {
      display: flex;
      gap: 5px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      white-space: nowrap;
      padding: 5px 10px;
      scrollbar-width: none;
      flex: 1;
    }

    .trending-container::-webkit-scrollbar {
      display: none;
    }

    .tag-link {
      text-decoration: none;
      scroll-snap-align: start;
      flex-shrink: 0;
      transition: transform 0.3s ease;
    }

    .tag-link:hover {
      transform: scale(1.05);
    }

    .tag {
      background-color: #f1f1f1;
      border-radius: 20px;
      padding: 8px 18px;
      font-size: 14px;
      white-space: nowrap;
      color: #222;
      transition: background-color 0.3s;
    }

    .tag:hover {
      background-color: #ddd;
    }

    .carousel-arrow {
      background: #e4e4e4;
      border: none;
      padding: 8px 12px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 18px;
      transition: background-color 0.3s ease;
      margin: 0 5px;
    }

    .carousel-arrow:hover {
      background-color: #ccc;
    }
    
    
    
    
    
    
    
    
        .contact-section {
      display: flex;
      justify-content: center;
      align-items: center;
      padding-bottom: 20px;
      
    }

    .form-container {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      width: 350px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .form-container h2 {
      text-align: center;
      margin-bottom: 5px;
      font-size: 20px;
    }

    .form-container p {
      text-align: center;
      font-size: 13px;
      color: #666;
      margin-bottom: 15px;
    }

    .form-group {
      display: flex;
      gap: 8px;
      margin-bottom: 12px;
    }

    input, select, textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 20px;
      font-size: 13px;
      outline: none;
      margin-bottom: 12px;
    }

    .form-group input {
      margin-bottom: 0;
    }

    textarea {
      resize: none;
      height: 60px;
      border-radius: 12px;
    }

    .submit-btn {
      width: 100%;
      padding: 12px;
      background: #000;
      color: #fff;
      border: none;
      border-radius: 20px;
      font-size: 15px;
      cursor: pointer;
      margin-top: 5px;
      transition: 0.3s ease;
    }

    .submit-btn:hover {
      opacity: 0.9;
    }

    .form-footer {
      margin-top: 10px;
      font-size: 11px;
      text-align: center;
      color: #666;
    }

    .form-footer a {
      color: #000;
      text-decoration: none;
      font-weight: bold;
    }

    .success {
      background: #d4edda;
      color: #155724;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 15px;
      text-align: center;
      font-size: 13px;
    }

    .error {
      background: #f8d7da;
      color: #721c24;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 15px;
      text-align: center;
      font-size: 13px;
    }
  