/* ----- base styles ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #0f172a;
  color: #fff;
  overflow: hidden;
  transition: overflow 0s;
}

body.scroll-allowed {
  overflow: auto;
}

/* Loader */
#loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  flex-direction: column;
}

#loader img {
  width: 80px;
  margin-bottom: 20px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Logo effect */
.logo img {
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.05);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: #0f172a;
  padding: 15px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid #1e293b;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 25px;
  font-weight: 500;
  transition: .3s;
  cursor: pointer;
}

nav a:hover {
  color: #38bdf8;
}

/* Sections */
section {
  padding: 100px 8%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero span {
  color: #38bdf8;
}

.hero p {
  max-width: 600px;
  margin-bottom: 30px;
  color: #cbd5e1;
}

/* Buttons */
.btn {
  padding: 12px 25px;
  background: #38bdf8;
  border: none;
  border-radius: 30px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}

.btn:hover {
  background: #0ea5e9;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(56,189,248,0.3);
}

/* Services section */
.services {
  background: #111827;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: #1e293b;
  padding: 25px;
  border-radius: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  background: #334155;
  box-shadow: 0 20px 30px rgba(0,0,0,0.4);
}

.card h3 {
  margin-bottom: 15px;
  color: #38bdf8;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(45deg, #38bdf8, #8b5cf6, #38bdf8);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.4s;
}

.card:hover::after {
  opacity: 1;
}

/* About */
.about {
  background: #0f172a;
}

.about p {
  max-width: 800px;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Contact */
.contact {
  background: #111827;
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #1e293b;
  color: #fff;
  transition: 0.3s;
}

input:focus, textarea:focus {
  outline: 2px solid #38bdf8;
  transform: scale(1.02);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #0f172a;
  border-top: 1px solid #1e293b;
  color: #94a3b8;
}

/* Slide structure */
.slide {
  min-height: 100vh;
  width: 100%;
}

#slide-1 {
  display: block;
}

#slide-2 {
  display: none;
}

body.show-slide-2 #slide-1 {
  display: none;
}

body.show-slide-2 #slide-2 {
  display: block;
}

/* Scroll padding */
html {
  scroll-padding-top: 90px;
}

/* Social connect icons */
.connect-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.connect-links a {
  background: #1e293b;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #38bdf8;
  transition: 0.3s;
  border: 1px solid #334155;
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 15px #38bdf8; }
  100% { transform: scale(1); }
}

.connect-links a:hover {
  background: #38bdf8;
  color: #0f172a;
  animation: none;
  transform: scale(1.2) rotate(5deg);
}

/* Back to top button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #38bdf8;
  color: #0f172a;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: #0ea5e9;
  transform: scale(1.1) rotate(360deg);
}

.section-subtitle {
  text-align: center;
  color: #94a3b8;
  margin-top: -20px;
  margin-bottom: 40px;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #cbd5e1;
  line-height: 1.8;
}

.vision-content i {
  color: #38bdf8;
  font-size: 3rem;
  margin-bottom: 20px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
}
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128C7E;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Tooltip text */
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: #1e293b;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    bottom: 40px;
    left: 20px;
  }
  .whatsapp-tooltip {
    left: 60px;
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}
/* ----- Testimonials Section ----- */
.testimonials {
  background: #0f172a;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #1e293b;
  padding: 30px 25px;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 1px solid #334155;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
  border-color: #38bdf8;
}

.testimonial-card i {
  font-size: 2rem;
  color: #38bdf8;
  margin-bottom: 20px;
  opacity: 0.7;
}

.testimonial-card p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-card h4 {
  color: #38bdf8;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.testimonial-card span {
  color: #94a3b8;
  font-size: 0.85rem;
}

.highlight {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.external-link {
  display: inline-block;
  margin-top: 10px;
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #38bdf8;
  transition: 0.2s;
}

.external-link:hover {
  color: #0ea5e9;
  border-bottom-color: #0ea5e9;
  transform: translateX(5px);
}