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

* {
    scroll-behavior: smooth;
}

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

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: 130vh;
    background: url('https://images.unsplash.com/photo-1606185540834-d6e7483ee1a4?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    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;
}

.stats {
    display: flex;
    gap: 10rem;
    margin-top: 40px;
    font-size: 0.9rem;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    margin-bottom: 4rem;
    text-align: center;
}

.stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats strong {
    font-size: 1.5rem;
    color: #fff;
}

.stats span {
    color: #ccc;
}

.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;
}

.why-us {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px;
    height: 60vh;
    color: #fff;
    background-color: #23005A;
}

.why-us .head-text {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    max-width: 40%;
}

.why-us .head-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    margin-top: 0;
}

.why-us .head-text p {
    font-size: 1rem;
    margin-left: 100px;
}

.why-us .list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    width: 400px;
    margin-right: 4rem;
}

.why-us .list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.why-us .list ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: #180042;
    padding: 30px;
    text-align: center;
}

.why-us .list ul li:hover {
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.why-us .list ul li i {
    font-size: 2rem;
}

.why-us .list h2 {
    margin: 0;
    font-size: 1.2rem;
}

.why-us .list p {
    margin: 0;
    font-size: 0.7rem;
}

.why-us .list ul .list-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Services */
.services {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px;
    height: 200vh;
    color: #fff;
}

.services .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 3fr);
    gap: 1rem;
}

.services .grid-container .grid-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 400px;
    height: 300px;
}

.services .grid-container .overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: #fff;
    padding-left: 30px;
}

.services .grid-container .overlay:hover {
    background-color: #23005aeb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: background-color 0.4s ease;
}

.services .grid-container .cta {
    display: none;
}

.services .grid-container .preview-content.not-active {
    display: none;
}

.services .grid-container .cta.active {
    display: block;
}   

.services .grid-container .grid-item a {
    text-decoration: none;
    color: #fff;
    font-size: 40px;
    margin: 0;
    padding-right: 30px;
    font-weight: medium;
}

.services .grid-container .grid-item-1 {
    background-image: url('https://images.unsplash.com/photo-1673878277238-d5703954d7ad?q=80&w=1964&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: bottom;
    padding-right: 30px;
}

.services .grid-container .grid-item-1 h2 {
    margin: 0;
}

.services .grid-container .grid-item-2 {
    padding: 0;
    color: #180042;
    justify-content: flex-start;
    align-items: flex-end;
    margin-left: 20px;
}

.services .grid-container .grid-item-2 h2 {
    font-size: 3.5rem;
    margin-top: 0;
}

.services .grid-container .grid-item-2 p {
    font-size: 1rem;
    margin-left: 28px;
}

.services .grid-container .grid-item-3 {
    background-image: url('https://images.unsplash.com/photo-1575528941322-c74397246f19?q=80&w=627&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    padding-right: 30px;
}

.services .grid-container .grid-item-4 {
    background-image: url('https://images.unsplash.com/photo-1706044535217-f9112204b000?q=80&w=1074&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    padding-right: 30px;
}

.services .grid-container .grid-item-5 {
    color: #180042;
    padding: 0;
    margin-left: 5px;
}

.services .grid-container .grid-item-5 p {
    font-size: 1rem;
}

.services .grid-container .grid-item-5 button {
    border: none;
    background-color: #180042;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
}

.services .grid-container .grid-item-5 button a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    padding-left: 30px;
}

.services .grid-container .grid-item-5 button:hover {
    background-color: #FFD700;
    color: #180042;
    transition: all 0.3s ease;
}

.services .grid-container .grid-item-5 button:hover a {
    color: #180042;
}

.services .grid-container .grid-item-6 {
    background-image: url('https://images.unsplash.com/photo-1587293852726-70cdb56c2866?q=80&w=1172&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    padding-right: 30px;
}

/* 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;
}
