/* EduQuaint Consultants - Main Stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-dark: #1a2f6e;
  --blue-light: #2196c4;
  --blue-accent: #00aadd;
  --text-dark: #222;
  --text-gray: #555;
  --bg-light: #f5f7fa;
  --white: #fff;
}

body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text-dark); font-size: 16px; line-height: 1.7; }

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

/* ===== HEADER ===== */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.logo img { height: 60px; }
nav ul { list-style: none; display: flex; gap: 8px; align-items: center; }
nav ul li a {
  padding: 8px 16px; border-radius: 6px;
  color: var(--blue-dark); font-weight: 500;
  transition: background 0.2s;
}
nav ul li a:hover, nav ul li a.active { background: var(--blue-dark); color: var(--white); }
nav ul li.has-dropdown { position: relative; }
nav ul li.has-dropdown > a::after { content: ' ▾'; font-size: 12px; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  border-radius: 8px; min-width: 220px; padding: 8px 0; z-index: 200;
}
.dropdown li a {
  display: block; padding: 10px 20px; border-radius: 0;
  color: var(--text-dark); font-weight: 400;
}
.dropdown li a:hover { background: var(--bg-light); color: var(--blue-dark); }
nav ul li.has-dropdown:hover .dropdown { display: block; }
.btn-contact {
  background: var(--blue-dark); color: var(--white) !important;
  border-radius: 6px; padding: 10px 20px !important;
}
.btn-contact:hover { background: var(--blue-light) !important; color: var(--white) !important; }

/* Mobile menu toggle */
.menu-toggle { display: none; font-size: 26px; cursor: pointer; color: var(--blue-dark); }

/* ===== HERO ===== */
.hero {
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.hero-inner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-light) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 30px 40px 50px;
}
.hero-image-full {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.hero-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero-text h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.3; margin-bottom: 20px; }
.hero-text p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; }
.hero-offer {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px; padding: 16px 20px; margin-bottom: 30px; font-size: 0.95rem;
}
.hero-offer strong { color: #ffd700; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--white); color: var(--blue-dark);
  padding: 14px 28px; border-radius: 8px; font-weight: 700;
  font-size: 1rem; transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 28px; border-radius: 8px; font-weight: 600;
  font-size: 1rem; transition: background 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }
.hero-image img { width: 100%; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }

/* ===== SECTIONS ===== */
section { padding: 70px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2rem; color: var(--blue-dark); margin-bottom: 12px; }
.section-title p { color: var(--text-gray); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-title .divider {
  width: 60px; height: 4px; background: var(--blue-light);
  margin: 16px auto 0; border-radius: 2px;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px;
}
.service-card {
  background: var(--white); border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  padding: 30px 24px; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border-color: var(--blue-light);
}
.service-card img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 20px; }
.service-card h3 { color: var(--blue-dark); font-size: 1.1rem; margin-bottom: 12px; }
.service-card p { color: var(--text-gray); font-size: 0.92rem; margin-bottom: 20px; }
.btn-learn { 
  display: inline-block; background: var(--blue-dark); color: var(--white);
  padding: 10px 22px; border-radius: 6px; font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s;
}
.btn-learn:hover { background: var(--blue-light); }

/* ===== ABOUT STRIP ===== */
.about-strip { background: var(--bg-light); }
.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-text h2 { color: var(--blue-dark); font-size: 1.8rem; margin-bottom: 8px; }
.about-text .tagline { color: var(--blue-light); font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; }
.about-text p { color: var(--text-gray); margin-bottom: 16px; }
.about-text .btn-primary { background: var(--blue-dark); color: var(--white); margin-top: 10px; }
.about-text .btn-primary:hover { background: var(--blue-light); }
.about-image img { width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* ===== OFFER BANNER ===== */
.offer-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: var(--white); text-align: center; padding: 50px 24px;
}
.offer-banner h2 { font-size: 1.8rem; margin-bottom: 12px; }
.offer-banner p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 24px; }
.offer-code { 
  display: inline-block; background: #ffd700; color: var(--blue-dark);
  padding: 8px 24px; border-radius: 30px; font-weight: 800; font-size: 1.2rem;
  letter-spacing: 2px; margin-bottom: 24px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
}
.contact-info h3 { color: var(--blue-dark); font-size: 1.4rem; margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; background: var(--blue-dark); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-item p { margin: 0; color: var(--text-gray); }
.contact-item strong { color: var(--blue-dark); display: block; margin-bottom: 4px; }

/* Contact Form */
.contact-form h3 { color: var(--blue-dark); font-size: 1.4rem; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0;
  border-radius: 8px; font-size: 1rem; font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue-light);
}
.form-group textarea { height: 130px; resize: vertical; }
.btn-submit {
  width: 100%; background: var(--blue-dark); color: var(--white);
  padding: 14px; border: none; border-radius: 8px; font-size: 1rem;
  font-weight: 700; cursor: pointer; transition: background 0.2s;
}
.btn-submit:hover { background: var(--blue-light); }
.form-success { 
  display: none; background: #e8f5e9; color: #2e7d32;
  padding: 14px; border-radius: 8px; text-align: center; margin-top: 16px;
  font-weight: 600;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: var(--white); padding: 60px 24px; text-align: center;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 0.9rem; opacity: 0.75; margin-bottom: 16px; }
.breadcrumb a { color: var(--white); text-decoration: underline; }

/* ===== SERVICE DETAIL ===== */
.service-detail { max-width: 900px; margin: 0 auto; }
.service-detail h2 { color: var(--blue-dark); font-size: 1.6rem; margin: 30px 0 14px; }
.service-detail p { color: var(--text-gray); margin-bottom: 16px; }
.faq-item { 
  background: var(--bg-light); border-radius: 10px; padding: 20px 24px; margin-bottom: 16px;
  border-left: 4px solid var(--blue-light);
}
.faq-item .q { font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.faq-item .a { color: var(--text-gray); }
.highlight-box {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: var(--white); padding: 30px; border-radius: 14px; margin: 30px 0;
}
.highlight-box h3 { margin-bottom: 16px; font-size: 1.3rem; }
.highlight-box ul { list-style: none; }
.highlight-box ul li { padding: 6px 0; padding-left: 24px; position: relative; }
.highlight-box ul li::before { content: '✅'; position: absolute; left: 0; }

/* ===== FOOTER ===== */
footer { background: var(--blue-dark); color: rgba(255,255,255,0.85); padding: 50px 24px 24px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand img { height: 50px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; opacity: 0.75; line-height: 1.7; }
footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: rgba(255,255,255,0.75); font-size: 0.9rem; transition: color 0.2s; }
footer ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px;
  text-align: center; font-size: 0.85rem; opacity: 0.6;
  max-width: 1200px; margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image-full { min-height: 250px; order: -1; }
  .hero-inner { padding: 30px 20px; }
  .hero-text h1 { font-size: 1.7rem; }
  .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
  nav ul.open { display: flex; }
  .menu-toggle { display: block; }
  .dropdown { position: static; box-shadow: none; }
}

/* ===== SERVICES BG ===== */
.services-bg { background: #f5f7fa; }

/* ===== WHO WE HELP ===== */
.who-we-help { background: var(--white); }
.help-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.help-card {
  background: #f5f7fa; border-radius: 12px; padding: 24px;
  border-left: 4px solid var(--blue-light);
}
.help-card h3 { color: var(--blue-dark); margin-bottom: 10px; font-size: 1rem; }
.help-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }

/* ===== WHY CHOOSE US ===== */
.why-us-section { background: #f5f7fa; }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.why-card {
  background: var(--white); border-radius: 14px; padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06); text-align: center;
}
.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { color: var(--blue-dark); font-size: 1rem; margin-bottom: 10px; }
.why-card p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; }

/* ===== FOOTER COPY ===== */
.footer-copy { margin-top: 8px; }
.footer-link { color: rgba(255,255,255,0.6); }
.footer-link:hover { color: var(--white); }

/* Hero subtitle */
.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 16px;
  margin-top: -10px;
}

/* ===== CONTRAST FIXES ===== */
.contrast-fix {
  color: #0d2356 !important;
  font-weight: 600;
}
.tagline {
  color: #0d2356 !important;
  font-weight: 600;
}

/* ===== FOOTER CONTRAST FIXES ===== */
footer p { color: #ffffff; }
.footer-brand p { color: #ffffff; }
.footer-bottom { color: #ffffff; }
.footer-copy { margin-top: 8px; color: #ffffff; }
.footer-link {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-link:hover { color: #e0f0ff !important; }
footer ul li a { color: #ffffff; }
footer h3 { color: #ffffff; font-size: 1rem; margin-bottom: 16px; }

/* ===== MAIN LANDMARK ===== */
main { display: block; }
