* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
 --primary: #3E0036;     
  --primary-dark: #3E0036; 
  --accent: #caa633;
  --light-bg: #f4f6f5;
  --text-dark: #1f1f1f;
  --card-radius: 16px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.7;
}

main {
  flex: 1;
}

/* ================= TYPOGRAPHY ================= */

h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);;
}

h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 30px;
  color: var(--primary);
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
  font-size: 15px;
}

/* ================= CONTAINER ================= */

.container {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  z-index: 9999; 
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding:  8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header.shrink {
  padding: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.logo img {
  height: 50px;
  transition: 0.3s ease;
}

.main-header.shrink .logo img {
  height: 42px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  position: relative;
  transition: 0.3s ease;
}

.nav-links a::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--accent);
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ================= HERO ================= */

.hero {
  height: 50vh;
  background: #e7e0cb;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 700px;
}

.hero-content p {
  font-size: 18px;
  color: var(--primary);
}

.hero-btn {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 28px;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.hero-btn:hover {
  background: var(--primary);
}

/* ================= CARDS ================= */

.card {
  background: white;
  padding: 30px;
  border-radius: var(--card-radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 
  background var(--transition-smooth),
  transform var(--transition-smooth),
  color var(--transition-fast);
  border: 1px solid rgba(0,0,0,0.03);
  cursor: default;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

/* ================= ABOUT ================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

/* Carousel container */
.about-carousel {
  width: 100%;
  max-width: 420px;     
  height: 500px;        
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;      
  object-position: center 20%; 
  display: none;
}

.about-carousel img.active {
  display: block;
}



.about-carousel img.active {
  display: block;
}

.director-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 15px;
}

/* ================= EXPERTISE PAGE ================= */

body[data-page="expertise"] {
  background: linear-gradient(to bottom, #f8faf9, #eef2f1);
}


body[data-page="expertise"] .expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

body[data-page="expertise"] .card {
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  position: relative;
  overflow: hidden;
}

body[data-page="expertise"] .card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  top: 0;
  left: 0;
  background: linear-gradient(to right, var(--accent), var(--primary));
}

body[data-page="expertise"] .card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 18px;
}

body[data-page="expertise"] .card h3 i {
  font-size: 22px;
  color: var(--accent);
  background: rgba(202,166,51,0.1);
  padding: 12px;
  border-radius: 12px;
  transition: 
  background var(--transition-smooth),
  transform var(--transition-smooth),
  color var(--transition-fast);
}

body[data-page="expertise"] .card:hover h3 i {
  background: var(--accent);
  color: white;
  transform: rotate(-5deg) scale(1.1);
}

body[data-page="expertise"] .card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
}

/* ================= CONTACT ================= */

body[data-page="contact"] {
  background: linear-gradient(to bottom, #f8faf9, #eef2f1);
}

/* Main Contact Card */
.contact-card {
  background: white;
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 35px;
  position: relative;
  overflow: hidden;
}

/* Accent top border */
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--accent), var(--primary));
}

/* Each Row */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  transition: transform 0.3s ease;
}

.contact-row:hover {
  transform: translateX(6px);
}

/* Icon */
.contact-icon {
  min-width: 60px;
  height: 60px;
  background: rgba(202,166,51,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 22px;
  color: var(--accent);
  transition: all 0.3s ease;
}

.contact-row:hover .contact-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.05);
}

/* Text */
.contact-details h3 {
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--primary);
}

.contact-details p {
  margin: 3px 0;
  font-size: 15px;
  color: #555;
}

/* Contact Links */
body[data-page="contact"] .contact-details a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
  position: relative;
}

body[data-page="contact"] .contact-details a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -3px;
  background: var(--accent);
  transition: 0.3s ease;
}

body[data-page="contact"] .contact-details a:hover {
  color: var(--accent);
}

body[data-page="contact"] .contact-details a:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {

  .contact-card {
    padding: 30px;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-icon {
    margin-bottom: 10px;
  }
}

/* ================= FOOTER ================= */

.main-footer {
  background: var(--primary);
  color: white;
  padding: 35px 0;
  margin-top: auto;
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-col i {
  margin-right: 8px;
  color: var(--accent);
}

.main-footer h3 {
  color: var(--accent);
  margin-bottom: 8px;
}

/* Footer Contact Links */

.contact-info a {
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-info a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-info i {
  margin-right: 8px;
  color: var(--accent);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-carousel img {
    height: 350px;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 10001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: 0.3s ease;
}

@media (max-width: 900px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -1000px;
    width: 260px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 100px 30px;
    gap: 25px;
    transition: 0.3s ease;
    z-index: 10000;
    box-shadow: 10px 0 40px rgba(0,0,0,0.08);
  }

  .nav-links.active {
    left: 0;
  }

}


/* ================= TIMELINE ================= */

/* Timeline container */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
  padding: 40px 0;
}

/* Glowing vertical line */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(202,166,51,0.4);
}

/* Timeline item */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0px 60px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.timeline-item:nth-child(odd) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(even) {
  animation-delay: 0.4s;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

/* Circle marker */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 50px;
  width: 20px;
  height: 20px;
  background: white;
  border: 4px solid var(--accent);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 15px rgba(202,166,51,0.5);
}

.timeline-item.left::before {
  right: -15px;
}

.timeline-item.right::before {
  left: -15px;
}

/* Card */
.timeline-content {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
  transition: var(--transition-smooth);
  position: relative;
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 80px rgba(0,0,0,0.12);
}

/* Year Badge */
.year-badge {
  position: absolute;
  top: -18px;
  right: 30px;
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(202,166,51,0.4);
}

.timeline-item.left .year-badge {
  right: auto;
  left: 30px;
}

/* Text styling */
.timeline-content h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.timeline-content p {
  font-size: 14px;
  color: #555;
  margin-bottom:0
}

/* Animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {

  .timeline::before {
    left: 25px;
  }

  .timeline-item.right::before {
    left: 16px;
}

  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 20px;
    left: 0 !important;
    text-align: left;
  }

  .timeline-item::before {
    left: 16px;
  }

  .year-badge {
    left: auto !important;
    right: 20px;
  }
}

/* Responsive */
@media (max-width: 1400px) {

  .timeline::before {
    left: 25px;
  }

  .timeline-item.right::before {
    left: 16px;
}
}


.copyright {
  text-align: center;
  padding-top: 15px;
  color: #fff;
  font-size: 0.9rem;

  a {
    color: var(--accent);
  }
}

/* ================= FOOTER GLOW LOGO ================= */

.glow-logo {
  position: absolute;
  top: 25px;
  left: 50%;
  margin: 30px 0;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SVG Styling */
.glow-logo svg {
  width: 80px;
  transition: 0.4s ease-in-out;
  filter: drop-shadow(0 0 5px #fff)
          drop-shadow(0 0 10px #ff00cc)
          drop-shadow(0 0 20px #ff00cc);
  animation: footerGlow 3s ease-in-out infinite;
  border-radius: 20px;
}

/* Soft Glow Pulse */
@keyframes footerGlow {
  0% {
    filter: drop-shadow(0 0 5px #fff)
            drop-shadow(0 0 10px #ff00cc)
            drop-shadow(0 0 20px #ff00cc);
  }
  50% {
    filter: drop-shadow(0 0 15px #fff)
            drop-shadow(0 0 25px #ff00cc)
            drop-shadow(0 0 40px #ff00cc);
  }
  100% {
    filter: drop-shadow(0 0 5px #fff)
            drop-shadow(0 0 10px #ff00cc)
            drop-shadow(0 0 20px #ff00cc);
  }
}

/* Hover Boost */
.glow-logo svg:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px #fff)
          drop-shadow(0 0 40px #ff00cc)
          drop-shadow(0 0 60px #ff00cc);
}
@media (max-width: 900px) {

  .glow-logo {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 25px auto;
  }

  .glow-logo svg {
    width: 85px;
  }

}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s ease;
}

.menu-toggle.menu-open span {
  background: var(--primary);
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

