/* Tripease Starter — styles.css */
/* Color System */
:root{
  --primary:#1b78c7;         /* Bootstrap primary */
  --accent:#5681c3b2;          /* Warm accent */
  --ink:#0f172a;             /* Slate-900 */
  --muted:#64748b;           /* Slate-500 */
  --bg:#f8fafc;              /* Slate-50 */
  --radius:1.25rem;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Poppins',system-ui,  -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  color:var(--ink);
  background:#fff;
  width: 100%;
  overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
/*SCROLLBAR Styling*/
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: #1b78c7;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1b78c7; 
}
/* Utilities */
.section-padding{padding:80px 0}
.section-head .eyebrow{
  display:inline-block;
  font-size:.875rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent);
  font-weight:600;
}
.section-title{font-weight:700}
a{text-decoration:none}
footer a{color:#adb5bd}
footer a:hover{color:#fff}

/* Navbar */
.navbar .nav-link{font-weight:500}
.navbar .nav-link.active{color:var(--primary) !important}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #1b78c7 !important;
}
.navbar-brand .fa-earth-asia {
  color: #1b78c7 !important;
}

/* Hero */
.hero-bg{
  position:absolute;inset:0;
  filter:brightness(.7);
  mix-blend:overlay;
  opacity:.55;
}
.hero-wave{
  position:absolute;left:0;right:0;bottom:-1px;height:80px;
  background:radial-gradient(120% 120% at 50% 0, #fff 50%, transparent 51%);
}
.search-card{transform:translateY(8px)}
.glass{backdrop-filter:blur(6px);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2)}
.hero-section .btn-primary {
  background-color: #1b78c7;
  border-color: #1b78c7;
}

.hero-section .btn-primary:hover {
  background-color: #000000;
  border-color: #000000;
}

.hero-section .badge.text-primary {
  color: #1b78c7 !important;
}

.hero-section {
  text-align: center;
  min-height: 100vh; /* full screen height */
  display: flex;
  align-items: center; /* vertically center everything */
  position: relative;
}
.hero-section .container {
  z-index: 2; /* keep content above background */
}
.hero-section .badge {
  display: inline-block;
}

.hero-section .d-flex {
  justify-content: center;
}
.hero-section {
  padding-bottom: 0px; /* Add gap at bottom */
  padding-top: 0px;
}

.hero-search-card {
  background: rgba(255, 255, 255, 0.95); /* Slight transparency */
  border-radius: 8px;
  position: relative; /* if it's already absolute, keep absolute */
  top: 80px; /* increase this to move it further down */
}

.hero-search-card input,
.hero-search-card select {
  border: 2px solid #1b78c7;
  border-radius: 6px;
  padding: 10px 12px;
}

.hero-search-card input:focus,
.hero-search-card select:focus {
  border-color: black;
  box-shadow: none;
}

.hero-search-card .btn-primary {
  background-color: #1b78c7;
  border-color: #1b78c7;
}

.hero-search-card .btn-primary:hover {
  background-color: black;
  border-color: black;
}

.hero-bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out; /* smooth fade */
}

.hero-bg-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dark shade */
  pointer-events: none; /* don't block clicks */
}

@keyframes slideShow {
  0%   { background-image: url('images/img1.jpg'); }
  20%  { background-image: url('images/img5.jpg'); }
  40%  { background-image: url('images/img2.jpg'); }
  60%  { background-image: url('images/img4.jpg'); }
  80%  { background-image: url('images/img3.jpg'); }
  100% { background-image: url('images/img1.jpg'); }
}

@media (max-width: 768px) {
  .hero-section {
    padding-bottom: 40px; /* Smaller gap for mobile */
  }
}

/* Large tablets and small desktops (992px and below) */
@media (max-width: 992px) {
  .hero-search-card {
    top: 60px; /* slightly closer to hero text */
  }
  .hero-search-card .form-control-lg,
  .hero-search-card .form-select-lg {
    font-size: 1rem; /* smaller input text */
    padding: 8px 10px;
  }
}

/* Tablets and large phones (768px and below) */
@media (max-width: 768px) {
  .hero-section {
    padding-bottom: 40px;
    padding-top: 20px;
  }
  .hero-search-card {
    top: 40px;
    padding: 1.2rem;
  }
  .hero-search-card .row > div {
    flex: 0 0 100%; /* stack inputs */
    max-width: 100%;
  }
  .hero-search-card button {
    width: 100%; /* full-width submit button */
  }
}

/* Small phones (576px and below) */
@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  .hero-section p {
    font-size: 1rem;
  }
  .hero-search-card {
    top: 30px;
    padding: 1rem;
    border-radius: 10px;
  }
  .hero-search-card input,
  .hero-search-card select {
    font-size: 0.95rem;
    padding: 8px;
  }
  .hero-section .btn-lg {
    font-size: 1rem;
    padding: 0.65rem 1rem;
  }
}


/* Cards */
.destination-card img{transition:transform .8s ease}
.destination-card:hover img{transform:scale(1.06)}
.pkg-icon{width:54px;height:54px;display:grid;place-items:center;background:#f1f5f9;color:var(--accent);font-size:1.25rem}
.avatar{width:44px;height:44px;display:grid;place-items:center;background:#e2e8f0;color:#475569}
.why-chip{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.625rem .875rem;border-radius:999px;
  border:1px solid #e2e8f0;background:#fff;font-weight:500;
}
.bg-gradient-subtle{background:linear-gradient(180deg,#fff,#f8fafc)}

/* CTA */
.cta-section{background:linear-gradient(135deg,var(--primary),var(--accent));}

/* Animation helpers */
.fade-up{opacity:0;transform:translateY(12px);transition:all .7s ease}
.fade-up.reveal{opacity:1;transform:none}
.scale-in{opacity:0;transform:scale(.96);transition:all .6s ease}
.scale-in.reveal{opacity:1;transform:scale(1)}

/* Responsiveness */
@media (max-width: 767.98px){
  .section-padding{padding:64px 0}
}

#about-us {
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  background-image: url('images/background2.jpg'); /* Your image */
  position: relative;
}

#about-us .container {
  position: relative;
  z-index: 2;
}

#about-us .eyebrow {
  margin-top: 15px;
  letter-spacing: 1px;
  font-size: 14px;
  color: #000; /* Black */
}

#about-us .section-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: #000; /* Black */
}

#about-us p {
  font-size: 16px;
  line-height: 1.6;
  color: #000; /* Black */
}

#about-us img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

#about-us img:hover {
  transform: scale(1.05); /* हल्का zoom */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); /* गहरी shadow */
}

#about-us .btn-primary {
  background-color: #1b78c7; /* Bootstrap primary default */
  border: none;
  transition: background-color 0.3s ease;
}

#about-us .btn-primary:hover {
  background-color: #000; /* Black on hover */
  color: #fff; /* Ensure text stays visible */
}
@media (max-width: 768px) {
    #about-us {
        padding: 40px 15px; /* Reduce padding for mobile */
        text-align: center;
    }

    #about-us .eyebrow {
        font-size: 12px;
        margin-top: 10px;
    }

    #about-us .section-title {
        font-size: 24px; /* Smaller title */
        margin-bottom: 15px;
    }

    #about-us p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    #about-us img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    #about-us .btn-primary {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: inline-block;
    }
}


#destinations {
  background: url('images/flight.png') center/cover no-repeat;
  position: relative;
  z-index: 1;
}

/* Optional: Add a dark overlay so text & cards pop */
#destinations::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4); /* Adjust darkness */
  z-index: -1;
}

/* Make sure cards & text stay above overlay */
#destinations .container {
  position: relative;
  z-index: 2;
}

.tour-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .tour-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 20px rgba(27,120,199,0.3);
  }
  .tour-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  .price-tag {
    position: absolute;
    background: #1b78c7;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    top: 168px;
    left: 14px;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }
  .card-content {
    padding: 16px;
    position: relative;
    flex-grow: 1;
  }
  .card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #333;
  }
  
  .places {
    color: #1b78c7;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .places-list {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
  }
  .stars {
    color: #1b78c7;
    font-size: 14px;
    margin-bottom: 5px;
  }
  .icons {
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    margin-bottom: 5px;
  }
  .icons i {
    font-size: 18px;
    color: #1b78c7;
    transition: transform 0.25s ease, color 0.25s ease;
    cursor: pointer;
  }
  .icons i:hover {
    transform: scale(1.2);
    color: #145a96;
  }
  
.footer {
  background: #f8f9fa;
  color: #333;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  border-top: 1px solid #e5e7eb;
}

.footer .left {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1b78c7;
  font-weight: 500;
  white-space: nowrap; /* text ek line me hi rahe */
}

.footer-buttons {
  display: flex;
  gap: 8px; /* space between buttons */
}

.callback,
.book-btn {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

/* Hover effects */
.callback {
  background: #1b78c7;
  color: white;
}
.callback:hover {
  background: #145a96;
}

.book-btn {
  background: #28a745;
  color: white;
}
.book-btn:hover {
  background: #218838;
}

/* ✅ Mobile Responsive */
@media (max-width: 576px) {
  .footer {
    font-size: 12px;
    gap: 6px;
  }

  .callback,
  .book-btn {
    padding: 4px 8px;  /* 👈 smaller padding on phone */
    font-size: 11px;   /* 👈 smaller text on phone */
  }

  .footer-buttons {
    gap: 6px; /* buttons closer on mobile */
  }
}



  .explore-more-btn {
  display: inline-block;
  padding: 10px 25px;
  background: #1b78c7; /* Button color */
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.explore-more-btn:hover {
  background: #000000; /* Darker on hover */
  transform: translateY(-2px);
}

/* Modal background */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Modal box */
.modal-box {
  background: white;
  border-radius: 8px;
  padding: 20px;
  width: 350px;
  max-width: 90%;
  position: relative;
}

/* Close button */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* Inputs */
.modal-box input, .modal-box textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.two-inputs {
  display: flex;
  gap: 10px;
}

textarea {
  resize: none;
}

.callback-btn {
  background: #1b78c7;
  color: white;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.callback-btn:hover {
  background: #003f80;
}

  /* Service Card Styling */
.service-card {
  position: relative;
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden; /* To keep border lines inside */
}

.service-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: #1b78c7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card .icon i {
  font-size: 28px;
  color: white;
}

/* Corner borders */
.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  border: 3px solid #1b78c7;
  transition: all 0.3s ease;
}

.service-card::before {
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-right: none;
  border-bottom: none;
}

.service-card::after {
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: none;
  border-top: none;
}

/* Hover animation */
.service-card:hover::before {
  width: 50%;
  height: 50%;
}

.service-card:hover::after {
  width: 50%;
  height: 50%;
}

/* Icon shape change on hover */
.service-card:hover .icon {
  border-radius: 0px;
}

.service-card h5 {
  font-weight: 700;
  margin-top: 15px;
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* Section Styles */
#packages-section {
  position: relative;
  text-align: center;
  color: white;
  padding: 60px 20px;
  background: url('images/background-3.jpg') center/cover no-repeat;
}

#packages-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* adjust 0.4 → darker or lighter */
}

#packages-section * {
  position: relative; /* keeps your text/content above overlay */
}

.section-header .subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  margin-bottom: 5px;
  font-weight: bold;
}

.section-header .title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 40px;
}

/* Main card container */
.packages-card {
  position: relative;
  display: flex;
  width: 90%;
  max-width: 1000px;
  height: 400px;
  margin: auto;
  border-radius: 15px;
  overflow: hidden;
  background: url('images/spiti.jpg') center/cover no-repeat;
  transition: background-image 0.5s ease;
}

/* Sections inside card */
.package-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.package-section:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.3);
}

/* Texts */
.package-section h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.package-section .location {
  display: none;
  font-size: 14px;
  letter-spacing: 1px;
}

.explore-btn {
  display: none;
  font-size: 14px;
  padding: 6px 14px;
  background: white;
  color: black;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
}
.explore-btn:hover {
  background: black;
  color: white;
  transition: all 0.3s ease;
}

/* Hover effect */
.package-section:hover {
  transform: translateY(-10px);
}

.package-section:hover .location,
.package-section:hover .explore-btn {
  display: block;
}

/* Ensure smooth fade */
.packages-card[data-active] {
  transition: background-image 0.4s ease-in-out;
}

/* Mobile styles for 3 in 1 image */
@media (max-width: 768px) {
  .packages-card {
    flex-direction: column;
    height: auto;
    background-size: cover;
    background-position: center;
  }

  .package-section {
    padding: 30px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transform: none !important; /* Prevent weird jump on tap */
  }

  .package-section:last-child {
    border-bottom: none;
  }

  .package-section h3 {
    font-size: 20px;
  }

  .package-section .location {
    display: block; /* Always show on mobile */
    font-size: 13px;
  }

  .explore-btn {
    display: inline-block; /* Always visible on mobile */
    margin-top: 8px;
  }
}

/* 2 about cards */
.about-section {
  background: url('images/hero4.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 100px 20px;
  flex-wrap: wrap; /* so cards stack on mobile */
}

.about-card {
  position: relative;
  width: 400px;
  max-width: 90%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* reset smoothly on leave */
.about-card.reset {
  transform: rotateX(0) rotateY(0);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}


.about-card .card-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 140px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.229);
  z-index: 0;
  pointer-events: none;
}

.about-card h2, 
.about-card p {
  position: relative;
  z-index: 1;
}

/* 📱 Mobile adjustments */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    gap: 20px;
    padding: 50px 10px;
  }

  .about-card {
    padding: 20px;
  }

  .about-card .card-number {
    font-size: 90px; /* smaller number on mobile */
  }

  .about-card h2 {
    font-size: 20px;
  }

  .about-card p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .about-card {
    padding: 15px;
  }

  .about-card .card-number {
    font-size: 70px;
  }

  .about-card h2 {
    font-size: 18px;
  }

  .about-card p {
    font-size: 13px;
  }
}


/* Team */
/* Section Styling */
.dreamteam-section {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

.dreamteam-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  margin-bottom: 5px;
  font-weight: bold;
}

.dreamteam-title {
  font-size: 36px;
  font-weight: bold;
  color: #1b78c7; /* theme blue */
  margin-bottom: 40px;
}

/* Card Container */
.dreamteam-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

/* Card */
.dreamteam-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;

  display: flex;               /* NEW */
  flex-direction: column;      /* NEW → stack items vertically */
  justify-content: space-between; /* NEW → push bottom content down */
}


.dreamteam-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Image */
.dreamteam-img-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible; /* allow image to pop out */
}

.dreamteam-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;        /* default circle */
  transition: all 0.3s ease; /* smooth animation */
}

.dreamteam-img-wrapper:hover img {
  transform: scale(1.2);     /* pop out */
  border-radius: 12px;       /* square with rounded edges */
  box-shadow: 0 6px 18px rgba(0,0,0,0.3); /* floating effect */
}


/* Text */
.dreamteam-name {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  transition: color 0.3s ease;
}

.dreamteam-card:hover .dreamteam-name {
  color: #1f4e79; /* theme blue */
}

.dreamteam-role {
  font-size: 14px;
  color: gray;
  margin-bottom: 15px;
}

.dreamteam-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;   /* instead of justify */
  text-align: center;
  line-height: 1.6;
  max-width: 280px;     /* restrict width for neat lines */
  margin: 0 auto;       /* center inside the card */
}



/* Social Icons */
.dreamteam-socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: auto;  /* pushes icons to bottom */
}


.dreamteam-socials a {
  color: gray;
  font-size: 18px;
  transform: scale(0.8);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.dreamteam-card:hover .dreamteam-socials a {
  color: #1f4e79; /* theme blue */
  transform: scale(1);
  opacity: 1;
}
/* blog section */
.blog-section {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  padding: 40px 20px;
}

.blog-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: bold;
}

.blog-title {
  font-size: 40px;
  margin-bottom: 40px;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.blog-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: visible; /* allow date to stick out */
  display: flex;
  flex-direction: column;
  height: 420px; /* fixed height for desktop */
  position: relative;
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-image {
  position: relative;
  height: 230px; /* increased cover image height */
  overflow: visible; /* allow image to come out of box */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* zoom out of box on hover */
.blog-image:hover img {
  transform: scale(1.1);
  z-index: 2;
  position: relative;
}

.blog-date {
  position: absolute;
  left: 20px; /* aligned with text padding */
  bottom: 25px;
  background: #1b78c7;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  z-index: 5;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.blog-date span {
  font-size: 16px;
  line-height: 1.2;
}

.blog-date small {
  font-size: 12px;
  display: block;
}

.blog-content {
  background: #1b78c7;
  padding: 15px 20px; /* left & right padding */
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* align text and button to left */
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  gap: 12px; /* equal spacing between elements */
}

.blog-author {
  font-size: 14px;
  color: white;
  margin: 0; /* gap handles spacing */
  text-align: left;
}

.blog-author i {
  margin-right: 5px;
}

.blog-content h4 {
  font-size: 16px;
  font-weight: bold;
  color: white;
  flex-grow: 1;
  margin: 0; /* gap handles spacing */
  line-height: 1.3;
  text-align: left;
}

.blog-btn {
  background: #135590dc;
  color: #fff;
  padding: 8px 15px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block; /* fit to text */
  transition: 0.3s;
}

.blog-btn:hover {
  background: #000000;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .blog-title {
    font-size: 28px;
  }

  .blog-subtitle {
    font-size: 20px;
  }

  .blog-cards {
    gap: 20px;
  }

  .blog-card {
    height: auto; /* allow flexible height on mobile */
  }

  .blog-image {
    height: 200px; /* slightly smaller for mobile */
  }

  .blog-content {
    padding: 12px 16px;
    gap: 10px;
  }

  .blog-btn {
    padding: 7px 12px;
    font-size: 13px;
  }

  .blog-date {
    padding: 6px 10px;
    font-size: 14px;
    left: 16px;
  }
}

#contact {
  background-image: url(images/background2.jpg);
}
/* Contact section - theme blue for icons */
#contact .text-primary {
  color: #1b78c7 !important;
}

/* Send button with theme blue */
#contact .btn-primary {
  background-color: #1b78c7;
  border-color: #1b78c7;
}

/* Keep hover as it is (black) */
#contact .btn-primary:hover {
  background-color: #000000;
  border-color: #000000;
}
@media (max-width: 767px) {
  footer .d-flex {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap; /* Prevent wrapping */
        gap: 10px; /* Small gap between items */
    }

    nav .hamburger {
        order: 1; /* First */
        flex-shrink: 0;
        width: auto; /* Prevent full width */
        margin: 0;
    }

    nav .logo {
        order: 2; /* Second */
        margin-left: auto;
        width: auto; /* Prevent full width */
    }

    nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }
}

@media (max-width: 768px) {
    body {
        text-align: center;
        padding: 0 15px;
    }

    h1, h2, h3, h4, h5, h6 {
        text-align: center;
        margin: 10px 0;
    }

    p {
        text-align: center;
        line-height: 1.6;
        margin-bottom: 15px;
    }
  }
  
  @media (max-width: 768px) {
  .places {
    justify-content: center; /* centers flex items horizontally */
    text-align: center;
  }
}

#makeitfull {
  display: flex;
  justify-content: center;
  transform: translateY(35px);
}
#makeitfull img {
  width: 50px;
}

/* Remove Bootstrap default caret */
.dropdown-toggle::after {
  display: none !important;
}
/* Show dropdown on hover */
@media (min-width: 992px) { /* Only for desktop */
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* optional: smooth dropdown alignment */
  }
}
.nav-item.dropdown:hover .fa-angle-down {
  transform: rotate(180deg);
  transition: 0.3s;
}


/* Mobile view mein Destinations dropdown ko center karna */
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    position: relative !important; /* absolute hatayenge */
    margin: 10px auto;             /* auto margin = center */
    width: 80%;                    /* chhota box */
    text-align: center;            /* links center */
  }

  .navbar .dropdown-menu .dropdown-item {
    text-align: center;
  }
}

.modal-overlay {
  display: none;              /* hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;    /* keep flex props but only when shown */
  align-items: center;
  z-index: 1000;
}

  .modal-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    position: relative;
  }
  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
  }

  .modal-box h3 {
  text-align: center;   /* centers the heading */
  margin-bottom: 15px;
}

.modal-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-box form button {
  background: #0a5db5;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;

  /* Center the button */
  align-self: center;
}

.modal-box form button:hover {
  background: #084a90;  /* hover effect */
}
.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #084a90; /* red hover */
}
/* Default placeholder style */
::placeholder {
  font-size: 16px;
}

/* Mobile fix */
@media (max-width: 480px) {
  ::placeholder {
    font-size: 14px;   /* smaller font on mobile */
  }

  .modal-box input,
  .modal-box textarea {
    font-size: 14px;   /* reduce input text size too */
  }
}

.two-inputs {
  display: flex;
  gap: 10px; /* spacing between inputs */
}

.two-inputs input {
  flex: 1; /* both take equal width */
}

/* On small screens, stack vertically */
@media (max-width: 600px) {
  .two-inputs {
    flex-direction: column;
  }
}


.navbar-brand img {
  max-height: 50px;
  width: auto;
}

.text-primary {
  color: #1b78c7 !important; /* apne theme ka color code */
}
