* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066cc;
    --secondary: #00cc99;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text: #333;
    --border: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-small {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-small h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.bg-light {
    background: var(--light);
}

/* About */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #555;
}

.product-features i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.buy-btn {
    width: 100%;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #666;
}

.credential-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #0073e6;
    text-decoration: none;
}

.credential-link:hover {
    text-decoration: underline;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 10px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0,0,0,0.1);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.timeline-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
    flex: 0 0 36px;
}

.timeline-content {
    background: #fff;
    border-radius: 12px;
    padding: 18px 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    width: 100%;
}

.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.timeline-date {
    font-weight: 600;
}

.timeline-client {
    opacity: 0.9;
}

.timeline-tags {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-tags li {
    font-size: 0.85rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.04);
    color: #444;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-cta {
    margin-top: 28px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid rgba(0,0,0,0.2);
    color: #111;
    background: transparent;
}

.btn-outline:hover {
    border-color: rgba(0,0,0,0.35);
}

.btn-dark-outline {
    color: var(--dark);
    border-color: rgba(26, 26, 46, 0.25);
}

.btn-dark-outline:hover {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}
/* =========================
   Modernization Layer
   Paste at END of your CSS
   ========================= */

:root{
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-md: 0 14px 38px rgba(0,0,0,0.10);
}

/* Typography */
body{
  letter-spacing: 0.1px;
  background: #fff;
}

.section-title{
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.section-subtitle{
  font-size: 1.05rem;
  color: rgba(0,0,0,0.62);
  margin-bottom: 48px;
}

/* Container breathing room */
.section{
  padding: 90px 0;
}

/* Navbar polish */
.navbar{
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.nav-menu a{
  font-weight: 600;
  color: rgba(0,0,0,0.75);
}

.nav-menu a:hover{
  color: var(--primary);
}

/* Hero: softer + modern */
.hero{
  padding: 110px 0;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(900px 500px at 80% 40%, rgba(255,255,255,0.12), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.hero-title{
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.6px;
}

.hero-subtitle{
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
}

/* Buttons: consistent modern system */
.btn-primary, .btn-secondary{
  border-radius: 999px;
  padding: 12px 22px;
  box-shadow: none;
}

.btn-primary:hover,
.btn-secondary:hover{
  transform: translateY(-1px);
}

/* For light sections: outline button that matches your theme */
.btn-dark-outline{
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,0.16);
  color: rgba(0,0,0,0.82);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}

.btn-dark-outline:hover{
  border-color: rgba(0,0,0,0.28);
  box-shadow: var(--shadow-sm);
}

/* Cards: more modern radius + subtle borders */
.service-card,
.product-card,
.timeline-content{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
}

.service-card:hover,
.product-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Services grid: slightly larger cards */
.services-grid{
  gap: 22px;
}

.service-card{
  padding: 26px;
}

.service-icon{
  font-size: 2.4rem;
  margin-bottom: 0.9rem;
}

/* Timeline: more modern and readable */
.timeline{
  max-width: 950px;
  padding: 0;
}

.timeline::before{
  left: 21px;
  width: 2px;
  background: rgba(0,0,0,0.08);
}

.timeline-item{
  gap: 18px;
  margin-bottom: 22px;
}

.timeline-icon{
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px; /* modern: rounded square instead of circle */
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.timeline-content{
  padding: 18px 18px;
}

.timeline-meta{
  font-size: 0.92rem;
  color: rgba(0,0,0,0.60);
}

.timeline-content h3{
  margin-top: 6px;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.timeline-tags li{
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.03);
}

/* Footer polish */
.footer{
  background: #0f1220; /* slightly deeper than your current dark */
}

.footer .container{
  gap: 10px;
}

/* Mobile refinements */
@media (max-width: 768px){
  .section{
    padding: 70px 0;
  }
  .timeline::before{
    left: 18px;
  }
  .timeline-icon{
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
}

