
/* 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: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin:0; color:#222; background:#f8fafc;}
.container{max-width:var(--max-width); margin:0 auto; padding:0 20px;}

/* ===== HEADER + LOGO FIX ===== */
.header{
  background:linear-gradient(90deg,var(--blue),var(--dark));
  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;
}

/* 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: left;
  padding: 80px 20px;
}

.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{padding:48px 0; background:#fff;}
.section.gray{background:#f3f6fb;}
.h2{font-size:22px; margin:0 0 18px;}
.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;}
.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 PAGE BOX DESIGN ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.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;
}

/* ===== PROJECTS PAGE BOX DESIGN ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.project {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Hover floating effect */
.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(11, 94, 215, 0.18);
}

/* Image styling */
.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #e5e7eb;
}

/* Text content */
.project h3 {
  margin: 16px 18px 8px;
  color: var(--dark);
}

.project p {
  margin: 0 18px 20px;
  color: #555;
  line-height: 1.6;
}


