/* ===== ABOUT PAGE SPECIFIC STYLES ===== */

/* About Detail Section */
.about-detail-section {
  padding: 80px 5%;
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
  width: 100%;
  box-sizing: border-box;
  animation: fadeIn 0.8s ease;
  transition: all 0.6s ease;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  transition: all 0.3s ease;
}

/* About Content Cards */
.about-content {
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px 0;
}

.about-content:hover {
  transform: translateY(-5px);
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0b1a3a;
  position: relative;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00c6ff, #0056b3);
  border-radius: 2px;
}

.about-content p,
.about-list li {
  font-size: 16.5px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
  margin-top: 25px;
}

.about-content p {
  margin-top: 20px;
}

/* About List */
.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 20px;
}

.about-list li {
  padding: 15px 0;
  padding-left: 30px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #444;
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 0;
  margin-top: 0;
}

.about-list li:hover {
  transform: translateX(8px);
  color: #0b1a3a;
  padding-left: 40px;
}

.about-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #00c6ff;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
}

.about-list li:hover:before {
  color: #0056b3;
  transform: translateX(5px);
  font-size: 20px;
}

/* Partners Section */
.partners-section {
  background: linear-gradient(135deg, #f7f9fc 0%, #e8f4f8 100%);
  padding: 80px 5%;
  animation: fadeIn 0.8s ease;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  transition: all 0.6s ease;
}

.partners-section h2 {
  text-align: center;
  font-size: 36px;
  color: #0b1a3a;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  width: 100%;
  font-weight: 600;
  animation: slideDown 0.6s ease;
  transition: all 0.3s ease;
}

.partners-section h2:hover {
  color: #00c6ff;
}

.partners-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00c6ff, #0056b3);
  border-radius: 2px;
}

.partners-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 60px;
  margin-top: 35px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.6s ease;
}

.partners-grid > :nth-child(1) {
  animation: slideUp 0.6s ease 0.1s both;
}

.partners-grid > :nth-child(2) {
  animation: slideUp 0.6s ease 0.2s both;
}

.partner-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideUp 0.6s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 198, 255, 0.1);
}

.partner-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 198, 255, 0.3);
}

.partner-image {
  width: 100%;
  height: 450px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
  background: #f5f5f5;
}

.partner-card:hover .partner-image {
  transform: scale(1.05);
}

.partner-info {
  padding: 35px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  transition: all 0.3s ease;
}

.partner-card:hover .partner-info {
  background: linear-gradient(135deg, rgba(0, 198, 255, 0.02) 0%, rgba(0, 86, 179, 0.02) 100%);
}

.partner-info h3 {
  font-size: 24px;
  color: #0b1a3a;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.partner-card:hover .partner-info h3 {
  color: #00c6ff;
}

.partner-designation {
  font-size: 14px;
  color: #00c6ff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.partner-card:hover .partner-designation {
  letter-spacing: 1px;
}

.partner-bio {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin: 0;
  transition: all 0.3s ease;
}

/* Container for consistent max-width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ===== FOOTER STYLES ===== */
.site-footer-main {
  background: linear-gradient(135deg, #0b1a3a 0%, #16213e 100%);
  color: #fff;
  padding: 60px 10%;
  margin-top: 40px;
  animation: fadeIn 0.8s ease;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 40px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.8s ease;
}

.footer-brand p {
  color: #b0b8c4;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 15px;
}

.footer-logo img {
  max-width: 120px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #00c6ff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b0b8c4;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00c6ff;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #00c6ff;
}

.footer-links a:hover::before {
  width: 100%;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-item strong {
  font-size: 14px;
  color: #00c6ff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.contact-item p {
  color: #b0b8c4;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.contact-link {
  color: #00c6ff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  word-break: break-word;
}

.contact-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 198, 255, 0.2);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #b0b8c4;
  font-size: 14px;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  color: #b0b8c4;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.footer-legal a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00c6ff;
  transition: width 0.3s ease;
}

.footer-legal a:hover {
  color: #00c6ff;
}

.footer-legal a:hover::before {
  width: 100%;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== PAGE HERO SECTION ===== */
.page-hero {
  height: 90vh;
  background-image: url("../assets/images/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 85px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0)
  );
  z-index: 1;
}

.page-hero .container {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  max-width: 550px;
  padding: 0;
  animation: fadeInLeft 0.8s ease 0.2s both;
}

.page-hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #fff;
  animation: slideInDown 0.8s ease;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.page-hero p {
  font-size: 18px;
  color: #fff;
  margin-top: 15px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.3s both;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px) translateY(-50%);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ADDITIONAL ANIMATIONS ===== */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background: linear-gradient(135deg, #0072ff, #00c6ff);
  }
  50% {
    background: linear-gradient(135deg, #0056b3, #00a8d8);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
  }

  .page-hero .container {
    left: 20px;
    max-width: 90%;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .about-detail-section {
    padding: 50px 5%;
  }

  .about-container {
    padding: 0 15px;
  }

  .about-content {
    margin-bottom: 40px;
  }

  .about-content h2 {
    font-size: 24px;
  }

  .about-content p,
  .about-list li {
    font-size: 15px;
  }

  .partners-section {
    padding: 50px 5%;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .partner-image {
    height: 350px;
  }

  .partner-info {
    padding: 25px;
  }

  .partner-info h3 {
    font-size: 20px;
  }

  .partner-bio {
    font-size: 14px;
  }

  .site-footer-main {
    padding: 50px 5%;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-section {
    animation: fadeInUp 0.6s ease;
  }
}

@media (max-width: 480px) {
  .page-hero {
    height: 70vh;
  }

  .page-hero .container {
    left: 15px;
    max-width: 90%;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero p {
    font-size: 14px;
    margin-top: 10px;
  }

  .about-detail-section {
    padding: 30px 4%;
  }

  .about-content h2 {
    font-size: 20px;
  }

  .about-content p,
  .about-list li {
    font-size: 14px;
    line-height: 1.6;
  }

  .partners-section {
    padding: 30px 4%;
  }

  .partners-section h2 {
    font-size: 28px;
  }

  .partners-subtitle {
    font-size: 14px;
  }

  .partner-image {
    height: 280px;
  }

  .partner-info {
    padding: 20px;
  }

  .partner-info h3 {
    font-size: 18px;
  }

  .partner-bio {
    font-size: 13px;
    line-height: 1.6;
  }

  .container {
    padding: 0 10px;
  }

  .site-footer-main {
    padding: 30px 4%;
    margin-top: 30px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }

  .footer-section h4 {
    font-size: 14px;
  }

  .footer-links a,
  .footer-legal a,
  .contact-link {
    font-size: 13px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .footer-legal {
    gap: 15px;
  }
}
