/*

TemplateMo 578 First Portfolio

https://templatemo.com/tm-578-first-portfolio

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: #6c757d;
  --secondary-color: #14b789;
  --section-bg-color: #f9f9f9;
  --dark-color: #000000;
  --p-color: #717275;
  --border-color: #e9eaeb;
  --featured-border-color: #727aab;

  --body-font-family: "DM Sans", sans-serif;

  --h1-font-size: 62px;
  --h2-font-size: 48px;
  --h3-font-size: 36px;
  --h4-font-size: 32px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 18px;
  --menu-font-size: 12px;
  --copyright-font-size: 14px;

  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

body {
  background: var(--white-color);
  font-family: var(--body-font-family);
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  letter-spacing: -3px;
}

h2 {
  font-size: var(--h2-font-size);
  color: var(--secondary-color);
  letter-spacing: -3px;
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
  line-height: normal;
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  color: var(--secondary-color);
}

::selection {
  background: var(--secondary-color);
  color: var(--white-color);
}

::-moz-selection {
  background: var(--secondary-color);
  color: var(--white-color);
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.section-title-wrap {
  background: var(--secondary-color);
  border-radius: var(--border-radius-small);
  padding: 10px 30px;
}

/*---------------------------------------
  AVATAR IMAGE               
-----------------------------------------*/
.avatar-image {
  border-radius: var(--border-radius-large);
  width: 160px;
  height: 160px;
  object-fit: cover;
}

.avatar-image-large {
  width: 90.4px;
  height: 90.4px;
}

/*---------------------------------------
  PRE LOADER               
-----------------------------------------*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 var(--white-color);
}

.spinner {
  border: 1px solid transparent;
  border-radius: var(--border-radius-small);
  position: relative;
}

.spinner:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  border-top-color: var(--white-color);
  animation: spinner 0.9s linear infinite;
}

@-webkit-@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/*---------------------------------------
  CUSTOM ICON               
-----------------------------------------*/
.navbar-icon {
  background: var(--white-color);
  border-radius: var(--border-radius-large);
  color: var(--dark-color);
  width: 47px;
  height: 47px;
  line-height: 47px;
  text-align: center;
}

.is-sticky .navbar-icon {
  background: var(--secondary-color);
  color: var(--white-color);
}

.form-check-icon {
  color: var(--secondary-color);
}

/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn,
.navbar .custom-btn {
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar .custom-btn {
  background: transparent;
  border-width: 2px;
  border-style: solid;
  border-color: var(--white-color);
  color: var(--white-color);
  padding: 8px 22px;
}

.navbar .custom-btn:hover {
  background: var(--white-color);
  border-color: transparent;
  color: var(--secondary-color);
}

.custom-btn {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  padding: 12px 24px;
}

.custom-btn:hover {
  background: var(--primary-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--p-color);
}

.custom-border-btn:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white-color);
}

.custom-link {
  background-color: var(--primary-color);
}

.custom-link:hover {
  background-color: var(--secondary-color);
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: relative;
  z-index: 222;
  height: auto !important;
}

.navbar {
  background: transparent;
  position: fixed;
  z-index: 999;
  right: 0;
  left: 0;
  transition: all 0.3s ease;
  padding: 15px 0;
}

.navbar.scrolled {
  background: var(--primary-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.navbar .container {
  background: transparent;
  border-radius: var(--border-radius-small);
  padding: 10px 25px;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  color: var(--white-color);
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  color: var(--secondary-color);
}

.navbar.scrolled .navbar-brand {
  color: var(--white-color);
}

.navbar.scrolled .navbar-brand:hover {
  color: var(--secondary-color);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
  margin-right: 20px;
  margin-left: 20px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  position: relative;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar.scrolled .navbar-nav .nav-link {
  color: var(--white-color);
}

.navbar.scrolled .navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar-nav .nav-link::after {
  content: "";
  background: var(--secondary-color);
  position: absolute;
  bottom: 10px;
  right: 20px;
  left: 20px;
  width: 0;
  height: 2px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: calc(100% - 40px);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease,
    -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease,
    -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: "";
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
  padding-top: 330px;
  padding-bottom: 330px;
}

@media screen and (min-width: 991px) {
  .hero {
    height: 60vh;
  }
}

.hero-title,
.hero h2 {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  border-radius: var(--border-radius-large);
  display: inline-block;
  padding: 8px 24px;
}

.hero-title {
  font-size: 44px;
}

.hero h2 {
  font-size: 38px;
}

.hero-text {
  position: relative;
  z-index: 22;
  top: 70px;
  animation: fadeInUp 1s ease-out;
}

.hero-image-wrap {
  background: var(--white-color);
  border-radius: 100%;
  width: 350px;
  height: 350px;
  position: absolute;
  z-index: 22;
  top: -50px;
  right: 0;
  left: 0;
  margin: auto;
  pointer-events: none;
}

.hero-image-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  flex-shrink: 0;
}

.hero-image-wrapper .hero-image {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: auto !important;
  margin: 0 !important;
}

.hero-image {
  position: absolute;
  z-index: 22;
  top: -44px;
  width: 340px;
  height: 340px !important;
  right: 67px;
  border-radius: 100%;
  border: 5px solid #FFF;
  animation: scaleIn 1s ease-out;
  transition: transform 0.3s ease;
  filter: brightness(1.2) contrast(1.1) saturate(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-image:hover {
  transform: scale(1.05);
  filter: brightness(1.3) contrast(1.2) saturate(1.2);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.hero svg {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: 0;
  left: 0;
  overflow: hidden;
  height: 100%;
  pointer-events: none;
}

/*---------------------------------------
  ABOUT              
-----------------------------------------*/

.object-fit-cover {
  object-fit: cover;
  height: 100%;
}

.profile-thumb {
  background: var(--white-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.profile-title {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.profile-title h4 {
  color: var(--dark-color);
  font-size: 24px;
  font-weight: 600;
}

.profile-info-item {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.profile-small-title {
  color: var(--primary-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  opacity: 0.8;
}

.profile-value {
  color: var(--p-color);
  font-size: 16px;
  font-weight: 500;
}

.profile-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.profile-link:hover {
  color: var(--primary-color);
}

.profile-social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.profile-social-link {
  color: var(--primary-color);
  font-size: 20px;
  transition: all 0.3s ease;
}

.profile-social-link:hover {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.featured-item {
  text-align: center;
  padding: 20px;
  background: var(--white-color);
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.featured-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.featured-numbers {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.featured-text {
  color: var(--p-color);
  font-size: 16px;
  margin-bottom: 15px;
}

.featured-icon {
  font-size: 24px;
  color: var(--secondary-color);
  margin-top: 10px;
}

.featured-border-bottom {
  border-bottom: 1px solid var(--border-color);
}

.featured-border-start {
  border-left: 1px solid var(--border-color);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .profile-thumb {
    margin-bottom: 30px;
  }
  
  .featured-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .profile-info-item {
    text-align: center;
  }
  
  .profile-social-links {
    justify-content: center;
  }
  
  .featured-numbers {
    font-size: 28px;
  }
}

.about-image {
  border-radius: var(--border-radius-medium);
  animation: slideInLeft 1s ease-out;
  transition: transform 0.3s ease;
  filter: brightness(1.2) contrast(1.1) saturate(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* .about-image:hover {
  transform: scale(1.05);
  filter: brightness(1.3) contrast(1.2) saturate(1.2);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
} */

.about-thumb {
  padding-right: 20px;
  padding-left: 20px;
  animation: slideInRight 1s ease-out;
}

/*---------------------------------------
  FEATURED              
-----------------------------------------*/
.featured-numbers {
  font-size: var(--h1-font-size);
  line-height: normal;
  display: block;
}

.featured-text {
  color: var(--primary-color);
}

.featured-border-bottom {
  border-bottom: 1px solid var(--border-color);
}

.featured-border-start {
  border-left: 1px solid var(--border-color);
}

/*---------------------------------------
  CLIENTS              
-----------------------------------------*/

.clients-item-height {
  height: 120px;
}

.clients-image {
  display: block;
  max-width: 100px;
  margin: auto;
  transition: all ease 0.2s;
}

/*---------------------------------------
  SERVICES              
-----------------------------------------*/
.services,
.featured {
  background: var(--section-bg-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.services-thumb {
  background: var(--white-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 40px 40px 240px 40px;
  transition: all 0.5s;
  animation: scaleIn 1s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-thumb-up {
  position: relative;
  bottom: 50px;
  margin-bottom: -50px;
}

.services-thumb:hover {
  border: 2px solid var(--secondary-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  transform: translateY(-5px);
}

.services-thumb:hover .services-icon-wrap {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white-color);
}

.services-icon-wrap {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-small);
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 55%;
  transform: rotate(-35deg) translateY(55px);
  transition: all ease 0.5s;
}

.services-icon {
  font-size: 90px;
  position: relative;
  bottom: 15px;
  animation: float 3s ease-in-out infinite;
}

.services-thumb:hover .services-price-wrap {
  background: var(--secondary-color);
}

.services-thumb:hover .services-price-overlay {
  background: var(--primary-color);
}

.services-price-wrap {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 6px 20px 6px 15px;
  transition: all ease 0.5s;
}

.services-price-text {
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-bold);
}

.services-price-overlay {
  background: var(--secondary-color);
  border-bottom-left-radius: 100%;
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/*---------------------------------------
  PROJECTS              
-----------------------------------------*/
.projects-thumb {
  background: var(--section-bg-color);
  border: 2px solid var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 40px;
  transition: all ease 0.5s;
  animation: fadeInUp 1s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-thumb:hover {
  border-color: var(--secondary-color);
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.projects-info {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.projects-thumb:hover .projects-info {
  transform: translateY(-10px);
}

.projects-title {
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.projects-thumb:hover .projects-title {
  color: var(--secondary-color);
}

.projects-tag {
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  color: var(--secondary-color);
  text-transform: uppercase;
  margin-bottom: 5px;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(20, 183, 137, 0.1);
  border-radius: var(--border-radius-small);
}

.projects-description {
  color: var(--p-color);
  font-size: 14px;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.projects-thumb:hover .projects-description {
  opacity: 1;
  transform: translateY(0);
}

.projects-links {
  margin-top: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.projects-thumb:hover .projects-links {
  opacity: 1;
  transform: translateY(0);
}

.projects-link {
  display: inline-block;
  margin-right: 10px;
  color: var(--secondary-color);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.projects-link:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.projects-image {
  border-radius: var(--border-radius-medium);
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.5s ease;
  transform: scale(1);
}

.projects-thumb:hover .projects-image {
  transform: scale(1.05);
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--border-radius-medium);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white-color);
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  color: var(--secondary-color);
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact {
  background: var(--section-bg-color);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(83, 93, 161, 0.15), rgba(20, 183, 137, 0.15));
  z-index: 1;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-wrapper {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-info-cards {
  background: var(--primary-color);
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-small);
  transition: all 0.3s ease;
}

/* .contact-info-card:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15);
} */

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-color);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  background: var(--secondary-color);
  color: var(--white-color);
  transform: rotate(360deg);
}

.contact-info-content {
  flex-grow: 1;
  overflow: hidden;
}

.contact-info-content h4 {
  color: var(--white-color);
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-info-content p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 16px;
}

.contact-info-content a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info-content a:hover {
  color: var(--white-color);
}

.contact-social {
  margin-top: auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-small);
}

.contact-social h4 {
  color: var(--white-color);
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-form {
  padding: 50px;
  background: var(--white-color);
}

.form-title {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
}

.form-floating {
  margin-bottom: 25px;
}

.form-floating > .form-control {
  height: calc(3.5rem + 2px);
  padding: 1rem 1.25rem;
  border: 2px solid rgba(83, 93, 161, 0.1);
  border-radius: var(--border-radius-small);
  transition: all 0.3s ease;
  font-size: 16px;
}

.form-floating > textarea.form-control {
  height: 180px;
  resize: none;
}

.form-floating > label {
  padding: 1rem 1.25rem;
  color: var(--p-color);
  font-size: 16px;
}

.form-floating > .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(20, 183, 137, 0.1);
  background-color: rgba(20, 183, 137, 0.02);
}

.form-floating > .form-control:focus + label,
.form-floating > .form-control:not(:placeholder-shown) + label {
  color: var(--secondary-color);
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.custom-btn.custom-border-btn {
  width: 100%;
  padding: 18px 30px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.custom-btn.custom-border-btn i {
  transition: transform 0.3s ease;
}

.custom-btn.custom-border-btn:hover i {
  transform: translateX(5px);
}

.custom-btn.custom-border-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--secondary-color);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.custom-btn.custom-border-btn:hover {
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(20, 183, 137, 0.2);
}

.custom-btn.custom-border-btn:hover::before {
  width: 100%;
}

.social-icon {
  display: flex;
  gap: 10px;
}

.social-icon-link {
  width: 45px;
  height: 45px;
  line-height: 45px;
  font-size: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white-color);
  transition: all 0.3s ease;
}

.social-icon-link:hover {
  background: var(--white-color);
  border-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-5px) rotate(360deg);
}

@media (max-width: 991px) {
  .contact-info-cards {
    padding: 30px;
  }
  
  .contact-form {
    padding: 40px;
  }
  
  .contact-info-card {
    padding: 15px;
  }
}

@media (max-width: 767px) {
  .contact-info-cards,
  .contact-form {
    padding: 30px;
  }
  
  .contact-info-card {
    padding: 15px;
  }
  
  .form-title {
    font-size: 24px;
  }
  
  .form-floating > .form-control {
    font-size: 15px;
  }
  
  .custom-btn.custom-border-btn {
    padding: 15px 25px;
    font-size: 15px;
  }
}

/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background: linear-gradient(135deg, rgba(83, 93, 161, 0.05) 0%, rgba(20, 183, 137, 0.05) 100%);
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
  padding-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(20, 183, 137, 0.3) 50%, 
    transparent 100%
  );
}

.site-footer-title {
  font-size: var(--menu-font-size);
  color: var(--dark-color);
  text-transform: uppercase;
}

/* Footer Brand */
.footer-brand {
  margin-bottom: 20px;
}

.footer-brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--p-color);
  margin: 0;
}

/* Footer Headings */
.footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

/* Footer Menu */
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu-item {
  list-style: none;
  display: block;
  margin-bottom: 10px;
}

.footer-menu-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--p-color);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-menu-link::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--secondary-color);
}

.footer-menu-link:hover {
  color: var(--secondary-color);
  padding-left: 20px;
  transform: translateX(5px);
}

.footer-menu-link:hover::before {
  opacity: 1;
  left: 0;
}

/* Footer Contact */
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--p-color);
}

.footer-contact-item i {
  color: var(--secondary-color);
  font-size: 18px;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--p-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: var(--secondary-color);
}

.footer-contact-item span {
  color: var(--p-color);
}

/* Footer Social */
.footer-social {
  margin-top: 10px;
}

.footer-social .social-icon {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social .social-icon-item {
  list-style: none;
}

.footer-social .social-icon-link {
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  color: var(--p-color);
  background: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-size: 18px;
}

.footer-social .social-icon-link:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-color: transparent;
  color: var(--white-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(20, 183, 137, 0.3);
}

/* Copyright */
.copyright-text-wrap {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.copyright-text-wrap p,
.copyright-text {
  font-size: 14px;
  color: var(--p-color);
  margin: 0;
}

.copyright-text {
  padding: 0;
  margin: 0;
}

.copyright-text-wrap a {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.copyright-text-wrap a:hover {
  color: var(--secondary-color);
}

/* Footer Responsive Styles */
@media (max-width: 991px) {
  .site-footer {
    padding-top: 50px;
    padding-bottom: 25px;
  }

  .footer-brand {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-heading {
    text-align: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-menu {
    text-align: center;
  }

  .footer-menu-item {
    display: inline-block;
    margin: 0 8px 10px 8px;
  }

  .footer-menu-link {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--white-color);
  }

  .footer-menu-link::before {
    display: none;
  }

  .footer-menu-link:hover {
    padding-left: 16px;
    transform: none;
    background: var(--secondary-color);
    color: var(--white-color);
    border-color: transparent;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-social {
    text-align: center;
  }

  .footer-social .social-icon {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .footer-brand-name {
    font-size: 20px;
  }

  .footer-description {
    font-size: 13px;
  }

  .footer-heading {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer-menu-item {
    display: block;
    margin: 0 0 8px 0;
  }

  .footer-menu-link {
    width: 100%;
    text-align: center;
  }

  .footer-contact-item {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .footer-contact-item i {
    font-size: 16px;
    margin-right: 10px;
  }

  .footer-social .social-icon-link {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }

  .copyright-text-wrap {
    margin-top: 30px;
    padding-top: 20px;
  }

  .copyright-text {
    font-size: 12px;
  }
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-large);
  font-size: var(--copyright-font-size);
  color: var(--dark-color);
  display: inline-block;
  vertical-align: top;
  margin: 2px 2px 5px 2px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon-link:hover {
  background: var(--secondary-color);
  border-color: transparent;
  color: var(--white-color);
  transform: translateY(-3px);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .hero {
    padding-top: 380px;
    padding-bottom: 380px;
  }

  .hero-image-wrap {
    top: -50px;
    width: 400px;
    height: 400px;
  }

  /* .hero-image {
    min-width: 650px;
  } */

  .hero-title,
  .hero h2 {
    font-size: var(--h2-font-size);
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .custom-btn,
  .navbar .custom-btn {
    font-size: var(--copyright-font-size);
    padding: 8px 16px;
  }

  .navbar {
    background: rgba(83, 93, 161, 0.95);
    padding: 10px 0;
  }

  .navbar .container {
    background: transparent;
    padding: 0 15px;
  }

  .navbar-brand {
    color: var(--white-color);
    font-size: 24px;
  }

  .navbar-toggler {
    border: none;
    padding: 0;
    margin: 0;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 30px;
    height: 2px;
    background-color: var(--white-color);
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
  }

  .navbar-toggler-icon:before,
  .navbar-toggler-icon:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--white-color);
    left: 0;
    transition: all 0.3s ease;
  }

  .navbar-toggler-icon:before {
    top: -8px;
  }

  .navbar-toggler-icon:after {
    bottom: -8px;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(45deg);
    top: 0;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  .navbar-collapse {
    background: rgba(83, 93, 161, 0.98);
    margin: 10px -15px -10px;
    padding: 20px;
    border-radius: 0 0 10px 10px;
  }

  .navbar-nav {
    padding: 10px 0;
  }

  .navbar-nav .nav-link {
    color: var(--white-color);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar .custom-btn {
    border-color: var(--white-color);
    color: var(--white-color);
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  .navbar .custom-btn:hover {
    background: var(--white-color);
    color: var(--primary-color);
  }

  .hero {
    padding-top: 200px;
    padding-bottom: 400px;
  }

  .hero-text {
    top: 0;
    margin-bottom: 120px;
  }

  .about-thumb {
    padding-right: 0;
    padding-left: 0;
  }

  .about-numbers {
    font-size: 42px;
  }

  .services-thumb-up {
    bottom: 0;
    margin-bottom: 32px;
  }

  .services-thumb {
    margin-bottom: 32px;
    padding-bottom: 270px;
  }

  .services-icon-wrap {
    width: 45%;
    height: 60%;
  }

  .services .col-lg-10 .row .col-lg-6:last-child,
  .projects .col-lg-4:last-child {
    margin-bottom: 0;
  }

  .projects-thumb {
    margin-top: 0;
    margin-bottom: 32px;
  }

  .contact-info {
    border-radius: 0 0 var(--border-radius-small) var(--border-radius-small);
    padding: 40px 30px;
  }

  .contact-info-border-start {
    border-right: 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
  }
}

@media screen and (max-width: 575px) {
  .navbar-brand {
    font-size: 20px;
  }

  .navbar .container {
    padding: 0 10px;
  }

  .navbar-collapse {
    margin: 10px -10px -10px;
    padding: 15px;
  }

  .navbar .container {
    margin-right: 12px;
    margin-left: 12px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  .custom-btn,
  .navbar .custom-btn {
    font-size: 13px;
    padding: 6px 12px;
  }

  .navbar-icon {
    font-size: var(--copyright-font-size);
    width: 35.5px;
    height: 35.5px;
    line-height: 35.5px;
  }

  .hero-image-wrap {
    width: 300px;
    height: 300px;
  }

  .hero-image {
    min-width: inherit;
  }
}

/* Add these animation keyframes at the top of the file */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Enhance hero section */
.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    animation: scaleIn 1s ease-out;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

/* Enhance about section */
.about-thumb {
    animation: slideInRight 1s ease-out;
}

.about-image {
    animation: slideInLeft 1s ease-out;
    transition: transform 0.3s ease;
}

/* .about-image:hover {
    transform: scale(1.05);
} */

/* Enhance projects section */
.projects-thumb {
    animation: fadeInUp 1s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-thumb:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.projects-image {
    transition: transform 0.3s ease;
}

.projects-thumb:hover .projects-image {
    transform: scale(1.05);
}

/* Enhance services section */
.services-thumb {
    animation: scaleIn 1s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.services-icon {
    animation: float 3s ease-in-out infinite;
}

/* Enhance contact section */
.contact-info {
    animation: fadeInUp 1s ease-out;
}

.custom-form {
    animation: slideInRight 1s ease-out;
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhance navigation */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Enhance buttons */
.custom-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Add animation to social icons */
.social-icon-link {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon-link:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
}

/* Add animation to form inputs */
.form-control {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(83, 93, 161, 0.25);
}

img[src*="happy-bearded-young-man.jpg"] {
  filter: brightness(1.2) contrast(1.1) saturate(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

img[src*="happy-bearded-young-man.jpg"]:hover {
  filter: brightness(1.3) contrast(1.2) saturate(1.2);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.tech-masters-ad {
  background: linear-gradient(135deg, rgba(20, 183, 137, 0.2), rgba(83, 93, 161, 0.2));
  border-radius: var(--border-radius-small);
  padding: 25px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tech-masters-ad::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(20, 183, 137, 0.1), rgba(83, 93, 161, 0.1));
  z-index: 1;
}

.tech-masters-ad:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ad-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ad-icon {
  width: 60px;
  height: 60px;
  background: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 28px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.tech-masters-ad:hover .ad-icon {
  background: var(--secondary-color);
  color: var(--white-color);
  transform: rotate(360deg);
}

.tech-masters-ad h4 {
  color: var(--white-color);
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.tech-masters-ad p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin-bottom: 15px;
}

.ad-link {
  color: var(--white-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-small);
}

.ad-link i {
  transition: transform 0.3s ease;
}

.ad-link:hover {
  background: var(--white-color);
  color: var(--primary-color);
  border-color: var(--white-color);
}

.ad-link:hover i {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .tech-masters-ad {
    padding: 20px;
  }
  
  .ad-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .tech-masters-ad h4 {
    font-size: 18px;
  }
  
  .tech-masters-ad p {
    font-size: 14px;
  }
}

/* Ad Banners */
.vertical-ad-banner {
  background: linear-gradient(135deg, rgba(20, 183, 137, 0.1), rgba(83, 93, 161, 0.1));
  border-radius: var(--border-radius-medium);
  padding: 30px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(83, 93, 161, 0.1);
}

.vertical-ad-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(20, 183, 137, 0.05), rgba(83, 93, 161, 0.05));
  z-index: 1;
}

.vertical-ad-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(20, 183, 137, 0.2);
}

.horizontal-ad-banner {
  background: linear-gradient(135deg, rgba(83, 93, 161, 0.1), rgba(20, 183, 137, 0.1));
  border-radius: var(--border-radius-medium);
  padding: 20px 30px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(83, 93, 161, 0.1);
}

.horizontal-ad-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(83, 93, 161, 0.05), rgba(20, 183, 137, 0.05));
  z-index: 1;
}

.horizontal-ad-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-color: rgba(20, 183, 137, 0.2);
}

.feature-ad-banner {
  background: linear-gradient(135deg, rgba(20, 183, 137, 0.15), rgba(83, 93, 161, 0.15));
  border-radius: var(--border-radius-medium);
  padding: 25px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(83, 93, 161, 0.1);
}

.feature-ad-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(20, 183, 137, 0.1), rgba(83, 93, 161, 0.1));
  z-index: 1;
}

.feature-ad-banner:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(20, 183, 137, 0.2);
}

.ad-content {
  position: relative;
  z-index: 2;
}

.horizontal-ad-banner .ad-content {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.ad-icon {
  width: 50px;
  height: 50px;
  background: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.vertical-ad-banner:hover .ad-icon,
.horizontal-ad-banner:hover .ad-icon,
.feature-ad-banner:hover .ad-icon {
  background: var(--secondary-color);
  color: var(--white-color);
  transform: rotate(360deg);
}

.ad-text {
  flex-grow: 1;
}

.ad-content h4 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.ad-content p {
  color: var(--p-color);
  font-size: 14px;
  margin-bottom: 15px;
}

.horizontal-ad-banner .ad-content p {
  margin-bottom: 0;
}

.ad-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border: 2px solid rgba(20, 183, 137, 0.2);
  border-radius: var(--border-radius-small);
}

.ad-link i {
  transition: transform 0.3s ease;
}

.ad-link:hover {
  background: var(--secondary-color);
  color: var(--white-color);
  border-color: var(--secondary-color);
}

.ad-link:hover i {
  transform: translateX(5px);
}

/* Ad Placement Styles */
.hero .container {
  position: relative;
}

.hero-ad {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
}

.about-ad {
  margin-top: 30px;
}

.services-ad {
  margin: 30px 0;
}

.projects-ad {
  margin: 30px 0;
}

@media (max-width: 1400px) {
  .hero-ad {
    display: none;
  }
}

@media (max-width: 991px) {
  .horizontal-ad-banner {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  
  .horizontal-ad-banner .ad-content {
    flex-direction: column;
  }
  
  .ad-text {
    margin: 15px 0;
  }
}

@media (max-width: 767px) {
  .vertical-ad-banner,
  .horizontal-ad-banner,
  .feature-ad-banner {
    padding: 20px;
  }
  
  .ad-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .ad-content h4 {
    font-size: 16px;
  }
  
  .ad-content p {
    font-size: 13px;
  }
}

