/* ==========================================
   SELARAS AGENCY - MAIN STYLESHEET
   ========================================== */

/* CSS Variables */
:root {
  --primary-navy: #0A2647;
  --secondary-gold: #D4AF37;
  --accent-teal: #2C7DA0;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --warning-orange: #F77F00;
  --text-dark: #333333;
  --text-light: #666666;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 2rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-navy);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--secondary-gold));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-title h2 {
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn-primary,
.btn-secondary,
.btn-outline {
  padding: 16px 36px;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  display: inline-block;
  text-align: center;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--primary-navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
  background: #C19B2E;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

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

.btn-download {
  background: var(--accent-teal);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.btn-download:hover {
  background: var(--primary-navy);
  transform: translateY(-2px);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.98);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.logo span {
  color: var(--secondary-gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--accent-teal);
}

.nav-menu .btn-primary {
  padding: 10px 24px;
  font-size: 0.95rem;
  color: var(--white) !important;
  background: var(--primary-navy);
}

.nav-menu .btn-primary:hover {
  color: var(--white) !important;
  background: var(--accent-teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-teal) 100%);
  color: var(--white);
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  opacity: 0.3;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 1rem;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.trust-badges span:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ==========================================
   SERVICE CARDS
   ========================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--secondary-gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-gold);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-teal);
  transition: transform 0.3s ease;
}

.service-card:hover .icon {
  transform: scale(1.1);
}

.service-card h3 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
  min-height: 60px;
}

.service-card .btn-outline {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ==========================================
   STATISTICS SECTION
   ========================================== */

.stats-section {
  background: var(--light-gray);
  padding: 60px 0;
}

.success-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 3px solid var(--accent-teal);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-teal), var(--primary-navy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card p {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--secondary-gold);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.client-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 3px solid var(--secondary-gold);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.stars {
  color: var(--secondary-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.client-name {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.client-details {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */

.faq-accordion {
  max-width: 800px;
  margin: 2rem auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: var(--white);
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-navy);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question .icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-teal);
  transition: var(--transition);
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================
   TIMELINE / PROCESS
   ========================================== */

.process-timeline {
  margin: 3rem 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}

.timeline-item {
  text-align: center;
  position: relative;
}

.timeline-item .step {
  width: 60px;
  height: 60px;
  background: var(--accent-teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent-teal);
}

.timeline-item h4 {
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.95rem;
}

/* ==========================================
   FORMS
   ========================================== */

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ==========================================
   CONTACT INFO CARDS
   ========================================== */

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.info-card .icon {
  font-size: 2.5rem;
  color: var(--accent-teal);
  margin-bottom: 1rem;
}

.info-card h3 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.info-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================
   TABLES
   ========================================== */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.comparison-table thead {
  background: var(--primary-navy);
  color: var(--white);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.comparison-table tbody tr:hover {
  background: var(--light-gray);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================
   SERVICE DETAIL SECTIONS
   ========================================== */

.service-detail {
  max-width: 900px;
  margin: 0 auto;
}

.eligibility-section,
.documents-section {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 2rem 0;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
  color: var(--text-light);
}

.checklist li:last-child {
  border-bottom: none;
}

.documents-section ul {
  list-style: none;
  padding: 0;
}

.documents-section ul li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  color: var(--text-light);
}

.documents-section ul li::before {
  content: '📄';
  position: absolute;
  left: 0;
}

/* ==========================================
   PRICING SECTION
   ========================================== */

.pricing-section {
  margin: 3rem 0;
}

.pricing-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  border: 3px solid var(--secondary-gold);
}

.pricing-card h4 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin: 1rem 0;
  font-family: var(--font-heading);
}

.package-includes {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: 2rem auto;
}

.package-includes li {
  padding: 0.75rem 0;
  color: var(--text-light);
  border-bottom: 1px solid #e0e0e0;
}

.package-includes li:last-child {
  border-bottom: none;
}

.pricing-card .btn-primary {
  margin-top: 1.5rem;
  padding: 16px 48px;
}

.success-rate {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin: 2rem 0;
}

.success-rate h3 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.success-rate p {
  color: var(--text-dark);
  font-size: 1.1rem;
}

.success-rate strong {
  color: var(--accent-teal);
  font-size: 1.3rem;
}

/* ==========================================
   NEWS / UPDATES CARDS
   ========================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.news-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-teal);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.news-card:hover::before {
  transform: scaleY(1);
}

.news-card .date {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-teal), var(--primary-navy));
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.news-card h3 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.news-card p {
  margin-bottom: 1rem;
}

.read-more {
  color: var(--accent-teal);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  gap: 0.75rem;
}

/* ==========================================
   MAP CONTAINER
   ========================================== */

.map-container {
  margin: 3rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}

/* ==========================================
   CREDENTIALS / BADGES
   ========================================== */

.credentials {
  text-align: center;
  margin: 3rem 0;
  padding: 3rem;
  background: var(--light-gray);
  border-radius: var(--border-radius);
}

.credentials h3 {
  color: var(--primary-navy);
  margin-bottom: 2rem;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.badges img {
  height: 80px;
  width: auto;
  filter: grayscale(20%);
  transition: var(--transition);
}

.badges img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: var(--primary-navy);
  color: var(--white);
  padding: 4rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--secondary-gold);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
  font-weight: 600;
  font-size: 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-family: Arial, sans-serif;
}

.social-links a:hover {
  background: var(--secondary-gold);
  transform: translateY(-3px) scale(1.1);
  border-color: var(--secondary-gold);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}
