/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary-color: #2487ce;
  --hover-color: #469fdf;
  --font-size-standard: 14px;
  /* Added uniform font size */
  --section-padding-standard: 40px 0;
  /* Added uniform padding for sections */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  color: #444444;
  line-height: 1.6;
  /* Improved line height for better readability */
  background: #f8f8f8;
  /* A light background to give a modern look */
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
  /* Smooth transition for hover effects */
}

a:hover {
  color: var(--hover-color);
  text-decoration: underline;
  /* Modern browsers support */
  text-decoration-thickness: 2px;
  /* Gives the underline a thicker look */
  text-decoration-color: var(--hover-color);
  /* Ensures the underline matches the text color */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  /* Lighter font-weight for a modern, clean aesthetic */
  margin-top: 0;
  /* Remove top margin to fix spacing issues */
  font-size: var(--font-size-standard);
  /* Uniform font size for headings */
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #2487ce;
  width: 50px;
  /* Slightly larger button for better clickability */
  height: 50px;
  border-radius: 50%;
  /* Fully rounded corners for a modern, pill-like shape */
  transition: 0.3s, opacity 0.3s, visibility 0.3s, transform 0.3s;
  /* Smooth transitions for all properties */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  /* Subtle shadow for depth */
  align-items: center;
  justify-content: center;
  display: flex;
  opacity: 0;
  /* Start with opacity 0 for a clean entrance */
  visibility: hidden;
  /* Hide initially */
}

.back-to-top i {
  color: #fff;
  transition: transform 0.3s;
  /* Smooth transition for the icon */
}

.back-to-top:hover {
  background: #3e9bdd;
  transform: translateY(-3px);
  /* Slight move up to indicate action */
}

.back-to-top:hover i {
  transform: scale(1.1);
  /* Enlarge icon to indicate clickable */
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
  /* Fade in effect when active */
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s, visibility 0.3s;
  /* Smooth transition for fade-out */
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  /* Fade out effect */
}

#preloader:before {
  content: "";
  border: 4px solid rgba(36, 135, 206, 0.2);
  /* Lighter border color for a more subtle look */
  border-top-color: #2487ce;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
:root {
  --mobile-breakpoint: 768px;
  /* Define a custom property for mobile breakpoint */
}

@media screen and (max-width: var(--mobile-breakpoint)) {
  [data-aos-delay] {
    transition-delay: 0;
    /* Remove transition delay on mobile devices */
  }
}

y

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
:root {
  --header-padding: 15px 0;
  --header-logo-max-height: 40px;
}

/* Header Styles */
#header {
  display: flex;
  position: fixed;
  /* Keep the header at the top */
  justify-content: center;
  /* This will center the logo and nav items */
  align-items: center;
  padding: var(--header-padding);
  width: 100%;
  /* Ensures the header extends full width */
  top: 0;
  /* Aligns the header to the top */
  left: 0;
  /* Aligns the header to the left */
  transition: all 0.5s ease;
  background: rgba(255, 255, 255, 0.2);
  z-index: 997;
  border-bottom: 1px solid #e6f2fb;
}

/* Class to add when scrolled */
.header-scrolled {
  background: rgba(255, 255, 255, 0.5);
  /* Slightly transparent background */
}

/* Logo Styles */
#header .logo {
  display: flex;
  align-items: center;
  /* Centers the logo vertically */
  justify-content: center;
  /* Centers the logo horizontally if there's space */
  max-width: 250px;
  /* Adjusts the width of the logo container */
  height: auto;
  /* Keeps the aspect ratio of the logo */
  border: 1px solid #2487ce;
  /* Adds a border around the logo */
  border-radius: 20px;
  /* Rounds the corners of the border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  /* Adds a subtle shadow for depth */
  margin-top: 10px;
  /* Add space on the top */
  margin-bottom: 10px;
  /* Add space on the bottom */
}

#header .logo img {
  max-height: 100px;
  /* Increases the size of the logo for better visibility */
  width: auto;
  /* Ensures the logo maintains its aspect ratio */
  transition: all 0.5s ease;
  /* Smooth transition for logo changes */
  padding: var(--header-padding);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Since you have two navs with potentially the same ID, consider changing the second ID to navbar-right for uniqueness */
#header .navbar,
#header #navbar2 {
  flex: 1;
  display: flex;
  justify-content: center;
  /* Center align nav items */
  padding: 0;
  margin: 0;
}

#header .navbar ul,
#header #navbar2 ul {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  list-style: none;
}

#header .navbar.order-1 ul {
  justify-content: flex-end;
  /* Right align the left nav */
}

#header .navbar.order-3 ul,
#header #navbar2 ul {
  justify-content: flex-start;
  /* Left align the right nav */
}

#header .logo {
  z-index: 1;
  /* Make sure logo is above navbar layers */
  flex: 0 0 auto;
  /* Do not allow logo to grow or shrink */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #header .navbar,
  #header #navbar2 {
    flex: 0 0 100%;
    /* Allow navs to stack on mobile */
  }

  #header .navbar ul,
  #header #navbar2 ul {
    justify-content: center;
    /* Center align nav items on mobile */
  }

  #header .navbar.order-1 ul,
  #header .navbar.order-3 ul,
  #header #navbar2 ul {
    justify-content: center;
    /* Center align both navs on mobile */
  }

  .logo {
    order: -1;
    /* Place logo above nav items on mobile */
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
    /* Add some space below the logo */
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
:root {
  --hero-bg-color: rgba(255, 255, 255, 0.8);
  --hero-title-color: #124265;
  --hero-subtitle-color: #5e5e5e;
  --hero-btn-bg-color: #2487ce;
  --hero-btn-hover-bg-color: #3194db;
  --icon-box-bg-color: #fff;
  --icon-box-shadow-color: rgba(18, 66, 101, 0.08);
  --icon-color: #2487ce;
}

#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  background: url("../img/bg.png") top center;
  background-size: cover;
}

#hero:before {
  content: "";
  background: var(--hero-bg-color);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .container {
  padding-top: 40px;
}

#hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 72px;
  color: var(--hero-title-color);
  font-family: "Poppins", sans-serif;
}

#hero h2 {
  color: var(--hero-subtitle-color);
  margin: 10px 0 0 0;
  font-size: 22px;
}

#hero .btn-get-started {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 14px 50px;
  border-radius: 5px;
  transition: background-color 0.3s;
  margin-top: 30px;
  color: #fff;
  background: var(--hero-btn-bg-color);
}

#hero .btn-get-started:hover {
  background: var(--hero-btn-hover-bg-color);
}

/* Base styles for the hero icon boxes */
#hero .icon-boxes {
  margin-top: 100px;
}

#hero .icon-box {
  padding: 40px 20px;
  background: var(--icon-box-bg-color, #ffffff);
  /* Fallback color if the variable is not defined */
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
  /* Softer shadow */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center items horizontally */
  justify-content: center;
  /* Center items vertically */
}

#hero .icon-box .title {
  font-weight: 600;
  /* Less bold for a more modern look */
  margin-bottom: 15px;
  font-size: 1.125rem;
  /* Responsive font size */
}

#hero .icon-box .title a {
  color: var(--hero-title-color, #212529);
  /* Fallback color */
  transition: color 0.3s;
  text-decoration: none;
  /* No underline */
}

#hero .icon-box .description {
  font-size: 0.9375rem;
  /* Responsive font size */
  line-height: 1.6;
  /* Improved readability */
  margin-bottom: 0;
  text-align: center;
  /* Center align the text */
}

#hero .icon-box .icon {
  margin-bottom: 20px;
  font-size: 2rem;
  /* Larger icon size */
  color: var(--icon-color, #5568fe);
  /* Fallback color */
}

#hero .icon-box:hover {
  transform: translateY(-5px);
  /* Subtle lift effect */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  /* Enhanced shadow on hover */
}

#hero .icon-box:hover .title a {
  color: var(--icon-hover-color, #5568fe);
  /* Fallback color */
}

/* Responsive design adjustments (example for mobile devices) */
@media (max-width: 768px) {
  #hero .icon-box {
    padding: 30px 15px;
    /* Smaller padding on mobile */
  }

  #hero .icon-box .icon {
    font-size: 1.5rem;
    /* Smaller icon size on mobile */
  }
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-height: 800px) {
  #hero {
    height: auto;
  }
}

@media (max-width: 992px) {
  #hero {
    height: auto;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
  }
}
.wavy-text span {
  display: inline-block;
  animation: wave 1.1s infinite ease-in-out;
}

.wavy-text span:nth-child(odd) {
  animation-delay: calc(0.05s * var(--i));
}

.wavy-text span:nth-child(even) {
  animation-delay: calc(0.05s * var(--i));
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}
/* gradient */
.gradient-text {
  background: linear-gradient(270deg, #444, #439bce, #000, #439bce, #34076e);
  background-size: 1000% 1000%;
background-clip: text;

-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: moveGradient 4s ease infinite;
font-weight: bold;
}

@keyframes moveGradient {
0% {
  background-position: 0% 50%;
}
50% {
  background-position: 100% 50%;
}
100% {
  background-position: 0% 50%;
}
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
:root {
  --section-bg-color: #f8fbfe;
  --section-title-color: #124265;
  --section-subtitle-color: #919191;
}

section {
  padding: var(--section-padding-standard);
  /* Uniform padding for all sections */
  overflow: hidden;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
  animation: fadeInUp 0.5s ease-in-out;
  /* Subtle fade-in animation */
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  /* Slightly lighter weight for a modern look */
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--section-title-color);
  position: relative;
  /* For added styling effects */
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--section-title-color);
  /* Underline effect */
}

.section-title p {
  margin-bottom: 0;
  font-size: var(--font-size-standard);
  /* Uniform font size */
  color: var(--section-subtitle-color);
}

/* Add keyframes for fadeInUp animation */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

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

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
:root {
  --about-icon-color: #2487ce;
  --about-btn-color: #2487ce;
  --about-btn-hover-bg-color: #2487ce;
  --about-btn-hover-color: #fff;
}

.about {
  background: var(--section-bg-color);
}

.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-left: 28px;
  position: relative;
  animation: fadeInLeft 0.5s ease-in-out;
  /* Subtle fade-in-left animation for list items */
}

.about .content ul li + li {
  margin-top: 10px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: var(--about-icon-color);
  line-height: 1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .btn-learn-more {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  line-height: 1;
  color: var(--about-btn-color);
  margin-top: 6px;
  border: 2px solid var(--about-btn-color);
}

.about .content .btn-learn-more:hover {
  background: var(--about-btn-hover-bg-color);
  color: var(--about-btn-hover-color);
  text-decoration: none;
}

/* Add keyframes for fadeInLeft animation */
@keyframes fadeInLeft {
  from {
    transform: translateX(-10px);
    opacity: 0;
  }

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

/* About Video Section */
.about-video {
  background: var(--section-bg-color);
}

.about-video .content {
  font-size: 15px;
}

.about-video .content h3 {
  font-weight: 700;
  font-size: 24px;
  color: #124265;
}

.about-video .content ul {
  list-style: none;
  padding: 0;
}

.about-video .content ul li {
  padding-bottom: 10px;
  padding-left: 28px;
  position: relative;
}

.about-video .content ul i {
  font-size: 24px;
  color: #2487ce;
  position: absolute;
  left: 0;
  top: -2px;
}

.about-video .content p:last-child {
  margin-bottom: 0;
}

.about-video .video-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 5px solid #fff;
  /* White border to blend in with the background */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  /* More prominent shadow */
  margin-bottom: 30px;
  /* Add some space below the video */
}

:root {
  /* Define color scheme and sizing with CSS variables for easy theme management */
  --border-radius: 10px;
}

.about-video .video-background {
  position: relative;
  /* Utilize the padding-top for maintaining aspect ratio */
  padding-top: calc(100% / (16 / 9));
  height: 0;
  overflow: hidden;
  /* Hide anything that goes outside the bounds */
  border-radius: var(--border-radius);
}

.about-video .video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.about-video .video-background::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Modern property to replace top, right, bottom, left */
  border-radius: var(--border-radius);
  /* Rounded corners */
  z-index: 1;
  /* Ensure the overlay is above the video but below other content */
}

/* Accessibility considerations for any controls you may add */
.about-video .control {
  position: absolute;
  bottom: 10%;
  /* Example position for a play button */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  /* Above the overlay */
  /* Accessible size for touch targets */
  width: 48px;
  height: 48px;
  /* Further styling for the control button goes here */
}

/* Animations */
[data-aos="fade-up"] {
  animation: fadeInUp 0.6s ease-out;
}

[data-aos="fade-right"] {
  animation: fadeInRight 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

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

/* Clients Section */
.clients {
  padding: 40px 0;
  background: var(--section-bg-color);
}

.clients .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.clients .col-lg-3,
.clients .col-lg-2,
.clients .col-md-4,
.clients .col-6 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.clients .col-lg-3,
.clients .col-lg-2,
.clients .col-md-4,
.clients .col-6 {
  /* Set a standard size for all containers */
  height: 150px;
}

.clients img {
  /* Maximum height for all logos */
  max-height: 120px;
  width: auto;
  /* Maintain the aspect ratio */
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 15px;
  filter: grayscale(100%);
  opacity: 0.7;
}

.clients img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-5px);
  /* A subtle lift effect */
}

@media (max-width: 768px) {
  .clients .col-lg-3,
  .clients .col-lg-2,
  .clients .col-md-4,
  .clients .col-6 {
    height: 120px;
    /* Smaller height for mobile */
  }

  .clients img {
    max-height: 100px;
    /* Smaller logos for mobile */
  }
}

/* Services Section */
.services {
  background: var(--section-bg-color);
}

.services .icon-box {
  text-align: center;
  padding: 50px 20px;
  /* Reduced vertical padding for a tighter look */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  border-radius: 10px;
  /* Rounded corners for a softer look */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* Subtle shadow for depth */
}

/* Base Variables */
:root {
  --icon-color-default: #5f5f5f;
  /* Default icon color */
  --icon-hover-color-default: #fff;
  /* Default icon hover color */
  --icon-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* Soft shadow for non-hover state */
  --icon-box-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  /* Soft shadow for hover state */
  --iconbox-blue: #47aeff;
  --iconbox-orange: #ffa76e;
  --iconbox-pink: #e80368;
  --iconbox-yellow: #ffbb2c;
  --iconbox-red: #ff5828;
  --iconbox-teal: #11dbcf;
}

/* Icon Styles */
.services .icon-box .icon {
  margin: 0 auto;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services .icon-box .icon i {
  font-size: 2rem;
  /* Responsive size using rem */
  color: var(--icon-color-default);
  transition: color 0.3s;
  /* Smooth color transition */
}

/* Hover Effects */
.services .icon-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--icon-box-hover-shadow);
}

.services .icon-box:hover .icon {
  background-color: currentColor;
  /* Match icon color */
  border-radius: 50%;
  padding: 15px;
}

/* Heading Styles */
.services .icon-box h4 {
  font-weight: 600;
  margin: 20px 0 15px;
  font-size: 1.125rem;
  /* Responsive size using rem */
}

.services .icon-box h4 a {
  color: #124265;
  text-decoration: none;
  /* Removes underline from links */
}

/* Text Styles */
.services .icon-box p {
  line-height: 1.5;
  font-size: 1rem;
  /* Responsive size using rem */
}

/* Color classes for icon backgrounds */
.services .icon-box.iconbox-blue .icon {
  color: var(--iconbox-blue);
}

.services .icon-box.iconbox-orange .icon {
  color: var(--iconbox-orange);
}

.services .icon-box.iconbox-pink .icon {
  color: var(--iconbox-pink);
}

.services .icon-box.iconbox-yellow .icon {
  color: var(--iconbox-yellow);
}

.services .icon-box.iconbox-red .icon {
  color: var(--iconbox-red);
}

.services .icon-box.iconbox-teal .icon {
  color: var(--iconbox-teal);
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  .services .icon-box {
    padding: 20px;
    /* Smaller padding for the boxes */
    margin-bottom: 20px;
    /* Add more space between the boxes */
  }

  .services .icon-box .icon i {
    font-size: 1.5rem;
    /* Smaller icon size on mobile */
  }

  .services .icon-box h4 {
    font-size: 1rem;
    /* Smaller heading size on mobile */
  }

  .services .icon-box p {
    font-size: 0.875rem;
    /* Smaller text size on mobile */
  }
}

.services-title {
  font-family: "Arial", sans-serif;
  /* Use a modern font */
  font-size: 1.5rem;
  /* Increase the font size */
  color: #333;
  /* Dark gray color for the text */
  text-align: center;
  /* Center align the text */
  margin-bottom: 20px;
  /* Add some space below the title */
}

.services-title strong {
  color: #007bff;
  /* Highlight the text in bold with a different color */
}

/* Portfolio Section */
.portfolio {
  background: var(--section-bg-color);
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio .portfolio-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #f7f7f7;
}

.portfolio .portfolio-wrap .portfolio-info {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 0 10px 10px;
  padding: 10px;
  margin-top: -5px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #444444;
  background-color: #fff;
  margin: 0 10px 10px 0;
  border-radius: 20px;
  transition: color 0.3s, background-color 0.3s;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background-color: #2487ce;
}

.portfolio .portfolio-wrap {
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 10px;
  background-color: #f7f7f7;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.portfolio .portfolio-wrap:hover {
  transform: scale(1.03);
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(27, 28, 29, 0.7);
  transition: width 0.4s ease, height 0.4s ease, top 0.4s ease, left 0.4s ease;
  z-index: 2;
  opacity: 1;
  border-radius: 10px;
  transform: translate(-50%, -50%);
}

.portfolio .portfolio-wrap:hover::before {
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
}

/* Hover overlay text (no animation on text itself) */
.portfolio .portfolio-wrap .hover-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  padding: 1rem;
}

.portfolio .portfolio-wrap:hover .hover-text {
  opacity: 1;
  transform: translateY(0);
}

/* Layout of text inside the overlay */
.portfolio .portfolio-wrap .hover-text .hover-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Title styling */
.portfolio .portfolio-wrap .hover-text .hover-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

/* Subtext styling */
.portfolio .portfolio-wrap .hover-text .hover-subtext {
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}


/* Team Section */
.team .member {
  margin-bottom: 30px;
  text-align: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.team .member:hover {
  transform: translateY(-5px);
}

.team .member .member-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

/* image */
.team-img-small {
  width: 60%; /* or 50%, or 150px, depending on what you want */
  margin: 0 auto; /* center the image */
  display: block;
}
.team .member .social {
  position: absolute;
  left: 0;
  bottom: -80px;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px; /* spacing left and right */
  transition: bottom 0.3s ease-in-out;
}

.team .member .social .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team .member .social .text h4 {
  margin: 0;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap; 
}

.team .member .social .text p {
  margin: 0;
  font-size: 12px;
  line-height: 14px;
  color: #666;
}

.team .member .social a i {
  font-size: 20px;
  color: #0e76a8;
}


.team .member:hover .social {
  bottom: 0;
}

.team .member .social a {
  color: #124265;
  margin: 0 15px;
  transition: color 0.3s ease-in-out;
}

.team .member .social a:hover {
  color: #2487ce;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.team .member .member-info span {
  font-size: 14px;
  color: #555;
}

.team .member .member-info p {
  font-size: 15px;
  color: #666;
  margin-top: 10px;
}
.team.small-member-box {
  max-width: 220px;      /* control box width */
  margin: 0 auto;        /* center in column */
  padding: 10px;         /* space inside box */
  border-radius: 8px;    /* slightly rounded corners */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* subtle shadow */
}

/* Make image height smaller */
.team.small-member-box .member-img {
  height: 180px;         /* adjust image height */
  overflow: hidden;
  border-radius: 6px;
}

/* Ensure image fills container nicely */
.team.small-member-box .member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tweak text area */
.team.small-member-box .member-info {
  padding: 10px 0 0;
  text-align: center;
}

.team.small-member-box .member-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team.small-member-box .member-info span {
  font-size: 0.85rem;
  color: #777;
}
.fixed-height-box {
  height: 260px; /* reduce height */
  width: 100%;
  max-width: 220px;
  margin: auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.fixed-height-box .member-img {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.fixed-height-box .member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

/* Hover effect - slightly zoom image */
.fixed-height-box:hover .member-img img {
  transform: scale(1.05);
}

/* Overlay hidden by default */
.fixed-height-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* semi-transparent dark overlay */
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fixed-height-box:hover .overlay {
  opacity: 1;
}

/* Content inside overlay */
.fixed-height-box .overlay-content {
  color: #fff;
  text-align: center;
}

.fixed-height-box .overlay-content i {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: inline-block;
  color: #0A66C2; /* LinkedIn blue */
  background: #fff;
  border-radius: 50%;
  padding: 8px;
}

.fixed-height-box .overlay-content h4 {
  font-size: 1rem;
  margin: 8px 0 4px;
}

.fixed-height-box .overlay-content span {
  font-size: 0.85rem;
  color: #ddd;
}

/* Contact Section */
.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 50px;
  background: var(--section-bg-color);
}

.contact .info {
  flex: 1;
  min-width: 300px;
  background: #fafafa;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact .info i {
  font-size: 24px;
  color: #2487ce;
  background: #e3f0fa;
  border-radius: 50%;
  padding: 10px;
}

.contact .info h4 {
  margin: 20px 0 10px 0;
  color: #124265;
}

.contact .info p {
  color: #333;
}

.contact .php-email-form {
  flex: 2;
  min-width: 300px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.05);
}

.contact .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .php-email-form .error-message,
.contact .php-email-form .sent-message {
  display: none;
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
}

.contact .php-email-form .error-message {
  background: #ff3860;
}

.contact .php-email-form .sent-message {
  background: #23d160;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
}

.contact .php-email-form button[type="submit"] {
  width: auto;
  background: #2487ce;
  color: #fff;
  border: 0;
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #3194db;
}

@media (max-width: 768px) {
  .contact {
    flex-direction: column;
  }

  .contact .info,
  .contact .php-email-form {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
}

/* Footer Section */
#footer {
  color: #666;
  background: #d2dfec;
  padding: 20px 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* Modern font */
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  /* Ensure wrapping on small screens */
  max-width: 1200px;
  /* Max container width */
  margin: auto;
  /* Center the container */
  padding: 0 15px;
  /* Padding on smaller screens */
}

.logo {
  max-width: 120px;
  /* Max logo width */
  height: auto;
  /* Maintain aspect ratio */
}

.footer-center-text {
  text-align: center;
  padding: 0 20px;
  /* Padding around text */
  flex-grow: 1;
  /* Allow center text to grow */
}

#footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  /* Modern line height */
}

#footer p a {
  color: #2487ce;
  text-decoration: none;
  transition: color 0.3s;
}

#footer p a:hover {
  color: #3194db;
}

.social-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  /* Center social links */
}

.social-links a {
  font-size: 18px;
  display: flex;
  /* Use flex for alignment */
  align-items: center;
  /* Center items vertically */
  justify-content: center;
  /* Center items horizontally */
  background: #2487ce;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin: 0 8px;
}

.social-links a:hover {
  background: #3194db;
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-left,
  .footer-logo-right {
    margin-bottom: 10px;
  }

  .footer-center-text {
    order: 3;
    /* Put the center text at the bottom */
  }

  .social-links {
    order: 2;
    /* Put the social links above the text */
  }
}
