/* ===============================
    GLOBAL VARIABLES
   =============================== */
:root {
  --primary-color: #6b21a8;
  --secondary-color: #9b59b6;
  --white: #ffffff;
  --light-bg: #f5f5f5;
  --text-color: #333333;
}

section {
  scroll-margin-top: 100px; 
  padding-top: 100px;       
}


/* ===============================
    GLOBAL RESET & BASE STYLES
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:  'Roboto', Arial, Helvetica, sans-serif;
  color: var(--text-color);
  background-color: var(--light-bg);
  scroll-behavior: smooth;
  flex: 1;
}

/* ===============================
    NAVBAR
=============================== */
.logo img{
  height: auto;
  width: 120px;
  display: block;
  object-fit: contain;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px; /* you can reduce vertical padding if needed */
  background: var(--primary-color);
  color: var(--white);
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.mobile-menu {
  display: none;
  font-size: 1.8rem;
  color: var(--light-color);
  cursor: pointer;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

/* ===================================
   RESPONSIVE NAVBAR (Mobile Menu)
=================================== */
@media (max-width: 768px) {
  /* Show hamburger icon on mobile */
  #mobile-menu {
    display: block;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0; /* remove margin so toggle stays at top */
    padding: 0; /* remove extra padding */
  }

  /* Hide nav links by default */
  .nav-links {
    position: fixed;
    top: 80px; /* starts right below navbar */
    right: 0;
    width: 250px;
    height: auto;
    background: var(--primary-color);
    flex-direction: column;
    align-items: flex-start;
    gap: 15px; /* reduced gap between links */
    display: none;
    padding: 20px; /* reduced padding to prevent dragging menu down */
    z-index: 9999;
  }

  /* Show menu when toggled via JS */
  .nav-links.show {
    display: flex;
    animation: slideIn 0.3s ease forwards;
  }

  /* Slide in animation */
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Mobile link styles */
  .nav-links li {
    margin: 10px 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: white;
  }
}

/* ===============================
    HERO SECTION
=============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 20px;
  margin-top: 80px;
  background-size: cover;
  background-position: center top; /* default for desktop */
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
}

/* Background images for slider */
.hero.bg1 { background-image: url('images/Raynix.bg.jpeg'); background-position: center 20%; }
.hero.bg2 { background-image: url('images/home 2.jpg'); background-position: center 25%; }
.hero.bg3 { background-image: url('images/home 3.jpg'); background-position: center 25%; }

/* Overlay effect */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(120, 80, 160, 0.35), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* ensures buttons wrap nicely on small screens */
}

.btn,
.btn-outline {
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.btn { background: var(--primary-color); color: #fff; }
.btn:hover { background: var(--secondary-color); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary-color);
}

/* ===============================
    RESPONSIVE HERO SECTION
=============================== */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;               /* reduce hero height for smaller screens */
    padding-top: 120px;             /* ensure content is below navbar */
    background-position: center 35%; /* push image down more */
  }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }

  .hero-buttons {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
    padding-top: 100px;              /* further push content down */
    background-position: center 40%; /* push image further down */
  }

  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }
}




/* ===============================
    HERO SECTION
=============================== 
 .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;  
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 20px;  
  margin-top: 80px;
  background-image: url('images/Raynix.bg.jpeg');
  background-size: cover;
  background-position: top center;  
  background-repeat: no-repeat;
   transition: background-image 1s ease-in-out; 
} 

/* You can also fine-tune the background position per image 
.hero.bg1 {
  background-image: url('images/Raynix.bg.jpeg');
  background-position: center 20%; /* push down 20% from top 
}
.hero.bg2 {
  background-image: url('images/home\ 2.jpg');
  background-position: center 25%;
}
.hero.bg3 {
  background-image: url('images/home\ 3.jpg');
  background-position: center 25%;
}

/* Overlay effect 
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(120, 80, 160, 0.35), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

/* Hero content (text & buttons) 
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero buttons 
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn,
.btn-outline {
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.btn {
  background: var(--primary-color);
  color: #fff;
}

.btn:hover {
  background: var(--secondary-color);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary-color);
}

/* ===============================
    RESPONSIVE HERO SECTION
=============================== 
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 150px 15px; /* increase top padding further for mobile 
    background-position: center 30%; /* push image down more 
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* ===============================
   HERO BACKGROUND RESPONSIVE
=============================== 
@media (max-width: 1024px) {
  .hero {
    background-position: top center; /* keep top visible 
    background-size: cover;          /* fill container without stretching 
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 140px;              /* push content below navbar 
    padding-bottom: 40px;            /* optional bottom spacing 
    background-position: top center;  /* show top of image 
    background-size: cover;           /* maintain coverage 
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 160px;              /* extra push for very small screens 
    background-position: top center;
    background-size: cover;
  }
}











/* ===============================
    SERVICES / WHAT WE DO
   =============================== */
.services {
  padding: 100px 20px;
  background: #fff;
  text-align: center;
}

.services h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-item {
  background: var(--light-bg);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.service-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.service-item p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.5;
}

/* ===============================
    WHY CHOOSE RAYNIX
   =============================== */
.why-choose {
  background: var(--light-bg);
  padding: 100px 20px;
  text-align: center;
}

.why-choose h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.why-choose .section-intro {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.choose-item {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choose-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.choose-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.choose-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.choose-item p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.5;
}

/* ======================
VISION & MISSION SECTION
========================= */
.VM {
  background-color: #f9f9f9; /* light background for contrast */
  padding: 100px 20px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.VM h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-align: center;
}

/* Cards container */
.VM-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap; /* stacks cards on small screens */
}

/* Individual cards */
.VM-card {
  background: #ffffff; /* white card */
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 300px; /* responsive fallback */
  max-width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.VM-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.VM-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* Paragraphs in cards */
.VM-card p {
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.8;
}

/* Unordered list styling */
.VM-card ul {
  list-style-type: disc; /* circle bullets */
  margin-left: 20px;
  margin-bottom: 15px;
}

.VM-card ul li {
  margin-bottom: 10px;
  color: var(--text-color);
}

/* Responsive tweaks */
@media screen and (max-width: 768px) {
  .VM-cards {
    flex-direction: column;
    align-items: center;
  }

  .VM-card {
    max-width: 90%;
  }
}


.about {
  padding: 100px 20px;
  background-color: #ffffff; /* page background */
  display: flex;
  flex-direction: column;
  align-items: center; /* center the heading and cards */
}

.about h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px; /* spacing between heading and first card */
}

/* About "cards" matching CTA card width */
.about-card {
  width: 100%;
  max-width: 1100px;         /* same as CTA card */
  padding: 25px 30px;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px; /* spacing between cards */
}

.about-card:last-child {
  margin-bottom: 0; /* remove margin on last card */
}

/* .about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
} */

.about-card p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-color);
}

/* Responsive: stack and shrink on smaller screens */
@media (max-width: 768px) {
  .about {
    padding: 60px 15px;
  }

  .about-card {
    padding: 20px;
  }
}




/* ===============================
   ABOUT SECTION
=============================== 
.about {
  padding: 100px 20px;
  background-color: var(--light-bg); 
  display: flex;
  justify-content: center; 
}

.about .container {
  background-color: var(--light-bg);
  max-width: 900px;         
  margin: 0 auto;            
  padding: 40px 30px;       
  border-radius: 12px;       
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}

.about h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center; 
}

.about p {
  max-width: 800px;       
  margin: 0 auto 25px;    
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-color);
  text-align: left;       
}

.about-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-stats .stat {
  background: var(--white);
  padding: 25px 35px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-stats .stat:hover {
  transform: translateY(-8px);
}

.about-stats h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 8px;
} */

/* ===============================
   FUN FACTS / HIGHLIGHTS SECTION
================================ */
.fun-facts {
  padding: 100px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.fun-facts h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.fun-facts .section-intro {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.fact-item {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.fact-number {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.fact-item p {
  color: var(--text-color);
  font-size: 1rem;
}

/* ================================
   CORE VALUES SECTION
================================ */
.core-values {
  padding: 80px 20px;
  background: var(--light-bg);
  text-align: center;
}

.values-container {
  max-width: 1100px;
  margin: auto;
}

.core-values h2 {
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.values-subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.value-card {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-7px);
}

.value-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.value-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}



/*=========================
 CTA SECTION 
 ==========================*/
.cta-section {
  padding: 60px 20px;
  background: var(--light-bg);
  display: flex;
  justify-content: center;
}

.cta-card{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
  padding: 40px 30px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Text Side */
.cta-card-content{
flex: 1 1 450px;
text-align: left;
}

.cta-card-content h2{
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-card-content p{
  font-size: 1.15rem;
  margin-bottom: 30px;
}

/* Button */
.cta-btn{
  display: inline-block;
  padding: 12px 32px;
  background: transparent;
  color: var(--white);
text-decoration: none;
font-weight: bold;
border: 2px solid var(--white);
border-radius: 12px;
transition: 0.3s ease;
}

.cta-btn:hover{
  background: var(--white);
  color: var(--primary-color);
}

/* Image */
.cta-card-image{
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-card-image img{
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
}

/* Responsive 
@media(max-width: 768px){

  .cta-card{
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    gap: 25px;
  }

  .cta-card-content{
    text-align: center;
  }

  .cta-card-image img{
    width: 100%;
    max-width: 450;
  }
}










/* ===============================
   CTA SECTION
=============================== 
.cta-section {
  padding: 60px 20px;
  background: var(--light-bg);
  display: flex;
  justify-content: center;
}

/* CTA Card 
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  flex-wrap: wrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Left side: text and button 
.cta-card-content {
  padding: 40px;
  flex: 1 1 500px;
}

.cta-card-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-card-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Button 
.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--white);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Right side: image 
.cta-card-image {
  flex: 1 1 400px;
  min-height: 300px;
  overflow: hidden;

  /* ✨ NEW: Center the image container on small screens 
  display: flex;
  justify-content: center;
  align-items: center;
 }  

.cta-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
/* } 

@media (max-width: 900px) {
  .cta-card {
    flex-direction: column;      
    align-items: center;        
    text-align: center;
  }

  .cta-card-content {
    width: 100%;
    padding: 30px 20px;
  }

  .cta-card-image {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;    centers the image 
  }

  .cta-card-image img {
    width: 80%;
    height: auto;
    object-fit: contain;
  }
/* } */






 /* Responsive  
@media (max-width: 768px) {

   CTA: Stack perfectly 
  .cta-card {
    flex-direction: column;
    text-align: center;
    align-items: center;         ✨ NEW: keep everything centered 
  }

  .cta-card-content {
    padding: 30px 20px;
  }

  .cta-card-image {
    width: 100%;
    min-height: 250px;

    ✨ NEW: Ensure the image stays centered and not pushed to the right 
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cta-card-image img {
    width: 100%;
    max-width: 350px;            ✨ NEW: prevent oversized image and keep centered 
    height: auto;
    object-fit: contain;
  }

  .cta-card-content h2 {
    font-size: 1.8rem;
  }
/* } */




/* ===============================
   CTA SECTION
=============================== 
.cta-section {
  padding: 60px 20px;
  background: var(--light-bg);
  display: flex;
  justify-content: center;
}

/* CTA Card 
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  flex-wrap: wrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Left side: text and button 
.cta-card-content {
  padding: 40px;
  flex: 1 1 500px;
}

.cta-card-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-card-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Button 
.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--white);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Right side: image 
.cta-card-image {
  flex: 1 1 400px;
  min-height: 300px;
  overflow: hidden;
}

.cta-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
/* } 

 Responsive 
@media (max-width: 768px) {
  .about-cards {
    flex-direction: column;
    gap: 25px;
  }

  .cta-card {
    flex-direction: column;
    text-align: center;
  }

  .cta-card-content {
    padding: 30px 20px;
  }

  .cta-card-image {
    min-height: 250px;
  }

  .cta-card-content h2 {
    font-size: 1.8rem;
  }
}



/* CTA Section 
.cta-section {
  padding: 60px 20px;
  background: var(--light-bg); /* subtle background to highlight card 
  display: flex;
  justify-content: center;
}

/* CTA Card 
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  background: var(--primary-color); /* deep purple 
  color: var(--white);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  flex-wrap: wrap;
}

/* Left side: text and button 
.cta-card-content {
  padding: 40px;
  flex: 1 1 500px;
}

.cta-card-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-card-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Button 
.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--light-bg);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Right side: image 
.cta-card-image {
  flex: 1 1 400px;
  min-height: 300px;
  overflow: hidden;
}

.cta-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
   display: block; 
/* } 

 Responsive: stack on smaller screens 
@media (max-width: 768px) {
  .cta-card {
    flex-direction: column;
    text-align: center;
  }

  .cta-card-content {
    padding: 30px 20px;
  }

  .cta-card-image {
    min-height: 250px;
  }

  .cta-card-content h2 {
    font-size: 1.8rem;
  }
 } 

 Hover lift effect for CTA Card 
.cta-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-10px); 
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);  
 }  */



/* CTA CARD SECTION 
.cta-card-section {
  background-color: var(--light-bg);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}


.cta-card {
  background-color: var(--primary-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
}


.cta-left {
  flex: 1;
}

.cta-left h2 {
  font-size: 2rem;
  color: var(--light-bg);
  margin-bottom: 15px;
}

.cta-left p {
  color: var(--light-bg);
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* BUTTON 
.cta-btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 28px;
  font-size: 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background-color: var(--primary-color);
}

/* RIGHT SIDE IMAGE 
.cta-right img {
  width: 450px;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* RESPONSIVE
@media (max-width: 768px) {
  .cta-card {
    flex-direction: column;
    text-align: center;
  }

  .cta-right img {
    width: 100%;
  }
}
  */








/* ===============================
    PRICING SECTION
   =============================== */
.pricing {
  padding: 100px 20px;
  background-color: var(--white);
  text-align: center;
}

.pricing h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.pricing p {
  color: var(--text-color);
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: start;
}

.price-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.price-card h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 25px;
}

.price span {
  font-size: 1rem;
  color: var(--secondary-color);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.price-card ul li {
  margin: 10px 0;
  color: var(--text-color);
}

.price-card .btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.price-card .btn:hover {
  background: var(--secondary-color);
}

.price-card.featured {
  background: var(--primary-color);
  color: white;
}

.price-card.featured h2,
.price-card.featured .price,
.price-card.featured ul li {
  color: white;
}

.price-card.featured .btn {
  background: var(--white);
  color: var(--primary-color);
}

.price-card.featured .btn:hover {
  background: var(--secondary-color);
  color: white;
}


/* ===============================
   CONTACT SECTION
=============================== */
.contact {
  padding: 80px 20px;
  background: var(--light-bg);
}

.contact h1 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.4rem;
  margin-bottom: 15px;
  margin-top: 20px;
}

.contact p {
  text-align: center;
  color: var(--text-color);
  font-size: 1.15rem;
  margin-bottom: 50px;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 35px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Contact Info Card */
.contact-info {
  text-align: left;
}

.contact-info h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: left;
}

.contact-item {
  margin-bottom: 20px;
  text-align: left;
}

.contact-text {
  display: block;
}

.contact-item .label {
  font-weight: 800;
  color: var(--primary-color); /* Purple heading */
  font-size: 1.1rem;
  margin-bottom: 5px;
  text-align: left;
}

.contact-item .value {
  color: #333;
  line-height: 1.6;
  text-align: left;
}

.contact-item .value a {
  color: #333;
  text-decoration: none;
}

.contact-item .value a:hover {
  color: purple;
  text-decoration: underline;
}

/* Contact Form Card */
.contact-form h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1.05rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.contact-form .btn {
  width: 100%;
  background: var(--primary-color);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form .btn:hover {
  background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card {
    padding: 25px 20px;
  }
}




/* ===============================
    LOGIN / REGISTER SECTION
   =============================== */
.auth-section {
  padding: 100px 20px;
  background: var(--light-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.auth-container {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.auth-container h1 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.auth-container p {
  color: var(--text-color);
  margin-bottom: 25px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-form input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.auth-form input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.auth-form .btn {
  background: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth-form .btn:hover {
  background: var(--secondary-color);
}

.auth-note {
  margin-top: 15px;
  color: var(--text-color);
  font-size: 0.95rem;
}

.auth-note a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.auth-note a:hover {
  text-decoration: underline;
}

.forgot-password{
  text-align: right;
  margin-top: -5px;
  margin-bottom: 10px;
}

.forgot-password a{
  color: var(--primary-color);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password a:hover{
  color: var(--secondary-color);
  text-decoration: underline;
}

.register {
  padding: 80px 20px;
  background: var(--light-bg);
  color: var(--text-color);
}

.registration {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  background: var(--light-bg);
}

.registration .container {
  margin-top: 80px;
  background: white;
  max-width: 800px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 100%;
}

.registration h1 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.registration .container p {
    font-size: 16px;       
    color: #555;           
    text-align: center;    
    margin-top: 10px;      
    margin-bottom: 10px;   
    font-weight: 400;      
}


.registration-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.registration-form input,
.registration-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.registration-form input:focus,
.registration-form select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.registration-form .btn {
  align-self: center;
  background: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.registration-form .btn:hover {
  background: var(--secondary-color);
}

.login-prompt {
  text-align: center;
  margin-top: 15px;    
  font-size: 0.95rem;
  color: #555;
}

.login-prompt a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 100;
}

.login-prompt a:hover {
  text-decoration: underline;
}

/* Optional: Add extra spacing on smaller screens */
@media (max-width: 768px) {
  .auth-section {
    padding: 60px 20px 100px; /* push card down a bit more to allow footer at bottom */
  }
}


/* ===============================
   REGISTER TWO SECTION
================================= */
.register-two {
  background: var(--light-bg);
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.register-two-container {
  background: var(--white);
  width: 100%;
  max-width: 550px;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.register-two-container h1 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.register-two-container p {
  color: var(--text-color);
  margin-bottom: 25px;
}

/* Two-column form layout */
.register-two-form .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

/* Input full width inside each group */
.register-two-form .input-group {
  flex: 1;
}

.register-two-form input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s ease;
}

.register-two-form input:focus {
  border-color: var(--primary-color);
}

/* Submit button */
.auth-btn {
  width: 100%;
  padding: 12px 0;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s ease;
}

.auth-btn:hover {
  background: var(--secondary-color);
}

/* Switch link */
.auth-switch {
  margin-top: 18px;
  font-size: 0.95rem;
}

.auth-switch a {
  color: var(--primary-color);
  /* font-weight: bold; */
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .register-two-form .form-row {
    flex-direction: column;
  }
}





/* ===============================
    BUTTON
   =============================== */
.btn {
  background: var(--white);
  color: var(--primary-color);
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--secondary-color);
  color: var(--white);
}


/* footer (final) */
.footer {
  background: var(--white);
  padding: 48px 30px 24px;
  color: var(--text-color);
  font-family: inherit;
  border-top: 1px solid #eaeaea;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 20px;

}

/* top grid */
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}

.footer-col h3 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--text-color);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color .18s ease;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-col p {
  margin: 6px 0;
  color: var(--text-color);
  font-size: .97rem;
}

/* divider line */
.footer-line {
  height: 1px;
  background: #eee;
  margin-bottom: 22px;
}

/* bottom row */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* logo */
.footer-logo img {
  height: auto;
  width: 120px;
  display: block;
   background: rgba(255, 255, 255, 0.1);
}

/* copyright centered */
.footer-copy {
  margin: 0 auto;
  color: var(--text-color);
  font-size: 0.95rem;
}

/* social icons (uses inline svg so no font library needed) */
.footer-social {
  display: flex;
  gap: 14px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f6f6f6;
  color: var(--text-color);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.icon-link:hover {
  transform: translateY(-4px);
  background: var(--primary-color);
  color: #fff;
}

/* responsive */
@media (max-width: 720px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy {
    order: 2;
    margin: 12px 0;
  }

  .footer-logo {
    order: 1;
  }

  .footer-social {
    order: 3;
  }
}


















