/*
Theme Name: Login Canada Immigration
Theme URI: https://logincanadaimmigration.com/
Author: Login Canada Immigration
Description: A custom WordPress theme for Login Canada Immigration - Regulated Canadian Immigration Consultant (RCIC)
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: login-canada-immigration
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #cc2936;
  --primary-dark: #a01e28;
  --secondary: #1a4d3e;
  --accent: #cc2936;
  --gold: #a8e6cf;
  --light-bg: #f4f7f5;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-light: #555555;
  --text-muted: #888888;
  --border: #e0e5e2;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.10);
  --transition: all 0.3s ease;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  color: var(--text);
  line-height: 1.7;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

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

/* ============================================
   UTILITY BAR (dark top strip)
   ============================================ */
.utility-bar {
  background: #1a4d3e;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}

.utility-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 7px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.utility-item i {
  color: #a8e6cf;
  font-size: 0.72rem;
}

.utility-item:hover {
  color: #a8e6cf;
}

.utility-sep {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 4px;
}

.utility-right {
  display: flex;
  align-items: center;
}

.utility-social {
  display: flex;
  gap: 4px;
}

.utility-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.7rem;
  transition: all 0.2s ease;
}

.utility-social a:hover { transform: translateY(-1px); }
.utility-social a[aria-label="Facebook"]:hover { background: #1877f2; }
.utility-social a[aria-label="LinkedIn"]:hover { background: #0a66c2; }
.utility-social a[aria-label="Twitter / X"]:hover { background: #000; }
.utility-social a[aria-label="Instagram"]:hover { background: #e1306c; }

/* ============================================
   HEADER & NAVIGATION (white bar)
   ============================================ */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
  height: 70px;
}

/* Offset anchor targets so they don't hide behind sticky header */
section[id] {
  scroll-margin-top: 80px;
}

.page-jump-nav {
  scroll-margin-top: 80px;
}

.header-inner > .site-logo {
  flex-shrink: 0;
  margin-right: 30px;
}

.main-nav {
  flex: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 16px;
}

.search-toggle {
  background: none;
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--secondary);
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.search-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(204, 41, 54, 0.05);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.header-cta-btn:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(204, 41, 54, 0.3);
}

/* Search Overlay */
.search-overlay {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.search-overlay.active {
  display: block;
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.search-overlay-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-form {
  display: flex;
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.search-form:focus-within {
  border-color: var(--accent);
}

.search-form input[type="search"] {
  flex: 1;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  background: transparent;
}

.search-form input[type="search"]::placeholder {
  color: var(--text-muted);
}

.search-form button[type="submit"] {
  background: var(--accent);
  border: none;
  color: var(--white);
  padding: 12px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.search-form button[type="submit"]:hover {
  background: var(--primary-dark);
}

.search-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s ease;
}

.search-close:hover {
  color: var(--accent);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  height: 55px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.site-logo .site-logo-img {
  height: 55px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.site-logo .logo-text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.site-logo .logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* Main Navigation */
.main-nav > ul {
  display: flex;
  gap: 2px;
  align-items: center;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--secondary);
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  background: var(--primary);
  color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* ============================================
   DROPDOWN SUB-MENU
   ============================================ */
.has-submenu {
  position: relative;
}

.submenu-arrow {
  font-size: 0.65rem;
  margin-left: 3px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.has-submenu:hover .submenu-arrow {
  transform: rotate(180deg);
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 10px 10px;
  border-top: 3px solid var(--accent);
  padding: 8px 0;
  z-index: 100;
}

.has-submenu:hover .submenu {
  display: block;
  animation: dropdownFade 0.25s ease;
}

/* JS-toggled submenu for touch devices */
.has-submenu.submenu-open .submenu {
  display: block;
  animation: dropdownFade 0.25s ease;
}

.has-submenu.submenu-open .submenu-arrow {
  transform: rotate(180deg);
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.submenu li {
  display: block;
}

.submenu li a {
  display: block;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text);
  border-radius: 0;
  white-space: nowrap;
}

.submenu li a:hover {
  background: var(--light-bg);
  color: var(--accent);
  padding-left: 26px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  background: linear-gradient(135deg, #1a4d3e 0%, #256b55 50%, #1a4d3e 100%);
  color: var(--white);
  padding: 100px 0 120px;
  position: relative;
  overflow: visible;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/images/canada-flag-overlay.png') center/cover no-repeat;
  opacity: 0.04;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.hero-content .hero-subtitle {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 28px;
  font-family: var(--font-primary);
  letter-spacing: 0.5px;
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 24px;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}

.hero-cta {
  display: inline-flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.3px;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 41, 54, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   FEATURES / WHY US SECTION
   ============================================ */
.features-section {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  color: var(--secondary);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8rem;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-card .btn {
  margin-top: 20px;
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ============================================
   WHY CHOOSE CANADA SECTION
   ============================================ */
.why-canada-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.why-canada-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.why-canada-content ul {
  margin-top: 30px;
}

.why-canada-content li {
  padding: 15px 0;
  padding-left: 35px;
  position: relative;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
}

.why-canada-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 15px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.why-canada-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.why-canada-images img {
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ============================================
   EMAIL SIGNUP / CTA SECTION
   ============================================ */
.email-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #1a4d3e 0%, #256b55 100%);
  color: var(--white);
}

.email-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.email-inner h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 15px;
}

.email-inner p {
  opacity: 0.85;
  margin-bottom: 30px;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.email-form input[type="text"],
.email-form input[type="email"] {
  padding: 14px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-secondary);
  transition: var(--transition);
}

.email-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.email-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.15);
}

.email-form .btn {
  width: 100%;
}

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, #1a4d3e 0%, #256b55 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 10px;
}

.page-header .breadcrumb {
  font-size: 0.9rem;
  opacity: 0.8;
}

.page-header .breadcrumb a {
  color: var(--gold);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
  padding: 80px 0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 25px;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.about-images img {
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-section {
  padding: 80px 0;
}

.faq-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  padding: 0 20px;
}

.faq-intro p {
  font-size: 1.1rem;
  color: var(--text-light);
  font-style: italic;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 20px 25px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--light-bg);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-item.active .faq-question {
  background: var(--primary);
  color: var(--white);
}

.faq-item.active .faq-question::after {
  color: var(--white);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px 25px;
  max-height: 300px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info-card {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.contact-info-card .consultant-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.contact-info-card .consultant-title {
  color: var(--text-light);
  margin-bottom: 15px;
  font-style: italic;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text);
}

.contact-detail .icon {
  width: 20px;
  text-align: center;
  color: var(--accent);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-section {
  padding: 60px 0 100px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Full-width service blocks with sub-services */
.services-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-block {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  overflow: hidden;
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.service-block:hover {
  box-shadow: var(--shadow-lg);
}

.service-block-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 35px 35px 20px;
}

.service-block-header .service-icon {
  flex-shrink: 0;
  margin: 0;
}

.service-block-header h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

.service-block-header p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.sub-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0 35px;
  border-top: 1px solid var(--border);
}

.sub-services-list li {
  padding: 12px 0 12px 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--light-bg);
  list-style: none;
}

.sub-services-list li::before {
  content: '›';
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.service-block-cta {
  padding: 20px 35px 30px;
}

.service-block-cta .btn {
  padding: 10px 28px;
  font-size: 0.85rem;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--secondary);
}

.service-card .service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   SIDEBAR
   ============================================ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sidebar .widget {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.sidebar .widget h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.sidebar .widget p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.sidebar .widget a {
  color: var(--accent);
  font-weight: 500;
}

.sidebar .widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar .widget ul li:last-child {
  border-bottom: none;
}

.sidebar .widget ul li a {
  color: var(--text);
  font-size: 0.9rem;
}

.sidebar .widget ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #1a4d3e;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col ul li {
  padding: 6px 0;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-col a {
  color: #a8e6cf;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .utility-bar {
    display: none;
  }

  .header-actions .header-cta-btn {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding: 0 20px;
  }

  /* Show hero image on tablet — centered, smaller */
  .hero-image {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-image img {
    border-radius: 50%;
    width: 280px;
    height: 280px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .why-canada-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .header-actions {
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 15px;
    z-index: 999;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav > ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    padding: 12px 16px;
    border-radius: 8px;
  }

  /* Mobile dropdown */
  .submenu {
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    padding-left: 16px;
    min-width: auto;
    border-left: 2px solid var(--accent);
    margin: 4px 0 4px 16px;
  }

  .has-submenu:hover .submenu {
    animation: none;
  }

  .submenu li a {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .hero-section {
    padding: 50px 0 80px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-image {
    max-width: 200px;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .service-block-header {
    flex-direction: column;
    padding: 25px 20px 15px;
  }

  .service-block-cta {
    padding: 15px 20px 25px;
  }

  .sub-services-list {
    padding: 0 20px;
  }

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

  .section-header h2 {
    font-size: 1.6rem;
  }

  .page-header {
    padding: 40px 0;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .review-card {
    min-width: 280px;
    max-width: 280px;
    padding: 24px;
  }

  .email-inner h2 {
    font-size: 1.5rem;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .why-canada-images {
    grid-template-columns: 1fr;
  }

  .map-embed iframe {
    min-height: 250px;
  }

  .ircc-feed-item {
    padding: 18px 20px;
  }

  .ircc-feed-item h3 {
    font-size: 0.95rem;
  }

  .contact-form-wrapper {
    padding: 25px;
  }

  .contact-info-card {
    padding: 25px;
  }

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

  .promo-card {
    padding: 25px;
  }

  .page-jump-nav .container {
    justify-content: flex-start;
    padding: 0 10px;
  }

  .page-jump-nav a {
    padding: 12px 14px;
    font-size: 0.75rem;
  }

  .scroll-indicator {
    bottom: 15px;
  }
}

/* Small phone */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }

  .hero-image {
    max-width: 160px;
  }

  .hero-image img {
    width: 160px;
    height: 160px;
  }

  .btn {
    padding: 11px 22px;
    font-size: 0.82rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .feature-card {
    padding: 25px 18px;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .floating-badge-text {
    display: none;
  }

  .floating-badge {
    padding: 12px;
    border-radius: 50%;
  }

  .floating-badge-icon {
    background: none;
    width: auto;
    height: auto;
    font-size: 1rem;
  }

  .page-jump-nav a {
    padding: 10px 10px;
    font-size: 0.7rem;
    gap: 4px;
  }

  .page-jump-nav a i {
    font-size: 0.7rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  z-index: 9999;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   HEADER SCROLL STATE
   ============================================ */
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================
   SCROLL-DOWN INDICATOR (Hero)
   ============================================ */
.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.4s ease;
  display: block;
  color: inherit;
}

.scroll-indicator:hover {
  color: inherit;
  opacity: 0.8;
}

/* ============================================
   PAGE JUMP NAV — sticky section navigator
   ============================================ */
.page-jump-nav {
  background: var(--white);
  border-bottom: 2px solid var(--light-bg);
  padding: 0;
  position: relative;
  z-index: 50;
}

.page-jump-nav .container {
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 22px;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.page-jump-nav a i {
  font-size: 0.78rem;
  color: var(--accent);
}

.page-jump-nav a:hover {
  color: var(--accent);
  background: var(--light-bg);
  border-bottom-color: var(--accent);
}

@media (max-width: 768px) {
  .page-jump-nav .container {
    justify-content: flex-start;
    padding: 0 10px;
  }

  .page-jump-nav a {
    padding: 12px 14px;
    font-size: 0.75rem;
  }
}

.scroll-indicator-arrow {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 6px;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(45deg);
  animation: bounceArrow 2s ease-in-out infinite;
}

.scroll-indicator-text {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes bounceArrow {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.reveal-on-scroll.from-left {
  transform: translateX(-50px);
}
.reveal-on-scroll.from-left.revealed {
  transform: translateX(0);
}

/* Slide from right */
.reveal-on-scroll.from-right {
  transform: translateX(50px);
}
.reveal-on-scroll.from-right.revealed {
  transform: translateX(0);
}

/* Scale up */
.reveal-on-scroll.scale-up {
  transform: scale(0.9);
}
.reveal-on-scroll.scale-up.revealed {
  transform: scale(1);
}

/* Staggered children */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .stagger-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-indicator-arrow {
    animation: none;
  }
  .reviews-track {
    animation: none;
  }
  .ircc-ticker-items {
    animation: none;
  }
}

/* ============================================
   FLOATING BADGES — fixed on screen
   ============================================ */
.floating-badges {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  pointer-events: auto;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.floating-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.floating-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.floating-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.floating-badge-stars {
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.floating-badge-label {
  font-size: 0.65rem;
  opacity: 0.8;
  font-weight: 400;
}

/* Google Reviews badge — left side */
.badge-reviews {
  background: linear-gradient(135deg, #4285f4, #34a853);
  animation: badgePulse 3s ease-in-out infinite;
}

.badge-reviews .floating-badge-stars {
  color: #fbbc04;
}

/* IRCC News badge — right side */
.badge-ircc {
  background: linear-gradient(135deg, #1a4d3e, #256b55);
  animation: badgePulse 3s ease-in-out 1.5s infinite;
}

.badge-ircc .floating-badge-stars {
  font-weight: 700;
  letter-spacing: 2px;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

.floating-badge:hover {
  animation: none;
}

@media (max-width: 480px) {
  .floating-badge-text {
    display: none;
  }

  .floating-badge {
    padding: 10px;
    border-radius: 50%;
  }

  .floating-badge-icon {
    background: none;
    width: auto;
    height: auto;
  }
}

/* ============================================
   REVIEW BADGE — compact inline (kept for reference)
   ============================================ */
.review-badge {
  margin: 30px 0;
}

.review-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 60px;
  padding: 10px 20px 10px 14px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.review-badge-link:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.review-badge-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #4285f4;
  color: var(--white);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.review-badge-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.review-badge-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}

.review-badge-stars .star {
  color: #fbbc04;
  font-size: 0.85rem;
}

.review-badge-stars strong {
  margin-left: 5px;
  font-size: 0.85rem;
  color: var(--text);
}

.review-badge-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.review-badge-arrow {
  color: var(--text-muted);
  font-size: 0.65rem;
  margin-left: 4px;
}

/* ============================================
   IRCC TICKER — compact news strip
   ============================================ */
.ircc-ticker {
  background: #1a4d3e;
  color: rgba(255,255,255,0.9);
  padding: 0;
  overflow: hidden;
  margin: 30px 0;
  border-radius: 8px;
}

.ircc-ticker-inner {
  display: flex;
  align-items: center;
  padding: 0;
}

.ircc-ticker-label {
  background: rgba(0,0,0,0.15);
  padding: 10px 16px;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ircc-ticker-label i {
  color: #a8e6cf;
}

.ircc-ticker-items {
  display: flex;
  gap: 30px;
  padding: 0 20px;
  overflow: hidden;
  flex: 1;
  animation: tickerScroll 25s linear infinite;
}

.ircc-ticker-items:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ircc-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.ircc-ticker-item:hover {
  color: #a8e6cf;
}

.ircc-ticker-date {
  background: rgba(255,255,255,0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.ircc-ticker-more {
  background: rgba(0,0,0,0.15);
  padding: 10px 16px;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  color: #a8e6cf;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.ircc-ticker-more:hover {
  background: rgba(0,0,0,0.25);
  color: #ffffff;
}

@media (max-width: 768px) {
  .ircc-ticker-items {
    display: none;
  }
  .ircc-ticker-inner {
    justify-content: space-between;
  }
}

/* ============================================
   GOOGLE REVIEWS SECTION — Requirement #1
   ============================================ */
.reviews-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.reviews-grid {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 30px;
  animation: scrollReviews 20s linear infinite;
  will-change: transform;
}

.reviews-track:hover {
  animation-play-state: paused;
}

@keyframes scrollReviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.review-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
  min-width: 340px;
  max-width: 340px;
  flex-shrink: 0;
}

.review-card:hover {
  box-shadow: var(--shadow-lg);
}

.review-stars {
  margin-bottom: 15px;
}

.review-stars .star {
  color: #fbbc04;
  font-size: 1.2rem;
}

.review-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-author {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--primary-dark);
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-source {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.review-source span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #4285f4;
  color: var(--white);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
}

/* ============================================
   IRCC NEWS FEED — Requirement #3
   ============================================ */
.ircc-feed-section {
  padding: 100px 0;
  background: var(--white);
}

.ircc-feed-list {
  max-width: 900px;
  margin: 0 auto;
}

.ircc-feed-item {
  background: var(--white);
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 15px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.ircc-feed-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.ircc-feed-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.ircc-feed-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ircc-feed-item h3 a {
  color: var(--primary-dark);
}

.ircc-feed-item h3 a:hover {
  color: var(--accent);
}

.ircc-feed-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   PROMOTIONS / ADS PAGE — Requirement #7
   ============================================ */
.promotions-section {
  padding: 80px 0;
}

.promo-intro {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.promo-intro p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.promo-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  position: relative;
  transition: var(--transition);
}

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

.promo-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: 20px;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.promo-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 25px;
}

/* ============================================
   CONSULTANT PHOTO — Requirement #6
   ============================================ */
.consultant-photo {
  margin-bottom: 20px;
}

.consultant-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

/* ============================================
   GOOGLE MAPS — Requirement #9
   ============================================ */
.map-section {
  padding: 60px 0 0;
  background: var(--light-bg);
}

.map-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.map-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 30px;
}

.map-embed {
  width: 100%;
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  min-height: 400px;
}

/* End of responsive sections */
