
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f5f7fb;
  color: #333;
  line-height: 1.6;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #0b1c2d;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
}

.logo {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.logo span {
  color: #00c6ff;
}

.logo-img {
  width: 40px;
  height: 40px;
  display: inline-block;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.brand-text {
  line-height: 1;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

nav ul li a:hover {
  color: #00c6ff;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
}


.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(to right, #0b1c2d, #133a63);
  color: #fff;
}

.hero h1 {
  font-size: 48px;
}

.hero h1 span {
  color: #00c6ff;
}

.hero p {
  margin: 15px 0;
  font-size: 18px;
}

.btn {
  padding: 12px 28px;
  border: none;
  background: #00c6ff;
  color: #000;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
}

.btn:hover {
  background: #00a6d6;
}


section {
  padding: 70px 40px;
  text-align: center;
}

section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}


/* Global helpers */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

/* Glass section */
.glass-section {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.65),
    rgba(255,255,255,0.35)
  );
  backdrop-filter: blur(12px);
}

/* Headings */
.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-desc {
  max-width: 700px;
  margin: auto;
  font-size: 17px;
  color: #555;
  line-height: 1.7;
}

/* Services grid */
.service-box {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}

/* Service cards */
.service-card {
  position: relative;
  padding: 40px 25px;
  border-radius: 20px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  overflow: hidden;
}

/* Gradient glow */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0,123,255,0.25),
    rgba(0,255,200,0.25)
  );
  opacity: 0;
  transition: 0.35s;
}

/* Hover */
.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.service-card:hover::before {
  opacity: 1;
}

/* Icon */
.service-card .icon {
  font-size: 42px;
  display: block;
  margin-bottom: 15px;
}

/* Text */
.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: #666;
}



/* Section */
.contact {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  text-align: center;
}

/* Heading */
.contact h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #0f172a;
}

/* Form Card */
.contact form {
  max-width: 520px;
  margin: auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 40px 36px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Contact page layout: main form + aside info card */
.contact-page .contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info .info-card {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(11,28,45,0.06);
  border: 1px solid rgba(11,28,45,0.04);
  text-align: center;
}

.contact-info .info-card h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  color: #0b1c2d;
}

.contact-info .info-card p,
.contact-info .info-card ul {
  color: #1f2937;
  margin: 8px 0 0;
  line-height: 1.5;
}

.contact-info .info-card ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.contact-info .info-card ul li {
  margin: 8px 0;
  font-weight: 600;
}

.contact form input,
.contact form textarea {
  width: 100%;
  height: 46px;              /* FIXED HEIGHT */
  padding: 0 20px;           /* Horizontal only */
  
  border: 2px solid #e5e7eb;

  font-size: 14px;
  line-height: 56px;         /* MATCH HEIGHT */
  color: #0f172a;

  box-sizing: border-box;
}

/* Textarea needs different handling */
.contact form textarea {
  height: auto;
  min-height: 140px;
  padding: 18px 16px;
  line-height: 1.5;
  border-radius: 24px;
  resize: none;
}

.socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  color: #0b1c2d;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(11,28,45,0.06);
  box-shadow: 0 8px 20px rgba(11,28,45,0.06);
  font-weight: 600;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(11,28,45,0.08);
}

/* Inputs */
.contact input {
  width: 100%;
  padding: 16px 18px 16px 48px;
  margin: 12px 0;
  border-radius: 14px;
  border: 1.5px solid #e5e7eb;
  font-size: 15px;
  outline: none;
  transition: all 0.25s ease;
}

.contact textarea {
  width: 100%;
  padding: 16px 18px;
  margin: 12px 0;
  border-radius: 14px;
  border: 1.5px solid #e5e7eb;
  font-size: 15px;
  outline: none;
  transition: all 0.25s ease;
}
.input-wrap {
  position: relative;
}

.input-wrap .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #6b7280;
  fill: currentColor;
  pointer-events: none;
}
.contact input:focus,
.contact textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.contact textarea {
  resize: none;
}
.contact .btn {
  margin-top: 18px;
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #5b7cfa, #6b6dfd);
  color: #fff;
  transition: all 0.3s ease;
}
.contact .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.35);
}

/* Mobile */
@media (max-width: 480px) {
  .contact h2 {
    font-size: 28px;
  }

  .contact form {
    padding: 32px 24px;
  }

  .contact-page .contact-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .contact-info .info-card {
    margin-top: 18px;
  }
}
footer {
  background: #0b1c2d;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer a[href^="mailto:"] {
  color: #00c6ff;
  font-weight: 600;
  text-decoration: none;
}
footer a[href^="mailto:"]:hover {
  color: #7ee8ff;
  text-decoration: underline;
}
/* ===== Root Variables ===== */
:root {
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.35);
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --accent: #38bdf8;
}

/* ===== Section ===== */
.glass-section {
  padding: 80px 40px;
  background: radial-gradient(
    circle at top left,
    #e0f2fe,
    #ffffff 60%
  );
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
}

.section-subtitle {
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== Grid ===== */
.team-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* ===== Glass Card ===== */
.glass-card {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.05)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(22, 138, 238, 0.6),
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.glass-card:hover::before {
  transform: translateX(100%);
}


/* ===== Image ===== */
.img-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 18px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.glass-card:hover img {
  transform: scale(1.12);
}

/* Glow effect */
.img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(56,189,248,0.35),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover .img-wrap::after {
  opacity: 1;
}

/* ===== Text ===== */
.glass-card h3 {
  margin: 12px 0 4px;
  color: var(--text-dark);
}

.role {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Hover Content ===== */
.card-hover {
  position: absolute;
  inset: 0;
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.85),
    rgba(255,255,255,0.65)
  );
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.glass-card:hover .card-hover {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Bio ===== */
.bio {
  font-size: 14px;
  color: #334155;
  margin-bottom: 18px;
}

/* ===== Skills ===== */
.skills span {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  color: #0284c7;

  background: rgba(255,255,255,0.65);
  border: 2px solid #38bdf8;

  box-shadow: 0 0 18px rgba(56,189,248,0.55);
}


@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #0b1c2d;
    position: absolute;
    top: 65px;
    right: 0;
    width: 200px;
  }

  nav ul.show {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
  .logo-img {
    width: 32px;
    height: 32px;
  }
}

.glass-btn {
  position: relative;
  width: 255px;
  height: 55px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.back {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 100%;
  background: white;
  border-radius: 0 40px 40px 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18px;     

  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}
.arrow {
  font-size: 22px;
  color: #0f172a;
  transform: translateX(0);   
  opacity: 0;
  transition: opacity 0.3s ease;
}



.front {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #5b7cfa, #6b6dfd);
  color: white;
  font-size: 18px;
  font-weight: 600;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  z-index: 2;
}

.glass-btn:hover .front {
  transform: translateX(-32px);
}

.glass-btn:hover .back {
  opacity: 1;
}

.glass-btn:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

html {
  scroll-behavior: smooth;
}
