/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;         
  color: #000;             
  position: relative;
  border-bottom: 1px solid #ddd;
}

.logo {
  color: #000;              
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 50px;               
  height: 36px;
  margin-right: 4px;
  background-image: url("images/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;    
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row;       
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.2px;
  position: relative;       
  display: inline-block;    
  padding-bottom: 4px;     
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;                
  width: 0;
  height: 2px;
  background-color: #0161c1;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;              
}

.toggle-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #000;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: 
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.05)), 
    url('images/background.png') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
  scroll-margin-top: 80px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: #0161c1;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
  font-size: 1rem;
}

.btn:hover {
  background: #0161c1;
}

/* About Us Section */
.about {
  height: 100vh;              
  padding: 4rem 2rem;
  max-width: 950px;
  margin: auto;
  line-height: 1.8;
  
  display: flex;              
  flex-direction: column;     
  justify-content: center;    
}



.about h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: center;   
}

.about p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: left;   
}

/* Services */
.services {
  height: 100vh;
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.service-cards a.card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.service-cards a.card:hover {
  transform: translateY(-5px);
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 300px;
}

.card h3 {
  margin-bottom: 1rem;
  color: #0161c1;
}

/* Service detail pages */
.service-detail {
  min-height: 100vh;
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
  line-height: 1.8;
}

.service-detail h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.service-detail h3 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-detail h4 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #444;
}

.service-detail ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: disc;
}

.service-detail p,
.service-detail ul,
.service-detail li {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Success Stories */
.success-stories {
  min-height: 100vh;
  padding: 4rem 2rem;
  background: #f3f2f2;
  text-align: center;
}

.success-stories h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.success-stories p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

.story-link {
  color: inherit;            
  text-decoration: none;      
  cursor: pointer;            
}

.story-link:hover {
  color: #0161c1;             
}

.stories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: auto;
}

.story {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.story.visible {
  opacity: 1;
  transform: translateY(0);
}

.story h3 {
  color: #0161c1;
  margin-bottom: 0.8rem;
}

.story p {
  margin-bottom: 1rem;
  color: #333;
}

.reference-link {
  color: #0161c1;
  text-decoration: none;
  font-weight: 500;
}

.reference-link:hover {
  text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1000px;
  margin: 1rem auto;
  padding: 0.5rem 1rem;
}

.breadcrumb a {
  color: #0161c1;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Story Navigation */
.story-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.story-nav a {
  color: #0161c1;
  text-decoration: none;
  font-weight: 500;
}

.story-nav a:hover {
  text-decoration: underline;
}

.story-nav .prev-story {
  align-self: flex-start;
}

.story-nav .next-story {
  align-self: flex-end;
}

/* Contact section */
.contact {
  height: 100vh;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  
  background: linear-gradient(to bottom, #f8f8f8 0%, #ffffff 100%);
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem; 
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem; 
  max-width: 650px;
}

/* Email line */
.contact-info {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #333;
}

.contact-info a {
  color: #333;
  text-decoration: none;
}

.contact-info a {
  color: #000;                
  text-decoration: none;      
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;        
}

.contact-info a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #0161c1; 
  transition: width 0.3s ease;
}

.contact-info a:hover::after {
  width: 100%;
}

/* Form */
.contact-form {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #333;
  flex-wrap: nowrap;
}

.checkbox-row input[type="checkbox"] {
  flex-shrink: 0;              
  width: 16px;
  height: 16px;
  margin: 0;
}

.checkbox-row label {
  flex-grow: 1;
  white-space: nowrap;         
  cursor: pointer;
}

.contact-form .checkbox-row {
  text-align: left;
}

.contact-form button {
  align-self: flex-end;   
  font-size: 1.2rem;
  padding: 1rem 2rem;
  cursor: pointer;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  .toggle-btn {
    display: block;
  }

  .nav-links {
    flex-direction: column;   
    background: #fff;
    border: 1px solid #ddd;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
    transition: transform 0.3s ease;
    transform: translateY(-20px);
    display: none;
  }

  .navbar.active .nav-links {
    display: flex;
    transform: translateY(0);
  }

  .nav-links a {
    color: #000;
    padding: 0.5rem 0;
  }
}

/* Contact form wider fields on larger screens */
@media (min-width: 1024px) {
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    max-width: 100%;
    font-size: 1.1rem;
  }

  .contact-form {
    max-width: 900px;
  }

  .contact-form button {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }
}

html {
  scroll-behavior: smooth;
}

/* Policy Page */
.policy { 
  max-width: 1000px; 
  margin: 0 auto; 
  padding: 1rem; 
}
.policy-section { 
  margin-bottom: 1.5rem; 
}
.policy-section h3 { 
  margin-top: 1rem; 
}

