@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Arimo:ital,wght@0,400..700;1,400..700&family=Big+Shoulders+Inline:opsz,wght@10..72,100..900&family=Big+Shoulders:opsz,wght@10..72,100..900&family=Bree+Serif&family=Cal+Sans&family=Cascadia+Code:ital,wght@0,200..700;1,200..700&family=Geist+Mono:wght@100..900&family=Gidole&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Outfit:wght@100..900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Smooch+Sans:wght@100..900&family=Space+Grotesk:wght@300..700&family=Sulphur+Point:wght@300;400;700&family=Tuffy:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    font-family: "Cascadia Code", sans-serif;
    margin: 0;
    background: #f9f9f9;
    color: #333;
}

header,
footer {
    background-color: #1e1e2f;
    color: white;
    padding: 30px;
    text-align: center;
}

header{
    padding: 0 30px;
}

.header-block{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
}

.header-link{
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.logo {
    font-size: 36px;
    font-weight: bold;
}

.logo-img{
    max-width: 50px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

.hero {
    text-align: center;
    padding: 250px 20px;
    background: url('../images/image.jpg') center/cover no-repeat;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: auto;
    animation: fadeIn 2.5s ease-in;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.contact-button{
    padding: 10px 30px;
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    background-color: #292947;
    border-radius: 10px;
}

.section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 80px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1.5s ease;
}

.section img {
    width: 100%;
    max-width: 600px;
    height: auto;
    flex: 1;
    border-radius: 12px;
}

.section .text {
    flex: 1;
    padding: 30px;
    font-size: 18px;
}

.examples {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.example {
    background: #fff;
    padding: 30px;
    flex: 1 1 45%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1.5s ease;
}

.example img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.faq {
    background: #fff;
    padding: 60px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1.5s ease;
}

.faq h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.faq-item {
    margin-bottom: 30px;
    font-size: 17px;
}

.cta {
    background: #292947;
    color: white;
    padding: 60px 30px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 60px;
    animation: fadeInUp 1.5s ease;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: auto;
}

footer .footer-description {
    margin-top: 10px;
    font-size: 16px;
}

footer .footer-links {
    margin-top: 15px;
}

footer .footer-links a {
    color: #ccc;
    margin: 0 15px;
    text-decoration: none;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

footer .contact {
    margin-top: 15px;
    font-size: 15px;
    color: #aaa;
}

.faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
  
.faq-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}
  
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    padding: 15px;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
    font-family: "Cascadia Code", sans-serif;
}
  
.faq-question:hover {
    background: #f0f0f0;
}
  
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    font-family: "Cascadia Code", sans-serif;
}
  
.faq-item.active .faq-answer {
    max-height: 200px;
    font-family: "Cascadia Code", sans-serif;
}

.form-section {
    max-width: 500px;
    width: 100%;
    margin: auto;

  }

  .form-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
  }
  
  .form-group label {
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    resize: none;
  }
  
  .submit-button {
    padding: 14px;
    background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .form-button-block{
    margin: auto;
    display: flex;
    justify-content: center;
  }
  
  .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  }
  
  .form-message {
    margin-top: 10px;
    font-weight: bold;
  }
  
  .form-success {
    color: green;
  }
  
  .form-error {
    color: red;
  }
  


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .section {
        flex-direction: column;
        text-align: center;
    }

    .section .text {
        padding: 20px 0;
    }

    .examples {
        flex-direction: column;
    }

    .example {
        flex: 1 1 100%;
    }

    .hero h1 {
        font-size: 32px;
    }
    .header-block{
       justify-content: center !important;
    }
    .logo{
        font-size: 26px;
    }
}