/* OnthaCore Solutions - Professional Static Website */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
  --primary: #1a6bb5;
  --primary-dark: #145a9a;
  --primary-light: #e8f2fc;
  --secondary: #f8fafc;
  --foreground: #1a1a2e;
  --muted: #64748b;
  --border: #e2e8f0;
  --background: #ffffff;
  --card-bg: #ffffff;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ========== NAVIGATION ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1a2332;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.nav-logo img {
  height: 80px;
  width: auto;
  transition: var(--transition);
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(100deg) brightness(1.4);
}

.nav-logo:hover img {
  opacity: 0.9;
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

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

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: var(--transition);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 8px 0;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  padding: 80px 24px 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--background) 60%);
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--foreground);
}

.hero-content .subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.hero-content .values {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 32px;
  opacity: 0.8;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-hover);
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(26, 107, 181, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ========== SECTION STYLES ========== */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card .service-subtitle {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ========== HOSTING SECTION ========== */
.hosting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hosting-image img {
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-hover);
}

.hosting-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hosting-content .hosting-subtitle {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 500;
}

.hosting-content p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.hosting-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hosting-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hosting-feature .check-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.hosting-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.hosting-feature p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0;
}

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

  .hosting-image {
    order: -1;
  }

  .hosting-features {
    grid-template-columns: 1fr;
  }
}

/* ========== HOW IT WORKS ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.2;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

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

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  text-align: left;
  font-family: inherit;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
}

/* ========== TRUST SECTION ========== */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.trust-image img {
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-hover);
}

.trust-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trust-pillar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.trust-pillar:hover {
  box-shadow: var(--card-shadow-hover);
}

.trust-pillar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-pillar p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-image {
    order: -1;
  }
}

/* ========== ABOUT PAGE ========== */
.about-hero {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--background) 60%);
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expertise-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.expertise-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.expertise-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.expertise-card .icon-wrap svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.expertise-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.expertise-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

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

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary);
}

.value-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.value-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form .form-subtitle {
  color: var(--muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--background);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 107, 181, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info .info-subtitle {
  color: var(--muted);
  margin-bottom: 16px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item .info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item .info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.info-item h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.info-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

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

/* ========== FOOTER ========== */
.footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 80px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(100deg) brightness(1.4);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
}

.social-links a:hover svg {
  color: #ffffff;
}

.social-links svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ========== UTILITY ========== */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

/* Success Message */
.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 8px;
  padding: 16px;
  color: #065f46;
  font-weight: 500;
  margin-top: 16px;
}

.form-success.show {
  display: block;
}
