/*** =========================
     THEME VARIABLES
========================= ***/
:root {
    /* COLORS */
    --primary-color: #0d6efd;
    --secondary-color: #6f42c1;
    --text-color: #111;
    --text-secondary: #555;
    --background-color: #fafafa;
    --card-bg: #fff;
    --card-shadow: rgba(0,0,0,0.05);
    --hero-gradient-start: #f5f8ff;
    --hero-gradient-end: #e8f1ff;
    --cta-bg: linear-gradient(90deg, var(--primary-color), var(--secondary-color));

    /* TYPOGRAPHY */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --heading-size: 3rem;
    --section-heading-size: 2.2rem;
    --body-size: 1rem;
    --metric-size: 2.8rem;

    /* BORDER & BUTTON */
    --border-radius: 1rem;
    --btn-radius: 50px;
    --btn-padding: 1rem 2.5rem;
}
h1, .display-1 { font-family: var(--font-heading); font-size: var(--heading-size); color: var(--text-color); }
h2, .display-5 { font-family: var(--font-heading); font-size: var(--section-heading-size); color: var(--text-color); }

.btn {
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-outline-light {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.card, .testimonial-card, .project-card, .services-item {
  background-color: var(--card-bg);
  box-shadow: 0 0 25px var(--card-shadow);
  border-radius: var(--border-radius);
}

/*** =========================
     BASE STYLES
========================= ***/
html, body {
  overflow-x: hidden !important;
  width: 100%;
}

body {

    font-family: var(--font-body);
    color: var(--text-color);
    background: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

section,
.container,
.row {
  max-width: 100%;
  overflow-x: hidden;
}
.home-landing {
  position: relative;
  height: 100vh;
  min-height: 600px;
}

.home-landing img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.4);
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

@media (max-width: 768px) {
  .home-landing h1 {
    font-size: 2.2rem;
  }
  .home-landing p {
    font-size: 1rem;
  }
}
section { padding: 6rem 0; position: relative; }
.wave-divider {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  margin: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: waveAnimation 8s linear infinite;
}

@keyframes waveAnimation {
  0% { transform: translateX(0); }
  50% { transform: translateX(-20px); }
  100% { transform: translateX(0); }
}
.curve-divider {
  width: 100%;
  height: 120px;
  overflow: hidden;
}


.curve-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.curve-layer {
  fill: none;
  stroke-width: 0;
}

.curve-layer.layer1 {
  fill: #6610f2;
  opacity: 0.6;
  animation: moveCurve1 10s ease-in-out infinite alternate;
}

.curve-layer.layer2 {
  fill: #0d6efd;
  opacity: 0.4;
  animation: moveCurve2 12s ease-in-out infinite alternate-reverse;
}

@keyframes moveCurve1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-30px); }
}

@keyframes moveCurve2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(40px); }
}
.particle-divider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
}

.divider-wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 100% 100% 0 0;
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.section-divider {
  height: 120px;
  background: linear-gradient(90deg, #0d6efd, #6f42c1);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
  position: relative;
}
.divider.diagonal {
  height: 120px;
  background: linear-gradient(90deg, #0d6efd, #6f42c1);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

/* Scroll Reveal */
[data-reveal], .feature-list li, .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}
[data-reveal].is-visible,
.feature-list li.is-visible,
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*** =========================
     SPINNER
========================= ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}
#spinner.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-out, visibility 0s linear 0s;
}

/*** =========================
     BUTTONS
========================= ***/
.btn { font-weight: 600; transition: all 0.5s ease; }
.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: normal;
}
.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-md-square { width: 46px; height: 46px; }
.btn-lg-square { width: 58px; height: 58px; }
.btn-primary, .btn-gradient {
    border-radius: var(--btn-radius);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.btn-primary {
    background: var(--cta-bg);
    padding: var(--btn-padding);
    font-weight: 600;
}
.btn-primary:hover { transform: translateY(-3px); opacity: 0.9; }
.btn-gradient {
    background: var(--cta-bg);
    padding: 0.9rem 2rem;
}
.btn-gradient:hover { transform: translateY(-2px); opacity: 0.9; }

/*** =========================
     TOPBAR
========================= ***/
.topbar .top-info { letter-spacing: 1px; }
.topbar .top-link { display: flex; align-items: center; justify-content: center; }
.topbar .top-link a { margin-right: 10px; }
#note { width: 500px; overflow: hidden; }
#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite linear;
}
@keyframes mymove { from { left: -100%; } to { left: 100%; } }

/*** =========================
     NAVBAR
========================= ***/

.navbar .navbar-nav { padding: 15px 0; }
.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--bs-white);
    font-size: 18px;
    outline: none;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: var(--bs-secondary) !important;    border-bottom: 1px solid #ddd;
}
.navbar-nav .nav-link.active { font-weight: 600; color: #ffc107 !important; }

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }
}
.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}

/*** =========================
     CAROUSEL
========================= ***/
/* Fix hero carousel text on mobile so it fits above the fold */
@media (max-width: 768px) {
    .carousel-caption {
      padding: 0 1rem;
    }
  
    .carousel-caption h1 {
      font-size: 1.8rem;
      line-height: 1.2;
      margin-bottom: 1rem;
    }
  
    .carousel-caption h6 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }
  
  
    .carousel-caption .btn {
      font-size: 0.9rem;
      padding: 0.6rem 1rem;
    }
  }
  
  @media (max-width: 576px) {
    .carousel-caption {
      top: 35%;
      transform: translateY(-35%);
    }
  
    .carousel-caption h1 {
      font-size: 1rem;
    }
  
    .carousel-caption p {
        display: none;
    }
  }
  
.carousel-caption {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.carousel-item.active .carousel-caption {
  opacity: 1;
}

.carousel-container { position: relative; overflow: hidden; }
.carousel-item {
    display: none;
    position: relative;
    transition: opacity 0.8s ease;
}
.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
}
.carousel-item img { width: 100%; border-radius: 1rem; object-fit: cover; }
.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.carousel-caption p { max-width: 700px; margin: 0 auto 35px; }
.carousel-control-prev, .carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    transition: 0.8s;
}
.carousel-control-prev { left: 0; border-radius: 0 50px 50px 0; background: var(--bs-primary); }
.carousel-control-next { right: 0; border-radius: 50px 0 0 50px; background: var(--bs-primary); }
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--bs-secondary); }

#carouselId .carousel-indicators li {
    width: 30px; height: 10px; background: var(--bs-primary); margin: 10px; border-radius: 30px;
}
#carouselId .carousel-indicators li:hover { background: var(--bs-secondary); }

@media (max-width: 992px) { .carousel-item { min-height: 500px; } }
@media (max-width: 768px) { .carousel-item { min-height: 400px; } }

/*** =========================
     HERO
========================= ***/
.hero {
    position: relative;
    text-align: center;
    padding: 12rem 1rem 6rem;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    overflow: hidden;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: var(--heading-size);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-color);
}
.hero h1 span {
    background: var(--cta-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: gradientShift 3s infinite alternate;
}
.gradient-text{
  background: var(--cta-bg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: gradientShift 3s infinite alternate;
}
.hero p {
    font-size: var(--body-size);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 1.5rem auto 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(.22,.9,.35,1);
}
.hero p.is-visible { opacity: 1; transform: translateY(0); }
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
    animation: float 8s ease-in-out infinite alternate;
}
.hero::before { width: 250px; height: 250px; background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%); top:-50px; left:-50px; }
.hero::after { width: 200px; height: 200px; background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%); bottom:-50px; right:-50px; animation-delay: 2s; }

/*** =========================
     SERVICES
========================= ***/
.services-inner { display: flex; flex-wrap: wrap; }
.services-inner > div { display: flex; }
.services-item {
    flex: 1; display: flex; flex-direction: column; height: 100%;
    box-shadow: 0 0 60px rgba(0,0,0,0.2); border-radius: 10px; padding: 10px 0; position: relative;
}
.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(3,43,243,0.8);
    transition: 0.5s;
}
.services-item:hover .services-content::after { height: 100%; opacity: 1; }
.services-item:hover .services-content-icon i { color: var(--bs-secondary) !important; }
.services-item:hover .services-content-icon p { color: #fff; }

/*** =========================
     PROJECTS
========================= ***/
.project-img { position: relative; padding: 15px; }
.project-img::before, .project-img::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 10px;
    opacity: 1;
    transition: 0.5s;
    z-index: -1;
}
.project-img::before { top: 0; left: 0; background: var(--bs-secondary); }
.project-img::after { bottom: 0; right: 0; background: var(--bs-primary); }
.project-content {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0;
    display: flex; align-items: center; justify-content: center; opacity: 0;
}
.project-content a { display: inline-block; padding: 20px 25px; background: var(--bs-primary); border-radius: 10px; }
.project-item:hover .project-content { opacity: 1; transition: 0.5s; }
.project-item:hover .project-img::before,
.project-item:hover .project-img::after { opacity: 0; }
.project-card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.project-img {
  transition: transform 0.6s ease;
}
.project-card:hover .project-img {
  transform: scale(1.08);
  filter: brightness(0.6);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.btn-outline-light:hover {
  background: #fff;
  color: #0d6efd !important;
}
/*** =========================
     TEAM
========================= ***/
.team-item {
    border-top: 30px solid var(--bs-secondary);
    background: rgba(239,239,241,0.8);
}
.team-content::before {
    display: block; content: ""; position: relative; top: -101px;
    height: 200px; background: var(--bs-secondary); clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
}
.team-img-icon { position: relative; margin-top: -200px; padding: 30px 30px 0; }
.team-img img { border: 10px solid var(--bs-secondary); transition: 0.5s; }
.team-item:hover h4 { color: var(--bs-primary); }
.team-item:hover .team-img img { transform: scale(1.05); }

/*** =========================
     TESTIMONIALS
========================= ***/
.testimonial-item { background: #e3f0eb; }
.testimonial-carousel .owl-dots { margin-top: 15px; display: flex; justify-content: center; }
.testimonial-carousel .owl-dot { width: 15px; height: 15px; border-radius: 50%; background: #c1dad0; margin: 0 5px; transition: 0.5s; }
.testimonial-carousel .owl-dot.active { width: 30px; background: var(--bs-primary); }
.testimonial-carousel .owl-item.center .testimonial-item { background: #fff; box-shadow: 0 0 30px #ddd; transition: 0.5s; }

@keyframes fadeInUpSoft {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.wow.fadeInUp {
  animation: fadeInUpSoft 0.8s ease forwards;
}

/*** =========================
     About
========================= ***/
.img-hover-animate {
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.img-hover-animate:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.img-hover-animate:hover {
    transform: scale(1.03) rotate(1deg) !important;
}
@keyframes fadeInLeftSoft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRightSoft {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

.fadeInLeft {
  animation: fadeInLeftSoft 0.8s ease forwards;
}
.fadeInRight {
  animation: fadeInRightSoft 0.8s ease forwards;
}

  
/*** =========================
     CONTACT
========================= ***/
.contact-detail::before {
    position: absolute; content: ""; height: 50%; width: 100%; top: 0; left: 0;
    background: linear-gradient(rgb(210,243,235,1), rgba(230,250,245,0.3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover; border-radius: 10px; z-index: -1;
}
.contact-map, .contact-form { background: #26d48c; }

/*** =========================
     FOOTER
========================= ***/
.footer .short-link a, .footer .help-link a, .footer .contact-link a {
    transition: 0.5s;
}
.footer .short-link a:hover, .footer .help-link a:hover, .footer .contact-link a:hover { letter-spacing: 1px; }
.footer .SoftEx-link a:hover { background: var(--bs-secondary); border: 0; }

/*** =========================
     ANIMATIONS
========================= ***/
@keyframes float { 0%{transform:translateY(0) rotate(0deg);}50%{transform:translateY(-20px) rotate(10deg);}100%{transform:translateY(0) rotate(0deg);} }
@keyframes gradientShift { 0%{background-position:0% 50%}100%{background-position:100% 50%} }

/*** =========================
     RESPONSIVE
========================= ***/
@media(max-width: 992px) { .layered-image { width: 80%; top: 10%; } }
@media(max-width: 768px){
    .hero h1{ font-size: 2.5rem; }
    .hero p{ font-size: 1rem; }
    .metric h2{ font-size: 2rem; }
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(.22,.9,.35,1);
}
.feature-list li.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.feature-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
}
/*** =========================
     Services It Consulting
========================= ***/
.split-section {
    background: linear-gradient(135deg, var(--primary-color) 40%, --secondary-color 100%);
    color: #fff;
    position: relative;
  }
  .split-section img {
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(24, 19, 19, 0.2);
  }
  .feature-box {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
  }
  .feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
/*** =========================
     Email
========================= ***/
  .email-link::before {
    content: "contact";
  }
  
  .email-link::after {
    content: "@soft-ex.fr";
  }
  
  .email-link {
    text-decoration: none;
    color: inherit;
    pointer-events: none; /* disables click so bots can't follow */
  }
  .phone-link::before {
    content: "+337";
  }
  .phone-link::after {
    content: "69304089";
  }
  .phone-link {
    text-decoration: none;
    color: inherit;
    pointer-events: none;
  }
  .language-selector {
    position: relative;
    display: inline-block;
    font-family: var(--font-body);
    min-width: 140px;
  }
  
  /* Style select for desktop */
  .language-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--cta-bg);
    color: #fff;
    font-weight: 500;
    border: none;
    border-radius: var(--btn-radius);
    padding: 0.5rem 2rem 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
  }
  
  /* Remove default arrow in IE */
  .language-selector select::-ms-expand {
    display: none;
  }
  
  /* Custom arrow for desktop */
  .language-selector::after {
    content: "\f078"; /* FontAwesome down arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #fff;
    font-size: 0.8rem;
  }
  
  /* Option styling */
  .language-selector select option {
    padding-left: 0.5rem;
    color: #111;
  }
  
  /* Hover / focus effects */
  .language-selector select:hover,
  .language-selector select:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  /* ===================== MOBILE FIX ===================== */
  @media (max-width: 768px) {
    .language-selector select {
      padding-left: 0.8rem;
      padding-right: 0.8rem;
      font-size: 0.9rem;
      background: #0d6efd; /* fallback solid color */
    }
    .language-selector::after {
      display: none; /* hide custom arrow on mobile for native UI */
    }
  }
  
  /* Small mobile tweaks */
  @media (max-width: 576px) {
    .language-selector select {
      width: 100%;
      padding: 0.5rem 1rem;
      font-size: 0.85rem;
    }
  }
  
  
  .sr-only {
    position: absolute;
    left: -9999px;
  }
  

.backgroung-style{
  background: var(--cta-bg);

}
.card-bg{
  background: var(--card-bg);
border-top: 5px solid var(--primary-color);

}
.hero-shape-circle {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  animation: float 6s ease-in-out infinite;
}
/* CONTACT  */

.contact-section {
  background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.contact-section::before {
  content: "";
  position: absolute;
  margin: 0 auto; 
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, var(--primary-color) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, var(--secondary-color) 0%, transparent 40%);
  opacity: 0.12;
  animation: float-bg 25s ease-in-out infinite alternate;
}
@keyframes float-bg {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* ✨ Contact Cards */
.contact-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.25rem;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 64px;
  height: 64px;
  background: var(--cta-bg);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.contact-card:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(111, 66, 193, 0.6);
}

/* 🧾 Form Styling */
.contact-form {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px var(--card-shadow);
  padding: 2rem;
  transition: all 0.3s ease;
}
.contact-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 0.9rem 1rem;
  transition: box-shadow 0.2s ease, border 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
  outline: none;
}

/* 🎯 Button */
.contact-form .btn {
  width: 100%;
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  background: var(--cta-bg);
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

/* ✉️ Message feedback */
#formMessage {
  opacity: 0;
  transition: opacity 0.5s ease;
  font-weight: 500;
  margin-top: 1rem;
  text-align: center;
}
#formMessage.show {
  opacity: 1;
}

/* 📱 Responsive Improvements */
@media (max-width: 991px) {
  
  .contact-detail .row.g-5 {
    flex-direction: column;
    gap: 2rem;
  }
  .contact-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .contact-card .contact-icon {
    width: 56px;
    height: 56px;
  }
  .contact-form {
    padding: 1.8rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3.5rem 0;
  }
  .contact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-card .contact-icon {
    margin-bottom: 1rem;
  }
  .gradient-text {
    font-size: 1.9rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 2.5rem 0;
    justify-content: center;
  }
  
  .contact-form button {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
}
