/*
Theme Name: EdBridge Global
Theme URI: https://edbridgeglobal.com
Author: EdBridge Global
Description: Official theme for EdBridge Global education consultancy
Version: 1.0
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #FFFFFF;
  color: #333333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .nav-links a, .btn, .service-card h3, .team-name, .stat-number {
  font-family: 'Montserrat', sans-serif;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

:root {
  --deep-blue: #0A2A66;
  --gold: #D4A017;
  --teal: #1C8EA6;
  --soft-grey: #F8F9FC;
  --charcoal: #333333;
  --white: #FFFFFF;
  --light-grey: #E5E5E5;
}

h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.2; }
h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--deep-blue); text-align: center; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
.section-subhead { text-align: center; max-width: 700px; margin: 0 auto 2rem; color: #555; font-size: 1.1rem; }
.section-label {
  display: inline-block;
  background: rgba(212, 160, 23, 0.12);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 1rem;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem 0 1.5rem;
}
.divider-center {
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: #b8860b;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(212,160,23,0.3);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: #0f6e82;
  transform: translateY(-2px);
}
.btn-small {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.logo h1 {
  font-size: 1.8rem;
  color: var(--deep-blue);
}
.logo span {
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--deep-blue);
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
}
.nav-btn {
  background: var(--gold);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
.nav-btn:hover {
  background: #b8860b;
  transform: translateY(-2px);
}
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--deep-blue);
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: var(--white);
  min-width: 260px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 12px;
  top: 30px;
  left: 0;
}
.dropdown-content a {
  color: var(--charcoal);
  padding: 10px 16px;
  display: block;
  font-size: 0.9rem;
}
.dropdown-content a:hover {
  background: var(--soft-grey);
  color: var(--gold);
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1600&q=80');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 42, 102, 0.82);
}
.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  color: white;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats Bar */
.stats-bar {
  background: var(--gold);
  padding: 2rem 0;
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--deep-blue);
}

/* About */
.about-section {
  padding: 80px 0;
  background: var(--white);
}
.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}
.about-text { flex: 1.2; }
.about-image {
  flex: 0.9;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services */
.services-section {
  padding: 80px 0;
  background: var(--soft-grey);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--light-grey);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}
.service-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.2rem; color: var(--deep-blue); }
.service-card p { font-size: 0.9rem; color: #555; margin-bottom: 1.2rem; flex: 1; }
.service-link { color: var(--teal); font-weight: 600; text-decoration: none; }

/* Why Choose Us */
.difference-section {
  background: var(--deep-blue);
  padding: 80px 0;
}
.difference-section h2 { color: white; }
.difference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.diff-card { text-align: center; padding: 1.5rem; }
.diff-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.diff-card h3 { color: var(--gold); font-size: 1.2rem; }
.diff-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* Testimonials */
.testimonials-section {
  padding: 80px 0;
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: var(--soft-grey);
  padding: 2rem;
  border-radius: 20px;
  position: relative;
}
.quote-icon {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Team */
.team-section {
  background: var(--soft-grey);
  padding: 80px 0;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.team-card:hover { transform: translateY(-5px); }
.team-image {
  height: 260px;
  background: linear-gradient(135deg, #e0e6ed, #d0d8e2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--deep-blue);
}
.team-info { padding: 1.5rem; text-align: center; }
.team-name { font-size: 1.3rem; font-weight: 700; color: var(--deep-blue); }
.team-title { color: var(--gold); font-weight: 600; font-size: 0.85rem; margin: 0.5rem 0; text-transform: uppercase; letter-spacing: 0.5px; }
.team-bio { font-size: 0.85rem; color: #666; margin-top: 0.5rem; line-height: 1.5; }
.team-badge {
  display: inline-block;
  background: rgba(212,160,23,0.12);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gold);
}
.team-qualifications {
  margin-top: 0.75rem;
  text-align: left;
  font-size: 0.8rem;
  color: var(--deep-blue);
  border-top: 1px solid var(--light-grey);
  padding-top: 0.75rem;
}
.team-qualifications i {
  color: var(--gold);
  margin-right: 0.5rem;
}
.view-full-profile {
  margin-top: 0.75rem;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.view-full-profile:hover { text-decoration: underline; }

/* Blog */
.blog-section {
  padding: 80px 0;
  background: var(--white);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--light-grey);
  transition: transform 0.3s ease;
}
.blog-card:hover { transform: translateY(-5px); }
.blog-image {
  height: 200px;
  background: var(--soft-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-content { padding: 1.5rem; }
.blog-date { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.9rem; color: #666; margin-bottom: 1rem; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--deep-blue), #0f3a5a);
  color: white;
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { color: white; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* Contact */
.contact-section { padding: 80px 0; }
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  background: var(--soft-grey);
  border-radius: 28px;
  padding: 2.5rem;
}
.contact-info { flex: 1; }
.contact-form { flex: 1.5; }
.form-group { margin-bottom: 1.2rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-grey);
  border-radius: 40px;
  font-family: 'Open Sans', sans-serif;
}
.form-group textarea { border-radius: 20px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Footer */
footer {
  background: var(--deep-blue);
  color: white;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 { color: var(--gold); margin-bottom: 1rem; }
.footer-col a { color: #ccc; text-decoration: none; display: block; margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.social-icons a { color: white; margin-right: 1rem; font-size: 1.3rem; display: inline-block; }
.copyright { text-align: center; padding-top: 2rem; border-top: 1px solid #2c4c7c; font-size: 0.85rem; }

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gold);
  color: var(--deep-blue);
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 99;
  transition: transform 0.3s ease;
}
.floating-cta:hover {
  transform: scale(1.05);
  background: #b8860b;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 12px;
  border-radius: 40px;
  margin-top: 1rem;
  text-align: center;
}

/* Blog index page */
.blog-index-section { padding: 80px 0; }
.blog-index-hero {
  background: var(--deep-blue);
  padding: 60px 0;
  text-align: center;
  color: white;
}
.blog-index-hero h1 { color: white; font-size: 2.8rem; }
.blog-index-hero p { color: rgba(255,255,255,0.8); margin-top: 1rem; }

/* Single post */
.single-post-hero {
  background: var(--deep-blue);
  padding: 80px 0;
  color: white;
}
.single-post-hero h1 { color: white; font-size: 2.5rem; max-width: 800px; }
.post-meta { color: var(--gold); margin-top: 1rem; font-size: 0.9rem; }
.post-content { padding: 60px 0; max-width: 820px; margin: 0 auto; }
.post-content p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.post-content h2, .post-content h3 { text-align: left; margin-bottom: 1rem; margin-top: 2rem; }
.post-thumbnail { width: 100%; border-radius: 20px; margin-bottom: 2rem; }

/* Page hero */
.page-hero {
  background: var(--deep-blue);
  padding: 60px 0;
  text-align: center;
  color: white;
}
.page-hero h1 { color: white; }
.page-content { padding: 60px 0; }

/* Support team preview */
.support-team-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.support-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  width: 260px;
  text-align: center;
}
.support-card i { font-size: 2.5rem; color: var(--gold); }
.support-card h4 { margin-top: 0.5rem; }
.support-card p { font-size: 0.85rem; color: #666; }

.team-cta { text-align: center; margin-top: 3rem; }

@media (max-width: 992px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1.5rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    gap: 1rem;
    z-index: 1000;
  }
  .dropdown-content { position: static; box-shadow: none; padding-left: 1rem; }
  .hero h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .about-image { height: 280px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .contact-wrapper { padding: 1.5rem; }
  .team-card { width: 100%; max-width: 320px; }
}
