:root{
  --bg:#ffffff;
  --text:#0b0b0b;
  --muted:#6b7180;
  --accent:#0055cc;
  --accent-light:#e6f0ff;
  --accent-dark:#003d99;
  --radius:10px;
  --container:1200px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --border-color: #eaecf0;
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html{scroll-behavior: smooth;}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
  font-size: 16px;
}

.container{max-width:var(--container);margin:0 auto;padding:0 24px}
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* Header */
.site-header{
  border-bottom:1px solid var(--border-color);
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  position:sticky;
  top:0;
  z-index:40;
  box-shadow:var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.site-header:hover {
  box-shadow: var(--shadow-md);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:80px;
}
.brand{
  display:flex;
  align-items:center;
  gap:16px;
}
.logo{
  width:60px;
  height:60px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--accent-light);
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}
.logo img{
  max-width:100%;
  max-height:100%;
  display:block;
  border-radius:8px;
  object-fit:contain;
}
.brand-text .company{
  font-weight:700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-text .tag{
  font-size:14px;
  color:var(--muted);
  letter-spacing: 0.02em;
}
.brand-text .cac-number{
  font-size:12px;
  color:var(--muted);
  font-weight:500;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* Nav */
.nav{
  display:flex;
  gap:24px;
  align-items:center;
}
.nav a{
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  padding:10px 16px;
  border-radius:var(--radius);
  transition: all 0.2s ease;
  position: relative;
}
.nav a:hover{
  background:var(--accent-light);
  color:var(--accent);
}
.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav a:hover::after {
  width: 70%;
}
.nav-toggle{
  display:none;
  background:none;
  border:0;
  padding:10px;
  cursor:pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.nav-toggle:hover {
  background: var(--accent-light);
}
.hamburger{
  width:22px;
  height:2px;
  background:var(--text);
  display:block;
  position:relative;
  transition: all 0.3s ease;
}
.hamburger::after,.hamburger::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:var(--text);
  transition: all 0.3s ease;
}
.hamburger::before{top:-7px}
.hamburger::after{bottom:-7px}

/* Hero */
.hero{
  padding:80px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--accent-light), #ffffff);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0,85,204,0.03);
  z-index: 0;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr 380px;
  gap:40px;
  align-items:center;
  position: relative;
  z-index: 1;
}
h1{
  font-size:44px;
  margin:0 0 20px;
  font-weight:800;
  line-height:1.15;
  letter-spacing:-0.02em;
  color: var(--text);
}
.lead{
  color:var(--muted);
  margin:0 0 28px;
  font-size: 18px;
  max-width: 90%;
}
.cta-row{
  display:flex;
  gap:16px;
  margin-top: 32px;
}
.btn{
  display:inline-block;
  padding:12px 24px;
  border-radius:var(--radius);
  border:1px solid transparent;
  text-decoration:none;
  font-weight:600;
  font-size: 15px;
  transition:all .25s ease;
  position: relative;
  overflow: hidden;
}
.btn:active{
  transform:translateY(1px);
}
.btn.primary{
  background:var(--accent);
  color:#fff;
  box-shadow:var(--shadow-sm);
}
.btn.primary:hover{
  background:var(--accent-dark);
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
}
.btn.ghost{
  background:transparent;
  color:var(--accent);
  border-color:var(--accent-light);
}
.btn.ghost:hover{
  background:var(--accent-light);
  border-color:var(--accent);
}

/* Hero small card */
.hero-card{
  display:flex;
  align-items:center;
  justify-content:center;
}
.cards{
  display:grid;
  gap:18px;
}
.mini-card{
  background:#ffffff;
  padding:24px;
  border-radius:16px;
  min-width:240px;
  transition:all .3s ease;
  box-shadow:var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.mini-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-lg);
  border-color: var(--accent-light);
}
.mini-card .mc-title{
  font-weight:700;
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--accent);
}
.mini-card .mc-sub{
  font-size:14px;
  color:var(--muted);
  line-height: 1.5;
}

/* Sections */
.section{
  padding:80px 0;
  border-top:1px solid var(--border-color);
  position: relative;
}
.section:nth-child(even) {
  background-color: #fafbfd;
}
.section h2{
  margin:0 0 20px;
  font-size:32px;
  position: relative;
  display: inline-block;
}
.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 3px;
}
.muted{
  color:var(--muted);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 80%;
}

/* Services */
.services-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
  margin-top:40px;
}
.service{
  background:#fff;
  border:1px solid var(--border-color);
  padding:30px;
  border-radius:16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.service:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}
.svc-icon{
  font-size:32px;
  margin-bottom:16px;
  display: inline-block;
  padding: 15px;
  background: var(--accent-light);
  border-radius: 12px;
}
.service h3 {
  margin: 0 0 12px;
  font-size: 20px;
}
.service p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Projects */
.projects-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:40px;
}
.project{
  background:#fff;
  border:1px solid var(--border-color);
  padding:28px;
  border-radius:16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.project:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}
.project h4 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--accent);
}
.project p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  margin-top: 40px;
}
.contact-details{
  background:#f8fafc;
  padding:32px;
  border-radius:16px;
  border:1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.contact-details p {
  margin: 0 0 20px;
}
.contact-details a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-details a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}
.contact-form label{
  display:block;
  margin-bottom:20px;
  font-size:15px;
  font-weight: 500;
}
.contact-form input,.contact-form textarea{
  width:100%;
  padding:14px;
  border-radius:10px;
  border:1px solid var(--border-color);
  margin-top:8px;
  font-size:15px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.contact-form input:focus,.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-row{
  display:flex;
  gap:16px;
  margin-top:16px;
}
.form-note{
  color:var(--muted);
  font-size:14px;
  margin-top:12px;
}

/* Footer */
.site-footer{
  border-top:1px solid var(--border-color);
  padding:40px 0;
  margin-top:60px;
  background: #f8fafc;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
  font-size:15px;
}
.social {
  display: flex;
  gap: 20px;
}
.social a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}
.social a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width:900px){
  .hero{
    padding: 60px 0 80px;
  }
  .hero-grid{
    grid-template-columns:1fr;
    gap:40px;
  }
  h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  .section {
    padding: 30px 15px;
    margin: 15px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    background-color: #fff;
  }
  .section p {
    margin-left: 5px;
    margin-right: 5px;
    line-height: 1.7;
  }
  .projects-grid{
    grid-template-columns:1fr;
    gap: 20px;
    padding: 10px;
  }
  .projects-grid .project {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .services-grid{
    grid-template-columns:1fr;
    gap: 20px;
    padding: 10px;
  }
  .services-grid .service {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .contact-grid{
    grid-template-columns:1fr;
    gap: 30px;
    padding: 10px;
  }
  .contact-form {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
  }
  .contact-details {
    padding: 10px;
  }
  .container {
    padding: 0 20px;
  }
  .nav{
    position:fixed;
    inset:80px 16px auto 16px;
    background:#fff;
    border-radius:16px;
    padding:20px;
    flex-direction:column;
    display:none;
    box-shadow:var(--shadow-md);
    border: 1px solid var(--border-color);
  }
  .nav a{
    padding:14px 16px;
  }
  .nav.show{
    display:flex;
  }
  .nav-toggle{
    display:block;
  }
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* focus for accessibility */
a:focus, button:focus, input:focus, textarea:focus{
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* Animations */
.animate-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form validation and success message */
.error {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.1) !important;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 16px;
  animation: fadeIn 0.3s ease;
}

.fade-out {
  animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Hamburger animation */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}