/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Variables */
:root {
  --primary-color: #0d6efd;   
  --secondary-color: #198754; 
  --accent-color: #20c997;    
  --background-color: #f8f9fa;
  --text-color: #212529;
  --text-muted-color: #6c757d;
  --card-bg: #ffffff;
  --border-color: #dee2e6;
  
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

/* General Body Styles */
body {
  font-family: var(--font-secondary);
  background-color: #fff;
  color: var(--text-color);
}
.bg-light {
    background-color: var(--background-color) !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-color);
}

/* Top Bar Styling */
.top-bar {
  background-color: var(--background-color);
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}
.top-bar a {
  color: var(--text-muted-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.top-bar a:hover {
  color: var(--primary-color);
}
.top-bar .social-links a {
  margin: 0 8px;
}

/* Navbar Styling */
.navbar {
  padding: 10px 0;
  transition: all 0.3s ease;
}
.navbar-brand img {
  max-height: 50px;
}
.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: #555 !important;
    margin: 0 5px;
    padding: 8px 10px !important;
    transition: color 0.3s;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}
@media (min-width: 992px) {
    .navbar-expand-lg .offcanvas { display: none; }
}
.offcanvas .nav-link {
    padding: 12px 15px !important;
    font-size: 1.1rem;
}

/* Content Pushing for Fixed Header */
main {
  padding-top: 86px;
}

/* Hero Section */
.hero-section {
  height: calc(100vh - 86px);
  margin-top: -86px;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1581093458791-9a6685aa6f75?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-section .container {
    padding-top: 10vh; /* Push content down a bit */
}
.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
}
.hero-section p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 20px auto;
}

/* Section Styling */
.section-padding { padding: 80px 0; }
.section-title { margin-bottom: 50px; }
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.section-title.text-start h2::after {
    left: 0;
    transform: translateX(0);
}

/* Why Choose Us Section - Improved Cards */
.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
}

/* Stats Counter Section */
#stats-counter {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1532187643623-dbf267341858?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
    background-attachment: fixed;
}
#stats-counter h2, #stats-counter p {
    color: #fff;
}
#stats-counter .stat-item i {
    color: var(--accent-color);
}
#stats-counter h2 {
    font-size: 3rem;
    font-weight: 700;
}

/* Gallery Lightbox (Modal) */
.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  position: relative;
}
.gallery-item img {
  transition: transform 0.4s ease;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

/* Testimonials - Improved Cards */
.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    position: relative;
}
.testimonial-card .fa-quote-left {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: var(--background-color);
}
.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

/* Other Styles */
.page-header {
    margin-top: -86px; /* THE FIX IS HERE */
    height: 40vh;
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center;
}
.page-header h1 {
    color: #fff; font-size: 3rem; font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ==================================
   Footer Section
   ================================== */
.footer-section {
  background: #212529; /* Dark background */
  position: relative;
  color: #adb5bd; /* Muted text color for paragraphs */
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  max-width: 200px;
}
.footer-text p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 28px;
}
.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 5px;
}
.footer-contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}
.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 2px;
  width: 50px;
  background: var(--primary-color);
}
.footer-widget ul {
    padding-left: 0;
    list-style: none;
}
.footer-widget ul li {
  margin-bottom: 12px;
}
.footer-widget ul li a,
.footer-link {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-widget ul li a:hover,
.footer-link:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* Subscribe Form */
.subscribe-form {
  position: relative;
  overflow: hidden;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: #343a40;
  border: 1px solid #495057;
  color: #fff;
  border-radius: 50px;
}
.subscribe-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}
.subscribe-form button {
  position: absolute;
  right: 0;
  background: var(--primary-color);
  padding: 13px 20px;
  border: 1px solid var(--primary-color);
  top: 0;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
}
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
}

/* Copyright Area */
.copyright-area{
  background: #1a1e21; /* Even darker background */
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #878787;
}
.copyright-text p a{
  color: var(--primary-color);
  text-decoration: none;
}
.footer-social-icon {
    text-align: right;
}
.footer-social-icon span {
  color: #878787;
  display: inline-block;
  margin-right: 15px;
}
.footer-social-icon a {
  color: #fff;
  font-size: 16px;
  margin-left: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
}
.footer-social-icon .facebook-bg{ background: #3B5998; }
.footer-social-icon .twitter-bg{ background: #55ACEE; }
.footer-social-icon .instagram-bg{ background: #E1306C; }

.footer-social-icon a:hover {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .footer-social-icon {
        text-align: center;
        margin-top: 15px;
    }
}
/* ==================================
   New Footer Social Icon Styles
   ================================== */

.footer-social-icons-main a {
  color: #fff;
  font-size: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-right: 8px;
}

.footer-social-icons-main a:hover {
    transform: scale(1.1) translateY(-3px);
}

.footer-social-icons-main .facebook-bg { background: #3B5998; }
.footer-social-icons-main .twitter-bg { background: #55ACEE; }
.footer-social-icons-main .instagram-bg { background: #E1306C; }
.footer-social-icons-main .linkedin-bg { background: #0077B5; }

/* Remove old footer social icons from copyright area */
.copyright-area .footer-social-icon {
  display: none;
}