/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: color 0.2s ease, background-color 0.2s ease;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* prevent horizontal scroll */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

/* Prevent grids from overflowing */
.services-grid,
.features-grid,
.stats-grid,
.contact-content,
.about-content {
  max-width: 100%;
  overflow-x: hidden;
}

/* Smallest screens fix */
@media (max-width: 360px) {
  .container {
    padding: 0 0.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(26, 76, 102, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-img {
  height: 70px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1A4C66;
}

.logo-text p {
  font-size: 0.875rem;
  color: #7A8A99;
}
.nav-desktop {
  display: flex;
  gap: 1.5rem; /* space between links */
}
/* Desktop Navigation Links */
.nav-desktop a.nav-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #1A4C66;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease; /* smooth animation */
}

/* Hover effect */
.nav-desktop a.nav-link:hover {
  background: linear-gradient(135deg, #1A4C66 0%, #7A8A99 50%, #9299A3 100%);
  color: #fff !important;   /* force text color */
  transform: translateY(-2px);
}

/* Active (current page) */
.nav-desktop a.nav-link.active {
  background: linear-gradient(135deg, #1A4C66 0%, #7A8A99 50%, #9299A3 100%);
  color: #fff !important;
}

.mobile-menu-btn {
  display: none; /* hidden by default, only visible on mobile */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0.5rem;
  z-index: 1001; /* keep above nav */
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #1A4C66; /* bar color */
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* Add this at the top with your header/nav styles */
.nav-mobile {
  display: none; /* hide mobile menu by default */
}


/* Mobile Menu Button only visible on small screens */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-desktop {
    display: none; /* hide desktop nav */
  }

  .nav-mobile {
    max-height: 0;            /* start hidden */
    overflow: hidden;         
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem;          /* keep horizontal padding */
    background: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;

    /* transition for smooth slide */
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  }

  .nav-mobile.active {
    max-height: 400px;   /* adjust big enough for all links */
    padding: 1rem;       /* add back vertical padding */
  }

  .nav-mobile .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #1A4C66;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .nav-mobile .nav-link:hover,
  .nav-mobile .nav-link.active {
    background: linear-gradient(135deg, #1A4C66 0%, #7A8A99 50%, #9299A3 100%);
    color: #ffffff;
  }
/* Animate to X when active */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0; /* hide middle bar */
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -8px);
}

/* Ensure relative positioning for smooth transform */
.mobile-menu-btn.active span:nth-child(1),
.mobile-menu-btn.active span:nth-child(3) {
  position: relative;
}

}

.mdm-background {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26, 76, 102, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(122, 138, 153, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(146, 153, 163, 0.1) 0%, transparent 50%);
  animation: dataFlow 20s ease-in-out infinite;
}

@keyframes dataFlow {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(10px, -5px); }
  50% { transform: translate(-5px, 10px); }
  75% { transform: translate(5px, -10px); }
}
/* Highlight text */
.highlight {
    color: #9299A3;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 850px; /* adjust hero height */
    background-image: url('../public/marius-masalar-UCETKvFMBC4-unsplash (1).jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; /* fill hero fully, slight crop allowed */
    overflow: hidden;
    z-index: 0;
    color: linear-gradient(135deg, #1A4C66 0%, #7A8A99 50%, #9299A3 100%);
    
}

/* Gradient overlay (optional, add if needed) */
.hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    z-index: 1;
}

/* Hero Content Positioning */
.hero-content {
    position: relative;
    z-index: 2;                  /* above image */
    padding: 30px 40px;          /* push content down and slightly right */
    max-width: 600px;             /* keeps text readable */
    transform: translateY(20%);  /* move content slightly down */
    text-align: left;
}

/* Hero Heading */
.hero-text h1 {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif; /* professional fonts */
    font-size: 2rem;           /* large heading */
    font-weight: 700;          /* bold */
    line-height: 1.4;          /* more readable */
    letter-spacing: 1px;       /* subtle spacing */
    margin-bottom: 1.5rem;
    color: #1A4C66;
        white-space: nowrap;   /* prevent wrapping */
    text-overflow: ellipsis;
}

/* Hero Paragraph */
.hero-text p {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    font-size: 1.25rem;
    line-height: 1.7;          /* comfortable reading */
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    color: #1A4C66;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;                 /* spacing between buttons */
    flex-wrap: wrap;
}

.hero-buttons .btn {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Primary Button */
.hero-buttons .btn-primary {
    background: white;
    color: #1A4C66;
    border: 2px solid #1A4C66;
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #1A4C66 0%, #7A8A99 50%, #9299A3 100%);
    color: white;
    transform: translateY(-2px);
}
/* Typing effect */
.typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #1A4C66; /* cursor */
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
}

/* Blink cursor */
@keyframes blinkCaret {
    0%, 100% { border-color: transparent; }
    50% { border-color: #1A4C66; }
}

.typing.blink {
    animation: blinkCaret 0.75s step-end infinite;
}

/* Stop cursor after typing */
.typing.done {
    border-right: none;
    animation: none;
}

/* Highlight span */
.typing .highlight {
    color: #9299A3;
}

/* Fade-in for paragraph and buttons */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.fade-in:nth-of-type(1) { animation-delay: 3s; } /* paragraph */
.fade-in:nth-of-type(2) { animation-delay: 3.5s; } /* buttons */

.stats-grid-hero {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    padding: 1.5rem;
    border: 2px solid #1A4C66;
    border-radius: 12px;
    text-align: center;
    color: #1A4C66;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

/* Slide in from left */
.stat-left.active {
    opacity: 1;
    transform: translateX(0);
    animation: slideLeft 1s forwards;
}

/* Slide in from right */
.stat-right.active {
    opacity: 1;
    transform: translateX(0);
    animation: slideRight 1s forwards;
}


@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}


/* Slide in Animations */
@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 fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section Responsive Fix */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* Hover effect for desktop */
@media (hover: hover) and (pointer: fine) {
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }
}

/* Touch devices: add a subtle "press" effect */
@media (hover: none) and (pointer: coarse) {
    .feature-card:active {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }
}
/* ---------------------- */
/* Tablet: 1024px and below */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 90%;
        padding: 20px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
        white-space: normal;
    }

    .hero-text p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats-grid-hero {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        gap: 1rem;
    }

    .stat-item {
        max-width: none; /* allow full width of column */
        margin: 0 auto;
    }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {
    .hero-content {
        transform: translateY(10%);
        padding: 15px;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stats-grid-hero {
        grid-template-columns: repeat(2, 1fr); /* keep 2 columns */
        gap: 0.8rem;
    }

    .stat-item {
        max-width: none;
        margin: 0 auto;
    }
}

/* Small Phones: 480px and below */
@media (max-width: 480px) {
    .hero-content {
        max-height: calc(100vh - 60px); /* adjust according to navbar height */
        overflow-y: hidden;
        padding-top: 90px;
    }

    .stats-grid-hero {
        display: flex;          
        overflow-x: auto;     /* enable horizontal scroll */
        scroll-snap-type: x mandatory; 
        gap: 0.5rem;          
    }

    .stat-item {
        flex: 0 0 70%;          
        scroll-snap-align: start;
        margin: 0 0.5rem;       
        padding: 0.8rem;        
        font-size: 0.85rem;     
    }

    .stat-number {
        font-size: 1.2rem;     
    }

    .stat-label {
        font-size: 0.9rem;     
    }
}

/* Features Section */
.features {
  padding: 80px 0;
  background: rgba(146, 153, 163, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1A4C66;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #7A8A99;
  max-width: 800px;
  margin: 0 auto;
}

/* Feature Items */
.features .feature-icon {
  font-size: 2.5rem;
  color: #1A4C66;   /* icon color */
  margin-bottom: 1rem;
}

.features .feature-item h3 {
  color: #1A4C66;   /* heading color */
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.features .feature-item p {
  color: #7A8A99;   /* paragraph color */
  font-size: 0.95rem;
  line-height: 1.6;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(26, 76, 102, 0.08);
  transition: all 0.3s ease;
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(26, 76, 102, 0.15);
}

.feature-icon-wrapper {
  background: rgba(26, 76, 102, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* About Section */
.about {
  padding: 80px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: stretch;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-left: 20px;
}

.about-right {
  display: flex;
  flex-direction: column;
}

.about-text h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #1A4C66;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #7A8A99;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr; /* side-by-side */
  gap: 1.5rem;
}

.mission, .vision {
  background: rgba(26, 76, 102, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #1A4C66;
}

.mission h4, .vision h4 {
  color: #1A4C66;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.mission p, .vision p {
  color: #7A8A99;
  line-height: 1.6;
}

.why-choose {
  flex: 1;
  padding: 2rem;
  background: rgba(26, 76, 102, 0.05);
  border-radius: 12px;
  border-left: 4px solid #1A4C66;
}

.why-choose h4 {
  color: #1A4C66;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.why-choose ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.why-choose ul li {
  color: #7A8A99;
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
}
.why-choose ul li::before {
  content: "•";
  color: #1A4C66;
  position: absolute;
  left: 0;
}

.why-choose p, .cta-text {
  color: #1A4C66;
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  background: linear-gradient(135deg, rgba(26, 76, 102, 0.1) 0%, rgba(146, 153, 163, 0.1) 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #1A4C66;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: #7A8A99;
  font-weight: 500;
}
@media (max-width: 1024px) {
    .mission-vision {
        grid-template-columns: 1fr; /* stack vertically on smaller screens */
    }
}
/* Services */
.services {
  padding: 80px 0;
  background: rgba(146, 153, 163, 0.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(26, 76, 102, 0.08);
  transition: all 0.3s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(26, 76, 102, 0.15);
}
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A4C66;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: #7A8A99;
  margin-bottom: 1rem;
}
.service-card ul {
  list-style: none;
}
.service-card li {
  color: #7A8A99;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}
.service-card li::before {
  content: '✓';
  color: #1A4C66;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-card {
  background: #1A4C66;
  color: white;
  border-radius: 16px;
  padding: 2rem;
}
.contact-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.contact-item a:hover {
  color: white;
}
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info {
    flex: 1 1 300px;
}

.contact-map {
    flex: 1 1 400px;
    min-height: 350px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #1A4C66 0%, #7A8A99 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.cta h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.cta p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
/* Make btn-light same as btn-primary */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;  /* space inside */
    border-radius: 8px;       /* rounded corners */
    text-decoration: none;    /* remove underline */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-light {
    background: white;
    color: #1A4C66;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: linear-gradient(135deg, #1A4C66 0%, #7A8A99 50%, #9299A3 100%);
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #1A4C66;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-contact-map {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.footer-contact {
    flex: 1 1 300px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 75px;
  width: auto;
}
.footer-logo h3 {
  font-size: 1.25rem;
  font-weight: bold;
}
.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-company p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 400px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: white;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1A4C66;
  color: white;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26, 76, 102, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: #7A8A99;
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 6px 20px rgba(26, 76, 102, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-mobile.active { display: flex; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* Wrapper positioning */
.whatsapp-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    text-decoration: none;
    /* Start hidden */
    transform: translateX(-80px);
    animation: slideOutIn 10s infinite;
}

/* Slide out and in animation */
@keyframes slideOutIn {
    0% { transform: translateX(-80px); }     /* Hidden */
    10% { transform: translateX(0); }       /* Slide out */
    50% { transform: translateX(0); }       /* Stay visible for ~5s */
    60% { transform: translateX(-80px); }   /* Slide back in */
    100% { transform: translateX(-80px); }  /* Wait for next loop */
}

/* Optional: scale on hover */
.whatsapp-float:hover {
    transform: translateX(0) scale(1.2);
}

/* Show only on mobile */
@media (max-width: 768px) {
    .whatsapp-wrapper { display: block; }
}
@media (min-width: 769px) {
    .whatsapp-wrapper { display: none; }
}
