/* TESO LAW One Page Website Styles (version 1.0) */

:root {
  --primary: #fcab10;
  --black-footer: #000000;
  --primary-dark: #003153;
  --accent: #00a7e1;
  --grey-bg: #f7f7f7;
  --white: #fff;
  --text: #222;
  --border-radius: 0px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  --header-height: 80px;
  --topbar-height: 32px;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--grey-bg);
  margin: 0;
  padding: 0;
}
.container {
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-linebar {
  width: 100%;
  height: 3px;
  background: var(--primary);
}

div.linebar {
  width: 5%;
  height: 3px;
  background: var(--primary);
  margin: 0.5rem auto;
}

@font-face {
  font-family: "TESOLogoFont";
  src: url("../fonts/signika.bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Top Bar */
.top-header {
  background: var(--primary-dark);
  color: #fff;
  font-size: 1.05rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  height: 3.65rem;
  text-transform: uppercase;
}
.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.top-header-left {
  font-weight: 400;
  text-transform: capitalize;
}
.top-header-right {
  display: flex;
  gap: 1.5rem;
}
.top-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  transition: color var(--transition);
}
.top-link:hover {
  color: var(--accent);
}

/* Main Header */
.main-header {
  background: #fff;
  box-shadow: var(--shadow);
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  text-transform: uppercase;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
/* .logo img {
  height: 40px;
  width: auto;
} */

.logo {
  font-family: "TESOLogoFont", "Montserrat", Arial, sans-serif;
}

.logo span a {
  text-decoration: none;
  color: var(--primary-dark);
}

.header-logo span {
  font-size: 3rem;
  color: var(--primary-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: color var(--transition);
  padding: 0.2rem 0.5rem;
  position: relative;
}
.main-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}
.header-flex .nav-btns {
  display: flex;
  gap: 0.7rem;
}
.nav-btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  transition: background var(--transition), color var(--transition),
    border var(--transition);
}
.nav-btn.square {
  padding: 0.5rem 1.2rem;
  text-align: center;
}

.nav-btn.square:hover {
  padding: 0.5rem 1.2rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
}

.nav-btn.square.secondary:hover {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.nav-btn.contact {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.nav-btn.book {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.nav-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.3rem;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  transition: all 0.3s ease;
}

.menu-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: #fff;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.mobile-nav-title {
  font-family: "TESOLogoFont", "Montserrat", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.mobile-nav-title a {
  text-decoration: none;
  color: var(--primary-dark);
}

.mobile-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.close-line {
  width: 20px;
  height: 2px;
  background: var(--primary-dark);
  transform: rotate(45deg);
}

.close-line:last-child {
  transform: rotate(-45deg);
}

.mobile-nav-top {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.mobile-nav-main {
  flex: 1;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem 0;
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid #f5f5f5;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--accent);
}

.mobile-nav-cta {
  margin-top: auto;
}

.mobile-cta-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  text-align: center;
  display: block;
}

.mobile-cta-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}
.nav-btn.contact:hover {
  background: #fff;
  color: var(--accent);
}

/* Hero Section */
.hero {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 48px 0 40px 0;
}
.hero-flex {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1 1 350px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: var(--primary-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hero-text h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.1rem;
  color: var(--primary-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero-text h3 {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #333;
  line-height: 1.6;
  font-weight: 500;
}
.hero-cta {
  display: flex;
  gap: 1.2rem;
}
.cta-btn {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--border-radius);
  padding: 0.7rem 1.7rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border var(--transition);
  text-decoration: none;
  text-transform: uppercase;
}
.cta-btn.secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cta-btn:hover {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}
.cta-btn.secondary:hover {
  background: var(--primary);
  color: #fff;
}
.hero-image-blur {
  flex: 1 1 350px;
  min-width: 300px;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.blur-right {
  display: none;
}

/* Practice Areas */
.practice-areas {
  background: var(--grey-bg);
  padding: 60px 0;
  text-align: center;
}
.practice-jurisdiction {
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--primary-dark);
}
.practice-intro {
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
  color: #444;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.practice-box {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.practice-box:hover {
  box-shadow: 0 6px 24px rgba(23, 99, 90, 0.13);
  transform: translateY(-4px) scale(1.03);
}
.practice-box img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: 1rem;
}
.practice-box h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.practice-box p {
  font-size: 0.98rem;
  color: #444;
  margin: 0;
}

/* CTA Banner */
.cta-banner {
  background: var(--primary-dark);
  color: #fff;
  padding: 2.2rem 0;
  text-align: center;
  margin: 2.5rem 0 0 0;
}
.cta-banner-text {
  margin-bottom: 1.5rem;
}
.cta-banner-text p {
  font-size: 2.8rem;
  font-weight: 500;
  display: block;
}
.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.cta-banner .cta-btn {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}
.cta-banner .cta-btn.secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--white);
}

.cta-banner .cta-btn:hover {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}
.cta-banner .cta-btn.secondary:hover {
  background: var(--primary-dark);
  color: var(--white);
  border: 2px solid var(--white);
}

/* About Section */
.about-section {
  background: var(--grey-bg);
  padding: 60px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.about-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.about-section p {
  font-size: 1.1rem;
  color: #333;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
}
.about-card .cta-btn {
  margin-top: 1.2rem;
}

/* Team Section */
.team-section {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--grey-bg);
  padding: 60px 0;
  text-align: center;
}
.testimonials-section h2 {
  color: var(--primary-dark);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.testimonials-section p {
  font-size: 1.1rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto 2.2rem auto;
}

/* Testimonial Rating */
.testimonial-rating {
  margin-bottom: 3rem;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.star {
  font-size: 3rem;
  color: #ffd700;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.rating-text {
  font-size: 1.1rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin: 0;
}

/* Testimonial Grid */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
  margin-bottom: 1.5rem;
}

.testimonial-quote p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  justify-content: flex-end;
}

.author-initials {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Google Reviews Link */
.testimonial-cta {
  margin-top: 2rem;
}

.google-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--primary-dark);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  margin-top: 1rem;
}

.google-reviews-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.star-icon {
  font-size: 1.4rem;
  color: #ffd700;
}

/* Contact Section */
.contact-section {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}
.contact-section h2 {
  color: var(--primary-dark);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.contact-section p {
  font-size: 1.1rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto 2.2rem auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-item {
  text-align: left;
  padding: 1.5rem;
  background: var(--grey-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.contact-item h3 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.contact-item p {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.contact-item a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-item a:hover {
  color: var(--accent);
}

.whatsapp-link {
  color: #25d366;
  font-weight: 600;
  transition: color 0.3s ease;
}

.whatsapp-link:hover {
  color: #128c7e;
}
.team-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.team-section p {
  font-size: 1.1rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto 2.2rem auto;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.team-card {
  background: var(--grey-bg--grey-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 220px;
}
.team-card img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary-dark);
  margin-bottom: 1rem;
}
.team-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.team-card .team-title {
  font-size: 0.98rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
}
.team-card p {
  font-size: 0.97rem;
  color: #444;
  margin: 0;
  padding: 1rem 1.5rem;
  text-align: left;
}

/* Footer */
.footer {
  background: var(--black-footer);
  color: #fff;
  padding: 3rem 0 2rem 0;
  font-size: 1rem;
  margin-top: 2rem;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand {
  text-align: left;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  display: block;
}
.footer-tagline {
  font-size: 0.9rem;
  color: #ccc;
  margin: 0;
  font-style: italic;
}
.footer-legal {
  text-align: left;
}
.footer-disclaimer {
  font-size: 0.9rem;
  color: #fff;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}
.footer-privacy {
  font-size: 0.85rem;
  color: #ccc;
  margin: 0;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}
.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  padding: 0.3rem 0;
}
.footer-link:hover {
  color: var(--accent);
}
.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

/* Utility */
.grey-bg {
  background: var(--grey-bg) !important;
}
.white-bg {
  background: #fff !important;
}

@media (max-width: 1400px) and (min-width: 769px) {
  .header-flex {
    gap: 1.5rem;
  }
  .main-nav {
    gap: 1.5rem;
  }
  .main-nav a {
    font-size: 0.95rem;
    padding: 0.15rem 0.4rem;
  }
  .nav-btn {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
  .header-logo span {
    font-size: 2.5rem;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .header-flex {
    gap: 1rem;
  }
  .main-nav {
    gap: 1.2rem;
  }
  .main-nav a {
    font-size: 0.9rem;
    padding: 0.1rem 0.3rem;
  }
  .nav-btn {
    font-size: 0.85rem;
    padding: 0.35rem 0.9rem;
  }
  .header-logo span {
    font-size: 2.2rem;
  }
}

@media (max-width: 900px) {
  .header-flex,
  .hero-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .main-nav {
    gap: 1rem;
  }
  .hero-image-blur {
    max-width: 100%;
  }
  .cta-banner-buttons {
    gap: 0.8rem;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .top-header {
    display: none;
  }
  .main-header {
    height: auto;
    padding: 1rem 0;
  }
  .header-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .container {
    width: 100%;
    padding: 0 8px;
  }
  .main-header,
  .top-header {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .testimonials-section h2 {
    font-size: 1.4rem;
  }
  .star {
    font-size: 1.5rem;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .testimonial-card {
    padding: 1.5rem;
  }
  .google-reviews-link {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  .contact-section h2 {
    font-size: 1.4rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-info {
    gap: 1rem;
  }
  .contact-item {
    padding: 1.2rem;
  }
  .practice-box {
    padding: 1.2rem 0.5rem;
    min-height: 120px;
  }
  .team-card {
    min-height: 120px;
    padding: 1rem 0.5rem;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-legal {
    text-align: center;
  }
  .footer-links {
    gap: 1rem;
    padding: 1rem 0;
  }
  .footer-link {
    font-size: 0.85rem;
  }
}
