/* ===================== VARIABLES ===================== */
:root {
  --primary: #1a3a6b;
  --primary-dark: #0f2647;
  --primary-light: #2a5298;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ===================== RESET & BASE ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
}

/* ===================== UTILITIES ===================== */
.section-padding {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.section-desc {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.bg-light {
  background-color: var(--gray-50) !important;
}

/* ===================== BUTTONS ===================== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 58, 107, 0.35);
}

.btn-outline-light {
  border: 2px solid var(--white);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

/* ===================== NAVBAR ===================== */
#mainNav {
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

#mainNav.scrolled {
  background: var(--white) !important;
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

#mainNav.scrolled .navbar-brand,
#mainNav.scrolled .nav-link {
  color: var(--gray-800) !important;
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active {
  color: var(--accent) !important;
}

#mainNav.scrolled .brand-ryg {
  color: var(--primary) !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-ryg {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-light) !important;
}

/* ===================== HERO ===================== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
}

.z-1 {
  z-index: 1;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 1;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===================== ABOUT ===================== */
.about-image-wrapper {
  position: relative;
}

.about-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  gap: 16px;
}

.about-placeholder i {
  font-size: 4rem;
  opacity: 0.6;
}

.about-placeholder span {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 4px;
}

.about-stat {
  text-align: center;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===================== SERVICES ===================== */
.service-card {
  background: var(--white);
  padding: 40px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon i {
  font-size: 2rem;
  color: var(--white);
}

.service-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===================== EXPERIENCE ===================== */
.experience-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exp-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.exp-feature i {
  color: var(--accent);
  font-size: 1.2rem;
}

.experience-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.exp-counter-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.exp-counter-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.exp-counter-card:first-child {
  grid-column: span 2;
}

.exp-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.counter-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.counter-plus {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.exp-counter-card p {
  margin: 8px 0 0;
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ===================== CLIENTS ===================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-placeholder {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  width: 100%;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.client-logo-placeholder:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.client-logo-placeholder i {
  font-size: 1.8rem;
  color: var(--primary);
}

.client-logo-placeholder span {
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 600;
  line-height: 1.3;
}

/* ===================== VALUE PROPOSITION ===================== */
.value-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(26, 58, 107, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon i {
  font-size: 1.6rem;
  color: var(--primary);
}

.value-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===================== CTA ===================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
}

.cta-title {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}

.cta-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-section .btn-light {
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  transition: var(--transition);
}

.cta-section .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ===================== CONTACT ===================== */
.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 40px 32px;
  border-radius: var(--radius);
  color: var(--white);
  height: 100%;
}

.contact-info-card h4 {
  color: var(--white);
  margin-bottom: 32px;
  font-size: 1.3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item i {
  font-size: 1.2rem;
  margin-top: 4px;
  opacity: 0.8;
  width: 20px;
  text-align: center;
}

.contact-item a {
  color: var(--white);
  opacity: 0.9;
}

.contact-item a:hover {
  opacity: 1;
  color: var(--white);
}

.contact-item p {
  margin: 0;
  opacity: 0.9;
}

.contact-item strong {
  font-size: 1.05rem;
}

.contact-form-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-control {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.form-message {
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ===================== FOOTER ===================== */
.footer-section {
  background: var(--gray-900);
  padding: 60px 0 30px;
  color: var(--gray-400);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .brand-ryg {
  color: var(--white);
  font-size: 1.6rem;
}

.footer-brand .brand-sub {
  color: var(--gray-400);
}

.footer-desc {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-heading {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--accent);
  width: 16px;
  text-align: center;
}

.footer-divider {
  border-color: var(--gray-700);
  margin: 40px 0 20px;
}

.footer-copy {
  font-size: 0.85rem;
  margin: 0;
}

/* ===================== ANIMATIONS ===================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: 70px 0;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .navbar-collapse {
    background: var(--white);
    margin-top: 10px;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .navbar-collapse .nav-link {
    color: var(--gray-800) !important;
    padding: 10px 16px !important;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-buttons .me-3 {
    margin-right: 0 !important;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-visual {
    grid-template-columns: 1fr;
  }

  .exp-counter-card:first-child {
    grid-column: span 1;
  }

  .about-placeholder {
    height: 280px;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .contact-info-card {
    padding: 32px 24px;
  }

  .contact-form-card {
    padding: 32px 24px;
  }
}

@media (max-width: 575.98px) {
  .clients-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .client-logo-placeholder {
    min-height: 110px;
    padding: 16px 12px;
  }
}
