/* =============================================
   Crown Packing And Shipping - Main Stylesheet
   ============================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Open+Sans:wght@400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #003580;
  --primary-dark: #002060;
  --primary-light: #1a4fa0;
  --secondary: #f5a623;
  --secondary-dark: #e09010;
  --text-dark: #222222;
  --text-medium: #555555;
  --text-light: #777777;
  --bg-light: #f8f9fc;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.18);
  --radius: 8px;
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  -webkit-tap-highlight-color: rgba(0, 53, 128, 0.1);
}
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1 { font-family: 'Roboto', sans-serif; line-height: 1.3; color: #ffffff; word-wrap: break-word; }
h2,h3,h4,h5,h6 { font-family: 'Roboto', sans-serif; line-height: 1.3; color: var(--text-dark); word-wrap: break-word; }

/* Better mobile text rendering */
@media (max-width: 768px) {
  body { -webkit-text-size-adjust: 100%; }
}

/* --- Top Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.top-bar a {
  color: #dce8ff;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.top-bar a:hover { color: var(--secondary); }
.top-bar .phone-icon::before { content: "📞 "; }
.top-bar .mail-icon::before { content: "✉ "; }
.top-bar .loc-icon::before { content: "📍 "; }

@media (max-width: 640px) {
  .top-bar { padding: 6px 0; font-size: 11px; }
  .top-bar-right { gap: 10px; justify-content: center; }
  .top-bar .mail-icon { display: none; }
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Prevent horizontal overflow */
.container, section, .hero, .page-banner {
  overflow-x: hidden;
}

/* --- Header --- */
.site-header {
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-image {
  width: 50px; height: 50px;
  flex-shrink: 0;
  transition: var(--transition);
}
.logo:hover .logo-image {
  transform: scale(1.05);
}
.logo-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; font-weight: 900;
  flex-shrink: 0;
}
.logo-text .company-name { font-size: 20px; font-weight: 900; color: var(--primary); line-height: 1.1; letter-spacing: -0.3px; }
.logo-text .tagline { font-size: 11px; color: var(--secondary); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* --- Navigation --- */
.main-nav ul { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; }
.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  white-space: nowrap;
  position: relative;
  transition: var(--transition);
  min-height: 44px;
  text-align: center;
}
.main-nav a:hover {
  color: var(--primary);
  background: #f0f6ff;
  transform: translateY(-1px);
}
.main-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 2px 10px rgba(0,53,128,0.25);
}
.main-nav .has-dropdown { position: relative; }
.main-nav .has-dropdown > a {
  padding-right: 30px;
  cursor: pointer;
}
.main-nav .has-dropdown > a::after {
  content: "▼";
  font-size: 10px;
  margin-left: 6px;
  transition: transform 0.3s ease;
  position: absolute;
  right: 10px;
}
.main-nav .has-dropdown:hover > a::after,
.main-nav .has-dropdown.active > a::after {
  transform: rotate(180deg);
}
.main-nav .has-dropdown:hover > a,
.main-nav .has-dropdown.active > a {
  background: #f0f6ff;
  color: var(--primary);
}
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  border-radius: 12px;
  border: 1px solid rgba(0,53,128,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  overflow: hidden;
  pointer-events: none;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 30px;
  transform: rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid rgba(0,53,128,0.08);
  border-top: 1px solid rgba(0,53,128,0.08);
  z-index: 1;
}
.has-dropdown:hover .dropdown,
.has-dropdown.active .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.has-dropdown {
  position: relative;
}
.has-dropdown:hover,
.has-dropdown.active {
  position: relative;
}
.dropdown li {
  position: relative;
  opacity: 0;
  transform: translateY(-5px);
  animation: none;
}
.has-dropdown:hover .dropdown li,
.has-dropdown.active .dropdown li {
  opacity: 1;
  transform: translateY(0);
}
.has-dropdown:hover .dropdown li:nth-child(1),
.has-dropdown.active .dropdown li:nth-child(1) {
  animation: dropdownFadeIn 0.3s ease forwards;
}
.has-dropdown:hover .dropdown li:nth-child(2),
.has-dropdown.active .dropdown li:nth-child(2) {
  animation: dropdownFadeIn 0.3s ease 0.05s forwards;
}
.has-dropdown:hover .dropdown li:nth-child(3),
.has-dropdown.active .dropdown li:nth-child(3) {
  animation: dropdownFadeIn 0.3s ease 0.1s forwards;
}
.has-dropdown:hover .dropdown li:nth-child(4),
.has-dropdown.active .dropdown li:nth-child(4) {
  animation: dropdownFadeIn 0.3s ease 0.15s forwards;
}
.has-dropdown:hover .dropdown li:nth-child(5),
.has-dropdown.active .dropdown li:nth-child(5) {
  animation: dropdownFadeIn 0.3s ease 0.2s forwards;
}
.has-dropdown:hover .dropdown li:nth-child(6),
.has-dropdown.active .dropdown li:nth-child(6) {
  animation: dropdownFadeIn 0.3s ease 0.25s forwards;
}
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dropdown li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 13px 20px;
  font-size: 14px;
  border-radius: 0;
  border-bottom: 1px solid rgba(0,53,128,0.06);
  background: #fff;
  color: var(--text-dark);
  transition: all 0.25s ease;
  position: relative;
  font-weight: 500;
}
.dropdown li:first-child a {
  border-radius: 12px 12px 0 0;
  padding-top: 15px;
}
.dropdown li:last-child a {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
  padding-bottom: 15px;
}
.dropdown li a::before {
  content: "→";
  margin-right: 10px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s ease;
  color: var(--secondary);
  font-weight: bold;
  font-size: 16px;
}
.dropdown li a::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 70%;
  background: var(--secondary);
  border-radius: 0 4px 4px 0;
  transition: width 0.25s ease;
}
.dropdown li a:hover {
  background: linear-gradient(90deg, #f0f6ff 0%, #fcfdff 100%);
  color: var(--primary);
  padding-left: 28px;
  font-weight: 700;
}
.dropdown li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}
.dropdown li a:hover::after {
  width: 4px;
}

/* --- CTA Button in Header --- */
.btn-cta {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)) !important;
  color: #fff !important;
  padding: 11px 24px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(245,166,35,0.35);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent !important;
  letter-spacing: 0.3px;
}
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-cta:hover::before {
  opacity: 1;
}
.btn-cta:hover {
  background: linear-gradient(135deg, #e09010, var(--secondary-dark)) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(245,166,35,0.55);
  border-color: rgba(255,255,255,0.3) !important;
}
.btn-cta::after {
  content: '→';
  margin-left: 6px;
  display: inline-block;
  transition: var(--transition);
  font-size: 14px;
}
.btn-cta:hover::after {
  transform: translateX(4px);
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0,53,128,0.05);
  transition: var(--transition);
  z-index: 1001;
  border: 2px solid transparent;
}
.hamburger:hover {
  background: rgba(0,53,128,0.1);
  border-color: rgba(0,53,128,0.15);
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger.active {
  background: var(--primary);
  border-color: var(--primary);
}
.hamburger.active span {
  background: #fff;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 700;
  font-size: 15px; cursor: pointer; transition: var(--transition);
  border: none; text-align: center; position: relative; overflow: hidden;
}
.btn::after {
  content: '→'; margin-left: 4px; display: inline-block;
  transition: var(--transition);
}
.btn:hover::after { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; box-shadow: 0 4px 15px rgba(0,53,128,0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,53,128,0.4);
}
.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff; box-shadow: 0 4px 15px rgba(245,166,35,0.3);
}
.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), #d48a00);
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245,166,35,0.5);
}
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary); box-shadow: none;
}
.btn-outline:hover {
  background: var(--primary); color: #fff;
  box-shadow: 0 6px 20px rgba(0,53,128,0.3);
}
.btn-white {
  background: #fff; color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-white:hover {
  background: var(--secondary); color: #fff;
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}

/* --- Hero Banner --- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff; padding: 80px 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { max-width: 660px; position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(245,166,35,0.2); border: 1px solid var(--secondary); color: var(--secondary); padding: 5px 16px; border-radius: 30px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-size: clamp(28px, 4vw, 50px); font-weight: 900; line-height: 1.15; margin-bottom: 18px; }
.hero h1 span { color: var(--secondary); }
.hero p { font-size: 17px; color: rgba(255,255,255,0.88); margin-bottom: 30px; line-height: 1.75; }
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px;
  align-items: center;
}
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-size: 28px; font-weight: 900; color: var(--secondary); display: block; line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; }

/* --- Page Banner (Inner Pages) --- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: #fff; padding: 60px 0;
  text-align: center;
}
.page-banner h1 { font-size: clamp(24px, 3.5vw, 40px); font-weight: 900; margin-bottom: 12px; }
.page-banner p { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 16px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); flex-wrap: wrap; }
.breadcrumb a { color: var(--secondary); }
.breadcrumb span::before { content: "›"; margin-right: 8px; }

/* --- Section Styles --- */
section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { display: inline-block; background: #eef3fb; color: var(--primary); padding: 5px 16px; border-radius: 30px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.section-header h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 800; color: var(--text-dark); margin-bottom: 14px; }
.section-header h2 span { color: var(--primary); }
.section-header p { font-size: 16px; color: var(--text-medium); max-width: 600px; margin: 0 auto; }
.divider { width: 60px; height: 4px; background: var(--secondary); border-radius: 2px; margin: 14px auto 0; }

/* --- Services Grid --- */
.services-section { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border-radius: 12px; padding: 30px 24px;
  box-shadow: var(--shadow); transition: var(--transition);
  border-bottom: 4px solid transparent;
  text-align: center;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-bottom-color: var(--secondary); }
.service-icon { width: 70px; height: 70px; background: linear-gradient(135deg, #eef3fb, #dce8ff); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 18px; transition: var(--transition); }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.service-card p { font-size: 14px; color: var(--text-medium); margin-bottom: 18px; }
.service-card a { color: var(--primary); font-weight: 600; font-size: 14px; }
.service-card a:hover { color: var(--secondary); }

/* --- Why Choose Us --- */
.why-us { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.why-card { text-align: center; padding: 28px 20px; border-radius: 12px; border: 1px solid var(--border-color); transition: var(--transition); }
.why-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.why-icon { font-size: 40px; margin-bottom: 14px; display: block; }
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.why-card p { font-size: 14px; color: var(--text-medium); }

/* --- Process Section --- */
.process-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.process-section .section-header h2 { color: #fff; }
.process-section .section-header p { color: rgba(255,255,255,0.8); }
.process-section .section-tag { background: rgba(255,255,255,0.15); color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.process-step { text-align: center; padding: 28px 20px; background: rgba(255,255,255,0.08); border-radius: 12px; }
.step-number { width: 50px; height: 50px; background: var(--secondary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; margin: 0 auto 16px; }
.process-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.process-step p { font-size: 13px; color: rgba(255,255,255,0.75); }

/* --- Testimonials --- */
.testimonials { background: var(--bg-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card { background: #fff; border-radius: 12px; padding: 28px 24px; box-shadow: var(--shadow); }
.stars { color: var(--secondary); font-size: 18px; margin-bottom: 12px; }
.testimonial-card p { font-size: 14px; color: var(--text-medium); font-style: italic; margin-bottom: 18px; line-height: 1.75; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 14px; }
.author-location { font-size: 12px; color: var(--text-light); }

/* --- Contact Form --- */
.contact-section { background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

@media (max-width: 968px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
.contact-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; color: var(--primary); }
.contact-info p { font-size: 15px; color: var(--text-medium); margin-bottom: 28px; line-height: 1.75; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.info-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; color: #fff; }
.info-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.info-text span { font-size: 14px; color: var(--text-medium); }
.contact-form { background: #fff; padding: 36px; border-radius: 12px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.contact-form .subtitle { font-size: 14px; color: var(--text-medium); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border-color);
  border-radius: 8px; font-size: 16px; font-family: inherit;
  transition: var(--transition); background: #fff;
  -webkit-appearance: none;
  appearance: none;
}

/* Prevent zoom on input focus in iOS */
@media (max-width: 768px) {
  .form-group input, .form-group select, .form-group textarea {
    font-size: 16px !important;
  }
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,53,128,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 14px; font-size: 16px; font-weight: 700; }
.success-msg { display: none; background: #d4edda; color: #155724; padding: 12px 16px; border-radius: 8px; margin-top: 12px; font-size: 14px; font-weight: 600; }

/* --- CTA Banner --- */
.cta-banner { background: linear-gradient(135deg, var(--secondary-dark), var(--secondary)); padding: 56px 0; text-align: center; }
.cta-banner h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 900; color: #fff; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.9); max-width: 520px; margin: 0 auto 28px; }
.cta-banner .btn-white:hover { background: var(--primary); }

/* --- Location Cards --- */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.location-card { background: #fff; border-radius: 10px; padding: 24px 20px; box-shadow: var(--shadow); border-left: 4px solid var(--primary); transition: var(--transition); }
.location-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-left-color: var(--secondary); }
.location-card h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.location-card p { font-size: 13px; color: var(--text-medium); margin-bottom: 12px; }
.location-card a { font-size: 13px; font-weight: 600; color: var(--primary); }
.location-card a:hover { color: var(--secondary); }

/* --- Page Content Area --- */
.page-content { padding: 56px 0; }
.content-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.main-content h2 { font-size: 26px; font-weight: 800; color: var(--primary); margin: 32px 0 14px; }
.main-content h2:first-child { margin-top: 0; }
.main-content h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin: 24px 0 10px; }
.main-content h4 { font-size: 17px; font-weight: 700; color: var(--primary); margin: 18px 0 8px; }
.main-content p { font-size: 15px; color: var(--text-medium); margin-bottom: 16px; line-height: 1.85; }
.main-content ul { margin: 12px 0 18px 0; }
.main-content ul li { font-size: 15px; color: var(--text-medium); padding: 5px 0 5px 24px; position: relative; }
.main-content ul li::before { content: "✓"; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }
.sidebar { position: sticky; top: 90px; }
.sidebar-card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: var(--shadow); margin-bottom: 24px; }
.sidebar-card h3 { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--border-color); }
.sidebar-services li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.sidebar-services li:last-child { border-bottom: none; }
.sidebar-services a { font-size: 14px; color: var(--text-medium); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.sidebar-services a:hover { color: var(--primary); }
.sidebar-services a::after { content: "→"; color: var(--secondary); }
.sidebar-contact { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.sidebar-contact h3 { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.sidebar-phone { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sidebar-phone span { font-size: 15px; font-weight: 700; color: var(--secondary); }
.sidebar-phone a { font-size: 17px; font-weight: 800; color: #fff; }

/* --- Features List --- */
.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.feature-item { display: flex; gap: 10px; align-items: flex-start; padding: 14px; background: var(--bg-light); border-radius: 8px; }
.feature-item .fi-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.feature-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.feature-item p { font-size: 13px; color: var(--text-medium); margin: 0; }

/* --- Footer --- */
.site-footer { background: #0a1628; color: #b0becc; }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-brand .logo-text .company-name { color: #fff; font-size: 18px; }
.footer-brand .logo-text .tagline { color: var(--secondary); }
.footer-brand p { font-size: 14px; margin: 16px 0 20px; line-height: 1.75; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--secondary); }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 14px; color: #b0becc; }
.footer-col ul a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact-item .fci-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; color: var(--secondary); }
.footer-contact-item span { font-size: 13px; line-height: 1.6; }
.footer-bottom { background: #060e1a; padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 13px; color: #677788; }
.footer-bottom a { color: var(--secondary); }

/* --- Map Embed --- */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 400px; border: none; display: block; }

/* --- Floating CTA Buttons --- */
.floating-cta {
  position: fixed; bottom: 20px; right: 20px;
  z-index: 998; display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: var(--transition); text-decoration: none;
  animation: pulse 2s infinite;
}
.float-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}
.float-btn.phone {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}
.float-btn:hover {
  transform: scale(1.1); box-shadow: 0 6px 30px rgba(0,0,0,0.35);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
  50% { box-shadow: 0 4px 30px rgba(245,166,35,0.6); }
}

/* --- About Page --- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: 30px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--text-medium); margin-bottom: 14px; line-height: 1.85; }
.about-image { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 16px; height: 380px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); font-size: 100px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.team-card { text-align: center; padding: 28px 20px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.team-avatar { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.team-card h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--text-light); }

/* --- Counters --- */
.counters { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 56px 0; }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.counter-item { text-align: center; padding: 24px; background: rgba(255,255,255,0.08); border-radius: 12px; }
.counter-number { font-size: 40px; font-weight: 900; color: var(--secondary); display: block; line-height: 1; margin-bottom: 8px; }
.counter-label { font-size: 14px; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.5px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .about-image { height: 260px; }
}
@media (max-width: 768px) {
  .top-bar .container { justify-content: center; text-align: center; }
  .top-bar-left { display: none; }
  .top-bar-right { flex-wrap: wrap; justify-content: center; }

  /* Mobile Menu */
  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 999;
    animation: fadeIn 0.3s ease;
  }
  .main-nav.open {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
  }
  .main-nav ul {
    flex-direction: column;
    background: linear-gradient(135deg, #fff 0%, #f8f9fc 100%);
    width: 85%;
    max-width: 340px;
    height: 100vh;
    overflow-y: auto;
    padding: 80px 0 40px;
    gap: 0;
    box-shadow: -8px 0 30px rgba(0,0,0,0.3);
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Close button in mobile menu */
  .main-nav ul::before {
    content: '✕';
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0, 53, 128, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    color: var(--primary);
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
  }

  .main-nav a {
    padding: 16px 24px;
    border-radius: 0;
    border-bottom: 1px solid rgba(0,53,128,0.08);
    font-size: 15px;
    justify-content: flex-start;
    min-height: 50px;
  }
  .main-nav a.active {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-left: 4px solid var(--secondary);
    font-weight: 700;
  }
  .main-nav a:hover {
    padding-left: 32px;
    background: rgba(0,53,128,0.05);
    color: var(--primary);
  }

  .main-nav .has-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .main-nav .has-dropdown > a::after {
    position: static;
    margin-left: auto;
    transform: none;
    transition: transform 0.3s ease;
  }
  .main-nav .has-dropdown.active > a::after {
    transform: rotate(180deg);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0,53,128,0.04);
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .dropdown::before { display: none; }

  .has-dropdown.active .dropdown {
    max-height: 600px;
    border-top: 1px solid rgba(0,53,128,0.1);
    border-bottom: 1px solid rgba(0,53,128,0.1);
  }

  .dropdown li a {
    padding: 14px 24px 14px 44px;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,53,128,0.05);
    background: transparent;
  }
  .dropdown li:first-child a { padding-top: 14px; }
  .dropdown li:last-child a { padding-bottom: 14px; border-bottom: none; }
  .dropdown li a::before {
    opacity: 1;
    transform: translateX(0);
    margin-right: 8px;
  }
  .dropdown li a:hover {
    background: rgba(0,53,128,0.08);
    color: var(--primary);
    padding-left: 48px;
  }

  .btn-cta {
    margin: 20px 24px !important;
    width: calc(100% - 48px) !important;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)) !important;
    text-align: center;
    justify-content: center;
    padding: 14px 24px !important;
    font-size: 15px !important;
    box-shadow: 0 4px 15px rgba(245,166,35,0.4);
  }

  .hamburger { display: flex; }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 20px; justify-content: center; }
  .stat-item { min-width: 80px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .features-list { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@media (max-width: 640px) {
  /* Container padding */
  .container { padding: 0 16px; }

  /* Logo adjustments */
  .logo-text .company-name { font-size: 17px; line-height: 1.2; }
  .logo-text .tagline { font-size: 10px; }
  .logo-image { width: 45px; height: 45px; }
  .logo-icon { width: 45px; height: 45px; font-size: 20px; }

  /* Hero section */
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 26px !important; line-height: 1.2; }
  .hero p { font-size: 15px; }
  .hero-badge { font-size: 11px; padding: 4px 12px; }
  .hero-btns { flex-direction: column; width: 100%; gap: 12px; }
  .hero-btns .btn { width: 100%; justify-content: center; padding: 12px 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-number { font-size: 22px; }
  .stat-label { font-size: 10px; }

  /* Sections */
  section { padding: 40px 0; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 14px; }
  .section-tag { font-size: 11px; }

  /* Service cards */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 24px 20px; }
  .service-icon { width: 60px; height: 60px; font-size: 28px; }
  .service-card h3 { font-size: 17px; }

  /* Why us */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 20px 16px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-step { padding: 20px 16px; }

  /* Counters */
  .counters-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .counter-number { font-size: 28px; }
  .counter-label { font-size: 11px; }

  /* Locations */
  .locations-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

  /* CTA Banner */
  .cta-banner { padding: 40px 0; }
  .cta-banner h2 { font-size: 24px; }
  .cta-banner p { font-size: 14px; }

  /* Buttons */
  .btn { padding: 12px 24px; font-size: 14px; }
  .btn::after { font-size: 14px; }

  /* Contact form */
  .contact-form { padding: 24px 20px; }
  .contact-form h3 { font-size: 20px; }
  .form-group input, .form-group select, .form-group textarea {
    padding: 10px 12px; font-size: 15px;
  }

  /* Floating buttons */
  .floating-cta { bottom: 16px; right: 16px; gap: 10px; }
  .float-btn { width: 52px; height: 52px; font-size: 22px; }

  /* Back to top */
  #backToTop { bottom: 130px !important; right: 16px !important; width: 40px !important; height: 40px !important; font-size: 18px !important; }

  /* Page banner */
  .page-banner { padding: 48px 0; }
  .page-banner h1 { font-size: 26px !important; }
  .page-banner p { font-size: 14px; }

  /* Footer */
  .footer-brand p { font-size: 13px; }
  .footer-col h4 { font-size: 14px; }
  .footer-col ul a { font-size: 13px; }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .container { padding: 0 12px; }

  /* Logo */
  .logo-text .company-name { font-size: 15px; }
  .logo-text .tagline { font-size: 9px; }
  .logo-image { width: 40px; height: 40px; }
  .logo-icon { width: 40px; height: 40px; font-size: 18px; }

  /* Hero */
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 24px !important; }
  .hero p { font-size: 14px; }
  .hero-btns .btn { padding: 11px 20px; font-size: 13px; }
  .stat-number { font-size: 20px; }
  .stat-label { font-size: 9px; }

  /* Sections */
  section { padding: 36px 0; }
  .section-header h2 { font-size: 22px; }
  .section-header p { font-size: 13px; }

  /* Cards */
  .service-card, .why-card, .process-step { padding: 20px 16px; }
  .service-icon { width: 55px; height: 55px; font-size: 26px; }

  /* Floating buttons */
  .floating-cta { bottom: 12px; right: 12px; }
  .float-btn { width: 48px; height: 48px; font-size: 20px; }

  /* Back to top */
  #backToTop { bottom: 120px !important; right: 12px !important; }

  /* Mobile menu */
  .main-nav ul { width: 92%; }

  /* Contact */
  .contact-form { padding: 20px 16px; }
  .form-group input, .form-group select, .form-group textarea {
    padding: 9px 12px; font-size: 14px;
  }
}

/* Landscape phones */
@media (max-width: 896px) and (orientation: landscape) {
  .hero { padding: 40px 0; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  section { padding: 40px 0; }
}

/* Tablet adjustments */
@media (min-width: 641px) and (max-width: 1024px) {
  .container { max-width: 100%; padding: 0 24px; }
  .logo-text .company-name { font-size: 18px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
}
