
:root {
  /* Light mode colors */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-hero: radial-gradient(circle at 30% 30%, #eef2ff, #dbeafe);
  --bg-contact: #ffffff;
  --bg-badge: #e0e7ff;
  --bg-tag: #e0e7ff;
  --bg-input: #f9fbfd;
  --bg-input-focus: #ffffff;
  
  --border-input: #dbe0e8;
  --border-card: rgba(0, 0, 0, 0.02);
  
  --text-primary: #0b1a2f;
  --text-secondary: #1e293b;
  --text-muted: #334155;
  --text-muted2: #475569;
  
  --shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 18px 35px -12px rgba(0, 0, 0, 0.12);
  
  --btn-bg: #0b1a2f;
  --btn-hover: #1e3a5f;
  --btn-text: #ffffff;
  
  --outline-border: #0b1a2f;
  --outline-text: #0b1a2f;
  --outline-hover-bg: #0b1a2f;
  --outline-hover-text: #ffffff;
  
  --divider: linear-gradient(to right, #d1d9e6, transparent);
  --footer-border: #e2e8f0;
  
  --social-color: #334155;
  --social-hover: #2563eb;
  --icon-color: #2563eb;
  --logo-fallback: #0b1a2f;
}

/* Dark mode (default) */
body.dark {
  --bg-body: #0b1420;
  --bg-card: #1a2536;
  --bg-hero: radial-gradient(circle at 30% 30%, #1a2a44, #0f1a2e);
  --bg-contact: #1a2536;
  --bg-badge: #1e3a5f;
  --bg-tag: #1e3a5f;
  --bg-input: #1f2c3f;
  --bg-input-focus: #1a2536;
  
  --border-input: #2f405a;
  --border-card: rgba(255, 255, 255, 0.04);
  
  --text-primary: #eef2ff;
  --text-secondary: #d1d9e6;
  --text-muted: #b0c4de;
  --text-muted2: #9aabbf;
  
  --shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 18px 35px -12px rgba(0, 0, 0, 0.8);
  
  --btn-bg: #2563eb;
  --btn-hover: #3b82f6;
  --btn-text: #ffffff;
  
  --outline-border: #90b0e0;
  --outline-text: #d1d9e6;
  --outline-hover-bg: #2563eb;
  --outline-hover-text: #ffffff;
  
  --divider: linear-gradient(to right, #2f405a, transparent);
  --footer-border: #2a3a4f;
  
  --social-color: #b0c4de;
  --social-hover: #6b9aff;
  --icon-color: #6b9aff;
  --logo-fallback: #d1d9e6;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

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


#typewriter {
  border-right: 3px solid currentColor;
  padding-right: 4px;
  animation: blink .7s infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
/* ============================================
   FADE ANIMATIONS
   ============================================ */
.fade-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.3, 1),
              transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: opacity, transform;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-body);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(145deg, var(--text-primary), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background 0.3s;
}

.logo i {
  background: none;
  -webkit-text-fill-color: var(--icon-color);
  margin-right: 6px;
}

/* Hamburger - hidden on desktop */
.hamburger {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 1000;
}

/* Close button - hidden on desktop */
.close-menu {
  display: none;
  z-index: 2001;
}

/* Navigation links - visible on desktop */
.nav-links {
  display: flex;
  gap: 2.5rem;
  font-weight: 500;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s;
  font-size: 1rem;
}

.nav-links a:hover {
  color: var(--icon-color);
}
.nav-links a.active {
  color: var(--icon-color);
  font-weight: 700;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--icon-color);
  border-radius: 999px;
}


/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--border-input);
  border-radius: 60px;
  padding: 0.4rem 1rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.theme-toggle:hover {
  border-color: var(--icon-color);
  color: var(--icon-color);
}

.theme-toggle i {
  font-size: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 4rem 0 5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1 1 400px;
}

.hero-content .badge {
  display: inline-block;
  background: var(--bg-badge);
  color: #1e3a8a;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  letter-spacing: 0.3px;
  margin-bottom: 1.2rem;
  transition: background 0.3s;
}

body.dark .hero-content .badge {
  color: #b8d0ff;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.hero-content h1 i {
  color: var(--icon-color);
  margin-right: 8px;
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
}

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

.hero-visual {
  flex: 1 1 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 48px;
  padding: 2.5rem 1.5rem;
  min-height: 320px;
  /* background-image: url("hero.jpg"); */
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.25);
}

.hero-visual i {
  font-size: 7rem;
  color: var(--icon-color);
  opacity: 0.7;
}

.hero-visual span {
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 1rem;
  color: var(--text-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 0.9rem 2.4rem;
  font-weight: 600;
  border-radius: 60px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 8px 18px rgba(11, 26, 47, 0.12);
}

.btn-primary:hover {
  background: var(--btn-hover);
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--outline-border);
  color: var(--outline-text);
  padding: 0.85rem 2.4rem;
  font-weight: 600;
  border-radius: 60px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--outline-hover-bg);
  color: var(--outline-hover-text);
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title i {
  color: var(--icon-color);
  font-size: 2rem;
  
}

.section-sub {
  color: var(--text-muted2);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  max-width: 600px;
}

hr.divider {
  border: 0;
  height: 2px;
  background: var(--divider);
  margin: 2rem 0 3rem;
  transition: background 0.3s;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0 2.5rem;
}

.about-card {
  flex: 1 1 200px;
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, background 0.3s, border 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-card);
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--icon-color);
  box-shadow: var(--shadow-hover);
}

.about-card i {
  font-size: 2.6rem;
  color: var(--icon-color);
  margin-bottom: 0.8rem;
}

.about-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.about-card p {
  color: var(--text-muted2);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2rem 0 1rem;
}

.portfolio-item {
  background: var(--bg-card);
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-card);
  transition: 0.2s, background 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--icon-color);
}


.portfolio-thumb {
  height: 180px;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-thumb img {
  transform: scale(1.05);
}

.portfolio-thumb i {
  opacity: 0.5;
}

.portfolio-info {
  padding: 1.5rem 1.2rem 1.8rem;
}

.portfolio-info h4 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.portfolio-info p {
  color: var(--text-muted2);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  background: var(--bg-tag);
  color: #1e3a8a;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
  margin-top: 0.6rem;
  transition: background 0.3s;
}

body.dark .tag {
  color: #b8d0ff;
}
/* ============================================
   FOUNDERS SECTION
   ============================================ */

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.founder-card {
  background: var(--bg-card);
  border-radius: 28px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-card);
  transition: all 0.25s ease;
}

.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--icon-color);
}

.founder-image {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--icon-color);
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card h3 {
  color: var(--text-primary);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.founder-card p {
  color: var(--text-muted2);
  font-size: 1rem;
}
/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  background: var(--bg-contact);
  border-radius: 40px;
  padding: 2.5rem 2.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-card);
  margin: 2rem 0 1rem;
  transition: background 0.3s, box-shadow 0.3s, border 0.3s;
}
.contact-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--icon-color);
}
.contact-info {
  flex: 1 1 200px;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.contact-info p {
  color: var(--text-muted2);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.contact-detail i {
  width: 1.8rem;
  color: var(--icon-color);
  font-size: 1.2rem;
}

.contact-form {
  flex: 2 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border-input);
  border-radius: 50px;
  font-size: 1rem;
  background: var(--bg-input);
  color: var(--text-primary);
  transition: 0.2s, background 0.3s, border 0.3s;
  width: 100%;
}

.contact-form textarea {
  border-radius: 28px;
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--icon-color);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-form .btn-primary {
  align-self: flex-start;
  border-radius: 60px;
  padding: 0.9rem 2.8rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  margin-top: 4rem;
  padding: 2.5rem 0 1.8rem;
  border-top: 1px solid var(--footer-border);
  transition: border 0.3s;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-copy {
  color: var(--text-muted2);
  font-size: 0.95rem;
}

.footer-social a {
  color: var(--social-color);
  margin-left: 1.5rem;
  font-size: 1.3rem;
  transition: color 0.2s;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets and small laptops */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }
}

/* Mobile devices */
@media (max-width: 700px) {
  .container {
    padding: 0 1.2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero {
    padding: 2rem 0 3rem;
  }

  .hero-content p {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 200px;
    padding: 1.8rem 1rem;
  }

  .hero-visual i {
    font-size: 4.5rem;
  }

  /* Navigation - Mobile */
  .navbar {
    flex-direction: row;
    gap: 0.8rem;
    align-items: center;
  }

  /* Show hamburger on mobile */
  .hamburger {
    display: block;
  }

  /* Show close button on mobile */
  .close-menu {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
  }

  /* Fullscreen overlay menu */
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg-body);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    z-index: 2000;
    display: flex;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .theme-toggle {
    margin: 0 auto;
  }

  /* Section titles */
  .section-title {
    font-size: 2rem;
  }

  .section-sub {
    max-width: 100%;
  }
.founders-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.founder-card {
  padding: 1.5rem;
}

.founder-image {
  width: 120px;
  height: 120px;
}
  /* About cards */
  .about-card {
    flex: 1 1 100%;
  }

  /* Contact */
  .contact-wrapper {
    padding: 1.8rem;
  }

  /* Footer */
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-social a {
    margin: 0 0.8rem;
  }

}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
.founder-image {
  width: 100px;
  height: 100px;
}

.founder-card h3 {
  font-size: 1.2rem;
}
.logo{
  font-size: 1.45rem;
}
  .hero {
    padding: 1.5rem 0 2.5rem;
  }

  .hero-visual {
    min-height: 160px;
    padding: 1.2rem 0.8rem;
  }

  .hero-visual i {
    font-size: 3.5rem;
  }

  .hero-visual span {
    font-size: 0.9rem;
    margin-left: 0.5rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 1.2rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-top: 2rem;
  }
}