/* ============================================================
   VICS Solutions (Pvt.) Ltd. - Corporate Website Styles
   ============================================================ */

:root {
  --navy: #102A43;
  --dark-blue: #163A5F;
  --green: #26966F;
  --white: #FFFFFF;
  --light-gray: #F4F6F8;
  --text-gray: #52606D;
  --text-dark: #1F2933;
  --border: #D9E2EC;
  --shadow-sm: 0 2px 8px rgba(16, 42, 67, 0.06);
  --shadow-md: 0 6px 20px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 12px 32px rgba(16, 42, 67, 0.12);
  --radius: 8px;
  --container: 1180px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #1f7d5c;
  border-color: #1f7d5c;
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

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

.btn-navy:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

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

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.logo span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--green);
  background: var(--light-gray);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--navy);
  cursor: pointer;
  padding: 8px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.7) 0%, rgba(16, 42, 67, 0.85) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1rem;
  color: #D9E2EC;
  margin-bottom: 24px;
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Section base ---------- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--light-gray);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 700;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.05rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-text h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-gray);
  margin-bottom: 16px;
}

.mission-box {
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 4px solid var(--green);
  background: var(--light-gray);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.mission-box h4 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1rem;
}

.mission-box p {
  color: var(--text-gray);
  font-style: italic;
  margin: 0;
}

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(38, 150, 111, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card ul {
  padding-left: 0;
}

.service-card ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.industry-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--green);
}

.industry-item .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(16, 42, 67, 0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.industry-item h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.industry-item p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ---------- ITS / Marine split sections ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split-content h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.split-content p {
  color: var(--text-gray);
  margin-bottom: 20px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.feature-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--green);
  font-size: 0.8rem;
}

.note-box {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(38, 150, 111, 0.06);
  border: 1px solid rgba(38, 150, 111, 0.2);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-gray);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 24px 16px;
}

.process-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.process-step h4 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1rem;
}

.process-step p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* ---------- Why choose ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.why-item .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(38, 150, 111, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h4 {
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.why-item p {
  color: var(--text-gray);
  font-size: 0.85rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info h3 {
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-gray);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.contact-detail .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(16, 42, 67, 0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail .label {
  font-size: 0.8rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-detail .value {
  color: var(--text-dark);
  font-weight: 500;
}

.contact-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--light-gray);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-gray);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(38, 150, 111, 0.12);
}

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

.form-group.error input,
.form-group.error textarea {
  border-color: #D64545;
}

.form-error {
  font-size: 0.8rem;
  color: #D64545;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(38, 150, 111, 0.1);
  color: #1f7d5c;
  border: 1px solid rgba(38, 150, 111, 0.3);
}

.form-status.error {
  display: block;
  background: rgba(214, 69, 69, 0.08);
  color: #D64545;
  border: 1px solid rgba(214, 69, 69, 0.3);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #D9E2EC;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.9rem;
  color: #BCCCDC;
  margin-bottom: 8px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: #BCCCDC;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--green);
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

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

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 50px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.page-header p {
  color: #BCCCDC;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Services page ---------- */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: var(--transition);
}

.service-detail:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.service-detail .service-icon {
  margin-bottom: 10px;
}

.service-detail h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-detail p {
  color: var(--text-gray);
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.service-detail ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.service-detail ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- About page ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.value-card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(38, 150, 111, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.value-card h4 {
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* ---------- Leadership ---------- */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
}

.leadership-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}

.leadership-card .icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(38, 150, 111, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.leadership-card h4 {
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 1rem;
}

.leadership-card p {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .logo span {
    font-size: 0.9rem;
  }
  .logo img {
    height: 52px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
    gap: 0;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-link {
    padding: 12px 8px;
    font-size: 1rem;
  }
  .nav-cta {
    margin: 12px 0 0;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero {
    min-height: 480px;
  }
  .about-grid,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-grid,
  .industries-grid,
  .process-grid,
  .why-grid,
  .values-grid,
  .services-page-grid {
    grid-template-columns: 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .container {
    padding: 0 16px;
  }
}
