/* =========================================
   1. COLOR PALETTE & VARIABLES
   ========================================= */
:root {
  --tussna-bg: #FAF3EC;
  --tussna-navy: #243146;
  --tussna-deep-navy: #1A2638;
  --tussna-gold-light: #E8D4B2;
  --tussna-gold: #CEA668;
  --tussna-gold-deep: #A68C64;
  --tussna-shadow: #5D5F62;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================
   2. GENERAL STYLES
   ========================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--tussna-bg);
  color: var(--tussna-deep-navy);
  font-family: var(--font-main);
  line-height: 1.6;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   3. HEADER & NAV
   ========================================= */
.site-header {
  background-color: var(--tussna-navy);
  color: var(--tussna-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--tussna-gold);
  text-decoration: none;
    display: flex;       /* This aligns the icon and text */
  align-items: center; /* Centers them vertically */
  gap: 12px;           /* Adds space between the icon and the word "Tussna" */

}

/* Controls the size of your SVG icon */
.nav-icon {
  height: 32px; 
  width: auto;
}
.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-header nav a {
  color: var(--tussna-bg);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.site-header nav a:hover {
  color: var(--tussna-gold);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 3rem;
  color: var(--tussna-deep-navy);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: var(--tussna-navy);
}

/* Buttons */
.btn-primary {
  background-color: var(--tussna-gold);
  color: var(--tussna-deep-navy);
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s ease;
  display: inline-block;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--tussna-navy);
  border: 2px solid var(--tussna-navy);
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
}

.btn-store {
  background-color: var(--tussna-deep-navy);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
}

/* =========================================
   5. APPS SECTION
   ========================================= */
.apps-section {
  padding: 60px 0;
}

.apps-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.app-card {
  background-color: #FFFFFF;
  border: 1px solid var(--tussna-gold-light);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(93, 95, 98, 0.15);
  display: flex;
  gap: 40px;
  padding: 40px;
  margin-bottom: 40px;
  align-items: center;
}

.app-image img {
  max-width: 250px;
  border-radius: 12px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.features-list li {
  margin-bottom: 10px;
  font-weight: 500;
}

.app-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* =========================================
   6. STATS & WHY TUSSNA
   ========================================= */
.stats-section, .why-section {
  padding: 60px 0;
  text-align: center;
}

.stats-section {
  display: flex;
  justify-content: space-around;
  background-color: var(--tussna-navy);
  color: var(--tussna-bg);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 60px;
}

.stats-section h3 {
  font-size: 2.5rem;
  color: var(--tussna-gold);
  margin: 0;
}

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

.benefit {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  border-top: 4px solid var(--tussna-gold);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* =========================================
   7. FOOTER
   ========================================= */
footer {
  background-color: var(--tussna-deep-navy);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 40px 5%;
  margin-top: 60px;
}

.footer-links a {
  color: var(--tussna-gold-light);
  text-decoration: none;
  margin-left: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .app-card {
    flex-direction: column;
    text-align: center;
  }
  .app-buttons {
    flex-direction: column;
  }
  .stats-section {
    flex-direction: column;
    gap: 30px;
  }
  footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

/* =========================================
   8. APP LANDING PAGE STYLES (NCLEX RN)
   ========================================= */

/* App Hero Split Screen */
.app-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  gap: 40px;
}

.app-hero-text {
  flex: 1;
}

.app-hero-text h1 {
  font-size: 3.5rem;
  color: var(--tussna-deep-navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.app-hero-text p {
  font-size: 1.2rem;
  color: var(--tussna-navy);
  margin-bottom: 30px;
}

.app-hero-image {
  flex: 1;
  text-align: right;
}

.app-hero-image img {
  max-width: 320px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(93, 95, 98, 0.2);
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}
.btn-icon {
  font-size: 1.4rem;
}

/* Zig-Zag Features */
.app-features {
  padding: 60px 0;
}
.app-features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 80px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 2rem;
  color: var(--tussna-deep-navy);
  margin-bottom: 15px;
}

.feature-image {
  flex: 1;
  text-align: center;
}

.feature-image img {
  max-width: 280px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(93, 95, 98, 0.15);
}

/* Reviews Section */
.reviews-section {
  background-color: var(--tussna-bg);
  padding: 60px 0;
  text-align: center;
}

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

.review-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
}

.review-card .stars {
  color: var(--tussna-gold);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.review-card p {
  font-style: italic;
  margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

details {
  background-color: #fff;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--tussna-gold-light);
  padding: 15px 20px;
  cursor: pointer;
}

summary {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--tussna-deep-navy);
  list-style: none; /* Hides default arrow in some browsers */
  position: relative;
}

summary::-webkit-details-marker {
  display: none; /* Hides default arrow in Safari */
}

details[open] summary {
  margin-bottom: 15px;
  color: var(--tussna-gold-deep);
}

details p {
  margin: 0;
  color: var(--tussna-navy);
}

/* Final CTA */
.final-cta {
  text-align: center;
  background-color: var(--tussna-navy);
  color: var(--tussna-bg);
  padding: 80px 20px;
  border-radius: 16px;
  margin-bottom: 60px;
}

.final-cta h2 {
  font-size: 2.5rem;
  color: var(--tussna-gold);
  margin-bottom: 15px;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Mobile Responsiveness for App Page */
@media (max-width: 768px) {
  .app-hero, .feature-row, .feature-row.reverse {
    flex-direction: column;
    text-align: center;
  }
  .app-hero-image img, .feature-image img {
    margin-top: 30px;
  }
}