:root {
  --primary: #E53935;
  --dark: #222;
  --light: #f9f9fb;
}
/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: #f9f9fb;
  color: #333;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 70px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo img { height: 55px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links li a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 3px;
  transition: all 0.3s ease;
}

.nav-links li a.active,
.nav-links li a:hover {
  color: #E53935;
  border-bottom: 2px solid #E53935;
}

.btn-quote {
  background: linear-gradient(135deg, #E53935, #c62828);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
  transition: all 0.3s ease;
}
.btn-quote:hover { background: #b71c1c; }

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;

}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.5)),
              url("images/hero.png") no-repeat center/cover;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  background: linear-gradient(135deg, #E53935, #c62828);
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover { background: #b71c1c; }

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-outline:hover {
  background: #fff;
  color: #E53935;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 1px,
    transparent 1px,
    transparent 20px
  );
  pointer-events: none;
}

/* =========================
   ABOUT SECTION
========================= */
.about {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 100px 70px;
}

.about-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.about-text p {
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

/* About Stats */
.about .stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background-color: rgba(229, 57, 53, 0.25);
}

.about .stats h3 {
  font-size: 2rem;
  color: #E53935;
}

.about .stats p {
  font-size: 1rem;
  font-weight: 500;
  color: #444;
}

/* About Timeline */
.about-timeline {
  margin: 20px 0;
  list-style: none;
  padding-left: 0;
  border-left: 3px solid #E53935;
}
.about-timeline li {
  position: relative;
  padding-left: 15px;
  margin: 12px 0;
  color: #444;
}
.about-timeline li span { color: #E53935; font-weight: bold; }
.about-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 7px;
  width: 10px;
  height: 10px;
  background: #E53935;
  border-radius: 50%;
}

/* =========================
   SERVICES
========================= */
.services {
  text-align: center;
  padding: 100px 70px;
  background: #f8f9fc;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); }

.service-icon {
  font-size: 30px;
  color: #E53935;
  margin: 0 auto 20px;
}

.service-card h3 { color: #E53935; margin: 15px 0; }

.btn-small {
  font-size: 0.9rem;
  font-weight: 600;
  color: #E4281F;
  text-decoration: none;
  transition: 0.3s;
}
.btn-small:hover {
  color: #fff;
  background: #E4281F;
  padding: 6px 14px;
  border-radius: 6px;
}
/* =========================
   SERVICES PAGE - ACCORDION
========================= */

/* Services Page Header */
.services-page h1 {
  font-size: 2.5rem;
  text-align: center;
  color: #222;
  margin-bottom: 15px;
  font-family: "Exo 2", sans-serif;
}

.services-page .section-intro {
  text-align: center;
  color: #555;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Accordion Container */
.accordion {
  max-width: 900px;
  margin: 0 auto;
}

/* Accordion Item */
.accordion-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Accordion Header/Button */
.accordion-header {
  width: 100%;
  padding: 22px 25px;
  background: #fff;
  border: none;
  text-align: left;
  font-family: "Exo 2", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-header:hover {
  background: #f9f9fb;
  color: #E53935;
}

.accordion-header.active {
  background: linear-gradient(135deg, #fef0f0, #fff);
  color: #E53935;
  border-bottom: 2px solid #E53935;
}

.accordion-header .num {
  color: #E53935;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 15px;
  min-width: 40px;
}

/* Accordion Icon (Plus/Minus) */
.accordion-header::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: #E53935;
  transition: transform 0.3s ease;
  min-width: 20px;
  text-align: right;
}

.accordion-header.active::after {
  content: "−";
  transform: rotate(180deg);
}

/* Accordion Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #fff;
}

.accordion-content.active {
  max-height: 500px; /* Adjust based on content */
}

.accordion-content p {
  padding: 0 25px 25px;
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* Optional: Add bullet points or icons */
.accordion-content ul {
  padding-left: 40px;
  margin: 15px 0;
}

.accordion-content li {
  margin-bottom: 8px;
  color: #555;
  position: relative;
}

.accordion-content li:before {
  content: "•";
  color: #E53935;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: -20px;
}

/* Service Highlights within Accordion */
.service-highlight {
  background: #f8f9fc;
  border-left: 4px solid #E53935;
  padding: 15px 20px;
  margin: 15px 0;
  border-radius: 0 8px 8px 0;
}

.service-highlight h4 {
  color: #E53935;
  margin-bottom: 8px;
  font-family: "Exo 2", sans-serif;
}

/* Technology/Software List */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.tech-tag {
  background: rgba(229, 57, 53, 0.1);
  color: #E53935;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(229, 57, 53, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-page {
    padding: 80px 25px !important;
  }
  
  .services-page h1 {
    font-size: 2rem;
  }
  
  .accordion-header {
    padding: 18px 20px;
    font-size: 1.1rem;
  }
  
  .accordion-content p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
  }
  
  .accordion-header .num {
    min-width: 30px;
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .accordion-header {
    padding: 15px;
    font-size: 1rem;
  }
  
  .accordion-header::after {
    font-size: 1.3rem;
  }
}

/* =========================
   PROJECTS PREVIEW
========================= */
.projects-preview {
  padding: 100px 70px;
  text-align: center;
  background: #fff;
}

.projects-preview h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.projects-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.projects-grid img:hover { transform: scale(1.05); }

/* =========================
   PROJECTS PAGE
========================= */
.projects-page {
  padding: 100px 70px;
  background: #f8f9fc;
}

.projects-page h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #222;
}

.projects-page p.subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

/* Grid layout */
.projects-page .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Project card */
.projects-page .project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-page .project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.projects-page .project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.projects-page .project-content {
  padding: 20px;
}

.projects-page .project-content h3 {
  font-size: 1.3rem;
  color: #E53935;
  margin-bottom: 10px;
}

.projects-page .project-content p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

.projects-page .project-content .btn-small {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  background: #E53935;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.projects-page .project-content .btn-small:hover {
  background: #b71c1c;
}

/* =========================
   STATS
========================= */
.stats {
  padding: 4rem 10%;
  text-align: center;
  background: #fff;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  width: 220px;
  padding: 2rem;
  border-radius: 12px;
  background: #f9f9f9;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.stat-card:hover { transform: translateY(-5px); }

.stat-card h3 {
  font-size: 2.5rem;
  color: #E53935;
}
.stat-card p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
}

/* =========================
   TESTIMONIALS
========================= */
.testimonials {
  padding: 100px 70px;
  text-align: center;
  background: #f8f9fc;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  max-width: 400px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* =========================
   CONTACT
========================= */
.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 100px 70px;
  margin: 80px auto;
  max-width: 1200px;
  color: #fff;
  border-radius: 24px;
  clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
  background: url("images/construction.png") no-repeat center/cover;
}

.contact-left h2 { font-size: 2.2rem; margin-bottom: 15px; }
.contact-left p { margin-bottom: 20px; max-width: 500px; }

.contact-form {
  flex: 1;
  padding: 40px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 18px;
  font-size: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: 0.3s;
}
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #E53935;
  box-shadow: 0 0 8px rgba(229,57,53,0.3);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #E53935;
  box-shadow: 0 0 12px rgba(229,57,53,0.5);
}
.contact-form button {
  background: linear-gradient(135deg, #E53935, #c62828);
  color: #fff;
  border: none;
  padding: 14px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.contact-form button:hover {
  background: linear-gradient(135deg, #c62828, #E53935);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229,57,53,0.4);
}
.form-message {
  display: none;
  color: green;
  margin-top: 10px;
}

/* =========================
   Centered CTA Section
========================= */
.cta-section {
  background: linear-gradient(135deg, #E53935, #c62828);
  color: #fff;
  padding: 70px 40px;
  text-align: center;
  margin: 100px auto;   
  border-radius: 18px;
  max-width: 900px;     
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("pattern.png") no-repeat center/cover;
  opacity: 0.06; /* soft overlay pattern */
}

.cta-section h2 {
  font-size: 2.2rem;
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  display: inline-block;
  background: #fff;
  color: #E53935;
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

.cta-section .btn:hover {
  background: #222;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* =========================
   FOOTER (White Background)
========================= */
.footer {
  background: #fff; 
  color: #222;
  padding: 60px 70px 20px;
  border-top: 1px solid #eee;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Left Section */
.footer-left {
  flex: 1;
  min-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 55px;
  object-fit: contain;
}

.footer-logo h3 {
  color: #222;
  font-weight: bold;
}

.footer-left p {
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border: 1px solid #E53935; 
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #E53935;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: #E53935;
  color: #fff;
}

/* Contact Section */
.footer-contact {
  flex: 1;
  min-width: 280px;
}

.footer-contact h4 {
  color: #222;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-contact p {
  margin: 8px 0;
  color: #444;
}

.footer-contact i {
  color: #E53935;
  margin-right: 8px;
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 15px;
  color: #666;
  font-size: 0.9rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .about, .contact { flex-direction: column; }
  .navbar { padding: 15px 25px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; }
  .hamburger { display: block; }
  .btn-quote { display: none; }
}

@media (max-width: 768px) {
  .contact { padding: 50px 15px; }
  .contact-form { padding: 25px; }
  .contact-form input, .contact-form textarea { padding: 14px; font-size: 14px; }
  .contact-form button { font-size: 15px; padding: 12px; }
}

/* =========================
   PROJECTS PAGE
========================= */
.project-page .services {
  padding: 100px 70px;
  background: #f8f9fc;
  text-align: center;
}

.project-page .services h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #222;
  font-family: "Exo 2", sans-serif;
}

.project-page .services p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.project-page .projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-page .service-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.project-page .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.project-page .service-card img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 15px;
}

.project-page .service-card h3 {
  font-size: 1.3rem;
  color: #E53935;
  margin-bottom: 10px;
}

.project-page .service-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* Lightbox */
.project-page .lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.project-page .lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.project-page .lightbox .close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
.project-page .lightbox .close:hover { color: #E53935;}

/* =========================
   ABOUT PAGE STYLING
========================= */

/* Hero */
.about-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/people.jpg") no-repeat center/cover;
  height: 55vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: #fff;
}

.about-hero h1,
.about-hero p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.about-hero h1 {
  font-size: 3rem;
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  animation-delay: 0.3s;
}

.about-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  animation-delay: 0.6s;
}

/* Fade-in animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Intro */
.about-page .about-intro .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 100px 70px;
}

.about-page .about-intro .about-text {
  flex: 1;
}

.about-page .about-intro h2 {
  font-size: 2rem;
  font-family: "Exo 2", sans-serif;
  margin-bottom: 20px;
  color: #222;
}

.about-page .about-intro p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.about-page .about-intro .about-img {
  flex: 1;
}

.about-page .about-intro .about-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-page .about-intro .about-img img:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* Mission & Vision */
.about-page .about-mission .container {
  display: flex;
  gap: 30px;
  padding: 80px 70px;
  flex-wrap: wrap;
}

.about-page .mission-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-page .mission-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.about-page .mission-card i {
  font-size: 40px;
  color: #E53935;
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-page .mission-card:hover i {
  transform: rotate(15deg) scale(1.2);
  color: #c62828;
}

.about-page .mission-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-family: "Exo 2", sans-serif;
  color: #222;
}

.about-page .mission-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Competencies */
.about-page .about-competencies {
  text-align: center;
  padding: 100px 70px;
  background: #f8f9fc;
}

.about-page .about-competencies h2 {
  font-size: 2rem;
  font-family: "Exo 2", sans-serif;
  margin-bottom: 40px;
  color: #222;
}

.about-page .competency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.about-page .competency-card {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-page .competency-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.about-page .competency-card i {
  font-size: 36px;
  color: #E53935;
  margin-bottom: 12px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-page .competency-card:hover i {
  transform: rotate(15deg) scale(1.2);
  color: #c62828;
}

/* Timeline */
.about-page .about-timeline {
  padding: 100px 70px;
  background: #fff;
  text-align: center;
}

.about-page .about-timeline h2 {
  font-size: 2rem;
  font-family: "Exo 2", sans-serif;
  margin-bottom: 40px;
}

.about-page .timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-left: 3px solid #E53935;
  padding-left: 25px;
}

.about-page .timeline-item {
  margin-bottom: 40px;
  position: relative;
  text-align: left;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease-out;
}

.about-page .timeline-item.active {
  opacity: 1;
  transform: translateX(0);
}

.about-page .timeline-dot {
  position: absolute;
  left: -11px;
  top: 5px;
  width: 18px;
  height: 18px;
  background: #E53935;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 8px rgba(229, 57, 53, 0.5);
}

.about-page .timeline-content {
  background: #f8f9fc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-page .timeline-content:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.about-page .timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #E53935;
}

/* Team */
.about-page .about-team {
  padding: 100px 70px;
  background: #f9f9fb;
  text-align: center;
}

.about-page .about-team h2 {
  font-size: 2.2rem;
  font-family: "Exo 2", sans-serif;
  margin-bottom: 12px;
  color: #222;
}

.about-page .about-team .subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.about-page .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.about-page .team-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.about-page .team-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.about-page .team-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 4px solid #E53935;
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-page .team-img:hover {
  transform: scale(1.1) rotate(-3deg);
  border-color: #c62828;
}

.about-page .team-card h3 {
  color: #E53935;
  margin-bottom: 5px;
}

.about-page .position {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
  display: block;
}

/* Technology */
.about-page .about-tech {
  padding: 100px 70px;
  background: #fff;
}

.about-page .tech-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.about-page .tech-text {
  flex: 1;
  min-width: 280px;
}

.about-page .tech-text h2 {
  font-size: 2rem;
  font-family: "Exo 2", sans-serif;
  margin-bottom: 20px;
  color: #222;
}

.about-page .tech-text p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

.about-page .tech-list {
  list-style: none;
  padding: 0;
}

.about-page .tech-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-page .tech-list li:hover {
  color: #E53935;
  transform: translateX(5px);
  cursor: pointer;
}

.about-page .tech-list i {
  color: #E53935;
}

.about-page .tech-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-page .tech-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.about-page .tech-image img:hover {
  transform: scale(1.05);
}

/* CTA */
.about-page .about-cta {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #E53935, #c62828);
  color: #fff;
  margin: 100px auto 0;
  border-radius: 16px;
  max-width: 900px;
  position: relative;
  overflow: hidden;
}

.about-page .about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/pattern.png") no-repeat center/cover;
  opacity: 0.08;
}

.about-page .about-cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.about-page .about-cta .btn {
  background: #fff;
  color: #E53935;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.about-page .about-cta .btn:hover {
  background: #222;
  color: #fff;
}
@media (max-width: 768px) {
  section, .about, .services, .projects-preview {
    padding: 60px 25px;
  }
}
/* =========================
   TIMELINE FIXES
========================= */

/* Timeline Section */
.about-page .about-timeline {
  padding: 100px 70px;
  background: #fff;
  text-align: center;
}

.about-page .about-timeline h2 {
  font-size: 2rem;
  font-family: "Exo 2", sans-serif;
  margin-bottom: 40px;
  color: #222;
}

/* Timeline Container */
.about-page .timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 25px;
}

/* Vertical Line */
.about-page .timeline-container::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #E53935;
}

/* Timeline Items */
.about-page .timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
  text-align: left;
}

/* Timeline Dot */
.about-page .timeline-dot {
  position: absolute;
  left: 12px;
  top: 5px;
  width: 18px;
  height: 18px;
  background: #E53935;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 8px rgba(229, 57, 53, 0.5);
  z-index: 2;
}

/* Timeline Content */
.about-page .timeline-content {
  background: #f8f9fc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-page .timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.about-page .timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #E53935;
}

.about-page .timeline-content p {
  color: #555;
}

/* Animation Classes */
.animate-fade-left {
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Stagger animations for timeline items */
.about-page .timeline-item:nth-child(1) { animation-delay: 0.2s; }
.about-page .timeline-item:nth-child(2) { animation-delay: 0.4s; }
.about-page .timeline-item:nth-child(3) { animation-delay: 0.6s; }
.about-page .timeline-item:nth-child(4) { animation-delay: 0.8s; }

/* Animation Classes (if not already defined) */
.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  animation: slideInRight 0.8s ease forwards;
}

.animate-zoom {
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
}
/* =========================
   SERVICES PAGE ACCORDION
========================= */

.services-page {
  padding: 100px 70px;
}

.services-page h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 15px;
  color: #222;
}

.services-page .section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Accordion Container */
.accordion {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

/* Accordion Item */
.accordion-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}

/* Accordion Header */
.accordion-header {
  width: 100%;
  padding: 22px 25px;
  background: #fff;
  border: none;
  text-align: left;
  font-family: "Exo 2", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-header:hover {
  background: #f9f9fb;
}

.accordion-header.active {
  background: #f9f9fb;
  color: #E53935;
}

.accordion-header .num {
  color: #E53935;
  font-weight: 700;
  margin-right: 15px;
  min-width: 35px;
}

.accordion-title {
  flex: 1;
  text-align: left;
}

/* Plus/Minus Icon */
.accordion-header::after {
  content: "+";
  font-size: 1.8rem;
  font-weight: 300;
  color: #E53935;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.accordion-header.active::after {
  content: "−";
  transform: rotate(180deg);
}

/* Accordion Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.5s ease;
}

.accordion-content.active {
  max-height: 1000px; /* Large enough for content */
}

.accordion-content p {
  padding: 0 25px 25px;
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .services-page {
    padding: 80px 25px !important;
  }
  
  .accordion-header {
    padding: 18px 20px;
    font-size: 1.1rem;
  }
  
  .accordion-header .num {
    margin-right: 10px;
  }
}
/* SIMPLE TIMELINE - GUARANTEED */
.simple-timeline-section {
  padding: 80px 70px;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 50px;
  font-family: "Exo 2", sans-serif;
}

.timeline-simple {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-row {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding-left: 50px;
  position: relative;
}

.timeline-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: -40px;
  width: 3px;
  background: #E53935;
}

.timeline-row:last-child::before {
  bottom: 0;
}

.year-circle {
  width: 90px;
  height: 90px;
  background: #E53935;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Exo 2", sans-serif;
  position: absolute;
  left: -45px;
  z-index: 2;
  box-shadow: 0 0 0 6px white;
}

.year-desc {
  background: #f8f9fc;
  padding: 25px 30px;
  border-radius: 12px;
  margin-left: 70px;
  border-left: 4px solid #E53935;
  width: 100%;
}

.year-desc h3 {
  color: #E53935;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.year-desc p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .simple-timeline-section {
    padding: 60px 25px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .timeline-row {
    padding-left: 40px;
  }
  
  .year-circle {
    width: 70px;
    height: 70px;
    font-size: 1.2rem;
    left: -35px;
  }
  
  .year-desc {
    margin-left: 50px;
    padding: 20px;
  }
}
/* =========================
   PROJECTS PAGE
========================= */

.projects-page {
  padding: 100px 70px;
  background: #f8f9fc;
  min-height: 80vh;
}

.projects-header {
  text-align: center;
  margin-bottom: 60px;
}

.projects-header h1 {
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 15px;
  font-family: "Exo 2", sans-serif;
}

.projects-subtitle {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* Project Card */
.project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Project Image */
.project-image {
  height: 240px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

/* Project Content */
.project-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 15px;
  font-family: "Exo 2", sans-serif;
  line-height: 1.4;
}

.project-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Project Button */
.project-btn {
  display: inline-block;
  background: linear-gradient(135deg, #E53935, #c62828);
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: fit-content;
}

.project-btn:hover {
  background: linear-gradient(135deg, #c62828, #E53935);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.3);
}

/* Project Filters (Optional) */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 25px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #E53935;
  color: white;
  border-color: #E53935;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  background: rgba(229, 57, 53, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox .close:hover {
  background: #E53935;
  transform: rotate(90deg);
}

/* Project Stats */
.project-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.stat-box {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 10px;
  font-family: "Exo 2", sans-serif;
}

.stat-label {
  color: #555;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .projects-page {
    padding: 80px 25px;
  }
  
  .projects-header h1 {
    font-size: 2.2rem;
  }
  
  .projects-subtitle {
    font-size: 1.1rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .project-image {
    height: 200px;
  }
  
  .project-content {
    padding: 20px;
  }
  
  .lightbox .close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-image {
    height: 180px;
  }
  
  .project-content h3 {
    font-size: 1.2rem;
  }
}