/* ========== GLOBAL RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #F1F5F9; /* Light Slate */
  color: #1E293B; /* Dark Slate */
  line-height: 1.6;
  font-size: 16px;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', serif;
  color: #334155; /* Slate Gray */
  font-weight: 600;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #14B8A6, #0F766E); /* Gradient Teal */
  margin: 0.5rem auto 0 auto;
  border-radius: 2px;
}

/* ========== HERO SECTION ========== */
.hero {
  height: 70vh;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
}
.hero-overlay {
  background: rgba(15, 118, 110, 0.85); /* Dark Teal Overlay */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-content {
  color: #D1FAE5; /* Light Teal Text */
  max-width: 800px;
  padding: 2rem;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #A7F3D0; /* Slightly brighter teal */
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #CCFBF1; /* Soft teal */
}
.hero-buttons .btn {
  margin: 0.5rem;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Primary button in teal gradient */
.btn.primary {
  background: linear-gradient(90deg, #14B8A6, #0F766E);
  color: #fff;
  box-shadow: 0 4px 10px rgba(20, 184, 166, 0.5);
}
.btn.primary:hover {
  background: linear-gradient(90deg, #0F766E, #0B5E4E);
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.7);
}

/* Secondary button - outlined teal */
.btn.secondary {
  background: transparent;
  color: #14B8A6;
  border: 2px solid #14B8A6;
}
.btn.secondary:hover {
  background: #14B8A6;
  color: #F1F5F9; /* Light background color */
}

/* ========== CARD GRID SECTIONS ========== */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: #fff; /* White card background */
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  color: #334155; /* Slate Gray text */
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.12); /* Subtle teal shadow */
}
.card h3 {
  margin-bottom: 0.8rem;
  color: #0F766E; /* Dark Teal title */
  font-size: 1.2rem;
}
.card p {
  font-size: 0.95rem;
  color: #475569; /* Slate */
}

/* ========== EXPERIENCE SUMMARY / STATS ========== */
.stats-section {
  background: linear-gradient(90deg, #14B8A6, #0F766E);
  color: #D1FAE5;
  padding: 2.5rem 0;
  text-align: center;
}
.summary-text {
  max-width: 900px;
  margin: 0 auto 2rem auto;
  font-size: 1.05rem;
}
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.stat h3 {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
  color: #CCFBF1;
}
.stat p {
  font-size: 1rem;
}

/* ========== SKILLS ========== */
.skills-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.skills-grid h4 {
  margin-bottom: 0.6rem;
  color: #0F766E; /* Dark Teal */
}
.skills-grid ul {
  list-style: none;
}
.skills-grid li {
  margin-bottom: 0.4rem;
}
.skill-bar {
  margin-bottom: 1rem;
}
.skill-bar p {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #334155;
}
.skill-bar div {
  background: #DBEAE7;
  border-radius: 10px;
  overflow: hidden;
}
.skill-bar span {
  display: block;
  background: linear-gradient(90deg, #14B8A6, #0F766E);
  height: 10px;
  transition: width 1s ease-in-out;
}
.software-logos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}
.software-logos img {
  height: 40px;
  filter: grayscale(20%);
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.gallery-grid img {
  width: 100%;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  border-color: #14B8A6;
}
.gallery-caption {
  font-size: 0.85rem;
  text-align: center;
  color: #475569;
  margin-bottom: 1rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(15, 118, 110, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ========== TESTIMONIALS ========== */
.testimonial-slider {
  position: relative;
}
.testimonial {
  background: #fff;
  border-radius: 8px;
  padding: 1.2rem;
  margin: 1rem auto;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.12);
  display: none;
  color: #334155;
}
.testimonial.active {
  display: block;
}
.testimonial footer {
  font-weight: 600;
  margin-top: 0.5rem;
  color: #0F766E;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 1rem;
}
.contact-info p {
  margin-bottom: 0.6rem;
  color: #1E293B;
}
.contact-info a {
  color: #14B8A6;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
#contactForm input, 
#contactForm textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
}
#contactForm textarea {
  resize: vertical;
  min-height: 100px;
}
#contactForm button {
  width: 100%;
  background: linear-gradient(90deg, #14B8A6, #0F766E);
  border: none;
  color: white;
  padding: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#contactForm button:hover {
  background: linear-gradient(90deg, #0F766E, #0B5E4E);
}
#formMessage {
  margin-top: 0.7rem;
  font-weight: 600;
  text-align: center;
  color: #047857; /* A dark green for success */
}

/* Footer */
.site-footer {
  background: #0F766E;
  color: #D1FAE5;
  padding: 1.2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {font-size: 2rem;}
  .hero p {font-size: 1rem;}
}
