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

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    color: #5C544D;
    line-height: 1.6;
}

/* Header */
header {
    background: #131A29;
    color: red;
    padding: 10px 0;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header nav a.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

.main-content h2 {
    color: #413B4D;
}

h2 {
    color: #CCDAD1; 
}

h1, h2 {
    font-family: "Mulish", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Hero Section */
.hero {
    background: url('res/bg.jpg') no-repeat center center/cover;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta-button {
    background: #131A29;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Section Styling */
section {
    padding: 50px 150px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Services */
#services .service-card {
    background: #f4f4f4;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.service-card h3 {
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Space between testimonials */
    padding: 40px 20px;
    background-color: #ffffff;
}

/* Testimonial Styling */
.testimonial {
    max-width: 80%; /* Limit width for readability */
    color: #413B4D; 
    padding: 20px;
}

/* Testimonial Text Styling */
.testimonial-text {
    font-size: 1.2em;
    font-style: italic;
    line-height: 1.6;
    color: #413B4D; 
    text-align: justify;
}

/* Testimonial Author Styling */
.testimonial-author {
    margin-top: 10px;
    font-size: 0.9em;
    font-weight: normal;
    color: #888; /* Light gray for the author name */
    text-align: left;
}

/* Left-aligned (odd) testimonials */
.testimonial:nth-child(odd) {
    align-self: flex-start;
    margin-right: auto;
}

/* Right-aligned (even) testimonials */
.testimonial:nth-child(even) {
    align-self: flex-end;
    margin-left: auto;
}

#testimonial-blocks{
    display: flex;
    flex-direction: column;
   align-items: center;
   padding:0;
}


/* Contact Form */
form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: #131A29;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
footer {
    background: #131A29;
    color: #fff;
    text-align: center;
    padding: 10px;
}

p {
    padding-bottom: 10px;
}

#about {
    padding-bottom: 140px;
}

/* About Section */
.why-section {
    display: flex;
    align-items: center;
    padding: 50px 20px;
    background-color: #8D84A1; 
    margin: 0 auto;
}

.why-content {
    flex: 1;
    padding: 20px;
}

.why-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.why-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.why-image {
    flex: 1;
    padding: 20px;
    position: relative;
    margin-top: -140px; /* Shift the image container to the left */
}

.why-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    position: relative;
    left: 20px; /* Adjust the shift value as needed */
}

/* Button Style for "Schedule intro call" */
a.intro-call-button, a.intro-call-button-left {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent; /* No background */
    color: #333; /* Text color */
    text-decoration: none;
    border: 1px solid #333; /* Border around the button */
    border-radius: 0; /* Remove border radius for a rectangular shape */
    font-weight: bold;
    transition: color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

a.intro-call-button:hover, a.intro-call-button-left:hover {
    color: #8D84A1; /* Change text color on hover */
    border-color: #8D84A1; /* Change border color on hover */
}

/* Line connected to the button */
.intro-call-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Line connected to the button */
.intro-call-container-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.intro-call-container::before {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #333;
    margin-right: 10px; /* Adjust spacing between line and button */
}

.intro-call-container-left::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #333;
    margin-left: 10px; /* Adjust spacing between line and button */
}

/* Tab Buttons Container */
.tab-buttons {
    display: flex;
    justify-content: left;
    margin-bottom: 20px;
}

/* Individual Tab Button */
.tab-button {
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 25px; /* Rounded corners for pill shape */
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.tab-button:hover {
    background-color: #e0e0e0;
}

/* Active Tab Button */
.tab-button.active {
    background-color: #8D84A1; /* Light green background for the active tab */
    color: white;
    border-color: #8D84A1; /* Match border to background for a seamless look */
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #DCD8E2;
    width: 100%;
}

.tab-content.active {
    display: block;
}

ul {
    padding-left: 30px;
}

/* Contact Section Styling */
.contact-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    background-color:  #fff; /* Light beige background color */
    padding: 40px;
    color: #333;
    font-family: Arial, sans-serif;
    width: 100%;
}

/* Contact Info Styling */
.contact-info {
    flex: 1;
    max-width: 50%;
}

.contact-info h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-info p {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Contact Form Styling */
.contact-form {
    flex: 1;
    max-width: 50%;
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #DCD8E2;
    color: #333;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #aaa;
}

button[type="submit"] {
    padding: 10px 20px;
    font-size: 16px;
    color: #413B4D;
    background-color: transparent;
    border: 1px solid #413B4D;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

button[type="submit"]:hover {
    border: 1px solid #8D84A1;
    color: #8D84A1;
}

#sign{
    font-family: 'Dancing Script', cursive;
    font-size: 1.4em; /* Adjust size as needed */
    color: #333;
}

b{
    color: #8D84A1;
}

/* Highlight Section Styling */
.highlight-section {
    background-color: #8D84A1; /* Light green background */
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.highlight-section h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.highlight-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Basic styling for the section */
.workshop-section {
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: 8px;
}

/* Extra content initially hidden */
.extra-content {
    display: none;
    margin-top: 10px;
}

/* Read More link styling */
.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #8D84A1;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.read-more:hover {
    text-decoration: underline;
}

.more-icon {
    display: block;              /* Make sure it acts as a block element */
    width: 40px;                 /* Adjust icon width */
    height: auto;                /* Maintain aspect ratio */
    margin: 0 auto 10px;         /* Center-align the icon and add spacing below */
}

#content-container {
    position: relative;
    min-height: 100vh; /* Full viewport height */
}

.spinner-overlay {
    position: fixed; /* Overlay the entire screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Optional background overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#loading-video {
    width: 100%; /* Adjust this size as needed */
    height: auto;
}

#fetched-content {
    display: none; /* Hide the fetched content initially */
    opacity: 0; /* Start hidden for a fade-in effect */
    transition: opacity 0.5s ease; /* Fade-in transition */
}


/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    .why-section {
        flex-direction: column;
        text-align: center;
    }

    .why-image {
        padding: 0;
    }

    .why-content {
        padding: 0;
    }

    .contact-section {
        display: block;
    }

    section {
        padding: 15px; /* No padding on small screens */
    }

    .why-image {
        margin-top: 0px; /* Shift the image container to the left */
    }

    .why-image img {
        left: 0px;
    }

    .testimonial {
        max-width: 100%; /* Limit width for readability */
    }
}


.lds-ripple,
.lds-ripple div {
  box-sizing: border-box;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid currentColor;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}



