/* ============================================
   My Excel & AI Automation Solutions
   Full Width Responsive Website
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #217346;
  --primary-dark: #185c37;
  --primary-light: #f0fdf4;
  --accent: #0f172a;
  --text: #334155;
  --text-light: #64748b;
  --bg: #fff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  color: var(--accent);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }

.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-light);
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  width: 100%;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 8px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  margin: 5px 0;
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, rgba(15,23,42,0.93) 0%, rgba(30,58,138,0.88) 100%), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1600&q=80') center/cover no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Floating Elements */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

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

.float-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  background: #217346;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.float-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  background: #185c37;
  top: 60%;
  right: -3%;
  animation-delay: -5s;
}

.float-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  background: #6ee7a0;
  bottom: 10%;
  left: 20%;
  animation-delay: -10s;
}

.float-shape:nth-child(4) {
  width: 100px;
  height: 100px;
  background: #217346;
  top: 20%;
  right: 25%;
  animation-delay: -15s;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.float-shape:nth-child(5) {
  width: 80px;
  height: 80px;
  background: #185c37;
  top: 40%;
  left: 10%;
  animation-delay: -8s;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -30px) rotate(5deg); }
  50% { transform: translate(-20px, 20px) rotate(-5deg); }
  75% { transform: translate(20px, 10px) rotate(3deg); }
}

/* Floating Icons */
.float-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  animation: floatIcon 6s ease-in-out infinite;
  z-index: 2;
}

.float-icon:nth-child(6) {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.float-icon:nth-child(7) {
  top: 25%;
  right: 8%;
  animation-delay: -2s;
}

.float-icon:nth-child(8) {
  bottom: 20%;
  left: 8%;
  animation-delay: -4s;
}

.float-icon:nth-child(9) {
  bottom: 30%;
  right: 5%;
  animation-delay: -1s;
}

.float-icon:nth-child(10) {
  top: 50%;
  left: 2%;
  animation-delay: -3s;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* Page Hero Floating Elements */
.page-hero .floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.page-hero .float-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
}

.page-hero .float-shape:nth-child(1) {
  width: 200px;
  height: 200px;
  background: #217346;
  top: 10%;
  left: -3%;
  animation-delay: 0s;
}

.page-hero .float-shape:nth-child(2) {
  width: 140px;
  height: 140px;
  background: #6ee7a0;
  top: 60%;
  right: -2%;
  animation-delay: -5s;
}

.page-hero .float-shape:nth-child(3) {
  width: 100px;
  height: 100px;
  background: #217346;
  bottom: 10%;
  left: 15%;
  animation-delay: -10s;
}

.page-hero .float-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255,255,255,0.1);
  animation: floatIcon 6s ease-in-out infinite;
  z-index: 2;
}

.page-hero .float-icon:nth-child(4) {
  top: 25%;
  left: 2%;
  animation-delay: 0s;
}

.page-hero .float-icon:nth-child(5) {
  top: 20%;
  right: 2%;
  animation-delay: -2s;
}

.page-hero .float-icon:nth-child(6) {
  top: 55%;
  left: 1%;
  animation-delay: -4s;
}

.page-hero .float-icon:nth-child(7) {
  bottom: 5%;
  right: 2%;
  animation-delay: -1s;
}

.page-hero .float-icon:nth-child(8) {
  bottom: 20%;
  left: 3%;
  animation-delay: -3s;
}

.hero-content h1 {
  margin-bottom: 20px;
  color: #fff;
}

.hero-content h1 span {
  color: #6ee7a0;
}

.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat h3 {
  font-size: 1.8rem;
  color: #6ee7a0;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-card-title {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.metric-box {
  background: var(--bg-alt);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.metric-box .value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.metric-box .label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.metric-box .change {
  font-size: 0.75rem;
  color: #16a34a;
  font-weight: 600;
}

.hero-chart {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 20px;
  height: 140px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.chart-bar {
  flex: 1;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: var(--transition);
}

.chart-bar:hover {
  opacity: 1;
}

/* ============================================
   Features / Services Preview
   ============================================ */
.features {
  padding: 100px 0;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.feature-card h3 { margin-bottom: 10px; }

.feature-card p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
  background: #0f172a;
  padding: 60px 0;
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 4px;
}

.stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ============================================
   About Preview
   ============================================ */
.about-preview {
  padding: 100px 0;
  background: var(--bg-alt);
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.about-image {
  background: linear-gradient(135deg, rgba(13,110,63,0.9) 0%, rgba(9,77,44,0.95) 100%), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=800&q=80') center/cover no-repeat;
  border-radius: 16px;
  padding: 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.about-image h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 16px;
  position: relative;
}

.about-image p {
  color: rgba(255,255,255,0.85);
  position: relative;
}

.about-list {
  margin-top: 24px;
  position: relative;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.about-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.about-content .values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.value-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================
   Page Hero (Inner Pages)
   ============================================ */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, rgba(13,110,63,0.9) 0%, rgba(26,26,46,0.85) 100%), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1600&q=80') center/cover no-repeat;
  text-align: center;
  width: 100%;
  position: relative;
}

.page-hero .container {
  position: relative;
  z-index: 3;
}

.page-hero h1 {
  color: #fff;
  position: relative;
  z-index: 3;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
}

.page-hero .section-label {
  color: #6ee7a0;
  position: relative;
  z-index: 3;
}

.page-hero h1 { margin-bottom: 16px; }

.page-hero p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Services Page
   ============================================ */
.services-list {
  padding: 80px 0;
  width: 100%;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-info h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-info p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.service-visual {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.service-visual-icon {
  font-size: 3rem;
  opacity: 0.6;
}

/* ============================================
   Portfolio
   ============================================ */
.portfolio-grid {
  padding: 80px 0;
  width: 100%;
}

.portfolio-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.portfolio-categories button {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.portfolio-categories button:hover,
.portfolio-categories button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.portfolio-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.portfolio-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.portfolio-body {
  padding: 24px;
}

.portfolio-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.portfolio-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.portfolio-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.portfolio-tags span {
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #185c37 100%);
  text-align: center;
  width: 100%;
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  padding: 80px 0;
  width: 100%;
}

.contact-grid .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 { margin-bottom: 16px; }

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-method p {
  font-size: 0.88rem;
  color: var(--text-light);
}

.contact-method a {
  color: var(--primary);
  font-weight: 600;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,63,0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   Platforms Section
   ============================================ */
.platforms {
  padding: 60px 0;
  background: var(--bg-alt);
  width: 100%;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.platform-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.platform-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.platform-card .icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
}

.platform-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.platform-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #111827;
  color: rgba(255,255,255,0.65);
  padding: 60px 0 0;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: 0.88rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.55);
}

.footer-links a:hover {
  color: #6ee7a0;
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
}

.footer-social a:hover {
  color: #fff;
  transform: translateY(-3px);
}

.footer-social a i {
  font-size: 16px;
}

.social-linkedin:hover {
  background: #0077b5;
  box-shadow: 0 4px 12px rgba(0,119,181,0.4);
}

.social-upwork:hover {
  background: #14a800;
  box-shadow: 0 4px 12px rgba(20,168,0,0.4);
}

.icon-text {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.icon-fiverr {
  font-size: 14px;
  letter-spacing: -1px;
}

.social-fiverr:hover {
  background: #1dbf73;
  box-shadow: 0 4px 12px rgba(29,191,115,0.4);
}

/* ============================================
   Modal / Popup
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-overlay::-webkit-scrollbar {
  display: none;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalSlide 0.3s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal::-webkit-scrollbar {
  display: none;
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.modal-header h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--text-light);
  font-size: 0.88rem;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal .form-group {
  margin-bottom: 0;
}

.modal .form-group label {
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.modal .form-group input,
.modal .form-group textarea,
.modal .form-group select {
  padding: 10px 12px;
  font-size: 0.88rem;
}

.modal .form-group:last-of-type {
  margin-top: 14px;
}

.modal .btn {
  margin-top: 14px;
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children animation */
.stagger-children .feature-card,
.stagger-children .portfolio-card,
.stagger-children .platform-card,
.stagger-children .value-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.active .feature-card:nth-child(1),
.stagger-children.active .portfolio-card:nth-child(1),
.stagger-children.active .platform-card:nth-child(1),
.stagger-children.active .value-item:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }

.stagger-children.active .feature-card:nth-child(2),
.stagger-children.active .portfolio-card:nth-child(2),
.stagger-children.active .platform-card:nth-child(2),
.stagger-children.active .value-item:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }

.stagger-children.active .feature-card:nth-child(3),
.stagger-children.active .portfolio-card:nth-child(3),
.stagger-children.active .platform-card:nth-child(3),
.stagger-children.active .value-item:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

.stagger-children.active .feature-card:nth-child(4),
.stagger-children.active .portfolio-card:nth-child(4),
.stagger-children.active .platform-card:nth-child(4),
.stagger-children.active .value-item:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

.stagger-children.active .feature-card:nth-child(5),
.stagger-children.active .portfolio-card:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

.stagger-children.active .feature-card:nth-child(6),
.stagger-children.active .portfolio-card:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ============================================
   Hero Content Animations
   ============================================ */
.hero-content {
  animation: heroFadeIn 1s ease-out;
}

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

.hero-visual {
  animation: heroSlideIn 1s ease-out 0.3s both;
}

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

/* Glow effect on primary buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::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.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Card hover lift effect */
.feature-card,
.portfolio-card,
.platform-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover,
.portfolio-card:hover,
.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Text gradient animation */
.gradient-text {
  background: linear-gradient(135deg, #217346, #6ee7a0, #217346);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Pulse animation for stat numbers */
.stat-item h3,
.hero-stat h3 {
  transition: all 0.3s ease;
}

.stat-item:hover h3,
.hero-stat:hover h3 {
  transform: scale(1.1);
  text-shadow: 0 0 20px currentColor;
}

/* ============================================
   Responsive - All Screen Sizes
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .hero .container {
    gap: 40px;
  }

  .features-grid {
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
  }

  .about-grid {
    gap: 40px;
  }

  .about-image {
    padding: 36px;
  }

  .service-row {
    gap: 40px;
  }

  .footer-grid {
    gap: 30px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-row.reverse {
    direction: ltr;
  }

  .portfolio-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 100px 0 40px;
    min-height: auto;
  }

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

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-stat h3 {
    font-size: 1.5rem;
  }

  .features {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px;
  }

  .stats-bar {
    padding: 40px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .about-preview {
    padding: 60px 0;
  }

  .about-image {
    padding: 28px;
  }

  .about-image h3 {
    font-size: 1.3rem;
  }

  .about-content .values-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-hero {
    padding: 110px 0 40px;
  }

  .services-list {
    padding: 40px 0;
  }

  .service-row {
    padding: 32px 0;
  }

  .portfolio-grid {
    padding: 40px 0;
  }

  .portfolio-items {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-thumb {
    height: 160px;
  }

  .cta {
    padding: 60px 0;
  }

  .contact-grid {
    padding: 40px 0;
  }

  .contact-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .platforms {
    padding: 40px 0;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .modal {
    padding: 24px;
    margin: 10px;
    max-height: 95vh;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .btn {
    padding: 10px 22px;
    font-size: 0.88rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stat h3 {
    font-size: 1.3rem;
  }

  .hero-stat p {
    font-size: 0.78rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-item h3 {
    font-size: 1.6rem;
  }

  .stat-item p {
    font-size: 0.8rem;
  }

  .service-visual {
    min-height: 160px;
    padding: 24px;
  }

  .service-visual-icon {
    font-size: 2rem;
  }

  .portfolio-categories button {
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .modal {
    padding: 20px;
    border-radius: 12px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .logo-text span {
    font-size: 0.6rem;
  }

  .nav-links {
    padding: 16px;
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }
}

/* Touch devices - larger tap targets */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    padding: 14px 28px;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .portfolio-categories button {
    min-height: 40px;
    padding: 10px 18px;
  }
}

/* Print styles */
@media print {
  .header, .footer, .cta, .modal-overlay {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .container {
    max-width: 100%;
  }
}
