/* OMasters - Global Stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1e3a8a;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.15);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header / Navigation ===== */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

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

.nav-links a {
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
  position: relative;
}

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

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
}

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, rgba(30,58,138,0.85), rgba(14,165,233,0.75)),
              url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 12px;
}

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

/* ===== Page Header (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 70px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===== Sections ===== */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ===== Grid Cards ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 4px solid var(--secondary);
}

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

.card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

.card p {
  color: var(--gray);
  font-size: 0.96rem;
}

/* ===== About / Two column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.two-col img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.two-col h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 18px;
}

.two-col p {
  color: var(--gray);
  margin-bottom: 14px;
}

.two-col ul {
  margin-top: 14px;
  padding-left: 20px;
  color: var(--gray);
}

.two-col ul li { margin-bottom: 6px; }

/* ===== Stats ===== */
.stats {
  background: var(--dark);
  color: var(--white);
}

.stats .grid { text-align: center; }

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ===== Team ===== */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: var(--shadow);
  border-top: none;
}

.team-card img {
  width: 130px; height: 130px;
  border-radius: 50%;
  margin: 0 auto 18px;
  object-fit: cover;
  border: 4px solid var(--secondary);
}

.team-card h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}

.info-box {
  background: var(--primary);
  color: var(--white);
  padding: 35px;
  border-radius: 10px;
}

.info-box h3 { margin-bottom: 20px; }
.info-item {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.info-item:last-child { border-bottom: none; }
.info-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.7;
  letter-spacing: 1px;
}
.info-item .value {
  font-size: 1.05rem;
  margin-top: 4px;
}
.info-item a { color: var(--accent); }

form {
  background: var(--white);
  padding: 35px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
}

.submit-btn {
  background: var(--primary);
  color: var(--white);
  padding: 14px 36px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.submit-btn:hover { background: var(--secondary); }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
}
.cta h2 { font-size: 2.2rem; margin-bottom: 16px; }
.cta p { font-size: 1.1rem; max-width: 620px; margin: 0 auto 26px; opacity: 0.95; }

/* ===== Footer ===== */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 50px 0 20px;
}

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

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-col p, .footer-col li {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.footer-col ul { list-style: none; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: #94a3b8;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }

  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1rem; }
  .btn-outline { margin: 12px 0 0; display: block; }

  .two-col, .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title h2 { font-size: 1.7rem; }
}
