/* Vectrox Ltd - Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary-color: #0d1b2a; /* Deep Navy */
  --primary-light: #1b263b; /* Slate Navy */
  --secondary-color: #415a77; /* Muted Blue */
  --accent-color: #d4af37; /* Premium Gold */
  --accent-hover: #b8860b; /* Darker Gold */
  --text-dark: #1a1a1a;
  --text-light: #f8f9fa;
  --text-muted: #6c757d;
  --bg-main: #ffffff;
  --bg-section: #f4f6f9;
  --bg-dark: #070e17;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.12);
  --border-radius: 6px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* === BASE RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}   

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === UTILITIES === */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  border: none;
  text-align: center;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-dark:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.text-accent {
  color: var(--accent-color);
}

/* === TOP INFO BAR === */
.top-bar {
  background-color: var(--primary-light);
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 10px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 20px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-left i {
  color: var(--accent-color);
}

.top-bar-right a {
  color: var(--accent-color);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

.top-bar-right a:hover {
  color: #fff;
}

/* === NAVBAR === */
.navbar {
  background-color: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 14px;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--accent-color);
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: auto;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0px;
  left: 0;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* === HERO SWIPER & OVERLAP CARDS === */
.hero-section {
  position: relative;
  margin-bottom: 80px;
}

.hero-swiper {
  height: calc(100vh - 125px); /* Dynamically adjusts to screen size minus the header */
  min-height: 480px; /* Safe minimum for small devices */
  width: 100%;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex !important;
  align-items: center;
  box-sizing: border-box;
  padding: 40px 0; /* Inner padding prevents text from touching bounds */
}

.hero-slide .hero-content {
  color: var(--text-light);
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease 0.5s;
}

.swiper-slide-active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 20px;
}

.hero-slide p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #dcdcdc;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--accent-color);
  opacity: 1;
}

/* Move pagination dots near the bottom without huge offsets */
.hero-swiper .swiper-pagination {
  bottom: 30px !important;
}

.swiper-button-next, .swiper-button-prev {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  color: var(--accent-color);
}

/* Feature Cards Positioned Below */
.feature-cards-wrapper {
  background-color: var(--bg-section);
  padding: 60px 0;
  width: 100%;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
  border-bottom: 3px solid var(--accent-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.fc-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.feature-card:hover .fc-icon {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.feature-card h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* === SERVICES SECTION === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #eaeaea;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  color: var(--accent-color);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--accent-color);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* === ABOUT SECTION === */
.about {
  background-color: var(--bg-section);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 30px;
  border-radius: 50%;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-badge span {
  font-size: 2.5rem;
  line-height: 1;
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-list {
  margin-bottom: 30px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.about-list i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* === WHY CHOOSE US === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-box {
  background-color: var(--primary-color);
  color: #fff;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.feature-box:hover {
  background-color: var(--primary-light);
  transform: translateY(-5px);
}

.feature-box i {
  color: var(--accent-color);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-box h4 {
  color: #fff;
  font-size: 1.2rem;
}

/* === INDUSTRIES COMPONENT === */
.industries {
  background-color: var(--bg-section);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.industry-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 250px;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.industry-overlay h4 {
  color: #fff;
  font-size: 1.3rem;
}

/* === STATS / COUNTERS === */
.stats {
  background-color: var(--primary-color);
  color: #fff;
  padding: 60px 0;
  background-image: 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="%231b263b" fill-opacity="0.4"%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');
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 5px;
  color: var(--text-light);
}

.stat-label {
  font-size: 1.1rem;
  color: #c0c0c0;
}

/* === TESTIMONIALS === */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  background-color: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid #eaeaea;
}

.testimonial-card p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.client-info h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.client-info span {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: var(--accent-color);
}

/* === CTA BANNER === */
.cta-banner {
  background: var(--accent-color);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-banner p {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 500;
}

/* === FOOTER === */
.footer {
  background-color: var(--bg-dark);
  color: #b0b0b0;
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about .logo {
  color: #fff;
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 50%;
  color: #fff;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  color: var(--primary-color);
}

.footer-title {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--primary-color);
  color: var(--accent-color);
}

/* === INTERNAL PAGES HERO === */
.page-hero {
  height: 40vh;
  background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.9)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  font-size: 3rem;
  color: #fff;
}

.breadcrumb {
  margin-top: 10px;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: var(--accent-color);
}

/* === FORMS === */
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.map-container {
  height: 100%;
  min-height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Quote Form Specific */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quote-grid .full-width {
  grid-column: 1 / -1;
}

/* Error States */
.error-msg {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}
.form-control.error {
  border-color: #e74c3c;
}

/* Checkbox lists */
.checkbox-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Content Pages (Privacy, Terms) */
.content-area {
  max-width: 800px;
  margin: 0 auto;
}
.content-area h2 {
  margin: 30px 0 15px;
}
.content-area h3 {
  margin: 20px 0 10px;
}
.content-area p, .content-area ul {
  margin-bottom: 20px;
}
.content-area ul {
  padding-left: 20px;
  list-style: disc;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
  .hero-slide h1 { font-size: 3rem; }
  .about-content { grid-template-columns: 1fr; }
  .about-badge { width: 120px; height: 120px;  bottom: 10px; right: 10px;}
  .about-badge span { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-cards-wrapper {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    color: #fff;
    font-size: 1.2rem;
  }
  .hamburger {
    display: block;
  }
  .hero-slide .hero-content { 
    text-align: center;
    margin: 0 auto;
  }
  .hero-slide h1 { font-size: 2.2rem; }
  .hero-slide p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; }
  .swiper-button-next, .swiper-button-prev { display: none !important; }

  .feature-cards { grid-template-columns: 1fr; }
  .feature-cards-wrapper { padding: 30px 15px; }
  
  .quote-grid { grid-template-columns: 1fr; }
  .checkbox-list { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-title::after { left: 50%; transform: translateX(-50%); }
  .social-icons { justify-content: center; }
  .footer-contact li { justify-content: center; }
  
  .contact-content {
      display: flex;
      flex-direction: column-reverse; /* Map bottom on mobile */
      gap: 30px;
  }
}
