/* Hero Section - Exact same as home.css */
/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  text-align: center;
  margin-top: 70px;
  background: url('../assets/home_page.png') center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-color: #000000;
}

/* Hero section: image top border touches navbar bottom border */
@media (max-width: 768px) {
  .hero {
    margin-top: 70px !important; /* Start exactly where navbar ends */
    height: calc(100vw * 0.75) !important; /* Same image dimensions */
    min-height: calc(100vw * 0.75) !important;
    max-height: calc(100vh - 70px) !important;
    background-position: center top !important; /* Image top touches navbar bottom */
    background-size: contain !important; /* Smaller image size, full image visible */
    background-attachment: scroll !important; /* Scroll with content, not fixed */ /* Desktop-like scroll effect */
    background-color: #000000;
    padding: 0 !important; /* No padding so image top touches navbar */
    overflow: visible !important;
    position: relative !important;
  }
  
  .hero-content {
    max-width: 90%;
    margin: 0 auto;
    padding-top: 8px !important;
    padding-bottom: 3px !important;
    padding: 0 15px;
    transform: none;
  }
  
  .hero-title {
    font-size: 1.2rem !important; /* Further reduced */
    margin-bottom: 6px !important;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 0.7rem !important; /* Further reduced */
    margin-bottom: 10px !important;
    line-height: 1.3;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 6px !important; /* Further reduced */
    width: 100%;
    max-width: 200px !important; /* Further reduced */
    margin: 0 auto;
  }
  
  .hero-buttons .btn {
    width: 100%;
    padding: 8px 14px !important; /* Further reduced */
    font-size: 0.7rem !important; /* Further reduced */
  }
}

@media (max-width: 480px) {
  .hero {
    margin-top: 70px !important; /* Start exactly where navbar ends */
    height: calc(100vw * 0.75) !important; /* Same image dimensions */
    min-height: calc(100vw * 0.75) !important;
    max-height: calc(100vh - 70px) !important;
    background-size: contain !important; /* Smaller image size, full image visible */
    background-position: center top !important; /* Image top touches navbar bottom */
    background-attachment: scroll !important; /* Scroll with content, not fixed */
    background-color: #000000;
    padding: 0 !important; /* No padding so image top touches navbar */
    overflow: visible !important;
    position: relative !important;
  }
  
  .hero-content {
    padding-top: 6px !important;
    padding-bottom: 2px !important;
  }
  
  .hero-title {
    font-size: 1rem !important; /* Further reduced */
    margin-bottom: 5px !important;
  }
  
  .hero-subtitle {
    font-size: 0.65rem !important; /* Further reduced */
    margin-bottom: 8px !important;
  }
  
  .hero-buttons {
    max-width: 180px !important; /* Further reduced */
    gap: 5px !important; /* Further reduced */
  }
  
  .hero-buttons .btn {
    padding: 7px 12px !important; /* Further reduced */
    font-size: 0.65rem !important; /* Further reduced */
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--accent);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--primary);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
}
/* Mission Section */
.mission-section {
  padding: 120px 0;
  background-color: var(--primary);
  position: relative;
}

.mission-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/texture.png') center/cover;
  opacity: 0.05;
  pointer-events: none;
}

.mission-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 60px 40px;
  background-color: #111111;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.mission-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: var(--gold);
  font-size: 2rem;
}

.mission-card h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent);
  position: relative;
}

.mission-card h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--gold);
  margin: 20px auto;
}

.mission-statement {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--secondary);
}

.signature {
  margin-top: 40px;
}

.signature img {
  height: 50px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

.signature p {
  font-style: italic;
  color: var(--secondary);
}

/* History Section */
.history-section {
  padding: 120px 0;
  background-color: #111111;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--secondary);
  max-width: 600px;
  margin: 0 auto;
}

.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: rgba(212, 175, 55, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.timeline-year {
  width: 100px;
  height: 100px;
  background-color: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin: 0 30px;
}

.timeline-content {
  flex: 1;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.timeline-content p {
  color: var(--secondary);
  line-height: 1.8;
}

/* Excellence Section */
.excellence-section {
  padding: 120px 0;
  background-color: var(--primary);
  position: relative;
}

.excellence-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/diagonal-lines.png') center/cover;
  opacity: 0.03;
  pointer-events: none;
}

.excellence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.excellence-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.gold-border {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--gold);
  pointer-events: none;
  z-index: 1;
}

.excellence-content h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--accent);
  position: relative;
}

.excellence-content h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--gold);
  margin: 20px 0;
}

.excellence-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.feature {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.feature-text p {
  color: var(--secondary);
  line-height: 1.8;
}

/* Team Section */
.team-section {
  padding: 120px 0;
  background-color: #111111;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.team-member {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.member-photo {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
  transform: scale(1.05);
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: all 0.3s ease;
}

.team-member:hover .member-overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.member-info {
  padding: 30px;
}

.member-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--accent);
}

.position {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.bio {
  color: var(--secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.expertise span {
  display: inline-block;
  padding: 5px 15px;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Partners Section */
.partners-section {
  padding: 120px 0;
  background-color: var(--primary);
}

.partners-carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 60px;
}

.partner-logo {
  flex: 0 0 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) brightness(0.5);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%) brightness(1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('../assets/about-cta-bg.jpg') center/cover no-repeat;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 60px;
  background-color: rgba(17, 17, 17, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(5px);
}

.cta-card h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.cta-card p {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
/* Square off hero buttons (About Us / Our Services) */
.hero-buttons .btn,
.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  border-radius: 12px;   /* try 8–12px; set to 0px for perfectly square */
}


.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .excellence-grid {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .about-hero {
    min-height: 700px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .excellence-grid {
    grid-template-columns: 1fr;
  }
  
  .excellence-image {
    order: -1;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .timeline-year {
    margin-bottom: 20px;
  }
  
  .history-timeline::before {
    left: 50px;
  }
  
  .timeline-content {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .mission-card {
    padding: 40px 20px;
  }
  
  .cta-card {
    padding: 40px 20px;
  }
  
  .member-photo {
    height: 350px;
  }
  
  /* Mobile image fixes for about page */
  .excellence-image .image-frame {
    min-height: 400px;
    height: auto;
  }
  
  .excellence-image .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  
  .signature img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

@media (max-width: 576px) {
  .about-hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .history-timeline::before {
    display: none;
  }
  
  .timeline-item {
    margin-bottom: 40px;
  }
  
  .timeline-year {
    width: 80px;
    height: 80px;
    font-size: 1.2rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-carousel {
    gap: 30px;
  }
  
  .partner-logo {
    flex: 0 0 120px;
  }
}