/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 30px 0;
    gap: 40px;
    background: #0065f8;
    box-sizing: border-box;
}

.hero-content {
    width: 100%;
    margin: 0 75px;
    flex: 1 1 auto;
}

.hero-content .highlight {
    color: #ffd700;
}

.hero-content .title {
    color: white;
    font-size: 48px;
    gap: 0;
    font-weight: 600;
}

.hero-content .subtitle {
    color: #eee;
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-image-container {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 50% 0 0 50%;
    display: block;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.3);
}

.hero-content .source { margin-top: 30px; }

.hero-content .source a {
    color: #ffd700;
    text-decoration: underline;
    text-decoration-color: #ffd700;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}

.hero-content .button {
    padding: 15px 30px;
    letter-spacing: 0.5px;
}

/* Prompt Section */
.prompt {
    margin: 75px 75px 0 75px;
    background: #ffd700;
    border-radius: 15px;
    padding: 50px 0;
}

.prompt-content {
    text-align: center;
}

.prompt-content .title {
    color: #222;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
}

.prompt-content .button {
    background: #222;
    color: white;
    font-size: 16px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* We've Worked With Section */
.partners {
    padding: 0 0 30px 0;
    text-align: center;
}

.partners-content {
    margin: 0 75px;
}

.partners .partner-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.partners .partner-logos img {
    max-width: 125px;
    height: auto;
}

.partners .highlight {
    color: #222;
    text-decoration-thickness: 2px;
}


/* Tools Section */
.tools {
    margin: 75px 75px;
    text-align: center;
}

.tools-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tools-content .subtitle {
    margin-bottom: 30px;
}

.tools-content .title {
    color: #222;
    font-size: 48px;
    gap: 0;
    font-weight: 600;
}

.tools-content .tool-cards {
    margin-top: 50px;
    background: white;
    border-radius: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0;
}

.tool-card-inner .button {
  display: inline-block;
  width: auto;
  margin: 16px auto 0;
  text-align: center;
  align-self: center;
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls {
    display: flex;
    gap: 10px;
    margin: 20px 50px 0 0;
}

.tool-control {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    background: #ffd700;
    padding: 10px;
    border-radius: 999px;
    gap: 20px;
}

.slides {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
    padding: 0;
    gap: 0;  
}

.tool-card {
    min-width: 100%;
    box-sizing: border-box;
}

.tool-card-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 0 50px 50px 50px;
}

.tool-card-inner .text {
    flex: 1 1 50%;
    text-align: left;
}

.tool-card-inner .text .title {
    font-size: 36px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
    text-decoration: underline;
    text-decoration-color: #ffd700;
    text-underline-offset: 8px;
    text-decoration-thickness: 5px;
}

.tool-card-inner .card-img {
    flex: 1 1 50%;
    width: 600px;
    border-radius: 15px;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.3);
}

/* Schools Section */
.schools {
    margin: 0 75px;
}

.schools-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  box-sizing: border-box;
  text-align: left;
  padding: 40px;
    background: white;
    border-radius: 20px;
}

.schools-text {
  flex: 1 1 60%;
  min-width: 280px;
}

.schools-content .subtitle {
    text-decoration: underline;
    text-decoration-color: #ffd700;
    text-underline-offset: 5px;
    text-decoration-thickness: 5px;
}

.schools-image {
  flex: 0 0 400px;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  display: block;
  box-shadow: 0px 3px 15px rgba(0,0,0,0.3);
}

.schools .title {
  color: #222;
  font-size: 48px;
  margin: 0 0 50px;
  font-weight: 600;
  text-align: center;
  line-height: 1.05;
  text-underline-offset: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools,
    .prompt,
    .partners,
    .schools {
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 0;
        margin-right: 0;
    }

    /* Hero Section */
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 40px 20px; 
    }

    .hero-image-container {
        order: -1;
        width: auto;
        margin: 0 auto;
        border-radius: 20px;
        overflow: hidden;
    }

    .hero-image {
        display: block;
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: cover;
        border-radius: inherit;
        margin-bottom: 30px;
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
    }

    .hero-content .title { font-size: 32px; }
    .hero-content .subtitle { font-size: 14px; }

    /* Prompt Section */
    .prompt {
        margin: 40px 25px;
        padding: 30px 12px;
    }

    .prompt-content { text-align: center; }
    .prompt-content .title { font-size: 28px; }

    /* Partner Section */
    .partners-content { margin: 30px 10px 0 10px; text-align: center; }

    .partners .partner-logos {
        justify-content: center;
        gap: 16px;
    }
    .partners .partner-logos img { max-width: 95px; display: inline-block; }

    /* Tools Section */
    .tools {
        margin: 40px 0;
    }

    .tools-content .title { font-size: 32px; text-align: center; }
    .tool-cards { padding: 0 10px; border-radius: 12px; }
    .tool-card-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
        padding: 20px;
        box-sizing: border-box;
    }

   .tool-card-inner .card-img {
        order: -1;
        width: 100%;
        min-height: 0;
        flex: none;
        box-sizing: border-box;
    }

    .tool-card-inner .card-img img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    .tool-card-inner .text {
        flex: none;
        width: 100%;
        text-align: center;
        display: block;
        max-width: 760px;
    }

    .tool-card-inner .text .title {
        font-size: 28px;
        margin-bottom: 12px;
        text-decoration: underline;
        text-decoration-color: #ffd700;
        text-underline-offset: 8px;
        text-decoration-thickness: 5px;
    }

    .tool-card-inner .text .button,
    .tool-card-inner .button {
        display: inline-block;
        width: auto !important;
        margin: 0 auto 10px auto;
        text-align: center;
        align-self: center;
    }


    /* Schools Section */
    .schools-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 20px;
        padding-bottom: 50px;
    }

    .schools .title {
        font-size: 32px;
    }

    .schools-image {
        order: -1;
        width: 100%;
        max-width: 420px;
        height: auto;
        display: block;
        border-radius: 12px;
    }

    .schools-text { width: 100%; max-width: 760px; }
}