/* =========================================
   INVOGLOBAL PHP Theme — assets/css/style.css
   ========================================= */

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

:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --red-light: #fee2e2;
  --dark: #111827;
  --dark-2: #1f2937;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --font: 'Inter', sans-serif;
  --font-head: 'Poppins', sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 14px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

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

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

/* ---- UTILITIES ---- */
.text-red { color: var(--red); }
.bg-white { background: var(--white); }
.bg-light { background: var(--gray-light); }
.bg-dark { background: var(--dark); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,38,38,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-white:hover { background: #f1f5f9; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION ---- */
.section { padding: 96px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag.light { background: rgba(220,38,38,0.2); color: #fca5a5; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--dark);
}
.section-title.light { color: var(--white); }
.section-desc { font-size: 17px; color: var(--gray); line-height: 1.7; }
.section-desc.light { color: #9ca3af; }

/* TOP BAR */
.topbar { background: var(--red); color: white; padding: 8px 0; font-size: 13px; position: relative; z-index: 200; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-link { color: white; display: flex; align-items: center; gap: 6px; opacity: .9; }
.topbar-link:hover { opacity: 1; }
.topbar-right { font-size: 12px; opacity: .85; }

/* HEADER */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid #e5e7eb; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 52px; width: auto; object-fit: contain; }
.logo-text { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: -.5px; }
.logo-invo { color: var(--red); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: 14px; color: var(--dark-2); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--red); background: var(--red-light); }
.nav-cta { margin-left: 8px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); color: white; padding: 80px 0; text-align: center; }
.page-hero-inner { max-width: 720px; margin: 0 auto; }
.page-hero-title { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; margin: 16px 0; letter-spacing: -.02em; }
.page-hero-desc { font-size: 18px; color: #9ca3af; line-height: 1.7; }

/* HERO */
.hero { position: relative; min-height: calc(100vh - 105px); display: flex; align-items: center; overflow: hidden; background: #111827; color: white; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%); }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 60px; padding-bottom: 60px; }
.hero-content { flex: 1; max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.3); color: #fca5a5; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 24px; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-title { font-family: var(--font-head); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.05; margin-bottom: 24px; letter-spacing: -.02em; }
.hero-desc { font-size: 18px; color: #9ca3af; margin-bottom: 36px; line-height: 1.7; }
.hero-desc strong { color: white; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { flex: 1; max-width: 480px; position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.hero-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(220,38,38,0.2); animation: spin linear infinite; }
.ring-1 { width: 280px; height: 280px; animation-duration: 20s; }
.ring-2 { width: 380px; height: 380px; animation-duration: 30s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-glow { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(220,38,38,0.12); filter: blur(60px); animation: glow 3s ease-in-out infinite; }
@keyframes glow { 0%,100%{transform:scale(1);opacity:.5} 50%{transform:scale(1.3);opacity:.8} }
.hero-bot { position: relative; z-index: 2; width: 320px; filter: drop-shadow(0 0 48px rgba(220,38,38,0.3)); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
.hero-badge-float { position: absolute; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); color: white; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 12px; z-index: 3; animation: floatBadge 2.5s ease-in-out infinite; }
.badge-top { top: 10%; right: 0; animation-delay: .5s; }
.badge-bottom { bottom: 10%; left: 0; animation-delay: 1s; }
.badge-side { top: 50%; left: -10px; animation-delay: 1.5s; background: rgba(220,38,38,0.7); }
.badge-up { color: #4ade80; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* STATS */
.stats { background: var(--red); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { color: white; }
.stat-number { font-family: var(--font-head); font-size: 2.8rem; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.stat-number span { font-size: 2rem; }
.stat-label { font-size: 14px; opacity: .85; font-weight: 500; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: white; border: 1.5px solid #e5e7eb; border-radius: var(--radius); padding: 32px 28px; transition: var(--transition); position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; height: 3px; width: 0; background: var(--red); border-radius: 0 0 var(--radius) var(--radius); transition: width .35s ease; }
.service-card:hover { border-color: #fca5a5; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.service-card:hover::after { width: 100%; }
.service-card:hover h3 { color: var(--red); }
.featured-card { border-color: var(--red); }
.card-badge { position: absolute; top: 16px; right: 16px; background: var(--red); color: white; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .05em; }
.service-icon { width: 56px; height: 56px; background: var(--red); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 6px 16px rgba(220,38,38,0.25); transition: transform .25s; }
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--dark); transition: color .2s; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
.service-link { color: var(--red); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.service-link:hover { gap: 8px; }

/* SERVICE DETAIL (services.php & industries.php) */
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-features { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.service-features li { font-size: 15px; color: var(--dark-2); display: flex; align-items: flex-start; gap: 8px; }

/* WHY CHOOSE US */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card { background: white; border: 1.5px solid #e5e7eb; border-radius: var(--radius); padding: 32px 28px; transition: var(--transition); }
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #fca5a5; }
.why-card-featured { border-color: var(--red); box-shadow: 0 8px 32px rgba(220,38,38,0.12); }
.why-icon { width: 56px; height: 56px; background: var(--red-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.why-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* INDUSTRIES */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: block; cursor: pointer; }
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.industry-card:hover img { transform: scale(1.08); }
.industry-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%); }
.industry-label { position: absolute; bottom: 12px; left: 12px; background: var(--red); color: white; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 100px; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.testimonial-card { background: #1f2937; border: 1px solid #374151; border-radius: var(--radius); padding: 32px 28px; transition: var(--transition); }
.testimonial-card:hover { border-color: rgba(220,38,38,0.4); transform: translateY(-4px); }
.featured-testimonial { border-color: var(--red); box-shadow: 0 0 32px rgba(220,38,38,0.2); }
.stars { color: #fbbf24; font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: #d1d5db; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.testimonial-author strong { display: block; color: white; font-size: 15px; }
.testimonial-author span { font-size: 13px; color: #9ca3af; }
.results-bar { display: flex; justify-content: space-around; align-items: center; background: #1f2937; border: 1px solid #374151; border-radius: var(--radius); padding: 32px 24px; flex-wrap: wrap; gap: 24px; }
.result-item { text-align: center; }
.result-number { font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; color: var(--red); line-height: 1; }
.result-label { font-size: 13px; color: #9ca3af; margin-top: 4px; }
.result-divider { width: 1px; height: 50px; background: #374151; }

/* CTA BANNER */
.cta-banner { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: white; margin-bottom: 8px; }
.cta-text p { color: rgba(255,255,255,0.85); font-size: 17px; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.contact-info > p { color: var(--gray); margin-bottom: 32px; line-height: 1.7; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { width: 42px; height: 42px; background: var(--red); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.contact-item a, .contact-item span { font-size: 15px; font-weight: 500; color: var(--dark); }
.contact-item a:hover { color: var(--red); }
.contact-form { background: white; border: 1.5px solid #e5e7eb; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.form-group:last-child { margin-bottom: 20px; }
label { font-size: 13px; font-weight: 600; color: var(--dark-2); }
input, select, textarea { padding: 12px 16px; border: 1.5px solid #d1d5db; border-radius: 8px; font-family: var(--font); font-size: 15px; color: var(--dark); background: #fafafa; transition: border-color .2s; outline: none; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--red); background: white; }
textarea { resize: vertical; min-height: 110px; }
.form-success { margin-bottom: 16px; padding: 14px 20px; background: #d1fae5; color: #065f46; border-radius: 8px; font-weight: 600; font-size: 15px; text-align: center; }
.form-error { margin-bottom: 16px; padding: 14px 20px; background: #fee2e2; color: #991b1b; border-radius: 8px; font-weight: 600; font-size: 15px; }

/* ABOUT PAGE */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text { display: flex; flex-direction: column; }
.about-visual { position: relative; }
.about-badge { position: absolute; bottom: -24px; left: -24px; background: var(--red); color: white; padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: white; border: 1.5px solid #e5e7eb; border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #fca5a5; }
.blog-card-img { position: relative; height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-category { position: absolute; bottom: 12px; left: 12px; background: var(--red); color: white; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .05em; }
.blog-card-body { padding: 24px; }
.blog-card-meta { font-size: 13px; color: var(--gray); display: flex; gap: 8px; margin-bottom: 12px; }
.blog-card-title { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; color: var(--dark); }
.blog-card-title:hover { color: var(--red); }
.blog-card-excerpt { font-size: 14px; color: var(--gray); line-height: 1.65; margin-bottom: 16px; }
.blog-card-featured { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; }
.blog-card-featured .blog-card-img { height: auto; min-height: 300px; }
.blog-card-featured .blog-card-title { font-size: 22px; }

/* FOOTER */
.footer { background: #0d1117; color: #9ca3af; padding-top: 72px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: white; margin-bottom: 16px; }
.footer-about { font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.social-link { width: 38px; height: 38px; border-radius: 8px; background: #1f2937; border: 1px solid #374151; display: flex; align-items: center; justify-content: center; color: #9ca3af; transition: var(--transition); }
.social-link:hover { background: var(--red); border-color: var(--red); color: white; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a, .footer-links li span { font-size: 14px; color: #9ca3af; transition: color .2s; }
.footer-links li a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid #1f2937; padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid.reverse { direction: ltr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card-featured { grid-column: span 2; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar-right { display: none; }
  .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 20px; border-top: 1px solid #e5e7eb; box-shadow: 0 8px 32px rgba(0,0,0,0.1); gap: 6px; z-index: 99; }
  .nav.open { display: flex; }
  .nav-link { width: 100%; text-align: center; }
  .nav-cta { width: 100%; justify-content: center; }
  .hamburger { display: flex; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-visual { max-width: 320px; min-height: 300px; }
  .hero-bot { width: 240px; }
  .hero-badge-float { display: none; }
  .ring-1 { width: 200px; height: 200px; }
  .ring-2 { width: 280px; height: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .results-bar { flex-direction: column; }
  .result-divider { width: 50px; height: 1px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-featured { grid-column: span 1; grid-template-columns: 1fr; }
  .about-badge { position: static; margin-top: 16px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .page-hero { padding: 56px 0; }
}
