/* ===========================================================
   GLOBAL VARIABLES & BASE THEME
   =========================================================== */
:root {
  /* Colors */
  --bg: #f6f9fc;
  --text-dark: #0f1724;
  --muted: #6b7280;

  /* Brand colors */
  --primary: #0066ff;
  --primary-light: #4d8dff;
  --accent-2: #00d4b5;
  --gradient: linear-gradient(135deg, #0066ff, #00c4ff);

  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.28);
  --radius: 14px;
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 10px 20px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

/* ===========================================================
   HEADER (GLASS + STICKY)
   =========================================================== */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-sm);
  z-index: 100;
}

.header .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.brand img {
  width: 160px;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 14px;
  font-weight: 600;
  transition: 0.25s;
}

.nav-links a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.cta-btn {
  background: var(--gradient);
  color: white !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

/* ===========================================================
   HERO SECTIONS
   =========================================================== */
.hero {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0066ff22, #00d4b522);
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  color: #334;
}

/* ===========================================================
   UNIVERSAL SECTION TITLE
   =========================================================== */
.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: var(--primary);
  display: block;
  margin: 10px auto 0;
  border-radius: 4px;
}

/* ===========================================================
   SERVICES PAGE — GLASS CARDS
   =========================================================== */
.services-section {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: 0.35s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.active {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,0.5);
}

.service-card .icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.service-card h3 {
  color: var(--primary);
  font-size: 22px;
  font-weight: 600;
}

.service-card a {
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
  position: relative;
}

.service-card a:hover {
  color: var(--primary-light);
}

/* ===========================================================
   FOOTER (GLASSMORPHISM)
   =========================================================== */
.footer {
  background: rgba(2, 24, 50, 0.75);
  backdrop-filter: blur(14px);
  color: #dbeaf6;
  padding: 50px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.footer a {
  color: #bfe8ff;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .fgrid {
  display: grid;
  grid-template-columns: 1fr 200px 200px;
  gap: 30px;
}

.footer-text {
  color: #cfefff;
}

.footer-contact div {
  margin-bottom: 6px;
}

.copy {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.9;
}

/* ===========================================================
   ANIMATIONS
   =========================================================== */
.fade-in {
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   RESPONSIVE BREAKPOINTS
   =========================================================== */
@media (max-width: 1024px) {
  .footer .fgrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: 34px;
  }

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

  .footer .fgrid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand img { width: 140px; }

  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .section-title { font-size: 32px; }
  .service-card { padding: 22px; }
}


