/* ====== GENERAL/BODY STYLES ====== */
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #F8F9FA;
  color: #1e2833;
  overflow-x: hidden;
}

/* Main links */
.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.navbar-brand img {
  height: 32px;
  margin-right: 8px;
}
.nav-brand-name {
  font-size: 16px;
  color: #0272cb;
  font-weight: 600;
  margin-left: 8px;
  padding-bottom: 8px;
  white-space: nowrap;
}

/* Custom Hamburger Icon */
.navbar-toggler .bi-list {
  color: #647CFF;
  transition: color 0.16s;
}
.navbar-toggler:active .bi-list,
.navbar-toggler:focus .bi-list {
  color: #0015ff;
}

/* Center nav and gap on desktop */
@media (min-width: 992px) {
  .navbar-nav {
    justify-content: center;
    width: 100%;
    gap: 24px;
  }
  .navbar-collapse {
    justify-content: center;
  }
}
@media (max-width:991px) {
  .navbar-nav {
    gap: 0;
  }
  .demo-btn { width: 100%; margin-top: 1rem; }
}

/* Nav link styling */
.navbar-nav .nav-link {
  padding-right: 1rem;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link.active, .nav-link:active {
  color: #0272cb !important;   /* Use your brand blue */
  font-weight: bold;
}

/* Dropdown styling */
.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(100,124,255,0.07);
  border: 1px solid #e5e5e5;
  min-width: 230px;
}
.dropdown-item {
  font-size: 0.98rem;
  transition: background 0.1s, color 0.2s;
}
.dropdown-item:hover {
  background: #647CFF;
  color: #fff;
}

/* CTA Button */
.demo-btn {
  white-space: nowrap;
  background: #ff8800;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  padding: 0.7rem 2.1rem;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 6px rgba(255,136,0,0.14);
  letter-spacing: 0.01em;
  display: inline-block;
  vertical-align: middle;
}
.demo-btn:hover, .demo-btn:focus {
  background: #ff7100;
  color: #fff;
  box-shadow: 0 2px 10px rgba(255,136,0,0.18);
}

.navbar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

@media (max-width:700px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 14px;
  }
}

.nav-links ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

    .navbar-brand img {
      height: 32px;
      margin-right: 8px;
    }
    .btn-primary {
      background: #647CFF;
      border-radius: 32px;
      font-weight: 600;
      border:none;
    }
    .btn-primary:hover {
      background: #57C54C;
      color: #fff;
    }
    @media (max-width: 991px) {
      .btn-primary { width: 100%; margin-top: 1rem; }
    }
    /* Custom menu spacing */
    .navbar-nav .nav-link {
      padding-right: 1rem;
    }
    /* Center nav and set gap on desktop */
@media (min-width: 992px) {
  .navbar-nav {
    justify-content: center;
    width: 100%;
    gap: 24px;
  }
  .navbar-collapse {
    justify-content: center;
  }
}
@media (max-width:991px) {
  .navbar-nav {
    gap: 0;
  }
}
.demo-btn {
  white-space: nowrap;
  background: #ff8800;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
text-decoration: none;
  padding: 0.7rem 2.1rem;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 6px rgba(255,136,0,0.14);
  letter-spacing: 0.01em;
  display: inline-block; /* Prevent block wrapping */
  vertical-align: middle;
}
.demo-btn:hover, .demo-btn:focus {
  background: #ff7100;
  color: #fff;
  box-shadow: 0 2px 10px rgba(255,136,0,0.18);
}

/* button  */
.orange-btn {
  background: #ff7000; 
   white-space: nowrap;
   text-decoration: none;
   text-align: center;
  color: #fff;
  padding: 12px 24px; 
  border: none; 
  border-radius: 8px; 
  font-size: 14px;
  font-weight: 800; 
  margin-right: 0;
  cursor: pointer; 
  box-shadow: 0 2px 12px #ff700033;
  transition: background 0.13s;
  margin: 0px
}
.orange-btn:hover { background: #f85f01; }
.ghost-btn {
  background: #fff; color: #ff7000; border: 1.7px solid #ff7000;
  border-radius: 8px; padding: 12px 24px; font-size: 14px; font-weight: 500; cursor: pointer;
  text-decoration: none;
     text-decoration: none;
   text-align: center;
}
.ghost-btn:hover { background: #ffe7d3; }

.sec-btn{
  background: #ffffff; 
  display: inline-block;
  width: auto;
  max-width: 100%;
  padding: 14px; /* or any value */
  box-sizing: border-box;
   white-space: nowrap;
   text-decoration: none;
  text-align: center;
color: #F36F21;
  padding: 12px 24px; 
  border: none; 
  border-radius: 8px; 
  font-size: 14px;
  font-weight: 800; 
  margin-right: 0;
  cursor: pointer; 
}

  .hero-btns .demo-btn,
.hero-btns .ghost-btn {
  margin-top: 0;
    display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* --- Animation Styles for Scroll Reveal --- */
.animated-container {
    /* Initial state: invisible and slightly moved down */
    opacity: 0;
    transform: translateY(100px); 
    
    /* Transition applied to opacity and transform. 
       The 'ease-in' timing function makes it start slow and speed up. */
    transition: opacity 0.6s ease-in, transform 0.6s ease-in;
    
    /* Optimize animation performance */
    will-change: opacity, transform;
}

.animated-container.show {
    /* Final state when in view: visible and in original position */
    opacity: 1;
    transform: translateY(0);
}


/* ========================= HERO SECTION ========================= */
.hero-section {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  align-items: stretch;
  box-sizing: border-box;
  margin-top: 30px;
  padding: 0px;
}

.hero-left, .hero-right {
  flex: 1 1 0%;
  width: 50%;
  min-width: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-left { padding: 0 6vw; box-sizing: border-box; }
.hero-left h1 { color: #1765c7; font-size: 2.8rem; font-weight: bold; margin-bottom: 22px; line-height: 1.18; }
.hero-left p { color: #444; font-size: 1.19rem; line-height: 1.55; margin-bottom: 44px; }
.hero-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: start;    /* <-- This centers the flex items horizontally */
  margin-bottom: 16px;
}

.hero-right {
  align-items: flex-end; justify-content: flex-end;
  position: relative; padding: 0; min-width: 0; overflow: hidden;
}
.image-card {
  width: 100%; height: 100vh; display: flex; flex-direction: column;
  align-items: center; position: relative; box-sizing: border-box; padding: 0;
}
.image-card img.hero-img {
  width: 100vw; height: 100%; min-height: 480px;
  object-fit: cover; border-radius: 19px; display: block; position: relative;
}
.hero-img.mobile { display: none; }
.hero-img.desktop { display: block; }

@media (max-width: 900px) {
.hero-section {
  flex-direction: column;
  min-height: 100vh;
  padding-top: 100px;
  padding-right: 20px;
  padding-left: 20px;
}

.hero-left, .hero-right {
  width: 100%;
  min-width: 0;
  padding: 0;
  height: auto;
}

.hero-left {
  padding: 0;
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.hero-left h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.hero-left p {
  font-size: 14px;
  margin-bottom: 0;
}

.image-card {
  width: 100%;
  padding: 0 12px;
  height: auto;
}

.image-card img.hero-img {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 40vh;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  align-items: center;
}


@media (max-width: 768px) {
  .hero-img.mobile { display: block; }
  .hero-img.desktop { display: none; }
}

.hero-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.hero-btns .demo-btn,
.hero-btns .ghost-btn {
  flex: 1 1 0%;
  min-width: 0;
}
}

/* ========== TRUSTED CLIENTS CAROUSEL CSS =========== */
/* ========== TRUSTED CLIENTS CAROUSEL CSS (FINAL FIX) =========== */
.trusted-clients-section {
    width: 100vw; 
    max-width: 100vw;
    margin-top: 24px; 
    padding: 34px 0;
    background: #ffffff; 
    overflow: hidden;
    position: relative;
    left: 50%; 
    transform: translateX(-50%);
}

.trusted-clients-section h2 {
    text-align: center; 
    color: #189900; 
    margin-bottom: 36px;
    font-size: 2rem; 
    font-weight: 600;
}

.carousel-viewport { 
    width: 100vw; 
    max-width: 100vw; 
    overflow: hidden; 
    margin: 0 auto; 
    position: relative; 
}

.carousel-track {
    display: flex; 
    align-items: center; 
    /* Gap remains REMOVED here for perfect alignment */
    width: fit-content; 
    animation: carousel-scroll 35s linear infinite;
}

.logo-list {
    /* This sets the standard gap between all logos */
    display: flex;
    gap: 44px;
}

/* 🌟 THE FIX: Add an extra margin to the last logo of the FIRST list. 
   This margin accounts for the missing 44px gap between the two lists. */
.logo-list:first-child .last-in-list {
    margin-right: 44px;
}

.logo-list img {
    width: 150px; 
    height: 150px; 
    object-fit: contain;
    border-radius: 18px; 
    box-sizing: border-box; 
    flex-shrink: 0; 
}

@keyframes carousel-scroll {
    0% { 
        transform: translateX(0); 
    }
    /* Scrolls exactly the width of the first logo-list (including the 44px margin) */
    100% { 
        transform: translateX(-50%); 
    }
}

@media (max-width: 800px) {
    .logo-list img { 
        width: 120px; 
        height: 120px; 
        border-radius: 10px;
    }
    .logo-list { 
        /* Mobile gap between the images */
        gap: 18px;
    }
    /* 🌟 THE MOBILE FIX: Adjust the margin for mobile screens (18px) */
    .logo-list:first-child .last-in-list {
        margin-right: 18px;
    }
    .carousel-track { 
        animation: carousel-scroll 20s linear infinite;
    }
}
/* ========== Project section ============ */
.project-feature-section {
  background: #f7f7f7;
  padding: 40px 20px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.project-card-outer {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 32px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(34, 34, 34, 0.06);
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}

.project-card-imagewrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 50%;
}

.project-card-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(204, 204, 204, 0.3);
  background: #ececec;
  display: block;
}

.project-card-content {
  flex: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-card-title {
  color: #1781b9;
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.project-card-desc {
  color: #818181;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.project-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.project-card-features li {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  padding-left: 28px;
  position: relative;
}

.project-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1781b9;
  font-weight: bold;
  font-size: 1.2rem;
}

.project-card-btn {
  padding: 14px 32px;
  background: #fd740b;
  color: #fff;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(253, 116, 11, 0.12);
  transition: background 0.2s;
}

.project-card-btn:hover {
  background: #db5f01;
}

.project-card-indicators {
  margin: 24px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.custom-arrow {
  width: 56px;
  height: 56px;
  border: 2px solid #fe6601;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-arrow:hover:not(:disabled) {
  background: #fff5f0;
  transform: scale(1.05);
}

.custom-arrow:disabled {
  border: 2px solid #d3d3d3;
  background: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.5;
}

.custom-arrow img {
  width: 22px;
  height: 22px;
  opacity: 1;
}

.custom-arrow:disabled img {
  opacity: 0.3;
}

.indicator-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.indicator-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d3d3d3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dots .dot.active {
  background: #fe6601;
  width: 14px;
  height: 14px;
}

.indicator-dots .dot:hover {
  background: #fe9950;
}

/* Mobile responsive - vertical layout */
@media (max-width: 768px) {
  .project-feature-section {
      background: #f7f7f7;
  padding: 40px 20px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  }

  .project-card-outer {
    flex-direction: column;
    padding: 24px 20px;
    gap: 24px;
    margin-bottom: 24px;
  }
  
  .project-card-imagewrap,
  .project-card-content {
    width: 100%;
  }
  
  .project-card-title {
    font-size: 1.6rem;
  }

  .project-card-desc {
    font-size: 0.95rem;
  }
  
  .project-card-features {
    margin-bottom: 24px;
    gap: 10px;
  }
  
  .project-card-features li {
    font-size: 0.9rem;
  }
  
  .project-card-btn {
    width: 100%;
    padding: 14px 0;
    text-align: center;
  }

  .custom-arrow {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 600px) {
  .project-card-outer {
    padding: 20px 16px;
  }
  
  .project-card-title {
    font-size: 1.3rem;
  }

  .project-card-desc {
    font-size: 0.9rem;
  }
  
  .project-card-btn {
    font-size: 1rem;
  }
  
  .project-card-features li {
    font-size: 0.85rem;
  }
}




/* about us scection */
.about-section{
  display: flex;
  flex-direction: row;
  background-color: #015a95;
  padding: 24px;
justify-content: center;
 gap: 24px;
}
.about-card{
  display: flex;
  flex-direction: column;
  max-width: 60%;
  justify-content: center;
}

.about-card p {
  padding-bottom: 12px;
}

.about-card h2 {
  font-size: 34px;
  font-weight: 800;
  color: #dae9f6;
  text-align: start;
}

.about-card p {
  font-size: 14px;
  color: white;
}

@media(max-width: 700px){
  .about-section {
    flex-direction: column-reverse;
    padding: 20px;
    gap: 18px;
    box-sizing: border-box;
  }
  .about-card {
    max-width: 100%;
    width: 100%;
  }
  .about-image {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .about-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .sec-btn {
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
  }
  .about-section h2 {
font-size: 1.8rem;
  }
}


/* certification */
.certificate {
  width: 100%;
  padding: 28px 0 34px 0;
  background: #fafbfc;
  text-align: center;
}

.certificate-title h2 {
  color: #1765c7;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: center;
}

.certificate-image {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  margin-top: 12px;
}

.certificate-image img {
  height: 140px;
  width: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 8px 15px;
  box-shadow: 0 1px 10px #90cfff24;
  display: block;
}
@media (max-width: 700px) {
  .certificate-image { gap: 18px; }
  .certificate-image img { height: 90px; padding: 4px 8px;}
  .certificate-title h2 { font-size: 1.14rem; margin-bottom: 13px;}
}

/* case study  */
.case-study-card {
  width: 100%;
  box-sizing: border-box;
  padding: 32px 0;
  background: transparent;
  display: flex;
  justify-content: center;
}

.case-card-inner {
  background: #fff;
  border: 4px solid #0074d9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  min-height: 240px;
  max-width: 1100px;
  width: 100%;
  padding: 22px 36px;
  box-sizing: border-box;
  gap: 36px;
  position: relative;
}

.case-image-area img {
  width: 340px;
  max-width: 100%;
  border-radius: 9px;
  box-shadow: 0 1px 12px #449fff11;
  display: block;
}

.case-study-content {
  flex: 1;
  padding-left: 38px;
}

.case-title {
  color: #0185f8;
  font-size: 2rem;
  margin: 0 0 12px 0;
  font-weight: 700;
}
.case-desc{
  width: 100%;
  justify-content: center;
}
.case-desc h2{
  color: #d8f1ff;
  font-size: 1.25rem;
  margin-bottom: 4px;
  font-weight: 800;
  text-align: center;
}

.case-desc p{
  color: rgb(33, 33, 33);
  font-weight: 400;
}

.case-arrow-btn {
  position: absolute;
  right: 32px;
  bottom: 32px;
  background: #fff;
  border: 2px solid #ff7000;
  color: #ff7000;
  border-radius: 9px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  transition: background .13s, color .13s, border .13s;
  box-shadow: 0 2px 8px #ff700033;
}
.case-arrow-btn:hover { background: #ff7000; color: #fff; border-color: #ff7000;}

@media (max-width: 900px) {
  .case-card-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 12px;
    gap: 14px;
  }
  .case-image-area img { width: 100%; max-width: 99vw;}
  .case-study-content { padding-left: 0;}
  .case-arrow-btn {
    position: static;
    margin-top: 12px;
    margin-left: 0;
  }
}


/* === SERVICES SECTION WRAPPER === */
.services {
    padding: 0 0 40px 0; /* Adjusted vertical padding, removed horizontal padding here */
}

.service-heading {
    font-size: 38px;
    width: 100%;
    text-align: center;
    font-weight: 600;
    color: #189900;
    margin-bottom: 25px;
}

/* FIX: This section is for centering and containment */
.services-section {
    /* FIX: Added horizontal padding to services-section instead of the card-grid */
    padding: 20px; 
    display: flex;
    justify-content: center;
    background-color: transparent;
    /* FIX: Ensure no internal element pushes this boundary */
    box-sizing: border-box; 
    overflow-x: hidden;
}

/* === CARD GRID === */
.card-grid {
    display: grid;
    /* Default: 1 column on small screens */
    grid-template-columns: 1fr; 
    gap: 20px;
    /* FIX: Max width set to content width */
    max-width: 1200px; 
    width: 100%;
}

/* Desktop Layout (4 columns) */
@media (min-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === CARD CORE STYLES === */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: auto; /* Set by JavaScript */
    perspective: 1000px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
    transition: height 0.3s ease-out;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    /* Using 1.2s for a smoother hint animation */
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    transform-style: preserve-3d;
    border-radius: 8px;
}

/* --- MOBILE SCROLL HINT (15 DEGREE FLIP) --- */
@media (max-width: 600px) {
    .flip-card.hint-flipped .flip-card-inner {
        /* You increased this to 15deg, keeping it */
        transform: rotateY(15deg); 
    }
}

/* --- Flip Triggers --- */
.flip-card.flipped .flip-card-inner {
    transform: rotateY(-180deg);
}

@media (min-width: 601px) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(-180deg);
    }
}

/* --- Faces Setup --- */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    padding: 25px; /* Unified padding for consistency */
    box-sizing: border-box; /* CRITICAL FIX: Ensures padding is inside the 100% width */
    border-radius: 8px;
    min-height: 0;
    border: 1px solid #d7d6d6;
}

/* --- Front Face Styling --- */
.flip-card-front {
    background-color: #fff;
    align-items: center; /* Center content */
    justify-content: center;
    text-align: center;
}

.flip-card-front h3 {
    color: #00518b;
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
}

.flip-card-front img.icon {
    width: 40px;
    height: auto;
    margin-bottom: 5px;
}

/* --- Back Face Styling --- */
.flip-card-back {
    background-color: #ffffff;
    transform: rotateY(180deg);
    /* Align content to the top-left */
    align-items: flex-start; 
    justify-content: space-between;
    text-align: left;
}

.flip-card-back p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #1d1d1d;
    flex-grow: 1; 
    /* FIX: Force long text blocks to wrap if needed */
    word-wrap: break-word; 
    overflow-wrap: break-word;
}

.flip-card-back .demo-btn {
    color: #fff;
    background-color: #ff7700;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.flip-card-back .demo-btn:hover {
    background-color: #e06100;
}

.connect {
  padding: 26px 0;
  background: #2874ef;
  display: flex;
  justify-content: center;
  align-items: center;
}

.connect-card {
  background: #2874ef;
  border-radius: 18px;
  padding: 40px 16px 36px 16px;
  width: 95%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connect-card h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
}

.contact-form {
  display: flex;
  flex-direction: row;
  gap: 15px;
  width: 100%;
  max-width: 660px;
  justify-content: center;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  padding: 15px 18px;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.5px solid #d1e1fc;
  width: 40%;
  background: #fff;
  color: #222;
  transition: border 0.2s;
  outline: none;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus {
  border: 1.5px solid #2874ef;
}

.contact-form input[type="hidden"] {
  display: none;
}

.connect-submit {
  padding: 14px 22px;
  font-size: 1rem;
  background: #ff680b;
  color: #fff;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
  min-width: 110px;
}

.connect-submit:hover {
  background: #de5700;
}

@media (max-width: 650px) {
  .connect-card h2 {
    font-size: 1.3rem;
    margin-bottom: 22px;
  }
  .contact-form {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .contact-form input[type="text"],
  .contact-form input[type="email"] {
    width: 90%;
    max-width: 350px;
    font-size: 0.96rem;
    padding: 13px 14px;
  }
  .connect-submit {
    width: 90%;
    max-width: 350px;
    padding: 13px 0;
    font-size: 0.99rem;
  }
}



/* ========== FOOTER ============ */
.footer-new {
  background: linear-gradient(180deg, #3A5F79 0%, #233441 100%);
  font-size: 15px;
  padding: 0;
  margin: 0;
  border: none;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

/* Layout main row */
.footer-new-main {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 34px 26px 10px 26px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Brand, left column */
.footer-brand {
  min-width: 240px;
  flex: 1.7 1 300px;
  margin-right: 44px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  vertical-align: middle;
}
.footer-brand-name {
  font-size: 2.1rem;
  color: #b8dafd;
  font-weight: bold;
  letter-spacing: 0.03em;
}
.footer-brand-desc {
  font-size: 1.09rem;
  color: #e6f8ff;
  margin: 14px 0 2px 0;
  line-height: 1.6;
}
.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.09rem;
  color: #fff;
  font-weight: 500;
}
.footer-contact-item svg { flex-shrink: 0; }

/* Footer links */
.footer-links-row {
  display: flex;
  flex: 4 1 0%;
  gap: 44px;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
}
.footer-links-col {
  min-width: 150px;
  flex: 1 1 0;
}
.footer-links-col h4 {
  color: #fff;
  font-size: 1.13rem;
  font-weight: bold;
  margin-bottom: 16px;
}
.footer-links-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links-col ul li {
  margin-bottom: 8px;
}
.footer-links-col ul li a {
  color: #d7e8f7;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.footer-links-col ul li a:hover {
  color: #ff7700;
  text-decoration: underline;
}

/* Divider line */
.footer-divider {
  width: 100vw;
  height: 1.5px;
  background: #959595;
  margin-top: 16px;
  border: none;
  display: block;
  position: relative;
}

/* Address bar */
.footer-addresses-row {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding: 30px 0;
  background: transparent;
}
.footer-address-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 180px;
  max-width: 300px;
  margin: 0 22px;
  font-size: 1rem;
}
.footer-address-title {
  color: #ff7700;
  font-weight: bold;
  font-size: 1.06rem;
  margin-bottom: 2px;
}
.footer-address-info {
  color: #fff;
  line-height: 1.5;
  font-size: 0.97rem;
}
.footer-address-divider {
  display: inline-block;
  height: 90px;
  width: 1.7px;
  background: #f9f9f9;
  margin: 0 24px;
  align-self: center;
  border-radius: 2px;
}

/* Footer bar bottom */
.footer-new-bar {
  width: 100%;
  background: none;
  color: #d7e8f7;
  font-size: 15px;
  padding: 18px 0 10px 0;
  letter-spacing: 0.01em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.footer-brand-highlight {
  color: #ff7700;
  font-weight: bold;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1100px) {
  .footer-new-main {
    flex-direction: column;
    gap: 24px;
    padding: 34px 20px 0 20px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-right: 0;
  }
  .footer-links-row {
    flex-direction: column;
    gap: 22px;
    width: 100%;
    margin-top: 20px;
  }
}
@media (max-width: 800px) {
  .footer-brand-name { font-size: 1.25rem; }
  .footer-new-main { padding: 22px 0 0 0; }
  .footer-links-col h4 { font-size: 15px; margin-bottom: 10px; }
  .footer-address-title { font-size: 1rem; }
  .footer-address-info { font-size: 0.97rem; }
  .footer-brand-desc { font-size: 0.94rem; }
  .footer-new-bar { font-size: 15px; }
}
@media (max-width: 700px) {
  .footer-new {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .footer-new-main {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px 0 0 0 !important;
    padding-bottom: 0 !important;
  }
  .footer-brand {
    margin-bottom: 0 !important;
    padding-bottom: 24px !important;
    flex: initial !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .footer-links-row {
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
  .footer-addresses-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 17px !important;
    padding: 18px 0 8px 0 !important;
  }
  .footer-address-divider {
    display: none !important;
  }
  .footer-address-block {
    margin: 5px 0 !important;
    max-width: 95vw !important;
  }
}
