:root {
  --bg: #0b0f1a;           /* page background */
  --panel: #0f1628;        /* card background */
  --muted: #97a3b6;        /* secondary text */
  --text: #494c4e;         /* primary text */
  --brand: #6c8cff;        /* primary brand */
  --brand-2: #8a6cff;      /* secondary brand */
  --accent: #00e6a7;       /* accent */
  --border: rgba(255,255,255,.08);
  --radius: 16px;
  --shadow: 0 10px 25px rgba(0,0,0,.25);
  --maxw: 1100px;
  --blck: #000;
  --light-bg: #ffffff;     /* New variable for light sections */
  --light-text: #333333;   /* New variable for text on light bg */
}

* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body::-webkit-scrollbar{
    display:none;
}
body {
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(108,140,255,.15), transparent 60%),
              radial-gradient(1000px 700px at 10% -10%, rgba(138,108,255,.12), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Light sections (About, Services, Contact) */
#about, #services, #contact {
  background-color: var(--light-bg);
  color: var(--light-text);
}

#about .lead, #services .lead, #contact .lead {
  color: #666;
}
#about{
  border-bottom: 2px solid rgb(216, 213, 213);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(8px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eaeaea;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
header.hide {
  transform: translateY(-100%);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease;
}
.brand:hover {
  transform: translateY(-2px);
}
.logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
  font-weight: 800;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  background-image: url("./images/logo/WhatsApp\ Image\ 2025-08-27\ at\ 6.13.49\ PM.jpeg");
  background-size:cover;
  background-position: center;
  background-repeat:no-repeat;
}
.logo:hover {
  transform: rotate(10deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(108,140,255,.45);
}
.brand span {
  font-weight: 800;
  letter-spacing: .2px;
  color: #333;
}

nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  color: var(--blck);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--brand), var(--brand-2));
  transition: width 0.3s ease;
}
nav a:hover::after, nav a.active::after {
  width: 100%;
}
nav a.active, nav a:hover {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(108,140,255,.35);
  border: 1px solid rgba(255,255,255,.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.7s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(108,140,255,.5);
}
.btn.outline {
  background: transparent;
  border: 1px solid var(--brand);
  box-shadow: none;
  color: var(--brand);
}
.btn.outline:hover {
  background: rgba(108,140,255,.1);
  border-color: var(--brand);
  color: var(--brand);
}

.animate-pulse:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
  transition: .5s ease-in-out;
  color:white;
}
.animate-pulse:hover::before {
  left: 100%;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 100;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  height: 70vh; /* Reduced from 100vh */
  min-height: 500px; /* Minimum height */
  overflow: hidden;
}

.hero-container {
  position: relative;
  height: 100%;
}

/* Hero Section with Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}


.slide.active {
  opacity: 1;
}

/* Ensure text content is above the slider */
.home-container {
  position: relative;
  z-index: 2;
  height: 90%;
  display: flex;
  align-items: center;
}
/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
    min-height: 350px;
  }
}

.slider-prev, .slider-next {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
  z-index: 4;
}

.slider-prev:hover, .slider-next:hover {
  background: var(--brand);
  color: white;
}

.slider-dots {
  display: flex;
  gap: 8px;
  z-index: 4;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots .dot.active {
  background: var(--brand);
  transform: scale(1.2);
}

.slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}
/* end */

.grid {
  display: grid;
  gap: 28px;
}
.hero .grid {
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}
.kicker {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
}
h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  margin: .35em 0 .25em;
  color: #fff;
}
.lead {
  font-size: 1.05rem;
  color: #e6e6e6;
  max-width: 62ch;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,.35);
}
.hero-card h3 {
  margin: 0 0 .25rem;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.chip {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  transition: all 0.3s ease;
}
.chip:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateX(5px);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

/*styling cloudCompute*/
.cloudCompute{
  position: relative;    
  overflow: hidden;         
  color: #fff;
  background: linear-gradient(rgba(43, 50, 156, 0.7), rgba(38, 41, 233, 0.7)),url('../assets/images/fourth_image.jpg');
  border-radius: 12px;     
  min-height: 200px;       
  padding: 1.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scaleY(5deg);
}
/*end of styling cloudCompute*/

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(to bottom, var(--brand), var(--brand-2));
  transition: height 0.5s ease;
}
.card:hover::before {
  height: 100%;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}
.card h3 {
  margin-top: 0;
  color: #333;
}
.card p {
  color: 666;
}
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(108,140,255,.2), rgba(138,108,255,.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--brand);
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #dee2e6;
  color: #6c757d;
  font-size: .85rem;
  transition: all 0.3s ease;
}
.badge:hover {
  background: rgba(108,140,255,.1);
  border-color: var(--brand);
  color: var(--brand);
  transform: scale(1.05);
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
}


.person {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.person:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  font-weight: 800;
  transition: transform 0.5s ease;
  background-image: url("./images/fire.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  border-radius: 50px;
}
.avatar img{
  width: 60px;
}
.person:hover .avatar {
  transform: scale(1.1) rotate(5deg);
}
.person h4 {
  margin: 10px 0 6px;
  color: #333;
}
.person p {
  margin: 0;
  color: #666;
  font-size: .95rem;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, rgba(108,140,255,.1), rgba(138,108,255,.1));
  border: 1px solid #e9ecef;
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}
.cta h3 {
  color: #333;
  margin: .2em 0;
}
.cta p {
  margin: 0;
  color: #666;
}

/* Footer */
footer {
  padding: 40px 0 60px;
  color: var(--muted);
  border-top: 1px solid #eaeaea;
  background: #f8f9fa;
}

/* Utilities */
.sp-1 { height: 10px; }
.sp-2 { height: 18px; }
.sp-3 { height: 26px; }
.sp-4 { height: 40px; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from { 
    opacity: 0;
    transform: scale(0.9);
  }
  to { 
    opacity: 1;
  }
}

/* Beautiful Contact Section */
#contact {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(108,140,255,0.1) 0%, rgba(138,108,255,0.05) 50%, transparent 100%);
  z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.contact-details {
  list-style: none;
  padding: 0;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #555;
}

.contact-details i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.1rem;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(108,140,255,0.1);
  background: white;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108,140,255,0.3);
}

.social-links-contact {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links-contact a {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: all 0.3s ease;
}

.social-links-contact a:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 980px) {
  .hero .grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  nav ul {
    display: none;
    position: fixed;
    inset: 70px 12px auto 12px;
    background: rgba(255,255,255,.98);
    border: 1px solid #eaeaea;
    border-radius: 14px;
    padding: 12px;
    flex-direction: column;
    animation: slideUp 0.3s ease forwards;
  }
  nav ul.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .cards { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .hero-points { grid-template-columns: 1fr; }
}

/* Loading animation */
.loading-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-animation.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
}

.spinner-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(108, 140, 255, 0.2);
  border-top: 3px solid var(--brand);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Add the spin animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("./images/logo/WhatsApp\ Image\ 2025-08-27\ at\ 6.13.49\ PM.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1000;
}

.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--brand), var(--brand-2));
  transition: width 0.3s ease;
}

/* Hero background elements */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--brand);
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--brand-2);
  bottom: -100px;
  left: 20%;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent);
  top: 30%;
  left: -75px;
  animation-delay: 4s;
}

/* Back to top button */
.back-to-top {
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-3px);
}