@import url('https://fonts.cdnfonts.com/css/cabinet-grotesk');

* {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Cabinet Grotesk', sans-serif;
    overflow-x: hidden;
}

header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
  }

  section {
    padding: 0 2rem;
    z-index: 1;
  }
  
  nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all 0.5s ease;
  }

  nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 5%;
    max-width: 100%;
    margin: 0 auto;
  }

  nav.scrolled {
    background: #23005A !important; 
    box-shadow: 0 7px 10px rgba(0,0,0,0.3) !important;
    height: 4rem !important;
    border: none !important;
  }

  nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3.2rem;
    flex-wrap: nowrap;
  }

  nav ul li {
      margin-left: 0;
  }

  nav ul li a {
      text-decoration: none;
      color: white;
      font-weight: 600;
      transition: color 0.3s;
      white-space: nowrap;
  }

  nav ul li a:hover {
      color: white;
      border-bottom: 2px solid white;
  }

  .hamburger {
    display: none;
    cursor: pointer;
  }

  .hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    --webkit-transform: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white; /* Coffee brown */
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li a {
    margin-left: 2rem;
    text-decoration: none;
    color: white;
    font-weight: 500;
  }
  
  .burger {
    display: none;
    cursor: pointer;
  }


/* Hero Section */
.hero {
    position: relative;
    max-width: 100%;
    height: 100vh;
    background: url('../images/service-hero.jpg');
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1000;
    max-width: 700px;
    padding: 60px 0;
    margin-top: 7rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.hero-content h2 span {
    color: #FFD700;
}

.hero-content p {
    margin: 20px 0;
    font-size: 1rem;
    color: #ddd;
}

/* About */

.about {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px;
    gap: 50px;
    height: 60vh;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.about-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
    margin-top: 0;
}

.about-text p {
    font-size: 1rem;
    color: #555;
    max-width: 380px;
    margin-left: 100px;
}

.about-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    max-height: 100vh;
    object-fit: cover;
    display: block;
}

/* Services */
.services {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
  }
  
  .services .panels {
    display: flex;
    width: 150vw;
    height: 100%;
  }
  
  .services .panels .panel {
    flex: 0 0 92vw;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 3rem;
    background: #eee;
    border-right: 2px solid #ccc;
    gap: 2rem;
    padding: 0 3rem;
  }

  .services .panels .panel h2 {
    font-size: 2rem;
    color: #23005A;
    margin: 0;
  }

  .services .panels .panel p {
    font-size: 1rem;
    color: #23005A;
  }

  .service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .service-content button {
    background-color: #23005A;
    color: #ffffff;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Cabinet Grotesk', sans-serif;
    width: 30%;
  }

  .service-content button:hover {
    background-color: #FFD700;
    color: #23005A;
  }

  .service-image {
    width: 70%;
    height: 70%;
  }

  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .services .item-1 img {
    object-fit: cover;
    object-position: bottom;
  }

/* Testimonials */

.testimonial-section {
    background-color: #180042;
    padding: 80px 20px;
    text-align: center;
}

.testimonial-section h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 50px;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
    background-color: #23005A;
    padding: 40px;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: opacity 0.5s ease;
}

.testimonial.active {
    display: block;
}

.testimonial .profile {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    margin-bottom: 20px;
}

.testimonial p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial h4 {
    font-size: 1rem;
    color: #bbb;
}

.controls {
    margin-top: 30px;
}

.controls button {
    background-color: #23005A;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.controls button:hover {
    background-color: #2d0c6e;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
    padding: 50px;
    font-family: 'Cabinet Grotesk', sans-serif;
    color: #23005A;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.contact-section .contact-image {
    width: 50%;
    max-height: 100%;
}

.contact-section .contact-image img {
    width: 100%;
    height: 100%;
}

.contact-section .contact-container {
    width: 50%;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-section .subtitle {
    color: #555;
    margin-bottom: 40px;
    font-size: 1rem;
}

.contact-form {
    max-width: 90%;
    margin: 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 1rem;
    color: #23005A;
    background-color: #f9f9f9;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    background-color: #23005A;
    color: #ffffff;
    border: none;
    padding: 12px 40px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Cabinet Grotesk', sans-serif;
}

.contact-form button:hover {
    background-color: #2d0c6e;
}

/* Footer */
.footer {
    background-color: #180042;
    color: #ffffff;
    padding: 60px 20px 20px 20px;
    font-family: 'Cabinet Grotesk', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1;
    min-width: 250px;
}

.footer-left h3 {
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-left p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #bbbbff;
}

.footer-contact p {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #23005A;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #cccccc;
}
