* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: 'Poppins', sans-serif; */

  /* background: #fff; */
  background: #e5f7fc;
  overflow-x: hidden;
}

/* Navbar */
nav {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background: #ff6600; */
  /* background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); */
  background: transparent;
  z-index: 1000;
}

.logo {
  font-size: 42px;
  /* font-weight: bold; */
  /* color: rgb(255, 137, 28); */
  color: white;
  line-height: .4;
    margin-left: -380px;
  margin-top: 10px;
  transition: 0.3s;
  /* font-family: "Source Code Pro", monospace; */
  /* font-family: 'Courier New', Courier, monospace; */
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-right: 50px;
}

.full {
  font-size: 11px;
  margin-top: -50px;
  /* font-weight: 600; */
  /* color: #fe8929; */
  color: white;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.nav-links a {
  text-decoration: none;
  /* color: rgb(255, 137, 28); Default color */
  color: white;
  font-size: 1rem;
  letter-spacing: 2.9;
  font-weight: 600;
  transition: 0.3s;
  text-transform: uppercase;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  /* font-family: 'Courier New', Courier, monospace; */
}

.nav-links a:hover {
  color: #ff8c19;
  /* Orange on hover */
}

.nav-links a:active {
  border-bottom: 2px solid #f97203;
  color: #ff9524;
  /* Orange when active */
}

nav.scrolled {
  /* background: rgb(246, 107, 1); Orange background after scroll */
  /* background-color:#f97203; */
  background-color:  #ededef;
  height: 80px;


}
nav.scrolled .full{
  /* color: #f97203; */
  color: rgb(15, 7, 1);
  
  
}

nav.scrolled .logo {
  font-size: 42px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  line-height: .4;
  /* margin-right: 10px; */
  /* font-weight: bold; */
  /* margin-top: -5px; */
  /* color: #f97203; */
  color: rgb(255, 133, 27);
}

nav.scrolled .nav-links a {
  /* color: rgb(251, 249, 249); Links turn white after scroll */
  /* color: #f97203; */
  color: rgb(251, 135, 20);
  font-weight: 600;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

nav.scrolled .nav-links a:hover {
  color: #090300;
}

nav.scrolled .nav-links a:active {
  border-bottom: 2px solid #090000;
  color: #0b0000;
}

.logoimg {
  width: 60px;
  height: 60px;
  margin-left: -10px;
  /* margin-top: 6px; */

}

/* Hamburger / Close Icon */
.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 2rem;
  color: #d19090;
  /* color: white; */
  /* color: rgb(210, 240, 250); */
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  /* margin-top: 80px; */
  background: rgba(63, 63, 63, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
  z-index: 999;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu a {
  color: white;
  text-transform: uppercase;
  font-size: .9rem;
  margin: 10px 0;
  text-decoration: none;
}

.mobile-menu a:hover {
  color: black;
}

/* Hero Section */
.hero {
  margin-top: 0px;
  height: 100vh;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  transition: background-image 1s ease-in-out;
  animation: zoomBackground 15s ease-in-out infinite;
}

/* Keyframes for zoom effect */
@keyframes zoomBackground {
  0% {
    background-size: 100% 100%;
  }
  50% {
    background-size: 110% 110%;
  }
  100% {
    background-size: 100% 100%;
  }
}


.hero img{
  width: 20px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  /* font-family: "Roboto", sans-serif; */
  color: rgb(248, 251, 252);
  /* color: rgb(48, 52, 54); */
  padding: 20px;
  max-width: 800px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  margin-top: 180px;
  transition: opacity 0.5s ease-in-out;
}
.hero-content.fade-out {
  opacity: 0;
}

.hero-content.fade-in {
  opacity: 1;
}
.hero-content h1 {
  /* font-size: 1.0rem; */
  font-size: 68px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.5rem;
  font-family: "Source Code Pro", monospace;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 1024px) {
  .logo {
    font-size: 1.5rem;
  }

  .nav-links {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    background-color: #f97203;
  }

  .menu-icon {
    display: block;
    /* color: #f97203; */
  }

  .logoimg {
    margin-left: -15px;
    margin-top: 6px;
  }

  .logo {
    font-size: 30px;
    content: "SAFARA";
    margin-left: 15px;
    margin-top: 40px;
    color: white;
    /* Change text for mobile */
  }

  .hero {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 42px;
    content: "SAFARA";
    margin-left: -42px;
    color: #fcfbfa;
    line-height: .4;
    margin-top: 17px;
    /* Change text for mobile */
  }
  .full{
    color: #fcfaf8;
  }

  nav.scrolled .logo {
    font-size: 42px;
    line-height: .4;
    /* margin-right: 20px; */
    margin-top: 16px;
    margin-left: -36px;
  }
}

/* Page Two - Updated for Luxury Professional Look */
.heros-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 80px 20px;
  /* background: #797777; */
  /* background: #e5f7fc; */
  background:  rgba(69, 67, 67, 0.3);

}

.circle-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
  /* background-color: #003366; */
  
}

.circl-wrapper {
  position: absolute;
  width: 320px;
  margin-top: 0px;
  margin-right: 650px;
  height: 320px;
}
.circl-text {
  width: 100%;
  height: 100%;
  animation: spin 20s linear infinite;
}

.circl-text text {
  font-size: 14.5px;
  font-weight: 600;
  fill: #fa8815;
  /* Dark navy */
  letter-spacing: 4.0px;
}

.circ-wrapper {
  position: absolute;
  width: 180px;
  margin-top: 0px;
  margin-right: 650px;
  height: 180px;
}
.circ-text {
  width: 100%;
  height: 100%;
  animation: spin 20s linear infinite;
}

.circ-text text {
  font-size: 14.5px;
  font-weight: 600;
  fill: #108d07;
  /* Dark navy */
  letter-spacing: 4.0px;
}

.logos-center {
  width: 80px;
  height: 80px;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: all 0.4s ease-in-out;
}

.logos-center:hover {
  transform: translate(-50%, -50%) scale(1.1);
  filter: drop-shadow(0 0 10px #0d1b2a) brightness(1.1);
}

.circle-text {
  width: 100%;
  height: 100%;
  animation: spin 20s linear infinite;
}

.circle-text text {
  font-size: 14px;
  font-weight: 600;
  fill: #f9f8f7;
  /* Dark navy */
  letter-spacing: 4.0px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.text-side {
  max-width: 600px;
  text-align: left;
}

.text-side h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #1a2b49;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.text-side h1 {
  font-family: 'Playfair Display', serif;
  font-size: 70px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
  margin: 0 0 30px 0;
}

.text-side p {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #333;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .heros-section {
    flex-direction: column;
    text-align: center;
  }

  .text-side {
    margin-top: 30px;
    text-align: center;
  }
  .circl-wrapper{
    margin-left: 650px;
    margin-bottom: 400px;
  }
.circ-wrapper {
  margin-left: 650px;
  margin-bottom: 400px;

}
.circle-wrapper{
margin-top: 30px;
}
}


/* page three   */
.safara-sections {
  display: flex;
  height: 90vh;
  width: 100%;
  overflow: hidden;
  background: #e5f7fc;
}

.safara-card {
  height: 70vh;
  width: 100%;
  position: relative;
  flex: 1;
  background-size: cover;
  background-position: center;
  transition: flex 0.5s ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.safara-card:hover {
  flex: 3;
}

.safara-layer {
  width: 100%;
  height: 100%;
  background-color: rgba(11, 4, 0, 0.6);
  transition: background 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.safara-card:hover .safara-layer {
  background-color: rgba(11, 4, 0, 0.4);
}

.safara-heading {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 170px;
  letter-spacing: 2px;
  color: #fff;
  transition: opacity 0.3s ease;
}

.safara-card:hover .safara-heading {
  opacity: 0;
}

.safara-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: #fff;
}

.safara-info {
  position: absolute;
  top: 0;
  left: 100%;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
}

.safara-card:hover .safara-info {
  left: 0;
  opacity: 1;
}

.safara-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.safara-info p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.safara-info a {
 
  background: #fcfafa;
  color: #fc7a24;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  width: fit-content;
  transition: background 0.3s ease;
}

.safara-info a:hover {
  color: #fff;
  background-color: #fe871f;
}
@media (max-width: 768px) {
  .safara-sections {
    flex-direction: row;
    flex-wrap: nowrap;
    height: 70vh;
    margin-bottom: 40px;
  }

  .safara-card {
    flex: 1;
  }

  .safara-heading {
    writing-mode: vertical-rl;
    margin-top: 0px;
    transform: rotate(180deg);
  }

  .safara-card:hover .safara-heading {
    opacity: 0;
  }

  /* Show only the Learn More button at the bottom on mobile */
  .safara-info {
    position: absolute;
    bottom: 20px;
    margin-top: 140px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    width: 100px;
    background: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
  }

  .safara-info h2,
  .safara-info p {
    display: none;
  }

  .safara-info a {
    background: #fcfafa;
    color: #fc7a24;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
  }

  @keyframes slideInRight {
    0% {
      transform: translateX(100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .safara-info a:hover {
    color: #fff;
    
    background-color: #fe871f;
  }
}

/* service  */
.safara-services-section {
  padding: 60px 20px;
  background-color: #e5f7fc;
  /* background: #e5f7fc; */
  text-align: center;
  margin-top: -80px;
}

.safara-services-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #002147; /* Navy Blue */
  margin-bottom: 20px;
}

.safara-services-section p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.safara-services-btn {
  display: inline-block;
  background-color: #fa8815; /* Orange */
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.safara-services-btn:hover {
  background-color: #e07000;
}

@media (max-width: 600px) {
  .safara-services-section h2 {
    font-size: 28px;
  }

  .safara-services-section p {
    font-size: 16px;
  }

  .safara-services-btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* page four  */
/* Our Achievements Section */
.four {
  min-height: 90vh;
  padding: 50px 20px;
  margin-top: 40px;
  /* background: #e6e8eb; */
  background: #e5f7fc;
  display: flex;
  align-items: center;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.achievements-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}


.achievements-image img {
  width: 100%;
  height: 80vh;
  max-width: 600px;
  /* border-radius: 15px; */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.achievements-content {
  flex: 1;
  margin-top: -60PX;
  margin-right: 30px;
  max-width: 600px;
}

.achievements-content h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  color: #ff6600;
  border-bottom: 2px solid #f97203;
  margin-bottom: 20px;
  /* margin-left: 20px; */
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  /* Center the text */
}

.achievements-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #010917;
  /* margin-left: 15px; */
  margin-bottom: 10px;
  /* line-height: 1.4; */
}

.achievements-content p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  color: #100101;
  /* margin-bottom: 30px; */
  margin-top: 20px;
  line-height: 2.1;
  text-align: justify;
  /* Ensure text is justified for readability */
}




/* Responsive */
@media (max-width: 992px) {
  .achievements-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .achievements-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .four {
    padding: 40px 15px;
    /* margin-top: -10px; */
  }
  .achievements-image img{
    height: auto;
  }
  .achievements-content{
    margin-left: 30px;
    margin-top: 0px;
  }
  .achievements-content h2 {
    font-size: 20px;
  }

  .achievements-content p {
    font-size: 14px;
  }


}



/* Hero Section */


/* Bottom overlay for content */
/* Base styles */
.her-section {
  /* margin-top: 220px; */
  background: url('https://cdn.pixabay.com/photo/2022/12/07/14/03/globe-7641301_1280.jpg') no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  position: relative;
  opacity: 0.9; /* Makes the background slightly transparent */
}

/* Bottom overlay for content */
.her-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(227, 246, 252, 1); /* Semi-transparent background */
  padding: 40px 20px;
  text-align: center;
}

.her-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.her-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #5b5a5a;
}

.stats-wrapper {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-box h2 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .her-section {
    margin-top: 70px;
    height: 80vh; /* Adjusting height for smaller screens */
    background-position: center center; /* Ensures background is centered */
    background-attachment: scroll; /* Fixes background image issue on mobile */
  }

  .her-content {
    padding: 30px 15px; /* Adjust padding for smaller screens */
  }

  .her-content h1 {
    font-size: 1.8rem; /* Reducing font size for mobile */
  }

  .her-content p {
    font-size: 1rem; /* Adjusting paragraph font size */
    margin-bottom: 30px;
  }

  .stats-wrapper {
    flex-direction: column; /* Stacks the stats vertically */
    gap: 30px; /* Smaller gap between items */
  }

  .stat-box h2 {
    font-size: 1rem; /* Adjusts heading size for smaller screens */
  }

  .stat-box p {
    font-size: 1.5rem; /* Reducing the size of the stats values */
  }
}

/* For very small devices like phones in portrait mode */
@media (max-width: 480px) {
  .her-section {
    height: 70vh; /* Further adjustment of height for smaller screens */
    background-position: center center; /* Ensures background is centered */
    background-attachment: scroll; /* Fix for mobile devices */
  }

  .her-content h1 {
    font-size: 1.5rem; /* Smaller font for the title */
  }

  .her-content p {
    font-size: 0.9rem; /* Further reducing paragraph size */
    margin-bottom: 20px;
  }

  .stat-box h2 {
    font-size: 0.9rem; /* Adjusting for smaller screens */
  }

  .stat-box p {
    font-size: 1.3rem; /* Further reducing stats font size */
  }
}

/* Fade slide animation */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Fixes */


.country-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  /* background-color: #f4f4f4; */
  background: #e5f7fc;
}

.country-tile {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: cardEntrance 1s ease;
}

.country-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tile-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tile-info {
  padding: 20px;
}

.tile-info h3 {
  margin-bottom: 10px;
  /* color: #004080; */
  color: #f97203;
}

.tile-info p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* @keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .intro-content-box h1 {
    font-size: 2rem;
  }

  .intro-content-box p {
    font-size: 0.95rem;
  }
} */

@media (max-width: 480px) {
  .intro-content-box {
    padding: 20px;
  }

  .intro-content-box h1 {
    font-size: 1.5rem;
  }

  .intro-content-box p {
    font-size: 0.9rem;
  }
}


/* footer  */
.footer-modern {
  /* background: #0d0d0d; */
  color: #090000;
  padding: 60px 20px 30px;
  margin-top: 40px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-modern .container {
  max-width: 1200px;
  margin: auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  /* gap: 40px; */
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-logo img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.footer-logo h2 {
  font-size: 20px;
  color: #0f0101;
  margin: 0;
}

.footer-logo p {
  margin: 0;
  font-size: 14px;
  color: #626263;
}

.footer-text {
  margin-top: 15px;
  font-size: 14px;
  color: #323232;
}

.discover-btn {
  display: inline-block;
  margin-top: 20px;
  background: #ff6600;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
}

.discover-btn:hover {
  background: #e85500;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #0c0000;
}


.footer-column h2 {
  color: #000;
  margin-bottom: 15px;
}

.contact-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: .2;
}

.contact-item i {
  color: orange;
  min-width: 20px;
}

.contact-item a {
  color: #003366;
  text-decoration: underline;
}

.location-box {
  background-color: #001f4d;
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.location-box i {
  color: orange;
  margin-top: 5px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #464646;
  text-decoration: none;
  font-size: 14px;
}

.footer-column ul li a:hover {
  color: #fc7a24;
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 60px);
  gap: 18px;
}

.footer-gallery img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #222;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #4d4c4c;
}

.footer-socials a {
  color: #474646;
  margin-left: 15px;
  font-size: 18px;
}

.footer-socials a:hover {
  color: #fa8130;

}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Section Wrapper */
.safara-services-section {

  padding: 90px 20px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Heading & Text */
.services-title {
  font-size: 38px;
  font-weight: 700;
  color: #ff7b00;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.services-text {
  font-size: 17px;
  color: #d4d4d4;
  max-width: 650px;
  margin: 0 auto 50px;
}

/* Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  align-items: stretch;
}

/* Service Card */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 123, 0, 0.4);
  cursor: pointer;
  background: #111;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

/* Image */
.service-image {
  width: 100%;
  height: 100%;
  flex: 1;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Overlay Content */
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.3)
  );
  padding: 25px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  /* border-top: 3px solid #ff7b00; */
}

.service-overlay h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #fa8007;
}

.service-overlay p {
  font-size: 14px;
  color: #e6e6e6;
  line-height: 1.6;
}


.service-card:hover .service-image img {
  transform: scale(1.08);
  opacity: 0.35;
}

.service-card:hover .service-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Button */
.safara-services-btn {
  margin-top: 50px;
  padding: 13px 34px;
  font-size: 16px;
  background: #ff7b00;
  color: #111;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s ease;
  border: 1px solid transparent;
}

.safara-services-btn:hover {
  background: transparent;
  color: #ff7b00;
  border-color: #ff7b00;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .services-title {
    font-size: 30px;
  }

  .services-text {
    font-size: 15px;
    margin-bottom: 35px;
  }

  .service-overlay {
    padding: 20px 16px;
  }

  .service-overlay h3 {
    font-size: 18px;
  }

  .service-overlay p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .safara-services-section {
    padding: 60px 15px;
  }

  .safara-services-btn {
    width: 100%;
  }
}

/* Make overlay always visible on touch devices (no hover problem) */
@media (hover: none) and (pointer: coarse) {
  .service-card .service-image img {
    opacity: 0.35;
  }

  .service-card .service-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}
