
/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Merriweather&display=swap');

/* Root Variables */
:root {
  --primary-color: #0d1b2a;    /* Dark Blue */
  --secondary-color: #1b263b;  /* Darker Blue */
  --accent-color: #e0a400;     /* Gold Accent */
  --text-color: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
}

/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--primary-color);
  line-height: 1.6;
}

/* Links */
a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  color: #cf9500;
  text-decoration: underline;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}



/*----------------------------------------------------*/
/*----------------------------------------------------*/
/* Hero Section                                       */
/*----------------------------------------------------*/
/*----------------------------------------------------*/
.hero {
  position: relative;
  height: 100vh;
  color: var(--text-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Background Video */
#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-images {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(13, 27, 42, 0.5),
    rgba(13, 27, 42, 0.8)
  );
}

.hero-logo {
  width: 175px;
  height: 175px;
  margin-bottom: 20px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  text-align: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .cta-button {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-heading);
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
  text-decoration: none;
  border: 2px solid #cf9500;
  background-color: #cf950059;
}


.artwork-image {
  z-index: 1;
  --rotate-degree: 10deg;
}
.certificate-image {
  z-index: 2;
  --rotate-degree: -10deg;
}

.certificate-image,
.artwork-image {
  height: 350px;
  max-height: 350px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  margin-right: 0;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rotate-degree)); }
  50% { transform: translateY(-20px) rotate(var(--rotate-degree)); }
}


@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    height: auto;
    padding: 50px 20px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .certificate-image,
  .artwork-image {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: .9rem;
  }
  .certificate-image,
  .artwork-image {
    height: 200px;
    margin: 5px;
    --rotate-degree: 0deg;
  }
}


/*----------------------------------------------------*/
/*----------------------------------------------------*/
/* Introduction Section                               */
/*----------------------------------------------------*/
/*----------------------------------------------------*/
.intro-section {
  position: relative;
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 4rem 2rem;
  text-align: center;
}

.intro-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro-section p {
  font-size: 1.1rem;
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Certificate Stamp Image */
.intro-section .cert-stamp {
  position: absolute;
  bottom: -190px;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: auto;
  z-index: 2;
}


/*----------------------------------------------------*/
/*----------------------------------------------------*/
/* Artalytics Section                                 */
/*----------------------------------------------------*/
/*----------------------------------------------------*/

/* Section to allow cert stamp to cross boundaries */
.next-section {
  padding-top: 60px;
}

.artalytics-section {
  position: relative;
  z-index: 1;
  display: block; /* Changed from flex to block */
  padding: 4rem 0;
  color: var(--text-color);
  background: url('/assets/backgrounds/bg-1.jpg') no-repeat center center;
  background-size: cover;
  border-top: 2px solid #ffbb0399;
  border-bottom: 2px solid #ffbb0399;
}

.artalytics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 27, 42, 0.7);
  z-index: -1;
}

/* Artalytics Container */
.artalytics-container {
  max-width: 1200px; /* Adjust as needed */
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 2rem; /* Optional padding */
}

/* Artalytics Content Styles */
.artalytics-content {
  flex: 1;
  max-width: 600px;
  padding: 1rem;
}

.artalytics-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.artalytics-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #f0f0f0;
}

.artalytics-content .cta-button {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-heading);
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.artalytics-content .cta-button:hover {
  background-color: #cf9500;
}

/* Artalytics Visual Styles */
.artalytics-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.artalytics-visual img {
  max-width: 75%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.artalytics-visual img:hover {
  transform: scale(1.05);
}


/* Responsive Adjustments */
@media (max-width: 992px) {
  .artalytics-container {
    flex-direction: column;
    text-align: center;
  }
  .artalytics-content,
  .artalytics-visual {
    max-width: 100%;
    padding: 1rem 0;
  }
  .artalytics-visual {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .next-section {
    bottom: -180px;
  }
  .artalytics-container {
    padding-top: 80px;
  }
}


/*----------------------------------------------------*/
/*----------------------------------------------------*/
/* Features Section                                   */
/*----------------------------------------------------*/
/*----------------------------------------------------*/

.features-section {
  background: url('../assets/backgrounds/bg-2.jpg') no-repeat center center;
  background-size: cover;
  padding: 4rem 2rem;
  border-top: 2px solid #ffbb0399;
  border-bottom: 2px solid #ffbb0399;
  position: relative;
  z-index: 1;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(53, 17, 49, 0.8); /* Dark overlay */
  z-index: -1;
}

.features-section h2 {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  margin-top: 40px;
}

/* Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Box */
.feature-box {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.feature-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.feature-box p {
  font-size: 1rem;
  color: #e0e0e0;
}

.feature-icon {
  font-size: 3rem;
  color: #ffbb03;
  margin-bottom: 1rem;
}


/* Responsive Adjustments */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}


/*----------------------------------------------------*/
/*----------------------------------------------------*/
/* Certificates Carousel Section                      */
/*----------------------------------------------------*/
/*----------------------------------------------------*/

.certificates-section {
  padding: 4rem 2rem;
  background: url('assets/backgrounds/bg-3.jpg') no-repeat center center;
  background-size: cover;
  border-top: 2px solid #ffbb0399;
  border-bottom: 2px solid #ffbb0399;
  position: relative;
  z-index: 1;
}

.certificates-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 27, 42, 0.7); /* Adjust as needed */
  z-index: -1;
}

.certificates-section h2 {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff;
}

/* Swiper Container */
.swiper-container {
  width: 100%;
  max-width: 100%;
}

/* Swiper Wrapper */
.swiper-wrapper {
  box-sizing: border-box;
}

/* Swiper Slide */
.swiper-slide {
  flex-shrink: 0;
  width: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Swiper Slide Images */
.swiper-slide img {
  width: auto;
  max-width: 85%; /* Adjust as needed */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.swiper-slide img:hover {
  transform: scale(1.05);
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
}

/* Pagination Dots */
.swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #ffbb03;
  opacity: 1;
}


/*----------------------------------------------------*/
/*----------------------------------------------------*/
/* CTA Section                                        */
/*----------------------------------------------------*/
/*----------------------------------------------------*/

.cta-section {
  background-color: var(--accent-color);
  color: var(--primary-color);
  text-align: center;
  padding: 4rem 2rem;
}

.cta-button i {
  margin-right: 0.5rem;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-section .cta-button {
  background-color: var(--primary-color);
  color: var(--accent-color);
  border-radius: 15px;
  padding: 10px 15px;
}

.cta-section .cta-button:hover {
  background-color: #0b141e;
  color: #e6b800;
}


/*----------------------------------------------------*/
/*----------------------------------------------------*/
/* FAQ Section                                        */
/*----------------------------------------------------*/
/*----------------------------------------------------*/

.faq-section {
  padding: 4rem 2rem;
  background-color: var(--secondary-color);
}
.faq-section h2 {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--primary-color);
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  font-size: 1.2rem;
  color: var(--text-color);
  cursor: pointer;
  position: relative;
  font-family: var(--font-heading);
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-icon {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #1c2b3a;
  padding: 0 1.5rem;
  transition: max-height 0.5s ease, padding 0.5s ease;
}
.faq-answer p {
  color: #adb5bd;
  font-size: 1rem;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 300px; /* Adjust as needed */
  padding: 1rem 1.5rem;
}


/*----------------------------------------------------*/
/*----------------------------------------------------*/
/* Footer                                             */
/*----------------------------------------------------*/
/*----------------------------------------------------*/

.footer {
  background-color: var(--primary-color);
  color: #868e96;
  text-align: center;
  padding: 2rem;
}

.footer p {
  font-size: 0.9rem;
}


