/* ========================================
   Rishav Infosolutions - Modern Theme CSS
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9ff;
  --bg-card: #ffffff;
  --accent: #667eea;
  --accent-dark: #764ba2;
  --gradient-accent: linear-gradient(135deg, #667eea, #764ba2);
  --text-heading: #1a1a2e;
  --text-body: #666;
  --text-muted: #999;
  --card-shadow: 0 4px 20px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 15px 40px rgba(102,126,234,0.15);
  --footer-bg: #1a1a2e;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg-primary); color: var(--text-body); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Container --- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-primary { background: var(--gradient-accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102,126,234,0.4); }
.btn-outline { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: #333; }
.btn-lg { padding: 18px 40px; font-size: 17px; }

/* --- Text Gradient --- */
.text-gradient { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* --- Section Helpers --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1)); color: var(--accent); padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.section-header h2 { font-size: 42px; font-weight: 800; color: var(--text-heading); margin-bottom: 16px; }
.section-desc { font-size: 18px; color: var(--text-body); max-width: 640px; margin: 0 auto; }

/* ========================================
   HEADER
   ======================================== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 16px 0; transition: all 0.3s ease; background: transparent; }
.header.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 2px 20px rgba(0,0,0,0.08); backdrop-filter: blur(10px); }
.header.scrolled .logo-text, .header.scrolled nav a { color: var(--text-heading); }
.header.scrolled .btn-primary { background: var(--gradient-accent); }
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-size: 24px; font-weight: 800; color: #fff; }
.logo-highlight { color: var(--accent); }
.header.scrolled .logo-highlight { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
/* Custom logo image */
.logo .custom-logo-link { display: flex; align-items: center; }
.logo .custom-logo { height: 52px; width: auto; max-width: 220px; display: block; background: transparent; object-fit: contain; }
.logo .site-logo { height: 50px; width: auto; max-width: 200px; display: block; background: transparent; object-fit: contain; vertical-align: middle; }
@media (max-width: 768px) { .logo .site-logo { height: 36px; } }
nav ul { display: flex; gap: 32px; }
nav a { color: #fff; font-weight: 500; font-size: 15px; position: relative; }
nav a:hover { color: var(--accent); }
nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
nav a:hover::after { width: 100%; }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.header.scrolled .mobile-toggle { color: var(--text-heading); }

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider { position: relative; min-height: 100vh; overflow: hidden; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; padding-top: 80px; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s ease; }
.hero-slide.active { opacity: 1; visibility: visible; position: relative; min-height: 100vh; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.2); z-index: 1; }
.hero-shapes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; }
.shape { position: absolute; border-radius: 50%; opacity: 0.15; }
.shape-1 { width: 400px; height: 400px; background: #fff; top: -100px; right: -100px; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; background: #fff; bottom: -50px; left: -50px; animation: float 6s ease-in-out infinite reverse; }
.shape-3 { width: 200px; height: 200px; background: #fff; top: 50%; left: 50%; animation: float 10s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(30px, -30px) rotate(5deg); } 66% { transform: translate(-20px, 20px) rotate(-3deg); } }

.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: 8px 20px; border-radius: 30px; color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.3); }
.hero-content h1 { font-size: 56px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.hero-content .highlight { color: rgba(255,255,255,0.8); font-weight: 400; }
.hero-sub { font-size: 20px; color: rgba(255,255,255,0.85); margin-bottom: 32px; font-weight: 300; letter-spacing: 1px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image-wrap { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); z-index: 2; }
.hero-float-img { width: 450px; height: 320px; object-fit: cover; border-radius: 20px; box-shadow: 0 25px 60px rgba(0,0,0,0.3); animation: imgFloat 4s ease-in-out infinite; }
@keyframes imgFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }

/* Slider Controls */
.slider-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 12px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
.dot.active { background: #fff; transform: scale(1.3); }
.slider-arrow { position: absolute; top: 50%; z-index: 10; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 18px; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.slider-prev { left: 20px; transform: translateY(-50%); }
.slider-next { right: 20px; transform: translateY(-50%); }
.slider-arrow:hover { background: rgba(255,255,255,0.3); }

/* ========================================
   DIFFERENCE SECTION
   ======================================== */
.difference { padding: 100px 0; background: var(--bg-secondary); }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.diff-card { background: var(--bg-card); padding: 40px 30px; border-radius: 16px; text-align: center; transition: all 0.3s ease; box-shadow: var(--card-shadow); }
.diff-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }
.diff-icon { width: 70px; height: 70px; border-radius: 16px; background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: var(--accent); }
.diff-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text-heading); }
.diff-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ========================================
   SOLUTIONS SECTION
   ======================================== */
.solutions { padding: 100px 0; background: var(--bg-primary); }
.solutions-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.solutions-text .section-tag { margin-bottom: 16px; }
.solutions-text h2 { font-size: 38px; font-weight: 800; color: var(--text-heading); margin-bottom: 20px; }
.solutions-text p { font-size: 16px; color: var(--text-body); line-height: 1.8; margin-bottom: 24px; }
.solutions-list { margin-bottom: 32px; }
.solutions-list li { padding: 10px 0; font-size: 16px; color: #444; display: flex; align-items: center; gap: 12px; }
.solutions-list li i { color: var(--accent); font-size: 18px; }
.solutions-image { position: relative; }
.solutions-image img { border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.solutions-badge { position: absolute; bottom: -20px; left: -20px; background: var(--gradient-accent); color: #fff; padding: 20px 28px; border-radius: 16px; text-align: center; box-shadow: 0 10px 30px rgba(102,126,234,0.4); }
.badge-number { display: block; font-size: 36px; font-weight: 800; }
.badge-text { font-size: 13px; opacity: 0.9; }

/* ========================================
   SERVICES SECTION
   ======================================== */
.services { padding: 100px 0; background: var(--bg-secondary); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--bg-card); padding: 40px 30px; border-radius: 16px; transition: all 0.3s ease; box-shadow: var(--card-shadow); border: 1px solid #eef0ff; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); border-color: var(--accent); }
.service-icon { width: 60px; height: 60px; border-radius: 14px; background: var(--gradient-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 24px; color: #fff; }
.service-thumb { margin-bottom: 16px; border-radius: 12px; overflow: hidden; }
.service-thumb img { width: 100%; height: 180px; object-fit: cover; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text-heading); }
.service-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ========================================
   ADVANTAGE SECTION
   ======================================== */
.advantage { padding: 100px 0; background: var(--bg-primary); }
.advantage-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.advantage-image img { border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.advantage-text .section-tag { margin-bottom: 16px; }
.advantage-text h2 { font-size: 38px; font-weight: 800; color: var(--text-heading); margin-bottom: 20px; }
.advantage-text p { font-size: 16px; color: var(--text-body); line-height: 1.8; margin-bottom: 32px; }
.advantage-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat { text-align: center; padding: 24px; background: var(--bg-secondary); border-radius: 14px; }
.stat-number { display: block; font-size: 32px; font-weight: 800; background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 14px; color: var(--text-body); margin-top: 4px; }

/* ========================================
   TRUSTED SECTION
   ======================================== */
.trusted { padding: 80px 0; background: var(--bg-secondary); }
.trust-logos { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin-top: 20px; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-muted); font-size: 14px; font-weight: 500; transition: all 0.3s; }
.trust-item i { font-size: 40px; color: #ccc; transition: all 0.3s; }
.trust-item:hover i { color: var(--accent); }
.trust-item:hover { color: var(--accent); }

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio { padding: 100px 0; background: var(--bg-primary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.portfolio-card { border-radius: 16px; overflow: hidden; background: var(--bg-card); box-shadow: var(--card-shadow); transition: all 0.3s ease; }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.portfolio-thumb img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.5s; }
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); }
.portfolio-thumb { overflow: hidden; }
.portfolio-info { padding: 24px; }
.portfolio-info h3 { font-size: 20px; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }
.portfolio-info p { font-size: 15px; color: var(--text-body); }

/* ========================================
   BLOG SECTION & CARDS
   ======================================== */
.blog-section { padding: 100px 0; background: var(--bg-secondary); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: var(--bg-card); border-radius: 16px; overflow: hidden; transition: all 0.3s; box-shadow: var(--card-shadow); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.blog-card-thumb { overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-meta { color: var(--text-muted); font-size: 13px; margin-bottom: 10px; }
.blog-card-meta span { margin-right: 16px; }
.blog-card-meta i { margin-right: 4px; color: var(--accent); }
.blog-card h3 { font-size: 20px; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: var(--text-heading); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; }
.blog-card .btn { margin-top: 16px; padding: 10px 24px; font-size: 14px; }

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section { padding: 100px 0; background: var(--bg-primary); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card { background: var(--bg-card); border-radius: 16px; overflow: hidden; transition: all 0.3s; text-align: center; box-shadow: var(--card-shadow); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.team-card img { width: 100%; height: 260px; object-fit: cover; }
.team-card-info { padding: 24px; }
.team-card h3 { font-size: 18px; font-weight: 700; color: var(--text-heading); margin-bottom: 4px; }
.team-card span { font-size: 14px; color: var(--accent); }

/* ========================================
   INDUSTRIES SECTION
   ======================================== */
.industries { padding: 100px 0; background: var(--bg-secondary); }
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.industry-card { background: var(--bg-card); padding: 36px 20px; border-radius: 16px; text-align: center; transition: all 0.3s; box-shadow: var(--card-shadow); }
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.industry-card i { font-size: 36px; color: var(--accent); display: block; margin-bottom: 12px; }
.industry-card span { font-size: 14px; font-weight: 600; color: #444; }

/* ========================================
   CTA SECTION
   ======================================== */
.cta { padding: 100px 0; background: linear-gradient(135deg, #1a1a2e, #16213e); text-align: center; }
.cta h2 { font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta .hero-btns { justify-content: center; }

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact { padding: 100px 0; background: var(--bg-primary); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--bg-secondary); border-radius: 14px; }
.contact-item i { width: 50px; height: 50px; background: var(--gradient-accent); color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item h4 { font-size: 16px; font-weight: 700; color: var(--text-heading); margin-bottom: 4px; }
.contact-item p { font-size: 15px; color: var(--text-body); }

/* Contact Form */
.contact-form { background: var(--bg-secondary); padding: 40px; border-radius: 20px; border: 1px solid #eef0ff; }
.contact-form h3 { color: var(--text-heading); font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e2e6f0;
  border-radius: 10px;
  color: var(--text-heading);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #aaa; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(102,126,234,0.15);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .btn { width: 100%; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--footer-bg); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about .logo-text { color: #fff; margin-bottom: 16px; display: block; }
.footer-about .footer-site-logo { height: 44px; width: auto; max-width: 200px; display: block; background: transparent; object-fit: contain; margin-bottom: 16px; }
@media (max-width: 768px) { .footer-about .footer-site-logo { height: 34px; } }
.footer-about p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.8; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 20px; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); font-size: 15px; padding: 6px 0; transition: all 0.3s; }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 42px; height: 42px; background: rgba(255,255,255,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 18px; transition: all 0.3s; }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; color: rgba(255,255,255,0.4); font-size: 14px; }

/* ========================================
   PAGE HERO BANNER (Inner Pages)
   ======================================== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gradient-accent);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-tag { background: rgba(255,255,255,0.2); color: #fff; border: none; margin-bottom: 20px; }
.page-hero h1 { font-size: 48px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.page-hero h1 .text-gradient { -webkit-text-fill-color: #fff; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; }

/* ========================================
   GENERIC PAGE CONTENT
   ======================================== */
.page-content { padding: 80px 0; background: var(--bg-primary); color: var(--text-body); }
.page-content h1, .page-content h2, .page-content h3 { color: var(--text-heading); margin-bottom: 20px; }
.page-content p { margin-bottom: 16px; line-height: 1.8; }
.page-content a { color: var(--accent); }
.page-content a:hover { text-decoration: underline; }

/* ========================================
   VIEW ALL / PAGINATION
   ======================================== */
.view-all { text-align: center; margin-top: 50px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { padding: 10px 16px; border-radius: 8px; background: var(--bg-secondary); color: var(--text-body); font-size: 15px; transition: all 0.3s; }
.pagination a:hover, .pagination .current { background: var(--gradient-accent); color: #fff; }

/* ========================================
   SERVICES PAGE (New Design)
   ======================================== */

/* --- Hero --- */
.svc-hero {
  background: linear-gradient(135deg, #4a2fa0 0%, #6c3fc5 40%, #8b5cf6 70%, #a78bfa 100%);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.svc-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 60px;
}
.svc-hero-content { flex: 1; }
.svc-hero-content h1 { font-size: 48px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.svc-hero-content p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 28px; line-height: 1.5; }
.svc-hero-image { flex: 1; display: flex; justify-content: flex-end; }
.svc-hero-image img { width: 460px; height: 300px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.svc-hero-wave { position: relative; bottom: 0; line-height: 0; }
.svc-hero-wave svg { width: 100%; height: 80px; display: block; }

/* --- Services List --- */
.svc-list { padding: 70px 0 80px; background: #f4f5ff; }
.svc-list .section-header h2 { font-size: 38px; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px 28px;
  box-shadow: 0 2px 16px rgba(102,126,234,0.07);
  border: 1px solid #ede9fe;
  transition: all 0.3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(102,126,234,0.15); border-color: var(--accent); }
.svc-card-icon {
  width: 64px; height: 64px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px;
}
.svc-icon-blue   { background: #e8f0ff; color: #3b82f6; }
.svc-icon-purple { background: #ede9fe; color: #7c3aed; }
.svc-icon-cyan   { background: #e0f9ff; color: #0891b2; }
.svc-icon-orange { background: #fff3e8; color: #ea580c; }
.svc-icon-violet { background: #f3e8ff; color: #9333ea; }
.svc-icon-teal   { background: #e6faf4; color: #0d9488; }
.svc-card h3 { font-size: 20px; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; }
.svc-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 18px; }
.svc-learn { font-size: 15px; font-weight: 600; color: var(--accent); transition: all 0.2s; }
.svc-learn:hover { color: var(--accent-dark); letter-spacing: 0.5px; }

/* --- Proven Process --- */
.svc-process { padding: 70px 0; background: #fff; }
.svc-process .section-header { margin-bottom: 48px; }
.svc-process .section-header h2 { font-size: 36px; }
.svc-process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.svc-step { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 110px; }
.svc-step-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #7c3aed;
  box-shadow: 0 4px 16px rgba(124,58,237,0.15);
  transition: all 0.3s;
}
.svc-step:hover .svc-step-icon { background: var(--gradient-accent); color: #fff; transform: scale(1.1); }
.svc-step span { font-size: 14px; font-weight: 600; color: var(--text-heading); text-align: center; line-height: 1.4; }
.svc-step-arrow { font-size: 20px; color: #c4b5fd; padding: 0 8px; margin-top: -24px; }

/* --- Why Choose Us --- */
.svc-why { padding: 70px 0; background: #f4f5ff; }
.svc-why .section-header h2 { font-size: 36px; }
.svc-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-why-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 2px 16px rgba(102,126,234,0.07);
  border: 1px solid #ede9fe;
  transition: all 0.3s;
}
.svc-why-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(102,126,234,0.14); }
.svc-why-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #7c3aed;
}
.svc-why-number { display: block; font-size: 28px; font-weight: 800; color: #7c3aed; line-height: 1; margin-bottom: 4px; }
.svc-why-info h4 { font-size: 16px; font-weight: 700; color: var(--text-heading); margin-bottom: 6px; }
.svc-why-info p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* --- CTA Banner --- */
.svc-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #2d1b69 0%, #4a2fa0 50%, #6c3fc5 100%);
  text-align: center;
}
.svc-cta h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.svc-cta p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 32px; }

/* ========================================
   INNER PAGE SECTIONS
   ======================================== */

/* Services Page Wrapper */
.services-page { padding: 80px 0; background: var(--bg-secondary); }

/* Portfolio Page Wrapper */
.portfolio-page { padding: 80px 0; background: var(--bg-primary); }

/* Contact Page Wrapper */
.contact-page { padding: 80px 0; background: var(--bg-primary); }

/* About Page */
.about-content { padding: 80px 0; background: var(--bg-primary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text .section-tag { margin-bottom: 16px; }
.about-text h2 { font-size: 38px; font-weight: 800; color: var(--text-heading); margin-bottom: 20px; }
.about-text p { font-size: 16px; color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }
.about-image img { border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }

/* Why Choose Us */
.why-choose { padding: 80px 0; background: var(--bg-secondary); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card { background: var(--bg-card); padding: 36px 28px; border-radius: 16px; text-align: center; box-shadow: var(--card-shadow); transition: all 0.3s ease; border: 1px solid #eef0ff; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); border-color: var(--accent); }
.why-card i { font-size: 36px; color: var(--accent); margin-bottom: 16px; display: block; }
.why-card h3 { font-size: 20px; font-weight: 700; color: var(--text-heading); margin-bottom: 12px; }
.why-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* Process Grid (used in Services, Web Dev, Mobile, Cloud, AI pages) */
.services-detail { padding: 80px 0; background: var(--bg-secondary); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-card { background: var(--bg-card); padding: 36px 24px; border-radius: 16px; text-align: center; box-shadow: var(--card-shadow); transition: all 0.3s ease; position: relative; }
.process-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.process-number { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-accent); color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.process-card h3 { font-size: 18px; font-weight: 700; color: var(--text-heading); margin-bottom: 12px; }
.process-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* Tech Stack Section (Web Dev & Mobile pages) */
.tech-stack { padding: 80px 0; background: var(--bg-primary); }
.tech-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; margin-top: 20px; }
.tech-item { background: var(--bg-secondary); padding: 28px 16px; border-radius: 14px; text-align: center; transition: all 0.3s ease; box-shadow: var(--card-shadow); border: 1px solid #eef0ff; }
.tech-item:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: var(--accent); }
.tech-item i { font-size: 36px; color: var(--accent); display: block; margin-bottom: 10px; }
.tech-item span { font-size: 13px; font-weight: 600; color: var(--text-heading); }

/* Cloud Partners Section */
.cloud-partners { padding: 80px 0; background: var(--bg-primary); }
.cloud-logos { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 20px; }
.cloud-item { background: var(--bg-secondary); padding: 36px 48px; border-radius: 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 180px; transition: all 0.3s ease; box-shadow: var(--card-shadow); border: 1px solid #eef0ff; }
.cloud-item:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: var(--accent); }
.cloud-item i { font-size: 48px; color: var(--accent); }
.cloud-item span { font-size: 16px; font-weight: 600; color: var(--text-heading); }

/* AI Hero Override */
.ai-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 42px; }
  .hero-float-img { width: 350px; height: 250px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-why-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-hero-image img { width: 340px; height: 220px; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  nav { display: none; }
  nav.active { display: flex; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  nav.active ul { flex-direction: column; gap: 16px; }
  nav.active a { color: var(--text-heading); }
  .header .btn { display: none; }
  .hero-slider { min-height: 80vh; }
  .hero-slide.active { min-height: 80vh; }
  .hero-content h1 { font-size: 32px; }
  .hero-image-wrap { display: none; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-btns { justify-content: center; }
  .section-header h2 { font-size: 32px; }
  .solutions-wrap, .advantage-wrap, .contact-wrap, .contact-page-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-image { order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }
  .cta h2 { font-size: 28px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero { padding: 120px 0 60px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .cloud-logos { gap: 20px; }
  .cloud-item { min-width: 140px; padding: 28px 28px; }
  .svc-hero .container { flex-direction: column; text-align: center; }
  .svc-hero-content h1 { font-size: 32px; }
  .svc-hero-image { justify-content: center; }
  .svc-hero-image img { width: 100%; height: 200px; }
  .svc-cards { grid-template-columns: 1fr; }
  .svc-why-grid { grid-template-columns: 1fr; }
  .svc-process-steps { gap: 12px; }
  .svc-step-arrow { display: none; }
  .svc-cta h2 { font-size: 26px; }
}
