/* Global Styles & Variables */
:root {
  --primary-color: #ff6b00; /* Vibrant Orange */
  --text-color: #333333; /* Dark Charcoal Gray */
  --bg-color: #ffffff; /* Pure White */
  --bg-secondary: #f8f9fa; /* Light Gray */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Poppins", sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.highlight {
  color: var(--primary-color);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #e65c00;
  border-color: #e65c00;
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.btn-outline:hover {
  background-color: var(--text-color);
  color: #fff;
  transform: scale(1.05);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.2rem;
}

/* Header */
.glass-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

.glass-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-color);
}

.logo-text .dot {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.1;
}

.hero-content .subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #555;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Abstract Shape Animation Placeholder */
.abstract-shape {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.abstract-shape .shape-1,
.abstract-shape .shape-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.abstract-shape .shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--primary-color), #ffcc00);
  top: 20%;
  left: 10%;
}

.abstract-shape .shape-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, #333, #666);
  bottom: 20%;
  right: 10%;
  animation-delay: -3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Problem/Services Section */
.problem-section {
  padding: 0; /* Full width/height container */
  background-color: var(--bg-secondary);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* No gaps between columns */
  width: 100%;
}

.problem-card {
  background-color: var(--bg-secondary); /* Base background */
  padding: 5rem 3rem; /* Generous padding */
  text-align: center;
  transition: var(--transition);
  border-right: 1px solid rgba(0,0,0,0.05); /* Subtle dividers */
  cursor: default;
}

.problem-card:last-child {
  border-right: none;
}

.problem-card:hover {
  background-color: var(--bg-color); /* White on hover */
  transform: translateY(-5px); /* Slight lift */
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.icon-box-problem {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  display: inline-block;
}

.problem-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--text-color);
}

.problem-card p {
  font-size: 1.1rem;
  color: #666;
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .problem-card {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
}

/* Testimonials */
.testimonials-section {
  padding: 100px 0;
}

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card p.quote {
  font-size: 1.5rem;
  font-style: italic;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.client-role {
  color: #888;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #222, #444);
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: #111;
  color: #fff;
  padding: 80px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.logo-text-footer {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}

.brand-col p {
  color: #aaa;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.footer-col ul li {
  margin-bottom: 0.8rem;
  color: #ccc;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.2rem;
}

.social-icons a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  color: #555;
  padding-top: 2rem;
  border-top: 1px solid #222;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .glass-header .nav-links,
  .glass-header .header-cta {
    display: none; /* simple mobile menu for now */
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .subtitle {
    margin: 0 auto 2rem;
  }

  .abstract-shape {
    height: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Solutions Section */
.solutions-section {
  padding: 0;
  display: block;
  overflow: hidden;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.solution-block {
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center; /* Center text vertically */
  justify-content: center;
}

.text-block {
  background-color: var(--bg-color);
  padding: 4rem;
}

/* Alternate dark/light for visual interest and to match "checklist" style request */
.solution-block:nth-child(4), .solution-block:nth-child(8) {
   background-color: #222;
   color: #fff;
}
.solution-block:nth-child(4) h3, .solution-block:nth-child(8) h3 {
    color: #fff;
}
.solution-block:nth-child(4) p, .solution-block:nth-child(8) p {
    color: #ccc;
}
.solution-block:nth-child(4) .btn-link, .solution-block:nth-child(8) .btn-link {
    color: var(--primary-color);
}


.image-block {
  padding: 0;
  overflow: hidden;
  min-height: 400px;
}

.image-wrapper {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.solution-content {
  max-width: 450px;
}

.solution-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.solution-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.btn-link {
  font-weight: 600;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}
.btn-link:hover {
  text-decoration: underline;
  color: var(--primary-color);
}
.btn-link i {
    width: 18px;
    height: 18px;
}

/* Wipe Animation */
.reveal-container {
    position: relative;
}

.reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 5;
    transform: translateX(0);
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.reveal-container.visible .reveal-overlay {
    transform: translateX(100%);
}

/* Responsive Solutions */
@media (max-width: 900px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-block {
        min-height: 350px;
    }
    
    /* Reorder to maintain Text -> Image flow or natural flow */
    /* Natural flow: Text, Image, Image, Text... */
    /* Let's swap the 2nd pair to make it Text, Image, Text, Image? */
    /* Current: 
       1: Text
       2: Image
       3: Text (Social) -> In HTML it is Text
       4: Image (Social) -> In HTML it is Image
       Wait, let's check HTML structure again.
       HTML: 
       1. Text (Web)
       2. Image (Web)
       3. Image (App)
       4. Text (App)
       5. Text (Social)
       6. Image (Social)
       7. Image (Maint)
       8. Text (Maint)
       
       So pairs 2 and 4 (indices 3,4 and 7,8) are reversed (Image-Text).
       On Mobile, we probably want Text then Image for all.
       So for pair 2 (3,4): Swap.
       For pair 4 (7,8): Swap.
    */
    
    .solutions-grid .solution-block:nth-child(3) { order: 4; }
    .solutions-grid .solution-block:nth-child(4) { order: 3; }
    
    .solutions-grid .solution-block:nth-child(7) { order: 8; }
    .solutions-grid .solution-block:nth-child(8) { order: 7; }
}
