
/* assets/style.css - Logic Builder simple responsive site */
:root{
  --blue:#0b5ed7;
  --dark:#063d9c;
  --white:#ffffff;
  --muted:#6b7280;
  --max-width:1100px;
}
*{box-sizing:border-box}
body{font-family: "Century Gothic", "Gill Sans", "Gill Sans MT", Calibri, sans-serif; margin:0; color:#222; background:#f8fafc;}
.container{max-width:var(--max-width); margin:0 auto; padding:0 20px;}

html {
  scroll-behavior: smooth;
}

.section {
  scroll-margin-top: 90px; /* height of your header + some spacing */
}

@media (max-width: 880px) {
  .section {
    scroll-margin-top: 120px; /* taller header on mobile */
  }
}

/* ===== HEADER + LOGO FIX ===== */
.header {
  background: #009ae7;  /* your new solid blue color */
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header .inner{
  display:flex;
  align-items:center;
  justify-content:flex-start;   /* keep logo on far left */
  padding:4px 0;               /* add vertical space for big logo */
}

/* Force header to full width and remove left padding */
.header .container {
  max-width: 100%;     /* allow full width */
  padding-left: 0;     /* remove left padding */
  padding-right: 20px; /* keep some space on right for menu */
}

.logo{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo img{
  height:100px;                  /* increase logo size */
  width:auto;
}

.nav{
  margin-left:auto;             /* move menu to right */
}

/* ===== HEADER NAVIGATION: White Underline + Slide-Up Animation ===== */
.nav a {
  position: relative;
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 600;
  opacity: 0.95;
  transform: translateY(0);
  transition: color 0.3s ease, transform 0.3s ease;
}

/* smooth underline effect */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #ffffff; /* white underline */
  transition: width 0.3s ease;
}

/* hover animation */
.nav a:hover {
  color: #ffffff;
  opacity: 1;
  transform: translateY(-3px); /* slide up slightly */
}

.nav a:hover::after {
  width: 100%; /* underline slides in */
}

/* ===== HERO IMAGE & TEXT SEPARATED ===== */

/* image section */
.hero-image {
  position: relative;
  width: 100%;
  height: 120vh; /* adjust height (e.g., 50vh, 70vh) */
  overflow: hidden;
}

.hero-image .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keep the image full and proportional */
  display: block;
}

/* ===== HERO SLIDESHOW WITH DOT CONTROLS ===== */
.hero-image.slideshow {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* ===== SLIDE TEXT (Overlay Content) ===== */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 5;
  width: 100%;
  max-width: 1100px;
}

.slide-content h1 {
  font-family: "Century Gothic", sans-serif;
  font-size: 50px;
  font-weight: 300;
  margin-bottom: 12px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4);
  letter-spacing: 0.036em; /* Adjust kerning (spacing between letters) */
}

/* Highlighted part of heading */
.highlight-text {
  font-weight: 800;          /* bold */
  font-style: italic;        /* italic */
  color: #ffffff;            /* optional: ensure consistent color */
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.slide-content p {
  font-size: 20px;
  margin-bottom: 20px;
  color: #f3f6fb;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.slide-content .cta {
  display: inline-block;
  background: #ffffff;
  color: var(--dark);
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slide-content .cta:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

/* dots at bottom center */
.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active,
.dot:hover {
  background: #ffffff;
}



/* text section below image */
.hero-text {
  background: #ffffff; /* clean white background */
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-text h1 {
  font-size: 42px;
  color: var(--dark);
  margin-bottom: 18px;
}

.hero-text .lead {
  color: #444;
  font-size: 18px;
  margin-bottom: 24px;
  max-width: 720px;
}

.hero-text .cta {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  margin-right: 12px;
}

.hero-text .secondary {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
}


.hero svg{width:120%; height:100%; position:absolute; left:-10%; top:0; opacity:0.9;}

.hero .content{position:relative; padding:80px 20px; display:flex; align-items:center; min-height:360px;}
.hero h1{font-size:36px; margin:0 0 10px; letter-spacing:0.6px;}
.hero p.lead{margin:0 0 20px; font-size:18px; opacity:0.95;}
.cta{display:inline-block; background:var(--white); color:var(--dark); padding:12px 18px; border-radius:6px; text-decoration:none; font-weight:700; margin-right:12px;}
.secondary{background:transparent; border:2px solid rgba(255,255,255,0.14); color:var(--white); padding:10px 16px; border-radius:6px; text-decoration:none;}

/* Sections */
.section {
  width: 100vw; /* full viewport width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 48px 0;
}

.section.gray {
  background: #f3f6fb; /* or your color/image */
}

.h2{
    font-size:32px;
    margin:0 0 18px;
    text-align: center;
    
}

/* Brand logos inside headings */
.h2 .brand-logo {
  height: 120px;            /* adjust size as you like */
  width: auto;
  display: block;
  margin: 0 auto;          /* center horizontally */
}

.cards{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px;}
.card{background:#fff; border-radius:8px; padding:18px; box-shadow:0 4px 18px rgba(16,24,40,0.06);}
.card h3{margin:0 0 8px; font-size:18px;}
.card p{margin:0; color:var(--muted);}

/* Projects grid */
.projects-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px;}
.project{background:linear-gradient(180deg, #fff, #fbfdff); padding:12px; border-radius:8px; box-shadow:0 6px 24px rgba(11,94,215,0.06);}
.project img{width:100%; height:160px; object-fit:cover; border-radius:6px 6px 0 0;}

/* Contact */
.contact-grid{display:grid; grid-template-columns:1fr 360px; gap:24px;}

.form input, .form textarea{
    width:100%; 
    padding:12px; 
    border:1px solid #e6eef8; 
    border-radius:6px; 
    margin-bottom:10px;
    
}

.form button{
    background:var(--blue); 
    color:#fff; 
    border:0; 
    padding:12px 18px; 
    border-radius:6px; 
    font-weight:700; 
    cursor:pointer;
    
}

/* ===== FORM FONT: CENTURY GOTHIC ===== */
.form, 
.form input, 
.form textarea, 
.form button, 
.form label {
  font-family: "Century Gothic", "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  letter-spacing: 0.3px;
}

.info{background:linear-gradient(180deg,var(--blue),var(--dark)); color:#fff; padding:18px; border-radius:8px;}

/* Footer */
/* ===== Footer - White, Full Width, Balanced Layout ===== */
.footer {
  background: #071033;            /* white footer */
  color: #dbeafe;                 /* dark text */
  padding: 30px 40px;             /* more space around */
  border-top: 2px solid #e5e7eb;  /* subtle top line */
}

.footer .container {
  max-width: 100%;                /* stretch full width */
  display: flex;
  justify-content: space-between; /* logo left, info right */
  align-items: center;
  flex-wrap: wrap;
}
.footer img {
  height: 120px !important;                   /* bigger logo */
  width: auto !important;
  filter: none !important;        /* show natural colors */
}

.footer p {
  margin: 4px 0;
  color: #bcd4ff;
  text-align: right;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .footer .container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer p {
    text-align: center;
  }
}

/* Responsive */
@media(max-width:880px){
  .header .inner{flex-direction:column; gap:8px;}
  .contact-grid{grid-template-columns:1fr; }
  .hero h1{font-size:28px;}
  .hero .content{padding:48px 12px; min-height:300px;}
}

/* ===== ABOUT PAGE BACKGROUND ===== */ 
/* ===== ABOUT PAGE FULL BACKGROUND INCLUDING FOOTER ===== */ 
.about-page { 
background: url('/assets/images/Picture9.jpg') no-repeat center bottom; 
background-size: cover; /* full-width scaling */ 
background-attachment: fixed; /* optional: parallax effect */ 
background-color: #ffffff; 
min-height: 100vh; /* ensures it covers the viewport */ 
} 
/* Optional overlay (for contrast on light/dark images) */ 
.about-page .section { 
background: rgba(255, 255, 255, 0.88); /* translucent white box for text */ 
border-radius: 12px; 
padding: 40px; 
}

/* ===== Vision & Mission Section Styling ===== */
.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.vision-mission .box {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-mission .box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.vision-mission h2 {
  margin-top: 0;
  color: var(--dark);
}

.vision-mission p {
  color: #555;
  line-height: 1.6;
}

.vision-mission .box {
  border: 2px solid #e0ecff;
}

/* ===== SERVICES, PROJECT AND PRODUCT PAGE BOX DESIGN ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
  gap: 24px;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(3, 1fr); /* 3 per row on medium screens */
  }
}

@media (max-width: 800px) {
  .cards {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
  }
}

@media (max-width: 500px) {
  .cards {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}


.cards .card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}


/* Floating hover effect */
.cards .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(11, 94, 215, 0.18);
}

/* Headings & text */
.cards .card h3 {
  color: var(--dark);
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
}

.cards .card p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ===== PRODUCT DROPDOWN MENU (Animated + Mobile Friendly) ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  color: var(--white);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: color 0.3s ease;
}

/* Dropdown menu base */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  z-index: 100;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s ease;
}

/* Show dropdown on hover (desktop) or .active (mobile click) */
.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Brand items */
.dropdown-content .brand {
  position: relative;
}

.dropdown-content a {
  color: #222;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background: rgba(11,94,215,0.08);
}

/* Submenu (products) */
.sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  border-radius: 6px;
  min-width: 180px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all 0.25s ease;
}

/* Show submenu on hover or active */
.brand:hover .sub-dropdown,
.brand.active .sub-dropdown {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Arrow indicator */
.brand > a::after {
  content: none !important;
}

/* MOBILE STYLES */
@media (max-width: 880px) {
  /* Ensure dropdown overlays (keeps header size) */
  .dropdown {
    position: relative;
    z-index: 999;
  }

  .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;                 /* ensure it can't overflow horizontally */
    width: 100%;
    box-sizing: border-box;   /* include padding in width */
    background: rgba(255,255,255,0.98);
    border-top: 2px solid var(--blue);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    overflow: hidden;         /* prevent children from overflowing */
  }

  .dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* BRAND rows stack cleanly */
  .dropdown-content .brand {
    position: relative;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .dropdown-content .brand > a {
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;   /* prevent long text from pushing layout */
  }

  /* Force the submenu to behave like an accordion block (no absolute/side positioning) */
  .sub-dropdown {
    position: static !important;   /* override any absolute from desktop */
    left: auto !important;
    top: auto !important;
    transform: none !important;
    min-width: 0 !important;       /* override desktop min-width */
    width: 100% !important;        /* take full width of dropdown-content */
    box-sizing: border-box;
    display: none;
    flex-direction: column;
    padding: 6px 0 10px 0;
    background: #f9fafb;
    box-shadow: none;
    border-left: 0;                /* remove side borders that cause width overflow */
    overflow: hidden;
  }

  /* Show submenu when the brand has .active */
  .brand.active .sub-dropdown {
    display: flex;
    animation: slideDown 0.28s ease forwards;
  }

  .sub-dropdown a {
    padding: 10px 26px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #eceff5;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;   /* prevent overflow from long product names */
  }

  .sub-dropdown a:hover {
    background: rgba(11,94,215,0.06);
  }

  .brand.active > a::after {
    transform: rotate(90deg);
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ===== CLEAN FIX: Mobile Dropdown Arrows & Lines ===== */
@media (max-width: 880px) {
  /* Remove unwanted borders causing vertical lines */
  .dropdown-content .brand {
    border: none !important;
    box-shadow: none !important;
  }

  /* Make each brand row clean and aligned */
  .dropdown-content .brand > a {
    border: none !important;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
  }

  /* Replace float with flex alignment for arrows */
  .brand > a::after {
    content: "▸";
    float: none;                 /* disable float */
    margin-left: 8px;
    transition: transform 0.25s ease;
  }

  /* Rotate arrow when active */
  .brand.active > a::after {
    transform: rotate(90deg);
  }

  /* Optional: subtle divider between brands */
  .dropdown-content .brand:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
  }
}







