/* SyloTech Solutions - Banking BPO Corporate Website */
/* Corporate Blue & White Theme | Mobile-First Responsive */

:root {
  --primary: #0a2463;
  --primary-dark: #061a42;
  --primary-light: #1e3a8a;
  --accent: #2563eb;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #1e293b;
  --text-muted: #64748b;
  --success: #059669;
  --shadow: 0 4px 6px -1px rgba(10, 36, 99, 0.08), 0 2px 4px -2px rgba(10, 36, 99, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(10, 36, 99, 0.1), 0 4px 6px -4px rgba(10, 36, 99, 0.08);
  --radius: 8px;
  --radius-lg: 12px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', sans-serif;
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* Header & Navigation */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--primary-dark) !important;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

@media (min-width: 992px) {
  .nav-toggle { display: none; }
}

.nav-menu {
  display: none;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  gap: 0.5rem;
}

.nav-menu a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
}

.nav-menu a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-accent {
  background: var(--accent);
  color: var(--white) !important;
}

.btn-accent:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* Hero Section - with conceptual background image */
.hero {
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.92) 0%, rgba(30, 58, 138, 0.88) 50%, rgba(30, 64, 175, 0.9) 100%),
    url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
  color: var(--white);
  padding: 4rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hero .subheadline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero .btn-primary {
  background: var(--white);
  color: var(--primary) !important;
}

.hero .btn-primary:hover {
  background: var(--gray-100);
  color: var(--primary-dark) !important;
}

.hero .btn-secondary {
  border-color: var(--white);
  color: var(--white) !important;
  background: transparent;
}

.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white) !important;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--off-white);
}

/* Conceptual image sections */
.section-with-image {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .section-with-image { grid-template-columns: 1fr 1fr; }
  .section-with-image.reverse { direction: rtl; }
  .section-with-image.reverse > * { direction: ltr; }
}

.section-with-image .section-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.section-with-image .section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
  min-height: 240px;
  max-height: 360px;
  position: relative;
}

.section-banner img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.section-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 36, 99, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

.image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--gray-100);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 36, 99, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.image-card-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.testimonials-bg {
  position: relative;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--gray-100) 100%),
    url('https://images.pexels.com/photos/3183197/pexels-photo-3183197.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
  background-blend-mode: overlay;
}

.page-hero-image {
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.88) 0%, rgba(30, 58, 138, 0.82) 100%),
    var(--page-hero-bg) center/cover no-repeat;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-title h2 {
  margin-bottom: 0.75rem;
}

.section-title p {
  margin-bottom: 0;
  font-size: 1.0625rem;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: inherit;
}

.card-icon .icon {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* Why Choose Us - Feature List */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.feature-list li .feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-list li .feature-icon svg {
  width: 18px;
  height: 18px;
  color: inherit;
}

.feature-list h4 {
  margin-bottom: 0.25rem;
}

.feature-list p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* Industries / Trust Badges */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.industry-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  min-width: 140px;
}

.industry-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.industry-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.9375rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9375rem;
}

.testimonial-card .role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary) !important;
}

.cta-section .btn-primary:hover {
  background: var(--gray-100);
  color: var(--primary-dark) !important;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand .logo {
  color: var(--white) !important;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

/* Page Header (inner pages) - with optional conceptual background image */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  position: relative;
}

.page-header.has-hero-bg {
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.9) 0%, rgba(30, 58, 138, 0.85) 100%), var(--hero-bg) center/cover no-repeat;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.page-header p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 0;
  font-size: 1.0625rem;
  position: relative;
  z-index: 1;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Content Sections (About, Services, etc.) */
.content-block {
  margin-bottom: 2.5rem;
}

.content-block h2 {
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  margin-bottom: 1rem;
}

.content-block h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-block ul {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--text-muted);
}

.content-block ul li {
  margin-bottom: 0.5rem;
}

/* Process Flow (text explanation) */
.process-flow {
  background: var(--off-white);
  border-left: 4px solid var(--primary);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.process-flow h4 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.process-flow ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.process-flow li {
  margin-bottom: 0.5rem;
}

/* Trust Badges Bar with conceptual icons */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin: 2rem 0;
}

.trust-badges .trust-badge {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-badges .trust-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--success);
}

/* Content block heading with icon (Services, etc.) */
.content-block-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.content-block-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.content-block-icon svg {
  width: 22px;
  height: 22px;
  color: inherit;
}

.content-block-head h2 {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  display: inline-block;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--white) !important;
}

/* Two-column layout for contact / inner pages */
@media (min-width: 992px) {
  .contact-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
