:root {
    --bg: #f8fafc;
    --card: #fff;
    --text: #0f172a;
    --muted: #64748b;
    --accent: #2563eb;
    --accent-dark: #1e40af;
    --accent-light: #dbeafe;
    --accent-2: #3b82f6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --container: 1280px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #0ea5e9;
    --accent-dark: #0284c7;
    --accent-light: #1e3a5f;
    --accent-2: #38bdf8;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html,
body {
  height: 100%;
}

body {
  font-size: 16px;
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

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

section {
  padding: 45px 0;
}
.site-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 244, 246, 0.96) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: var(--transition);
}

[data-theme="dark"] .site-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.96) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.nav-link{
    display: flex;
    gap: 24px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link a:hover {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
}

.nav-link a:hover::after {
    width: 100%;
}
.brand{
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.brand:hover {
    transform: scale(1.05);
}
.logo-icon{
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}
.bolt {
    width: 16px;
    height: 20px;
    background: #fff;
    clip-path: polygon(7% 21%, 95% 0, 65% 42%, 98% 43%, 25% 98%, 55% 49%);
}
.subtitle {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text)
} 

.main-nav{
    justify-content: space-evenly;

}
.main-nav .nav-link{
    color: var(--text);
    text-decoration: none;
    padding: 8px 4px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover {
    color: var(--accent);
}
.controls{
    display: flex;
    gap: 10px;
    align-items: center;
}
.bt1{
    border:0;
    cursor:pointer;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight:600;
   
}
.bt1.primary {
    background: var(--accent);
    color: #fff
}
.bt1.outline {
    background: transparent;
    border: 2px solid #ffb703;
    color: #ffb703
}
.bt1.full {
    width: 100%;
    /* height: 45px; */
}
.btn2{
    border: 0;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn2.primary {
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn2.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn2.outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn2.outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn2.full {
    width: 100%;
}
.bt1{
    border: 0;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.bt1.primary {
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.bt1.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.bt1.outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.bt1.outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.bt1.full {
    width: 100%;
}
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0ea5e9 100%);
}

.hero.bg-image {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(37, 99, 235, 0.4)), url("https://images.unsplash.com/photo-1710412832173-1c2c2c75e9ca?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content .subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

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

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .btn {
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 8px;
}
.subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 18px
}
/* .hero-figure img {
    width: 520px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow)
} */
.home-features {
    padding: 50px 20px 80px
}
#about-section{
    background: linear-gradient(135deg, var(--bg), rgba(14, 165, 233, 0.03));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent);
    border-radius: 50%;
    pointer-events: none;
}

#about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent);
    border-radius: 50%;
    pointer-events: none;
}
.container{
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
}
.content-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .text-content .title {
        font-size: 1.8rem;
    }
}

.text-content .title {
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 32px;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
} 
.text-content p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.8;
  font-weight: 500;
}
.quote-block {
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, var(--accent-light), rgba(14, 165, 233, 0.05));
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.quote-block::before {
    content: '\"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.15;
}

.quote-block:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-dark);
}

.quote-block blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}

.quote-block cite {
  display: block;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 600;
  font-style: normal;
}
.image-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
/* @media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .text-content .title {
    font-size: 2rem;
  }
} */
.services {
  padding: 60px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(37, 99, 235, 0.02) 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.3) 50%, transparent 100%);
}
.container2 {
  max-width: 100vw;
  margin: 0 auto;
  text-align: center;
}
h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  text-align: center;
}
.subtitle {
  font-size: 1.2rem;
  color: #59626b;
  max-width: 700px;
  margin: 0 auto 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Remove stray horizontal line before experience cards */
.portfolio-section .grid {
    border-top: none !important;
}
.portfolio-section hr {
    display: none !important;
}
.portfolio-section .author-info {
    border-top: none !important;
}

.card {
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, #1d4ed8 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.card:hover::before {
    transform: scaleX(1);
}

.icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.05) 100%);
    color: var(--accent);
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.35s ease;
    font-size: 32px;
}

.icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.card:hover .icon {
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
    color: white;
    transform: scale(1.15) rotate(5deg);
}

.card h3 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 700;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 12px;
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-top: 3px solid var(--accent);
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.15;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
  border-top-color: #1d4ed8;
}

.quote-icon {
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 20px;
}

.testimonial-text {
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 30px;

  font-size: 1rem;
  font-weight: 400;
}
.section-title{
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-subtitle{
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  font-weight: 500;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

.author-info {
  display: flex;
  align-items: center;
  border-top: 1px solid #f3f4f6;
  padding-top: 15px;
  gap: 15px;
}

.author-info img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: #111827;
  margin-bottom: 2px;
}

.author-role {
  font-size: 0.9rem;
  color: #6b7280;
}

.author-project {
  font-size: 0.8rem;
  color: #059669;
  margin-top: 4px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  justify-content: center;
}

.video-section .section-title {
    display: block;
    margin-bottom: 1rem;
}

.video-section .section-desc {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: #6b7280;
    font-size: 1rem;

    gap: 1.75rem;
    align-items: stretch;
}

/* Video Card */
.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    background: #000;
    min-height: 260px;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay over the thumbnail */
.video-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    transition: background 0.3s ease;
}

.video-card:hover .overlay {
    background: rgba(0,0,0,0.5);
}

/* Play Button */
.video-card .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--accent);
    color: #ffffff;
    font-size: 2.2rem;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.video-card:hover .play-btn {
    background-color: var(--accent-dark);
    transform: translate(-50%, -50%) scale(1.08);
}

/* Text overlay at the bottom of card */
.video-card .video-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 22px;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

.video-card .video-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.video-card .video-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Modal */
#videoModal.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

#videoModal .modal-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#videoModal .modal-content iframe {
    width: 100%;
    height: 500px;
    display: block;
    border: none;
}

#videoModal .close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(30, 58, 138, 0.8) 100%);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
    line-height: 1;
    padding: 0;
}

#videoModal .close:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Small screens */
@media (max-width: 768px) {
    #videoModal .modal-content iframe {
        height: 260px;
    }

    .video-card {
        min-height: 220px;
    }

    .video-card .video-text {
        padding: 16px 18px;
    }
}


.timeline {
    position: relative;
    margin-top: 20px;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px
}

.timeline::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: var(--accent-2);
    top: 0;
    bottom: 0;
    border-radius: 6px
}

.timeline-item {
    display: flex;
    gap: 100px;
    align-items: center;
    margin: 40px 0;
    position: relative
}

.timeline-item.left {
    flex-direction: row
}

.timeline-item.right {
    flex-direction: row-reverse
}

.thumb img {
    width: 380px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow)
}

.timeline-content {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 48%
}

.meta {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem
}

.timeline-content h3 {
    margin: 8px 0;
    color: var(--text)
}

.timeline-content p {
    color: var(--muted);
    margin-bottom: 12px
}

.tags span {
    background: var(--accent-2);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    margin-right: 8px;
    font-size: 0.85rem
}
cite{
    display: block;
    margin-top: 12px;
    font-style: normal;
    color: var(--accent);
    font-size: 0.9rem
}


.team {
    padding: 80px 20px;
}

.team-hero {
    /* Kept for element targeting, but its styling is overwritten by the new .team layout */
    padding: 40px 20px 60px;
    text-align: center;
}
.team-grid {
    display: grid;
    /* Adopted minmax from the modern structure */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 26px;
}
.team-card {
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    cursor: pointer;
    padding-bottom: 0;
    border: 1px solid rgba(229, 231, 235, 0.6);
    position: relative;
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0) 0%, rgba(37, 99, 235, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

.team-card:hover {
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
    transform: translateY(-10px);
    border-color: var(--accent);
}

.team-card:hover::after {
    opacity: 1;
}
.team-photo {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.98) contrast(1.05);
}

.team-card:hover .team-photo img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}
.team-card h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--text);
    margin-top: 15px;
    margin-bottom: 6px;
}
.team-card .role {
    font-size: 0.95rem;
    color: var(--accent); /* Using accent color variable */
    font-weight: 500; /* Adjusted for better readability */
    margin-bottom: 20px;
    display: block; /* Ensures it acts like a block element */
}
.team-card.featured .overlay {
    /* Adopted modern overlay style */
    position: absolute;
    inset: 0;
    background-color: rgba(6, 78, 59, 0.9); /* Darker green background */
    color: white;
    opacity: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: opacity 0.3s ease;
    text-align: center;
}

.team-card.featured:hover .overlay {
    opacity: 1;
}

.team-card.featured .overlay p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}
  .contact-hero {
      padding: 40px 20px 80px
  }
h1{
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
}
  .contact-grid {
      display: grid;
      grid-template-columns: auto;
      /* gap: 28px; */
      align-items: start;
      margin-top: 18px
  }
  .contact-form {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
      border: 1px solid rgba(229, 231, 235, 0.6);
  }

  .contact-form h2 {
      margin: 0 0 12px;
      text-align: center;
      font-size: 2rem;
      color: var(--text);
      font-weight: 800;
  }

  .contact-form .muted {
      color: var(--muted);
      text-align: center;
      font-size: 0.95rem;
      margin-bottom: 30px;
  }

  .contact-form label {
      display: block;
      margin: 20px 0;
  }

  .contact-form label span {
      display: block;
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--text);
      font-size: 0.95rem;
  }

  .contact-form input,
  .contact-form textarea {
      width: 100%;
      padding: 14px 16px;
      border-radius: 8px;
      border: 1.5px solid rgba(229, 231, 235, 0.6);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(243, 244, 246, 0.8));
      color: var(--text);
      font-size: 0.95rem;
      transition: all 0.3s ease;
      font-family: inherit;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
      color: var(--muted);
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
      background: rgba(255, 255, 255, 1);
  }
  .contact-info .card {
      padding: 18px;
      border-radius: 12px;
      background: var(--card);
      box-shadow: var(--shadow);
      margin-top: 15px;
      margin-bottom: 16px;

  }
  .info-list{
    padding-left: 20px;
  }
.site-footer {
    padding: 60px 0 20px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    margin-top: 60px;
    font-weight: 500;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.5) 50%, transparent 100%);
    z-index: 0;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.footer-section {
    text-align: left;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #e0e0e0;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #93c5fd;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-links {
    font-size: 0.9rem;
}

.footer-links a {
    color: #93c5fd;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 15px;

    color: #7dd3fc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .site-footer {
        padding: 40px 0 20px;
    }
}

/* About Section Styles */
.about-sec {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.about-image {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
    transition: all 0.35s ease;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25);
}

.about-image:hover img {
    transform: scale(1.05);
}

.text-content {
    padding: 0;
}

.text-content .title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-content .paragraphs p {
    margin-bottom: 18px;
    line-height: 1.8;
    color: var(--muted);
}

.quote-block {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 58, 138, 0.05));
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    transition: all 0.35s ease;

    border-radius: 8px;
}

.quote-block blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text);
}

.quote-block cite {
    display: block;
    font-size: 0.95rem;
    color: var(--accent);
    font-style: normal;
}

/* About Images Row */
.about-images-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.about-image-small {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-image-small img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Responsive About Section */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .text-content {
        padding: 0;
    }

    .text-content .title {
        font-size: 1.5rem;
    }

    .about-images-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
#popupBox {
  display: none; /* Hidden initially */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup content */
#popupContent {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  width: 80%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: popupFade 0.3s ease-in-out;
}

#popupContent h2 {
  color: green;
  font-size: 24px;
  margin-bottom: 10px;
}

#popupContent p {
  font-size: 18px;
  color: #333;
}

#closePopup {
  background: green;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  margin-top: 20px;
  cursor: pointer;
  font-size: 16px;
}

#closePopup:hover {
  background: darkgreen;
}

/* Gallery Styles */
.album-section {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(30, 58, 138, 0.02) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 58, 138, 0.05));
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(229, 231, 235, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95);
}

.gallery-item:hover {
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
    transform: translateY(-6px);
    border-color: var(--accent);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0) 0%, rgba(37, 99, 235, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-video {
  filter: brightness(0.8);
}

.video-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.video-item {
  background: #1a1a1a;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  gap: 10px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  font-size: 2.5rem;
  animation: scale-in 0.3s ease;
}

.gallery-overlay p {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  padding: 0 10px;
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}

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

.gallery-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: modalSlideIn 0.3s ease-out;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

#galleryCaption {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  margin-top: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-player-modal .gallery-modal-content {
  flex-direction: column;
}

.video-player-modal video {
  margin-top: 0;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(30, 58, 138, 0.8) 100%);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
  line-height: 1;
  padding: 0;
}

.gallery-close:hover {
  background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
  transform: rotate(90deg);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

@keyframes scale-in {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .gallery-modal-content img {
    max-height: 60vh;
  }

  .gallery-close {
    top: 10px;
    right: 10px;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
  }

  #galleryCaption {
    font-size: 0.9rem;
  }
}


@keyframes popupFade {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* For tablets and phones */
/* @media (max-width: 768px) {
  body {
    font-size: 13px;
    padding: 10px;
    
  } 
  .navbar {
    flex-direction: column;
  }
} */