/* General Reset */
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root variables */
:root {
  --primary-color: #0b2e24;
  --white: #ffffff;
  --hover-color:white;
}

/* Navigation Bar Styling */
nav {
  position: fixed; /* Keeps the nav fixed at the top of the viewport */
  top: 0; /* Aligns it to the top */
  width: 100%; /* Ensures it spans the full width of the viewport */
  z-index: 1000; /* Ensures the nav stays above other elements */
  background-color: #0b2e24; /* Keeps the background consistent */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for better visibility */
}

/* Navigation Container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* Logo Styling */
.nav-logo img {
  width: 140px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style-type: none;
  gap: 20px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  transition: color 0.3s ease-in-out;
}

.nav-link:hover {
  color: var(--hover-color);
}

/* Bars Icon for Mobile */
.bars {
  display: none;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Hide navigation menu by default */
  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #0b2e24;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 10px;
    width: 200px;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow for dropdown menu */
  }

  /* Display navigation menu when active */
  .nav-menu.active {
    display: flex;
  }

  /* Display bars icon for mobile */
  .bars {
    display: block;
  }

  .nav-link {
    font-size: 16px;
    margin: 5px 0;
  }
}



/* Meet Designer Section */
.meet-designer-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* Default stacking layout */
  padding-top: var(--navbar-height);
}

/* Video Background */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-container video {
  width: 100%;
  height: 250%;
  object-fit: cover;
}

/* Container */
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  z-index: 2;
}

.left-section {
  flex: 2;
  color: white;
}

.text-overlay {
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
  max-width: 500px;
}

.text-overlay h1 {
  font-size: 2.5rem;
  margin: 0;
}

.text-overlay span.line-one,
.text-overlay span.line-two {
  display: block;
}

.designer-form {
  margin-top: 30px;
  margin-left: auto;
  width: 350px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 25px;
  z-index: 10;
}

.designer-form input,
.designer-form button {
  width: 100%;
  padding: 25px;
  margin-bottom: 25px;
}

.designer-form input {
  padding: 10px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 20px;
}

.designer-form button {
  background: linear-gradient(145deg, #ff0000, #d40000);
  color: white;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.designer-form button:hover {
  background: linear-gradient(145deg, #d40000, #a80000);
  transform: translateY(-3px);
}

/* Flexbox for Terms */
.terms-container {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.terms-container input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
}

/* Responsive Adjustments */

/* Medium devices */
@media (max-width: 768px) {
  .container {
    flex-direction: column; /* Stack sections vertically */
    align-items: center;
  }

  .designer-form {
    width: 300px;
    padding: 10px;
    margin-top: 20px; /* Add spacing between stacked items */
  }

  .text-overlay h1 {
    font-size: 1.8rem;
  }

  input,
  button {
    font-size: 0.85rem;
    padding: 8px;
  }
}

/* Small devices */
@media (max-width: 480px) {
  .meet-designer-section {
    display: flex;
    flex-direction: column; /* Stack sections vertically */
    padding: 1rem;
  }

  /* Text Overlay */
  .text-overlay {
    order: 1; /* Display text first */
    text-align: center; /* Center-align text */
    margin-bottom: 20px; /* Add spacing below text */
  }

  .text-overlay h1 {
    font-size: 1.5rem;
  }

  .text-overlay .line-one {
    font-size: 1.8rem;
    margin-top: 25px;
  }

  .text-overlay .line-two {
    font-size: 1.4rem;
  }

  /* Video Container */
  .video-container {
    order: 2; /* Display video next */
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 1rem; /* Add spacing below video */
  }

  .video-container video {
    width: 100%;
    height:250px; /* Set height for smaller screens */
    object-fit: cover;
  }

  /* Designer Form */
  .designer-form {
    order: 3; /* Display form last */
    width: 100%;
    padding: 15px;
    box-shadow: none; /* Remove box shadow for a cleaner look */
    margin-top: 20px;
  }

  .designer-form input,
  .designer-form button {
    font-size: 0.8rem;
    padding: 6px;
  }
}
/* General Styles for Vision-Mission Section */
.vision-mission {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background-color: #f9f9f9;
  margin: 3rem auto;
  max-width: 1200px;
}

/* Unified Card Styles */
.card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
}

/* Specific Section Styles */
.img-section {
  flex: 1;
  max-width: 500px;
}

.img-section h3 {
  margin: 1.25rem;
}

.img-section .card {
  line-height: 1.8;
}

.pen-vision {
  flex: 1;
  max-width: 500px;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .vision-mission {
    gap: 1.5rem;
    margin: 2rem;
  }

  .card {
    padding: 1.8rem;
  }

  .card h3 {
    font-size: 1.4rem;
  }

  .card p {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 768px) {
  .vision-mission {
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem;
  }

  .img-section,
  .pen-vision {
    max-width: 100%;
  }

  .card {
    padding: 1.5rem;
  }

  .card h3 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .vision-mission {
    padding: 1rem;
    margin: 1rem;
  }

  .card {
    padding: 1rem;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 360px) {
  .card {
    padding: 0.8rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.8rem;
  }
}




/* Services */

/* Services */
/* Parent Container */
.services h1 {
  margin-top: 25px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px; /* Reduced gap for better alignment */
  padding: 40px;
  width: 100%;
}

/* Individual Section Styling */
.section {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 15px;
  color: black;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  height: 300px;
  width: 100%;
  transition: transform 0.4s ease-in-out, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
  z-index: 0;
  aspect-ratio: 4 / 3;
  background-color: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Specific Background Images */
.interior-design {
  background-image: url('aboutimg/service1.jpg');
}

.construction-solutions {
  background-image: url('aboutimg/service2.png');
}

.project-management {
  background-image: url('assets/consultation.webp');
}

.smart-realty {
  background-image: url('assets/project.jpeg');
}
/* Heading Styling */
h2 {
  font-size: 20px;
  margin: 0;
  color: #333;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
  border-radius: 8px;
  position: absolute;
  top: 15px;
  left: 15px;
  width: calc(100% - 30px);
  text-align: center;
  font-family: 'Roboto', sans-serif;
  z-index: 2;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Paragraph Styling */
.key {
  font-size: 16px;
  margin: 0;
  color: #fff;
  background-color: #fff;
  padding: 12px;
  border-radius: 8px;
  position: absolute;
  bottom: 15px;
  left: 15px;
  width: calc(100% - 30px);
  text-align: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.3s ease;
}

/* Hover Effect */
.section:hover h2 {
  transform: translateY(-10px);
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
}

.section:hover .key {
  opacity: 1;
  transform: translateY(-10px);
}

/* Ensure Gap Between Heading and Paragraph */
.key {
  top: auto;
}

/* Responsive Design */

/* For tablets and smaller screens */
@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .section {
    height: 250px;
  }

  h2 {
    font-size: 18px;
  }

  .key {
    font-size: 14px;
  }
}

/* For mobile devices */
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section {
    height: 200px;
  }

  h2 {
    font-size: 16px;
  }

  .key {
    font-size: 12px;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .services-container {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .section {
    height: 180px;
  }

  h2 {
    font-size: 14px;
  }

  .key {
    font-size: 10px;
  }
}

/* Why */

/* General Section Styling */
.luxury-why-choose {
  background-color: #fff; /* White background */
  color: #000; /* Black text */
  padding: 60px 20px;
  text-align: center;
}

.luxury-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.luxury-section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
}

.luxury-highlight-text {
  color: #d4af37; /* Gold color */
  font-style: italic;
}

.luxury-feature-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
}

.luxury-feature-card {
  background-color: #fff; /* White card background */
  border: 2px solid #d4af37; /* Gold border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.luxury-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.luxury-feature-card h3 {
  font-size: 1.5rem;
  color: #000; /* Gold color */
  margin-bottom: 15px;
}

.luxury-feature-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333; /* Darker text color for readability */
}

/* Responsive Design */
@media (max-width: 1200px) {
  .luxury-section-title {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .luxury-feature-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .luxury-feature-cards-container {
    grid-template-columns: 1fr;
  }

  .luxury-section-title {
    font-size: 1.5rem;
  }

  .luxury-feature-card {
    padding: 20px;
  }
}





/* Designer Button */
.designer-button {
  display: inline-block;
  background: linear-gradient(to right, #b78628, #e8c278);
  color: #fff;
  border: none;
  padding: 10px 20px;
  /* Reduced padding */
  font-size: 14px;
  /* Reduced font size */
  border-radius: 5px;
  margin-top: 20px;
  cursor: pointer;
  transition: transform 0.2s;
}

.designer-button:hover {
  transform: scale(1.05);
}

/* Right Content */
.right-content {
  flex: 2;
  /* Makes the right content wider */
  display: flex;
  flex-direction: column;
  /* Stack the step cards vertically */
  width: 100%;
  /* Ensures it takes full width of available space */
}

.step-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 15px;
  /* Reduced padding */
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #b78628;
  /* Reduced height for each box */
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-icon {
  font-size: 28px;
  /* Adjusted font size */
  color: #b78628;
  margin-right: 20px;
}

.step-info {
  flex: 1;
}

.step-info h3 {
  font-size: 18px;
  /* Slightly smaller text */
  color: #333;
  margin-bottom: 5px;
  /* font-family: 'Times New Roman', Times, serif; */
}

.step-info ul {
  font-size: 18px;
  /* Slightly smaller text */
  color: #333;
  margin-bottom: 5px;
  font-family: 'Roboto', sans-serif;
}

.step-info p {
  font-size: 14px;
  /* Reduced font size */
  color: #666;
}

.step-number {
  font-size: 25px;
  /* Reduced font size */
  color: #b78628;
  font-weight: bold;
}


.two {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  margin-bottom: 20px
}

.five {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
}

.ten {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
}


/* Services Container */
.services-container {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9fde3;
}

.services-container h1 {
  font-size: 28px;
  font-weight: normal;
  color: #333;
  margin-bottom: 10px;
}

.services-container p {
  font-size: 18px;
  color: #444444;
  margin-bottom: 40px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  width: 90%;
  max-width: 400px;
}

.service-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.service-card h3 {
  font-size: 20px;
  margin-top: 20px;
  color: #333;
  transition: color 0.3s ease;
  font-weight: normal;
}

/* Hover Effects */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card:hover h3 {
  color: #0c0707;
}
.service-card button {
  color: white;
  background: red;
  border: red;
  padding: 10px;
  border-radius: 15px;
}
/* Responsive Styles */
@media (max-width: 768px) {
  .services-container h1 {
    font-size: 24px;
  }

  .services-container p {
    font-size: 16px;
  }

  .service-card {
    padding: 15px;
  }

  .service-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .services-container {
    padding: 30px 10px;
  }

  .services-container h1 {
    font-size: 20px;
  }

  .services-container p {
    font-size: 14px;
  }

  .service-card {
    width: 100%;
    padding: 10px;
  }

  .service-card h3 {
    font-size: 16px;
  }
}



/* Container Styling */
.fan {
  max-width: 1200px;
  /* Restrict the width for better readability */
  margin: 20px auto;
  /* Center align with vertical spacing */
  padding: 30px;
  /* background-color: #fefefe;  */
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
  /* border-radius: 15px;  */
  text-align: left;
  /* Center align text */
  font-family: 'Roboto', sans-serif;
}

/* Heading Styling */
.fanone {
  font-size: 1.5rem;
  /* Large and impactful heading size */
  color: #333;
  /* Dark text color for emphasis */
  margin-bottom: 20px;
  /* text-transform: uppercase; */
  /* font-weight: bold; */
  letter-spacing: 0.5px;
  /* Slight spacing for style */
}

/* Paragraph Styling */
.fantwo {
  font-size: 1rem;
  /* Slightly larger font size for readability */
  color: #555;
  /* Soft gray for elegant text */
  line-height: 1;
  /* Comfortable line spacing */
  margin: 15px 0;
  /* Add spacing between paragraphs */
}

/* Link Styling (Optional if you include links in the text) */
.fantwo a {
  color: #b78628;
  /* Gold color for links to match luxury theme */
  text-decoration: none;
  /* Remove underline */
  /* font-weight: bold; */
}

.fantwo a:hover {
  text-decoration: underline;
  /* Add underline on hover */
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.book {
  text-align: center;
  margin: 20px 0;
}

.textbook {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}

/* Team Container */
.team-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
  background-color: #f8f9fa;
}

.carousel-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

/* Flip Card Base Styles */
.flip-card {
  background-color: transparent;
  width: 300px;
  height: 400px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  background: #333;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.info-block {
  text-align: left;
  font-size: 14px;
}

.info-block h2 {
  font-size: 18px;
  margin-bottom: 5px;
}

.info-block h4 {
  font-size: 16px;
  color: #ffc107;
}

.info-block ul {
  margin: 0;
  padding: 0 0 0 20px;
}

/* Media Queries for Responsive Design */

/* Medium Screens (Tablets) */
@media (max-width: 768px) {
  .carousel-wrapper {
    padding: 10px;
  }

  .flip-card {
    width: 100%; /* Full width */
    height: auto;
  }

  .info-block {
    font-size: 12px;
  }

  .info-block h2 {
    font-size: 16px;
  }

  .info-block h4 {
    font-size: 14px;
  }
}

/* Small Screens (Mobile) */
@media (max-width: 576px) {
  .carousel-wrapper {
    padding: 10px;
  }

  .flip-card {
    width: 100%; /* Full width for mobile screens */
    height: auto; /* Adjust height automatically */
    margin-bottom: 20px; /* Spacing between cards */
  }

  .flip-card-inner {
    height: auto;
  }

  .flip-card-front img {
    height: auto;
    object-fit: cover;
  }

  .flip-card-back {
    font-size: 12px;
    padding: 8px;
    text-align: center;
  }

  .info-block h2 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .info-block h4 {
    font-size: 14px;
    color: #ffc107;
  }

  .info-block p,
  .info-block ul li {
    font-size: 12px;
    line-height: 1.5;
  }

  .carousel {
    flex-direction: column; /* Stack items vertically */
    gap: 10px; /* Spacing between cards */
    justify-content: center; /* Center align cards */
  }
}

@media (max-width: 480px) {
  .carousel-wrapper {
    padding: 8px; /* Reduce padding for smaller screens */
  }

  .flip-card {
    width: 100%; /* Full width for narrow screens */
    height: auto; /* Adjust height automatically */
    margin-bottom: 15px; /* Slightly smaller spacing between cards */
  }

  .flip-card-inner {
    height: auto; /* Let content dictate height */
  }

  .flip-card-front img {
    width: 100%; /* Ensure image takes up full width of its container */
    max-width: 100%; /* Prevent image overflow */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure proper display */
    object-fit: cover; /* Scale image appropriately */
    border-radius: 8px; /* Add rounded corners for better aesthetics */
  }

  .flip-card-back {
    font-size: 10px; /* Slightly smaller text */
    padding: 6px; /* Adjust padding for smaller screens */
    text-align: center; /* Center-align text */
  }

  .info-block h2 {
    font-size: 14px; /* Smaller font for titles */
    margin-bottom: 6px; /* Adjust spacing */
  }

  .info-block h4 {
    font-size: 12px;
    color: #ffc107; /* Retain emphasis color */
  }

  .info-block p,
  .info-block ul li {
    font-size: 10px; /* Smaller text for descriptions */
    line-height: 1.4; /* Tighter line spacing */
  }

  .carousel {
    flex-direction: column; /* Stack items vertically */
    gap: 8px; /* Reduce spacing between cards */
    justify-content: center; /* Center align cards */
  }
}

  /* Continue Media Queries for Smaller Screens (360px) */
  @media (max-width: 360px) {
    .carousel-wrapper {
      padding: 5px; /* Minimize padding for ultra-small screens */
    }

    .flip-card {
      width: 100%; /* Ensure the cards stretch across the screen */
      height: auto; /* Dynamically adjust height */
      margin-bottom: 10px; /* Add smaller spacing between stacked cards */
    }

    .flip-card-inner {
      height: auto; /* Adjust height to fit content */
    }

    .flip-card-front img {
      width: 100%; /* Full-width images */
      max-height: 200px; /* Limit height to prevent oversized images */
      object-fit: cover; /* Maintain aspect ratio */
    }

    .flip-card-back {
      font-size: 10px; /* Reduce text size for readability on smaller screens */
      padding: 6px; /* Adjust padding */
    }

    .info-block h2 {
      font-size: 14px; /* Reduce heading size */
      margin-bottom: 5px;
    }

    .info-block h4 {
      font-size: 12px; /* Smaller subheading text */
    }

    .info-block p,
    .info-block ul li {
      font-size: 10px; /* Further reduction for descriptions */
      line-height: 1.4; /* Compact line height for smaller space */
    }

    .carousel {
      flex-direction: column; /* Stack items vertically for better readability */
      gap: 8px; /* Adjust spacing between cards */
      justify-content: center; /* Center align the cards */
    }
  }


  /* Team Section */
.team-section {
  padding: 40px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.team-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Team Card Styles */
.team-card {
  width: 300px;
  height: 400px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.team-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block; /* Ensures proper rendering */
}

.card-back {
  background-color: #333;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.card-info {
  text-align: left;
  font-size: 14px;
}

.card-info h2 {
  font-size: 18px;
  margin-bottom: 5px;
}

.card-info h4 {
  font-size: 16px;
  color: #ffc107;
}

.card-info ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.card-info ul li {
  margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .team-container {
    gap: 15px;
  }

  .team-card {
    width: 100%;
    max-width: 280px;
    height: 350px; /* Adjusted height for smaller screens */
  }

  .card-front img {
    object-fit: contain; /* Ensures image is fully visible */
  }

  .card-info h2 {
    font-size: 16px;
  }

  .card-info h4 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .team-card {
    width: 100%;
    max-width: 250px;
    height: 300px;
  }

  .card-front img {
    object-fit: cover; /* Adjusted for smaller screens */
  }

  .card-info {
    font-size: 12px;
  }
}



/* Portfolio Button */
.portfolio-button {
  padding: 8px 16px; /* Smaller padding */
  font-size: 1.2rem; /* Smaller font size */
  color: #fff;
  background-color: #0ba734;
  border: none;
  border-radius: 8px; /* Subtler border radius */
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 10px auto 50px; /* Center the button with bottom margin */
  display: block; /* Ensure the button respects margin auto */
  width: 250px; /* Button width adapts to content */
  margin-top: 25px
}

.portfolio-button a {
  color: #fff;
  text-decoration: none;
}

.portfolio-button:hover {
  background-color: #0ba734;
}

/* Footer Section */
body {
  font-family: Arial, sans-serif;
}

footer {
  background-color: #0b2e24;
  color: #ffffff;
  padding: 20px 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-container div {
  flex: 1 1 100px;
}

.logo1 {
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
  margin-left: 30px;
}

.about-section p {
  line-height: 1.6;
  font-size: 14px;
  margin-top: 10px;
  /* margin-left: 30px; */
  text-align: justify;
}

.servicename {
  color: #ffd700;
  margin-bottom: 15px;
  /* margin-top: 30px; */
  text-align: left;
  margin-left: 120px;
}

.contact-section h4 {
  color: #ffd700;
  margin-bottom: 15px;
  /* margin-top: -20px; */
  margin-left: 70px;
}

.lists {
  list-style: none;
  padding: 0;
  margin-bottom: 8px;
  font-size: 14px;
  text-align: left;
  margin-left: 120px;
  line-height: 1.8;
}

.lists a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
}

.lists a:hover {
  color: #ffd700;
  text-decoration: underline;
}

.contact-section p {
  font-size: 14px;
  margin-bottom: 8px;
  text-align: left;
  margin-left: 70px;
}

.social-icons {
  margin-top: 50px;
  margin-left: 70px;
  text-align: left;
}

.social-icons i {
  color: #ffffff;
  margin-right: 10px;
  font-size: 25px;
  cursor: pointer;
}

.social-icons a {
  color: #ffffff;
  margin-right: 10px;
  font-size: 18px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 20px;
  padding-top: 20px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 5px 0;
}

.lastline {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .logo1 {
    margin-left: 0; /* Center the logo */
  }

  .servicename,
  .contact-section h4 {
    margin-left: 0; /* Center the section titles */
    text-align: center;
  }

  .lists {
    margin-left: 0; /* Align the list items in the center */
    text-align: center;
  }

  .social-icons {
    margin-left: 0;
    text-align: center;
  }

  .social-icons i {
    font-size: 20px; /* Adjust size of icons */
  }

  .footer-bottom {
    padding-top: 15px;
    font-size: 12px;
  }

  /* Center the contact section items */
  .contact-section p {
    text-align: center; /* Center paragraph text */
    margin-left: 0; /* Remove left margin */
  }

  .lists {
    margin-left: 0; /* Remove left margin for lists */
    text-align: center; /* Center list items */
  }

  /* Decrease the space between services and contact section */
  .servicename,
  .contact-section h4 {
    margin-top: 15px; /* Reduced margin top */
  }

  /* Reduce the margin for the contact section */
  .contact-section p {
    margin-top: 10px; /* Reduced margin top for paragraph */
  }

  .social-icons {
    margin-top: 30px; /* Reduced top margin */
  }
}

@media (max-width: 480px) {
  .logo1 {
    max-width: 150px; /* Adjust logo size for small screens */
  }

  .servicename,
  .contact-section h4 {
    font-size: 16px; /* Adjust font size for small screens */
  }

  .lists {
    font-size: 12px; /* Smaller font size for list items */
  }

  .social-icons i {
    font-size: 18px; /* Smaller social icon size */
  }

  .footer-bottom {
    font-size: 12px;
    padding-top: 10px;
  }
}