/* 
   MP Digital - Stylesheet
   Design Language: Pro White (Sleek, minimalist, high-contrast, premium tech-agency)
   Fonts: Plus Jakarta Sans (Headings), Inter (Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-base: #f8fafc;        /* Soft off-white */
  --bg-card: #ffffff;        /* Pure crisp white */
  --bg-dark: #090d16;        /* Deep luxury contrast dark background */
  
  --primary: #121829;        /* Graphite/Charcoal */
  --secondary: #4a5568;      /* Mid-gray slate */
  --accent: #2563eb;         /* Digital Cobalt/Blue */
  --accent-light: #eff6ff;   /* Super soft cobalt background */
  --border-color: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(37, 99, 235, 0.2);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 16px -6px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.06), 0 10px 20px -8px rgba(0, 0, 0, 0.03);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-base);
  color: var(--primary);
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  color: var(--secondary);
  font-weight: 400;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden; /* Prevent absolutely positioned decorative shapes from leaking out and causing horizontal scrolling */
}

/* Section Header */
.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--secondary);
  max-width: 600px;
  margin-bottom: 3.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-card);
}

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(15, 23, 42, 0.03);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--bg-card);
}

.btn-accent:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1.5rem 0;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 32px;
  height: 32px;
  z-index: 1001; /* Ensure button stays on top of glass drawer */
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 4px;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-toggle span:nth-child(1) {
  top: 9px;
}

.nav-toggle span:nth-child(2) {
  top: 15px;
}

.nav-toggle span:nth-child(3) {
  top: 21px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  background: radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.04), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.03), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent) 0%, #1e4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  transition: var(--transition-normal);
}

.hero-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero-card-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-card-body {
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.hero-bg-shapes {
  position: absolute;
  width: 110%;
  height: 110%;
  pointer-events: none;
  z-index: 1;
}

.shape-circle {
  position: absolute;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -50px;
  animation: float-slow 15s infinite alternate ease-in-out;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -30px;
  left: -50px;
  animation: float-slow 10s infinite alternate-reverse ease-in-out;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(20px, 15px) rotate(10deg); }
}

/* Vision Section */
.vision {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.vision-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '"';
  position: absolute;
  top: -2rem;
  right: 2rem;
  font-size: 15rem;
  font-family: 'Plus Jakarta Sans', serif;
  color: rgba(15, 23, 42, 0.02);
  font-weight: 900;
  line-height: 1;
}

.vision-info {
  border-right: 1px solid var(--border-color);
  padding-right: 4rem;
}

.vision-title-sub {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.vision-title-sub span {
  color: var(--accent);
}

.vision-statement {
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
}

/* About / CEO Section */
.about {
  background-color: var(--bg-base);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.ceo-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.ceo-image-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--bg-card);
  z-index: 2;
}

.ceo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.ceo-image-wrapper:hover .ceo-image {
  transform: scale(1.05);
}

.ceo-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background-color: var(--primary);
  color: var(--bg-card);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.ceo-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.ceo-title {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  font-weight: 600;
}

.ceo-bg-decor {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-lg);
  top: 1.5rem;
  left: -1.5rem;
  z-index: 1;
}

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

.ceo-quote-start {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

.ceo-message-body p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.ceo-signature-block {
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.ceo-sign-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.ceo-sign-title {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
}

/* Services Section */
.services {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.service-card:hover {
  background-color: #ffffff;
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-card-icon {
  background-color: var(--accent);
  color: #ffffff;
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  background-color: var(--bg-base);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-text-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--secondary);
}

.contact-text-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.15rem;
}

.contact-text-val a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-text-val a:hover {
  color: var(--accent);
}

/* Form Styling */
.contact-form-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group-full {
  margin-bottom: 2rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--primary);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-feedback {
  display: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.form-feedback.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-text {
  color: #ffffff;
}

.footer-desc {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 320px;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-copyright-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.5;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.1);
  margin: 0 4px;
}

.developer-credit-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.developer-credit-link {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.developer-credit-logo {
  height: 16px;
  width: 16px;
  border-radius: 3px;
  object-fit: contain;
  transition: var(--transition-fast);
}

.developer-credit-link:hover {
  color: #ffffff;
}

.developer-credit-link:hover .developer-credit-logo {
  transform: scale(1.2) rotate(8deg);
  filter: brightness(1.1);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-social-link {
  color: #64748b;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  color: #ffffff;
}

/* Portfolio Section */
.portfolio {
  background-color: var(--bg-base);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.portfolio-grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.portfolio-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  max-width: 480px;
  width: 100%;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
}

.portfolio-image-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.portfolio-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-slow);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 24, 41, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-link-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.15rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-fast);
  transform: translateY(15px);
}

.portfolio-card:hover .portfolio-link-btn {
  transform: translateY(0);
}

.portfolio-link-btn:hover {
  background-color: var(--accent);
  color: #ffffff;
  transform: scale(1.1);
}

.portfolio-info {
  padding: 1.75rem 2rem;
}

.portfolio-category {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.portfolio-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Portfolio Responsive rules */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero {
    padding-top: 10rem;
    min-height: auto;
    padding-bottom: 6rem;
  }
  .vision-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem;
  }
  .vision-info {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 6rem 0;
  }
  .hero-title {
    font-size: 3rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .header-actions .btn {
    display: none; /* Hide header btn on small screens */
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-wrapper {
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  /* Mobile Overlay Navigation styles (controlled by JS) */
  header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 0;
    gap: 2.5rem;
    box-shadow: var(--shadow-xl);
  }
  
  header.nav-open .nav-links li {
    list-style: none;
    animation: mobileLinkSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    opacity: 0;
  }
  
  header.nav-open .nav-links li:nth-child(1) { animation-delay: 0.1s; }
  header.nav-open .nav-links li:nth-child(2) { animation-delay: 0.16s; }
  header.nav-open .nav-links li:nth-child(3) { animation-delay: 0.22s; }
  header.nav-open .nav-links li:nth-child(4) { animation-delay: 0.28s; }
  
  @keyframes mobileLinkSlideIn {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  header.nav-open .nav-links a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
  }
  
  header.nav-open .nav-links a:hover {
    color: var(--accent);
    transform: translateY(-2px) scale(1.05);
  }
  
  header.nav-open .nav-toggle span:nth-child(1) {
    top: 15px;
    transform: rotate(135deg);
  }
  header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(-15px);
  }
  header.nav-open .nav-toggle span:nth-child(3) {
    top: 15px;
    transform: rotate(-135deg);
  }
}

/* Ultra-mobile Viewport Tuning */
@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-desc {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  .ceo-badge {
    right: 0;
    bottom: -1rem;
    padding: 1rem 1.5rem;
  }
  .ceo-bg-decor {
    left: -0.5rem;
    top: 0.5rem;
  }
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: #121829;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background-color: #121829;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
  background-color: #20ba5a;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}
