/* ===============================
   GLOBAL STYLES
   =============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  line-height: 1.6;
}

/* ===============================
   HEADER + NAVIGATION
   =============================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 35px;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 20px; /* spacing between logo and company text */
}
.logo {
  height: 100px; 
  max-width: 450px;
  width: auto;  
  object-fit: contain;
  display: block;
  margin-top: 0;
}

/* Company Title Styling */
.company-title h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #0c1b2a; 
    letter-spacing: 2px;
}

.company-title p {
    margin: 0;
    font-size: 18px;
    color: #d4a138; 
    font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  transform: translateY(18px); 
  transition: transform 0.2s;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 16px;
}
nav a:hover {
  color: #EB8317;
}
nav a.active {
    color: #EB8317;           
    font-weight: bold;
}

/* Desktop dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: #002379;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
}


.dropdown-toggle {
    cursor: pointer;
    display: inline-block;
}

.nav-links span.dropdown-toggle {
    color: #000;
}

.nav-links span.dropdown-toggle:hover {
    color: #EB8317;
}

/* MOST IMPORTANT FIX */
.nav-links span.dropdown-toggle {
    pointer-events: auto !important;
}


/* Mobile (inside hamburger) */
@media(max-width: 768px) {
    .dropdown-menu {
        position: relative;
        box-shadow: none;
    }
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  width: 28px;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #000;
  transition: 0.4s;
}

/* Hamburger Animation */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE NAV */
/* MOBILE — stack logo + text and shrink */
@media(max-width: 768px) {
    .logo-container {
        gap: 10px;
    }
    .logo-img {
        height: 55px;
    }
    .company-title h1 {
        font-size: 22px;
    }
    .company-title p {
        font-size: 14px;
    }
}
.nav-links.mobile-open {
  display: block !important;
  position: absolute;
  top: 80px;
  right: 0;
  background: white;
  width: 200px;
  padding: 20px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}
.nav-links.mobile-open .dropdown-toggle {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  display: block;
}
.nav-links.mobile-open a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
@media (max-width: 768px) {
  .nav-links {
    transform: none;
    position: static;
  }
}


/* ===============================
   HERO VIDEO
   =============================== */
.hero-video {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-video .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  width: 70%;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-content h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #FFCC00;
}

.hero-content p {
  background: rgba(0,0,0,0.55);
  padding: 15px;
  border-radius: 5px;
  text-align: justify;
  
}

/* ===============================
   EXPERTS SECTION
   =============================== */


.experts {
    padding: 80px 0; /* 1 inch top & bottom gap */
    background: #fff;
}

.experts h2 {
    color: #E8630A;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* GRID LAYOUT */
.expert-grid {
    width: 85%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;  /* spacing between cards */
    
}

/* CARD */
.expert-item {
    background: #10375C;
    padding: 25px;
    border-radius: 90px;
    text-align: center;

    height: 500px; /* SAME HEIGHT FOR ALL */
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CIRCLE IMAGES FIXED SIZE */
.circle-img {
    width: 140px;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* HEADINGS */
.expert-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #FFCC00;
}

/* TEXT FIX & ALIGNMENT */
.expert-item p {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;   /* straight edges like Wix */
    flex-grow: 1;          /* pushes content up evenly */
    max-width: 90%;
    color: white;
}

/* ARROW BUTTON — NEVER TOUCH TEXT AGAIN */
.arrow-btn {
    position: absolute;
    bottom: 20px;       /* ALWAYS BELOW TEXT */
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: #FFBC4C; 
    border-radius: 6px;
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.experts a:hover {
  background-color: #E8630A;
}

/* =============================
   RESPONSIVE
   ============================= */

@media (max-width: 992px) {
    .expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expert-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .expert-item {
        height: auto;
        padding-bottom: 80px;
    }
}


/* ===============================
   LIFECYCLE SECTION
   =============================== */
.lifecycle {
  padding: 60px;
  background: linear-gradient(to right, #fff, #c3e7f1);
}

.lifecycle h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #000B58;
  font-size: 28px;
}

.lifecycle-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
}

.lifecycle-img {
  width: 500px;  /* increase width */
  height: auto;
  border-radius: 10px;
}

.lifecycle-text {
  width: 40%;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

/* ===============================
   FOOTER
   =============================== */
.rtb-footer {
    background: #102E50;
    padding: 60px 40px 80px;
    position: relative;
    color: white;
}

/* 4-COLUMN GRID CENTERED */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px 60px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.footer-grid a {
    text-decoration: none;
    color: white;
    font-size: 17px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
}

.footer-grid a:hover {
    color: #EB8317;
    border-bottom-color: #EB8317;
}

/* SOCIAL ICONS bottom-right */
.footer-social {
    position: absolute;
    bottom: 30px;
    right: 40px;
}

.footer-social a {
    color: white;
    font-size: 26px;
    margin-left: 15px;
    transition: 0.3s ease;
}

.footer-social a:hover {
    color: #EB8317;
}

/* ADDRESS bottom-center */
.footer-address {
    text-align: center;
    margin-top: 60px;
    font-size: 13px;
}

/* BACK TO TOP (center bottom) */
.back {
    margin-top: 15px;
    text-align: center;
}

.back a {
    color: #FFCC00;
    text-decoration: none;
    font-size: 12px;
}

.back a:hover {
    color: #EB8317;
}

@media (max-width: 600px) {

    footer {
        padding-left: 20px !important;
        padding-right: 5px !important;
    }

   .footer-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        column-gap: 5px;
        row-gap: 10px;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .footer-grid div {
        text-align: left;
        padding: 0;
        margin: 0;
        font-size: 13px;
    }
    
    .footer-grid a {
        font-size: 12px;
        padding-bottom: 4px;
        border-bottom: 1px solid rgba(255,255,255,0.35);
        display: block;
        margin-bottom: 8px;
    }

    /* ADDRESS */
    .footer-address {
        margin-top: 25px;
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
        padding: 0 10px;
    }

    /* BACK TO TOP */
    .back {
        margin-top: 18px;
        text-align: center;
    }

    .back a {
        font-size: 13px;
    }

    /* SOCIAL ICONS */
    .footer-social {
        position: static;
        margin-top: 18px;
        text-align: center;
    }

    .footer-social a {
        font-size: 22px;
        margin: 0 10px;
    }
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* MOBILE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .expert-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .circle-img {
    width: 130px;
    height: 130px;
  }
}

 /* Fix lifecycle on mobile */
.lifecycle-content {
  flex-direction: column;   /* stack image + text */
  align-items: center;
  text-align: center;
}

.lifecycle-img {
  width: 100%;              /* FIX: make image responsive */
  max-width: 350px;
}

.lifecycle-text {
  width: 100%;
  margin-top: 20px;
  text-align: justify;      /* keep your formatting */
}


/* CONTRACTS SECTION */

.contracts-section {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    background: linear-gradient(#83a4d4, #b6fbff); 
}

.contracts-container {
    display: flex;            
    width: 100%;
    margin: 0;
    padding: 0;
}

.contracts-text {
    width: 50%;
    padding: 40px;
    color: white;
    text-align: justify;
}

.contracts-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contracts-text h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: bold;
    color: #deae35;
}

.contracts-text ul {
    list-style: disc;
    padding-left: 25px;
}

.contracts-text ul li {
    margin-bottom: 8px;
    font-size: 18px;
    color: black;
}

/* RIGHT SIDE IMAGE */
.contracts-image {
    width: 50%;
    margin: 0;
    padding: 0;
}

.contracts-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .contracts-container {
        flex-direction: column;   /* stack text over image */
    }

    .contracts-text {
        width: 100%;              /* full width on mobile */
        padding: 25px;
    }

    .contracts-image {
        width: 100%;              /* full width image */
    }

    .contracts-image img {
        height: auto;             /* prevent stretching */
    }

    .contracts-text p,
    .contracts-text ul li {
        font-size: 16px;          /* better mobile readability */
    }
}

/* CONTACT SECTION */
.contact-section {
  width: 100%;
  background-color: #EEEEEE;
  padding: 80px 0 0;
  font-family: "Segoe UI", sans-serif;
  color: #222;
}
.contact-main-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 40px;
  font-weight: 600;
  color: #10375C
}

/* Two-column layout */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;          /* consistent spacing */
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 60px;
  border-bottom: 1px solid #ccc;
  align-items: flex-start;
}


/* Left: Info */
.contact-info {
  flex: 1;
  min-width: 320px;
  max-width: 480px;
  padding: -5px;           
  border-radius: 6px;
  text-align: left;    
}


.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: grid;
  grid-template-columns: 30px auto; /* smaller icon column */
  gap: 15px;
  margin-bottom: 28px;
  align-items: center;
}

.contact-info i {
  font-size: 1.4rem;
  color: #e62727;
  display: flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}


.contact-info strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 5px;
}

.contact-info p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;  
}


/* Right: Form */
.contact-form {
  flex: 1;
  min-width: 320px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form .form-row {
  display: flex;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #999;
  border-radius: 4px;
  font-size: 0.95rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: none;
}

.contact-form button {
  background-color: #FFCC00;
  color: black;
  border: none;
  padding: 10px 25px;
  font-size: 1rem;
  border-radius: 3px;
  cursor: pointer;
  align-self: flex-end;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #0e9652;
}

/* ============================================
   CONTACT SECTION — TABLET RESPONSIVE FIX
   For screens between 768px and 1024px
=============================================== */
@media (min-width: 768px) and (max-width: 1024px) {

    .contact-container {
        flex-direction: column;     /* stack vertically */
        align-items: center;
        gap: 30px;
    }

    .contact-info,
    .contact-form {
        width: 90% !important;      /* reduce width for tablet */
        max-width: 700px;           /* prevent stretching too wide */
    }

    /* Fix form row fields overflowing */
    .contact-form .form-row {
        flex-direction: column;     /* stack side-by-side fields */
        gap: 0;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1rem;
    }

    .contact-info li {
        grid-template-columns: 40px auto; /* more space for text */
    }

    .contact-info i {
        font-size: 1.6rem;
    }
}


/* MOBILE RESPONSIVE */
@media (max-width: 850px) {
  .contact-container {
    flex-direction: column;
    padding-bottom: 40px;
  }

 .contact-info {
    width: 100%;
    padding: 25px;
    margin-bottom: 30px;
  }
  .contact-form {
    width: 100%;
  }

  .contact-form .form-row {
    flex-direction: column;   /* stack First + Last Name */
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;              /* full width on mobile */
  }
}

/* Map */
.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.contact-info li {
  display: grid;
  grid-template-columns: 30px auto;   /* perfect alignment */
  align-items: center;                /* centers icon + text */
  justify-content: center;
  width: 100%;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info i {
  font-size: 1.3rem;
  margin: 0 auto;                     /* centers icon */
}

.contact-info li div {
  text-align: left;
  width: 100%;
  max-width: 260px;
}


