/* ============================================================
   TECHNOSYS INC — Premium SaaS Blue Codebase (Static Edit)
   ============================================================ */

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

:root {
  /* Premium Blue Palette */
  --primary: #0066FF;
  --primary-dark: #003B95;
  --accent: #00CFFF;
  --sky-blue: #4DA6FF;
  
  /* Modern Trust-Focused Neutrals */
  --dark: #001C44;       
  --dark2: #000F26;      
  --text: #051A33;       
  --text-light: #4A607A; 
  --white: #FFFFFF;
  --bg: #F0F8FF;         
  --card-bg: #ffffff;
  --border: #D6E8FF;     
  
  /* Brand Gradient Preset */
  --brand-gradient: linear-gradient(135deg, #003B95 0%, #0066FF 50%, #00CFFF 100%);
  --btn-gradient: linear-gradient(135deg, #0066FF 0%, #004ecc 100%);
  --glow: 0 8px 32px rgba(0, 102, 255, 0.15);
}

html { scroll-behavior: auto; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: rgba(0, 102, 255, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 102, 255, 0.15);
}
.section-header h2 { font-size: 2.4rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; letter-spacing: -0.5px; }
.section-header p { color: var(--text-light); max-width: 520px; margin: 0 auto; font-size: 1.05rem; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.btn-primary { 
  background: var(--btn-gradient); 
  color: var(--white); 
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}
.btn-primary:hover { 
  filter: brightness(1.1);
}
.btn-outline { 
  background: transparent; 
  color: var(--white); 
  border: 2px solid rgba(255, 255, 255, 0.8); 
}
.btn-outline:hover { 
  background: rgba(255, 255, 255, 0.15); 
  border-color: var(--accent);
  color: var(--white);
}

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 24px 0;
}
.navbar.scrolled { 
  background: rgba(255, 255, 255, 0.85); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 59, 149, 0.05); 
  border-bottom: 1px solid rgba(214, 232, 255, 0.4);
  padding: 14px 0; 
}
.navbar.scrolled .logo, .navbar.scrolled .nav-links a { color: var(--dark); }
.navbar.scrolled .btn-nav { color: var(--white) !important; }

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

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 58px; width: auto; display: block; object-fit: contain; }
.navbar.scrolled .logo img { filter: none; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { text-decoration: none; color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }
.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}
.btn-nav:hover { background: var(--primary-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }
.navbar.scrolled .hamburger span { background: var(--dark); }

/* HERO SECTION */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #000F26 0%, #001C44 50%, #002B66 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(0, 207, 255, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 15% 75%, rgba(0, 102, 255, 0.12) 0%, transparent 50%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.hero-content { max-width: 100%; }
.hero-tag {
  display: inline-block;
  background: rgba(0, 207, 255, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 207, 255, 0.25);
  letter-spacing: 0.5px;
}
.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-content h1 span { 
  background: linear-gradient(120deg, var(--accent), var(--sky-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { color: rgba(240, 248, 255, 0.75); font-size: 1.15rem; margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat h3 { font-size: 2.2rem; font-weight: 800; color: var(--white); background: linear-gradient(to bottom, #fff, var(--sky-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat p { color: rgba(240, 248, 255, 0.6); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* SERVICES SECTION */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(0, 59, 149, 0.03);
}
.card:hover { 
  border-color: var(--primary); 
}
.card-icon {
  width: 60px; height: 60px;
  background: rgba(0, 102, 255, 0.06);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary);
  margin-bottom: 24px;
}
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); letter-spacing: -0.3px; }
.card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.65; }

/* ABOUT SECTION */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-box {
  width: 100%; height: 420px;
  background: var(--brand-gradient);
  border-radius: 24px;
  position: relative;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 59, 149, 0.15);
}
.img-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--dark);
  vertical-align: middle;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 59, 149, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.img-badge i { color: var(--accent); margin-right: 8px; }
.about-text .section-tag { display: inline-block; margin-bottom: 14px; }
.about-text h2 { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 16px; letter-spacing: -0.5px; }
.about-text > p { color: var(--text-light); margin-bottom: 24px; font-size: 1.05rem; }
.about-list { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.about-list li i { color: var(--primary); font-size: 1.1rem; }

/* CASE STUDIES (PORTFOLIO) SECTION */
.portfolio { background: var(--bg); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.portfolio-card { 
  border-radius: 20px; 
  overflow: hidden; 
  background: var(--card-bg); 
  box-shadow: 0 10px 30px rgba(0, 59, 149, 0.04); 
  border: 1px solid var(--border);
}
.portfolio-card:hover { 
  border-color: var(--sky-blue);
}
.portfolio-img { height: 240px; width: 100%; object-fit: cover; display: block; }

.p1 { background: linear-gradient(135deg, #003B95, #0066FF); }
.p2 { background: linear-gradient(135deg, #0052cc, #00CFFF); }
.p3 { background: linear-gradient(135deg, #001C44, #4DA6FF); }

.portfolio-info { padding: 24px 28px; background: var(--white); }
.portfolio-info h4 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; letter-spacing: -0.2px; }
.portfolio-info p { font-size: 0.9rem; color: var(--text-light); font-weight: 500; }

/* TESTIMONIALS SECTION */
.testimonials { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
}
.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 16px; }
.testi-card > p { color: var(--text); font-style: italic; margin-bottom: 24px; line-height: 1.7; font-size: 0.98rem; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  background: var(--brand-gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}
.testi-author strong { display: block; font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.testi-author span { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

/* CONTACT SECTION */
.contact { background: linear-gradient(135deg, #000F26 0%, #001C44 100%); border-top: 1px solid rgba(0, 102, 255, 0.2); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info .section-tag { display: inline-block; margin-bottom: 14px; }
.contact-info h2 { font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -0.5px; }
.contact-info > p { color: rgba(240, 248, 255, 0.7); margin-bottom: 32px; font-size: 1.05rem; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.contact-details li { display: flex; align-items: center; gap: 14px; color: rgba(240, 248, 255, 0.85); font-size: 0.95rem; }
.contact-details li i { color: var(--accent); font-size: 1.1rem; width: 20px; }



.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(214, 232, 255, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(240, 248, 255, 0.4); }
.contact-form input:focus,
.contact-form textarea:focus { 
  border-color: var(--accent); 
  background: rgba(255, 255, 255, 0.08);
}
.contact-form textarea { resize: vertical; }
.form-success { display: none; color: #00CFFF; font-size: 0.95rem; font-weight: 600; text-align: center; }

/* FOOTER */
.footer { background: var(--dark2); padding: 80px 0; border-top: 1px solid rgba(214, 232, 255, 0.05); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo img { height: 52px; }
.footer-brand p { color: rgba(240, 248, 255, 0.5); font-size: 0.95rem; margin: 16px 0 24px; max-width: 280px; line-height: 1.6; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(240, 248, 255, 0.7);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.socials a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.footer-links h4 { color: var(--white); font-weight: 700; margin-bottom: 24px; font-size: 1.05rem; letter-spacing: 0.5px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links ul a { color: rgba(240, 248, 255, 0.55); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.footer-links ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(214, 232, 255, 0.05); padding: 24px; text-align: center; }
.footer-bottom p { color: rgba(240, 248, 255, 0.3); font-size: 0.85rem; }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 16px 0;
    box-shadow: 0 8px 30px rgba(0, 39, 99, 0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--dark) !important; padding: 12px 24px; }
  .hamburger { display: flex; }
  .hero-stats { gap: 28px; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* INNER PAGES HERO */
.page-hero {
  background: linear-gradient(135deg, #000F26 0%, #001C44 60%, #002B66 100%);
  padding: 150px 0 90px;
  text-align: center;
}
.page-hero .section-tag { display: inline-block; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: -0.5px; }
.page-hero p { color: rgba(240, 248, 255, 0.7); font-size: 1.1rem; max-width: 520px; margin: 0 auto; }

/* CALL TO ACTION (CTA) SECTION */
.cta-section {
  background: var(--brand-gradient);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.cta-inner { text-align: center; position: relative; z-index: 2; }
.cta-inner h2 { font-size: 2.4rem; font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: -0.5px; }
.cta-inner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-inner .btn-primary { 
  background: var(--white); 
  color: var(--primary); 
  box-shadow: 0 10px 25px rgba(0, 15, 38, 0.15);
}
.cta-inner .btn-primary:hover { 
  background: var(--bg); 
  color: var(--primary-dark);
}

/* ACTIVE NAV LINK */
.nav-links a.active-link { color: var(--accent) !important; }

/* CLICKABLE PORTFOLIO CARD */
a.portfolio-card { text-decoration: none; color: inherit; display: block; cursor: pointer; }
a.portfolio-card:hover .portfolio-info h4 { color: var(--primary); }
a.portfolio-card .portfolio-img { display: block; }

/* PROJECT DETAIL LAYOUTS */
.project-hero {
  background: linear-gradient(135deg, #000F26 0%, #001C44 60%, #002B66 100%);
  padding: 140px 0 70px;
}
.project-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.project-hero-text .section-tag { display: inline-block; margin-bottom: 14px; }
.project-hero-text h1 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -0.5px; }
.project-hero-text p { color: rgba(240, 248, 255, 0.7); font-size: 1.05rem; line-height: 1.8; }
.project-hero-img { border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 15, 38, 0.4); border: 1px solid rgba(255, 255, 255, 0.1); }
.project-hero-img img { width: 100%; height: 340px; object-fit: cover; display: block; }

.project-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.project-stat { 
  background: rgba(255, 255, 255, 0.05); 
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 14px; 
  padding: 16px 24px; 
  text-align: center; 
}
.project-stat h3 { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.project-stat p { font-size: 0.8rem; color: rgba(240, 248, 255, 0.6); margin-top: 4px; font-weight: 600; text-transform: uppercase; }

.project-body { padding: 80px 0; background: var(--white); }
.project-body-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.project-body h2 { font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.project-body p { color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.project-body ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.project-body ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-weight: 500; }
.project-body ul li i { color: var(--primary); margin-top: 4px; }

.project-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-box { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.sidebar-box h4 { font-weight: 700; color: var(--dark); margin-bottom: 16px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.sidebar-box ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-box ul li { font-size: 0.95rem; color: var(--text-light); display: flex; align-items: center; gap: 10px; font-weight: 500; }
.sidebar-box ul li i { color: var(--primary); font-size: 0.85rem; }

@media (max-width: 900px) {
  .project-hero-inner, .project-body-inner { grid-template-columns: 1fr; }
  .project-hero-img { order: -1; }
}

/* CLICKABLE SERVICE CARD LAYOUTS */
a.card { text-decoration: none; color: inherit; display: block; cursor: pointer; }

.service-hero {
  background: linear-gradient(135deg, #000F26 0%, #001C44 60%, #002B66 100%);
  padding: 140px 0 70px;
}
.service-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-hero-text .section-tag { display: inline-block; margin-bottom: 14px; }
.service-hero-text h1 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -0.5px; }
.service-hero-text p { color: rgba(240, 248, 255, 0.7); font-size: 1.05rem; line-height: 1.8; }
.service-hero-img { border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 15, 38, 0.4); border: 1px solid rgba(255, 255, 255, 0.1); }
.service-hero-img img { width: 100%; height: 340px; object-fit: cover; display: block; }

.service-body { padding: 80px 0; background: var(--white); }
.service-body-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.service-body h2 { font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.service-body p { color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.service-body ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.service-body ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-weight: 500; }
.service-body ul li i { color: var(--primary); margin-top: 4px; }

.service-img-mid { width: 100%; border-radius: 16px; margin: 32px 0; object-fit: cover; height: 300px; display: block; box-shadow: 0 10px 30px rgba(0, 59, 149, 0.08); }

.service-sidebar { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 900px) {
  .service-hero-inner, .service-body-inner { grid-template-columns: 1fr; }
  .service-hero-img { order: -1; }
}

.about-img-box { position: relative; }
.about-img-box .img-badge { position: absolute; bottom: 24px; left: 24px; }

/* WHY CHOOSE US VALUE CARDS */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; box-shadow: 0 4px 20px rgba(0, 59, 149, 0.02); }
.why-card:hover { border-color: var(--primary); }
.why-icon { width: 56px; height: 56px; background: rgba(0, 102, 255, 0.06); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--primary); margin-bottom: 20px; }
.why-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; letter-spacing: -0.2px; }
.why-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* STEPS / PROCESS FLOW */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; position: relative; }
.process-step { text-align: center; padding: 32px 20px; }
.step-num { font-size: 3.5rem; font-weight: 800; color: rgba(0, 102, 255, 0.08); line-height: 1; margin-bottom: 16px; letter-spacing: -2px; }
.process-step h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; letter-spacing: -0.2px; }
.process-step p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* INDUSTRIES TARGET PILLS */
.industry-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.industry-pill { background: #fff; border: 1px solid var(--border); border-radius: 50px; padding: 14px 28px; font-size: 0.95rem; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 12px rgba(0, 59, 149, 0.02); }
.industry-pill i { color: var(--primary); }
.industry-pill:hover { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 20px rgba(0, 102, 255, 0.25); }
.industry-pill:hover i { color: #fff; }

/* HERO IMAGE MOCKUP BRACKET */
.hero-img-wrap { border-radius: 24px; overflow: hidden; box-shadow: 0 32px 80px rgba(0, 15, 38, 0.5); position: relative; border: 1px solid rgba(255, 255, 255, 0.1); }
.hero-img-wrap img { width: 100%; height: 480px; object-fit: cover; display: block; }
.hero-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0, 207, 255, 0.15), transparent); border-radius: 24px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
}

/* SCROLL-TO-TOP BUTTON */
.scroll-top-btn {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: none; /* Controlled exclusively via absolute toggle display in JS */
  align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}
.scroll-top-btn.visible { display: flex; }
.scroll-top-btn:hover { background: var(--primary-dark); }

/* ── CASE STUDIES SECTION ─────────────────────────────────── */
.case-studies { background: var(--bg); }
.case-studies .section-header h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.case-studies .section-header p  { max-width: 780px; }

.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cs-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,59,149,0.04);
  display: flex;
  flex-direction: column;
}
.cs-card:hover { border-color: var(--primary); }

/* Visual banner */
.cs-visual {
  padding: 28px 24px;
  min-height: 180px;
  display: flex;
  align-items: center;
}
.cs-ecom       { background: linear-gradient(135deg, #fff8f0 0%, #ffe8cc 100%); }
.cs-edu        { background: linear-gradient(135deg, #f0fff8 0%, #ccffe8 100%); }
.cs-health     { background: linear-gradient(135deg, #fff0f0 0%, #ffd6d6 100%); }
.cs-realestate { background: linear-gradient(135deg, #f0f4ff 0%, #d6e4ff 100%); }

.cs-visual-inner { display: flex; align-items: flex-start; gap: 20px; width: 100%; }

.cs-icon-wrap {
  width: 56px; height: 56px; flex-shrink: 0;
  background: var(--primary);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
}
.cs-ecom       .cs-icon-wrap { background: #f97316; }
.cs-edu        .cs-icon-wrap { background: #10b981; }
.cs-health     .cs-icon-wrap { background: #ef4444; }
.cs-realestate .cs-icon-wrap { background: #3b82f6; }

.cs-badge-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 10px;
  white-space: nowrap;
}

.cs-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.cs-bullets li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-ecom       .cs-bullets li i { color: #f97316; }
.cs-edu        .cs-bullets li i { color: #10b981; }
.cs-health     .cs-bullets li i { color: #ef4444; }
.cs-realestate .cs-bullets li i { color: #3b82f6; }

/* Body */
.cs-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cs-body h3 { font-size: 1.25rem; font-weight: 800; color: var(--dark); letter-spacing: -0.3px; }

.cs-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: rgba(0,102,255,0.05);
}

.cs-stats {
  display: flex;
  gap: 20px;
  padding-top: 4px;
  border-top: 1px dashed var(--border);
}
.cs-stat { display: flex; flex-direction: column; gap: 3px; }
.cs-stat strong { font-size: 1.05rem; font-weight: 800; color: var(--dark); }
.cs-stat span { font-size: 0.78rem; color: var(--text-light); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 768px) {
  .cs-grid { grid-template-columns: 1fr; }
}

/* ── CLIENT PORTFOLIO SECTION ────────────────────────────── */
.clients-section { background: #fff; }
.clients-section .section-header p { max-width: 820px; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.client-card {
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  padding: 20px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  background: #fff;
}
.client-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,102,255,0.08);
}

.client-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}

.cl-main {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.cl-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-light);
  text-transform: uppercase;
}

/* Color variants */
.cl-green       { color: #2e7d32; }
.cl-green-bold  { color: #2e7d32; font-weight: 900; }
.cl-accent      { color: #ff6600; }
.cl-dark        { color: var(--dark); }
.cl-blue        { color: var(--primary); }
.cl-blue-bold   { color: var(--primary); font-weight: 900; font-size: 1.3rem; }
.cl-navy        { color: #001c44; font-weight: 700; }
.cl-red         { color: #c62828; }
.cl-teal        { color: #00695c; }
.cl-orange      { color: #e65100; }
.cl-orange-bold { color: #e65100; font-weight: 900; }
.cl-brown       { color: #5d4037; font-size: 1.5rem; }
.cl-bold        { font-weight: 900; }
.cl-white-text  { color: #fff; }

/* Special card backgrounds */
.cl-skincure { background: #1a1a2e; border-radius: 8px; padding: 10px 14px; }
.cl-smo      { background: #1a1a3e; border-radius: 50%; width: 64px; height: 64px; padding: 0; }

/* Row 3 — center the last 4 cards */
.clients-grid .client-card:nth-child(n+14) {
  grid-column: auto;
}
.clients-last-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 0;
}

@media (max-width: 1100px) {
  .clients-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 768px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

.clients-last-row { margin-top: 16px; flex-wrap: wrap; }
.clients-last-row .client-card { width: calc((100% / 7) - 14px); min-width: 120px; }
@media (max-width: 1100px) { .clients-last-row .client-card { width: calc((100% / 5) - 13px); } }
@media (max-width: 768px)  { .clients-last-row .client-card { width: calc((100% / 3) - 11px); } }
@media (max-width: 480px)  { .clients-last-row .client-card { width: calc((100% / 2) - 8px); } }

/* ── CLIENTS LOGO IMAGE ──────────────────────────────────── */
.clients-logo-img-wrap {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0,59,149,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients-logo-img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 0 auto; }

.faq-item { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,59,149,0.06); }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: var(--dark); color: var(--white);
  padding: 20px 28px; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700;
  text-align: left; gap: 16px;
}
.faq-q:hover { background: var(--primary-dark); }

.faq-icon { flex-shrink: 0; font-size: 0.85rem; }

.faq-a {
  background: var(--white); max-height: 0; overflow: hidden;
  border: 1px solid var(--border); border-top: none; border-radius: 0 0 12px 12px;
}
.faq-a p { padding: 24px 28px; color: var(--text-light); line-height: 1.8; font-size: 0.97rem; margin: 0; }

.faq-item.faq-open .faq-a { max-height: 600px; }
.faq-item.faq-open .faq-icon { transform: rotate(0deg); }
.faq-item:not(.faq-open) .faq-icon::before { content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.faq-item:not(.faq-open) .faq-icon { font-size: 0; }
.faq-item:not(.faq-open) .faq-icon::before { font-size: 0.85rem; }

/* ── HOMEPAGE CONTACT INFO PANEL ─────────────────────────── */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info-panel h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.contact-info-panel > p {
  color: rgba(240,248,255,0.7);
  margin-bottom: 28px;
  font-size: 1rem;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs-social-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: rgba(240,248,255,0.85);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(214,232,255,0.15);
  background: rgba(255,255,255,0.04);
}
.cs-social-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
  color: var(--white);
}
.cs-social-link i {
  font-size: 1.15rem;
  width: 20px;
  text-align: center;
  color: var(--accent);
}

/* Footer contact address list */
.footer-links ul li a[href^="mailto"],
.footer-links ul li a[href^="tel"] {
  color: rgba(240,248,255,0.55);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.footer-links ul li a[href^="mailto"]:hover,
.footer-links ul li a[href^="tel"]:hover { color: var(--accent); }

/* Wider footer for 4-column layout */
@media (min-width: 901px) {
  .footer-inner { grid-template-columns: 1.6fr 1.2fr 0.8fr 0.8fr; }
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
