/* stylek.css */
/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  overflow-x: hidden
}
/* Modern Navbar Styles */
.navbar {
  background: linear-gradient(to left, #0cea26, #144dd1); /* Dark blue tone */
  position: sticky;
  top: 0;
  width: 100%;
  padding: 10px 0px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar .logo img {
  height: 80px;
  margin-left: 10%;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin-right: 4%;
  padding: 0;
  transition: all 0.5s ease;
}

.nav-links li {
  position: relative;
  font-size: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.nav-links a:hover {
  color: #f8f9fa;
  background-color: rgba(255, 255, 255, 0.1);
}

.contact-btn {
  padding: 12px 28px;
  background-color: #0408f4;
  color: black;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* Dropdown Styles */
.services-dropdown .dropdown-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 220px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.services-dropdown:hover .dropdown-list {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.services-dropdown .dropdown-list li a {
  color: #333;
  padding: 10px 20px;
  display: block;
  transition: all 0.2s ease;
}

.services-dropdown .dropdown-list li a:hover {
  background-color: #f8f9fa;
  color: #3498db;
  padding-left: 25px;
}

/* Hamburger Menu */
.menu-toggle {
  display: inline-block;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
 
  transition: all 0.3s ease;
}

/* Mobile View */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
    margin-right: 5%;
    
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #2c3e50;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 20px;
    gap: 20px;
    box-shadow: -5px 0 15px rgba(244, 241, 241, 0.1);
  }
  
  .nav-links.active {
    right: 0;
    margin: Auto;
  }
  
  .services-dropdown .dropdown-list {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
    opacity: 1;
    transform: none;
    background-color: rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    border-radius: 4px;
  }
  .services-dropdown .dropdown-list li a {
    color: white;
  }

  .services-dropdown.active .dropdown-list {
    display: block;
  }

  
  /* Animate hamburger to X when active */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Adjustments for smaller screens */
@media (max-width: 480px) {
  .navbar {
    padding: 15px 0px;
  }
  
  .navbar .logo img {
    height: 80px;
  }
}

/* Add to stylek.css */
/* Mobile dropdown styles */
@media (max-width: 992px) {
  .services-dropdown .dropdown-list {
    display: none;
    position: static;
    width: 100%;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    border-radius: 4px;
  }
  
  .services-dropdown.active .dropdown-list {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  
  .services-dropdown .dropdown-list.show {
    display: block;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.background-slideshow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to left, #0cea26, #144dd1); /* Dark blue tone */
  color: #f2f2f2;
  padding: 40px 40px;
  gap: 40px;
  justify-content: center;
  text-align: center;
  min-height: 150px;
}

.content {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
}

.content h1 {
  font-size: 4rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  padding: 20px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: white;
}

/* Adjustments for smaller screens */
@media (max-width: 480px) {
    .content h1 {
        text-align: center;
        font-size: 2rem;
    }
}

/* ============================= */
/* Case Study Grid Layout */
/* ============================= */

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 3% 5%;
}


/* ============================= */
/* Case Study Card */
/* ============================= */

.case-study-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden; /* Required for image edge-to-edge */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}


/* ============================= */
/* Image Section */
/* ============================= */

.case-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Full coverage without distortion */
    display: block;
}


/* ============================= */
/* Card Content */
/* ============================= */

.case-content {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0b1c2d;
    margin-bottom: 12px;
    line-height: 1.3;
}

.case-content p {
    font-size: 15px;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}


/* ============================= */
/* Button */
/* ============================= */

.case-btn {
    align-self: flex-start;
    padding: 10px 24px;
    background: linear-gradient(to left, #0cea26, #144dd1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.case-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* ============================= */
/* Responsive Adjustments */
/* ============================= */

@media (max-width: 768px) {
    .case-image {
        height: 180px;
    }

    .case-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .case-content h3 {
        font-size: 18px;
    }

    .case-content p {
        font-size: 14px;
    }
}

