/* Main CSS File for Travel Umroh Website */
:root {
    /* Color Variables */
    --primary-color: #0c713d;
    --secondary-color: #d4af37;
    --accent-color: #05472a;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #495057;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    
    /* Shadow */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Radius */
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 10px;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Amiri', serif;
  }
  
  /* Reset & Base */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
  }
  
  a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  a:hover {
    color: var(--accent-color);
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Container */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  /* Section Styles */
  section {
    padding: 80px 0;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .section-header h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
  }
  
  .section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .section-header p {
    color: var(--gray-500);
    font-size: 18px;
  }
  
  /* Buttons */
  .btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
  }
  
  .btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--white);
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
  }
  
  .btn-secondary:hover {
    background-color: var(--gray-100);
    color: var(--accent-color) !important;
    border-color: var(--accent-color);
  }
  
  .btn-outline {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
  }
  
  .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
  }
  
  /* Header */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
  }
  
  .header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
  }
  
  .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    max-width: 160px;
  }
  
  .logo img {
    height: auto;
    max-height: 50px;
  }
  
  .main-nav .nav-list {
    display: flex;
    gap: 25px;
  }
  
  .main-nav .nav-list a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
  }
  
  .main-nav .nav-list a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .main-nav .nav-list a:hover:after,
  .main-nav .nav-list a.active:after {
    width: 100%;
  }
  
  .nav-toggle {
    display: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
  }
  
  /* Hero Section */
  .hero {
    padding: 180px 0 100px;
    background-image: url('../images/jamaahdepankabah.webp');
    background-size: cover;
    background-position: center;
    position: relative;
  }
  
  .hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
  }
  
  .hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }
  
  .hero-content {
    color: var(--white);
    max-width: 600px;
  }
  
  .hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
  }
  
  .hero-search {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 400px;
  }
  
  .hero-search h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 20px;
    text-align: center;
  }
  
  .search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
  }
  
  .form-group select,
  .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
  }
  
  .btn-search {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .btn-search:hover {
    background-color: #c29b27;
  }
  
  /* Featured Packages */
  .packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .package-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
  }
  
  .package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .package-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    z-index: 2;
  }
  
  .package-img {
    height: 200px;
    overflow: hidden;
  }
  
  .package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
  }
  
  .package-card:hover .package-img img {
    transform: scale(1.1);
  }
  
  .package-content {
    padding: 20px;
  }
  
  .package-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
  }
  
  .package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-500);
  }
  
  .package-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .package-features {
    margin-bottom: 15px;
    font-size: 14px;
  }
  
  .package-features p {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .package-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
  }
  
  .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .packages-cta {
    text-align: center;
    margin-top: 40px;
  }
  
  /* Why Choose Us */
  .why-us {
    background-color: var(--gray-100);
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .feature-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  
  .feature-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
  }
  
  .feature-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
  }
  
  .feature-content p {
    font-size: 14px;
    color: var(--gray-500);
  }
  
  /* Testimonials */
  .testimonial-slider {
    display: flex;
    gap: 30px;
    overflow: hidden;
  }
  
  .testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    flex: 0 0 calc(50% - 15px);
  }
  
  .testimonial-content {
    margin-bottom: 20px;
  }
  
  .testimonial-content i {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
  }
  
  .testimonial-content p {
    font-style: italic;
    color: var(--text-color);
  }
  
  .testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .user-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark-color);
  }
  
  .user-info span {
    font-size: 14px;
    color: var(--gray-500);
  }
  
  .testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }
  
  .prev-btn,
  .next-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    background-color: var(--white);
    color: var(--text-color);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .prev-btn:hover,
  .next-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
  }
  
  /* Counter Section */
  .counter {
    background-image: url('../img/counter-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
  }
  
  .counter:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 113, 61, 0.9);
  }
  
  .counter .container {
    position: relative;
  }
  
  .counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .counter-item {
    text-align: center;
    color: var(--white);
  }
  
  .counter-icon {
    font-size: 36px;
    margin-bottom: 15px;
  }
  
  .counter-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
  }
  
  .counter-text {
    font-size: 16px;
    font-weight: 500;
  }
  
  /* Blog Preview */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .blog-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
  }
  
  .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .blog-img {
    height: 200px;
    overflow: hidden;
  }
  
  .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
  }
  
  .blog-card:hover .blog-img img {
    transform: scale(1.1);
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--gray-500);
  }
  
  .blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .blog-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
  }
  
  .blog-content p {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-color);
  }
  
  .read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .read-more:hover {
    color: var(--accent-color);
  }
  
  .blog-cta {
    text-align: center;
    margin-top: 40px;
  }
  
  /* Call to Action */
  .cta {
    background-image: url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
  }
  
  .cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
  }
  
  .cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
  }
  
  .cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
  }
  
  .cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  
  /* Footer */
  .footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 0;
  }
  
  .footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .footer-col {
    margin-bottom: 30px;
  }
  
  .footer-logo {
    margin-bottom: 20px;
    max-width: 150px;
  }
  
  .footer-logo img {
    max-width: 100%;
  }
  
  .footer-col p {
    color: var(--gray-400);
    margin-bottom: 20px;
    font-size: 14px;
  }
  
  .footer-social {
    display: flex;
    gap: 10px;
  }
  
  .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
  }
  
  .footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
  }
  
  .footer-links,
  .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-links a {
    color: var(--gray-400);
    transition: all 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
  }
  
  .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-400);
    font-size: 14px;
  }
  
  .footer-contact li i {
    margin-top: 5px;
    color: var(--secondary-color);
  }
  
  .footer-subscribe {
    display: flex;
    margin-top: 15px;
  }
  
  .footer-subscribe input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }
  
  .footer-subscribe button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 15px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .footer-subscribe button:hover {
    background-color: var(--accent-color);
  }
  
  .footer-bottom {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
  }
  
  /* WhatsApp Button */
  .whatsapp-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 99;
    transition: all 0.3s ease;
  }
  
  .whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
  }
  
  /* Back to Top */
  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 99;
    transition: all 0.3s ease;
  }
  
  .back-to-top.active {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
  }
  
  /* Responsive Styles */
  @media (max-width: 1200px) {
    .hero-content h1 {
      font-size: 42px;
    }
  }
  
  @media (max-width: 992px) {
    section {
      padding: 60px 0;
    }
    
    .hero {
      padding: 150px 0 80px;
    }
    
    .hero .container {
      flex-direction: column;
    }
    
    .hero-content {
      text-align: center;
      margin-bottom: 30px;
    }
    
    .hero-cta {
      justify-content: center;
    }
    
    .hero-search {
      width: 100%;
      max-width: 500px;
      margin: 0 auto;
    }
    
    .packages-grid,
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .counter-grid {
      grid-template-columns: repeat(2, 1fr);
      row-gap: 40px;
    }
    
    .blog-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-toggle {
      display: block;
    }
    
    .main-nav {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 80%;
      height: calc(100vh - 80px);
      background-color: var(--white);
      padding: 30px;
      box-shadow: var(--shadow-lg);
      transition: all 0.4s ease;
      overflow-y: auto;
    }
    
    .main-nav.active {
      left: 0;
    }
    
    .main-nav .nav-list {
      flex-direction: column;
      gap: 15px;
    }
    
    .main-nav .nav-list li {
      width: 100%;
      border-bottom: 1px solid var(--gray-200);
      padding-bottom: 10px;
    }
    
    .main-nav .nav-list a {
      display: block;
      padding: 8px 0;
    }
  }
  
  @media (max-width: 768px) {
    .section-header h2 {
      font-size: 30px;
    }
    
    .hero-content h1 {
      font-size: 36px;
    }
    
    .cta-content h2 {
      font-size: 30px;
    }
    
    .packages-grid,
    .features-grid,
    .blog-grid {
      grid-template-columns: 1fr;
    }
    
    .cta-buttons {
      flex-direction: column;
      gap: 15px;
    }
    
    .testimonial-slider {
      flex-direction: column;
    }
    
    .testimonial-card {
      flex: 0 0 100%;
    }
  }
  
  @media (max-width: 576px) {
    .hero-content h1 {
      font-size: 30px;
    }
    
    .counter-grid {
      grid-template-columns: 1fr;
    }
    
    .footer-top {
      grid-template-columns: 1fr;
    }
    
    .footer-col {
      text-align: center;
    }
    
    .footer-col h4:after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .footer-social {
      justify-content: center;
    }
    
    .footer-contact li {
      justify-content: center;
    }
  }