/* =========================
   RESET & GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', 'Helvetica', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

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

.block {
  padding: 100px 0;
}

/* Make it responsive and fit better on all screen sizes */
@media (max-width: 992px) {
  .block {
    padding: 80px 0;          /* Tablet */
  }
}

@media (max-width: 576px) {
  .block {
    padding: 60px 0;          /* Mobile - More compact */
  }
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a2b4c;
  text-align: center;
  margin-bottom: 50px;
}

/* =========================
   NAVBAR - Fully Responsive
========================= */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  flex-wrap: wrap;
  gap: 15px;
}

/* Logo */
.logo img {
  height: 52px;
  width: auto;
}

/* Main Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;                    /* Better spacing than margin */
}

.nav-links a {
  text-decoration: none;
  color: #005470;
  font-weight: 600;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #1fa2b8;
}

/* Right Side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-btn {
  background: #005470;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.contact-btn:hover {
  background: #0b4c66;
  transform: translateY(-2px);
}

.login {
  color: #555;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.login i {
  margin-left: 6px;
}

/* =========================
   MOBILE MENU (Hamburger)
========================= */
.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #005470;
  cursor: pointer;
}

/* =========================
   RESPONSIVE NAVIGATION
========================= */
@media (max-width: 992px) {
  .nav-links {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 15px 0;
  }

  /* Hide normal nav links on mobile */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding: 20px 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  /* Show nav links when mobile menu is active */
  .nav-links.active {
    display: flex;
  }

  .nav-right {
    margin-left: auto;
  }

  /* Show Hamburger Icon */
  .mobile-menu {
    display: block;
  }

  /* Adjust button sizes for mobile */
  .contact-btn {
    padding: 9px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    gap: 10px;
  }
  
  .login {
    font-size: 0.9rem;
  }
}

/* =========================
   HERO SECTION
========================= */
/* Hero - Special treatment (full viewport friendly) */
.hero {
  background: linear-gradient(135deg, #f8f9fa, #e6f0f5);
  padding: 60px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (max-width: 992px) {
  .hero {
    padding: 90px 0;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 70px 0;
    min-height: auto;
  }
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  min-width: 300px;
}

.hero-left h1 {
  font-size: 4rem;
  line-height: 1.15;
  color: #005470;
  margin-bottom: 25px;
}

.hero-left p {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 35px;
}

.hero-right {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Buttons */
.common-btn,
.common-btn-border {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.common-btn {
  background: #1fa2b8;
  color: #fff;
}

.common-btn:hover {
  background: #0b4c66;
  transform: translateY(-3px);
}

.common-btn-border {
  border: 2px solid #005470;
  color: #005470;
}

.common-btn-border:hover {
  background: #005470;
  color: #fff;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================
   EXPERTISE SECTION - Exact Match to Image
========================= */
.expertise-block {
  background: #f0edeb;
  padding: 100px 0;
}

.expertise-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #5a8a91;
  text-align: center;
  line-height: 1.25;
  margin-bottom: 80px;
}

/* Flex Container - 3 items in a row with even spacing */
.expertise-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;     /* Even space between items */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Each Expertise Item */
.expertise-item {
  flex: 1 1 340px;                    /* Allows 3 items in a row */
  display: flex;
  gap: 28px;
  align-items: flex-start;
  min-width: 0;                       /* Prevents overflow issues */
}

.expertise-item .icon {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-item .icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.expertise-item .text h3 {
  font-size: 1.45rem;
  color: #1a2b4c;
  font-weight: 600;
  margin-bottom: 14px;
}

.expertise-item .text p {
  color: #555;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

/* Underline after each sentence */
.expertise-item .text p::after {
  content: '';
  display: block;
  width: 65px;
  height: 2px;
  background: #1fa2b8;
  margin-top: 20px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .expertise-grid {
    gap: 35px;
  }
  
  .expertise-item {
    flex: 1 1 48%;                    /* 2 items per row on tablet */
  }
}

@media (max-width: 768px) {
  .expertise-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 576px) {
  .expertise-item {
    flex: 1 1 100%;                   /* 1 item per row on mobile */
    gap: 22px;
    padding: 28px 24px;
  }
  
  .expertise-item .icon {
    width: 68px;
    height: 68px;
  }
}

/* =========================
   INDUSTRIES & NEWS CARDS
========================= */
.industries-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.industry-card,
.news-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  text-decoration: none;
  color: inherit;
}

.industry-card:hover,
.news-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-image,
.news-image {
  height: 230px;
  background-size: cover;
  background-position: center;
}

.card-content,
.news-content {
  padding: 25px;
}

.card-content h3,
.news-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #1a2b4c;
}

.btn-border {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid #1fa2b8;
  color: #1fa2b8;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-border:hover {
  background: #1fa2b8;
  color: #fff;
}

/* News specific */
.news-content p {
  color: #666;
  font-size: 0.97rem;
  line-height: 1.5;
}

/* =========================
   DEMO CTA SECTION
========================= */
.demo-cta {
  background: linear-gradient(135deg, #0a1f3d 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

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

.demo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

.demo-text {
  flex: 1;
  min-width: 300px;
}

.demo-text h2 {
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}

.demo-text h2 span {
  color: #4fc3f7;
}

.demo-text p {
  font-size: 1.22rem;
  line-height: 1.6;
  margin-bottom: 35px;
  opacity: 0.95;
}

.btn-primary {
  display: inline-block;
  background: #1fa2b8;
  color: #ffffff;
  padding: 16px 42px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.btn-primary:hover {
  background: #0b4c66;
  transform: translateY(-3px);
}

/* Right Side Image */
.demo-devices {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.demo-devices img {
  max-width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 992px) {
  .demo-inner {
    gap: 50px;
    justify-content: center;
    text-align: center;
  }
  
  .demo-text h2 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .demo-cta {
    padding: 80px 0;
  }
  
  .demo-text h2 {
    font-size: 2.4rem;
  }
  
  .btn-primary {
    padding: 14px 36px;
  }
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #f0edeb;
  color: #a39383;
  padding: 70px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.footer-menu a {
  color: #a39383;
  text-decoration: none;
  margin-right: 25px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #8c7a6e;           /* Slightly darker shade for hover */
}

.social a {
  color: #a39383;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.social a:hover {
  color: #8c7a6e;
}

/* About Section */
.about-section h3 {
  color: #a39383;
  margin-bottom: 15px;
  font-weight: 600;
}

.about-section p {
  max-width: 720px;
  color: #a39383;
  opacity: 0.85;
}

/* Copyright */
.copyright {
  border-top: 1px solid #d4ccc2;
  padding-top: 25px;
  margin-top: 40px;
  color: #a39383;
  font-size: 0.95rem;
}

.copyright a {
  color: #a39383;
  text-decoration: none;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: #8c7a6e;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .hero-content {
    gap: 40px;
  }
  .hero-left h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .demo-inner {
    justify-content: center;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================
   Contact Banner
========================= */
.contact-banner {
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 140px 0 100px;
  position: relative;
}

.contact-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
}

.contact-banner .text-block {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-banner h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  color: #fff;
}

/* Contact Content */
.contact-content {
  padding: 80px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-form h2,
.contact-info h2 {
  font-size: 2rem;
  color: #1a2b4c;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.submit-btn {
  background: #1fa2b8;
  color: white;
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.05rem;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #0b4c66;
}

.info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
}

.info-item i {
  font-size: 1.6rem;
  color: #1fa2b8;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .contact-banner {
    padding: 100px 0 80px;
  }
}

@media (max-width: 576px) {
  .contact-banner h1 {
    font-size: 2.6rem;
  }
}