/*
Theme Name: Thrive
Theme URI: https://wp-training-issa.it-corp-lab.net
Author: IT CORP
Description: Thrive custom WordPress theme
Version: 1.0.0
*/

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.header {
    padding: 20px 0;
    background: #eeeeee;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* NAVBAR */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.custom-logo {
    height: 100px;
    width: auto;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

/* WORDPRESS MENU */
.nav-links .menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* MENU LINKS */
.nav-links .menu li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease;
    position: relative;
}

/* HOVER */
.nav-links .menu li a:hover {
    color: #3fa9f5;
}

/* ACTIVE PAGE */
.nav-links .menu li.current-menu-item a {
    color: #3fa9f5;
}

/* SMALL UNDERLINE EFFECT */
.nav-links .menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;

    background: #3fa9f5;
    transition: 0.3s ease;
}

.nav-links .menu li a:hover::after,
.nav-links .menu li.current-menu-item a::after {
    width: 100%;
}

/* DROPDOWN ARROW */
.nav-links .menu .menu-item-has-children > a::after {
    content: " ▼";
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: #3fa9f5;
    font-size: 10px;
    transition: none;
}

.nav-links .menu .menu-item-has-children > a:hover::after {
    width: auto;
    background: none;
    color: #3fa9f5;
}

/* DROPDOWN */
.nav-links .menu li {
    position: relative;
}

/* SUBMENU */
.nav-links .menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    background: #fff;
    min-width: 220px;

    padding: 10px 0;
    list-style: none;

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 8px;

    z-index: 1000;
}

/* SHOW DROPDOWN */
.nav-links .menu li:hover > .sub-menu {
    display: block;
}

/* SUBMENU LINKS */
.nav-links .menu .sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
}

/* SUBMENU HOVER */
.nav-links .menu .sub-menu li a:hover {
    background: #f5f5f5;
    color: #3fa9f5;
}

/* WEATHER BUTTON */
.nav-links .menu .menu-item-btn > a {
    padding: 8px 16px;
    background: #3fa9f5;
    color: #fff !important;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
}

.nav-links .menu .menu-item-btn > a:hover {
    background: #a663e6;
    color: #fff !important;
}

/* REMOVE underline effect for the button */
.nav-links .menu .menu-item-btn > a::after {
    display: none;
}

/* BUTTON */
.btn {
    padding: 8px 16px;
    background: #3fa9f5;
    color: #fff;
    font-size: 20px;
    border-radius: 5px;
    text-decoration: none;
}

.btn:hover {
    background: #a663e6;
    color: #000000;
}

.nav-links a.btn:hover {
    text-decoration: none;
    color: #ffffff;
}

/* CONTACT BUTTON */
.btn_contact {
    padding: 8px 16px;
    background: #ffffff;
    color: #000000;
    font-size: 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 100px;
}

.btn_contact:hover {
    background: #a663e6;
}

.hero-text .btn {
    margin-right: 20px;
}

/* HERO */
section.hero {
    padding: 20px 0 80px 0;
    background: #e9e9e9;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* LEFT */
div.hero-text {
    flex: 1;
    height: 100%;
}

div.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

section.hero div.hero-text p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #555;
    max-width: 500px;
}

/* RIGHT */
.hero-image {
    flex: 1;
    height: 100%;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
}

/* SLIDER */
.slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    margin-bottom: 20px;
}

/* DOTS */
.dots {
    text-align: center;
    margin-top: 20px;
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 5px;
    background:#999; 
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dots span.active {
    background: #3fa9f5;
    transform: scale(1.2);
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;

    padding: 20px;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 10px;
    
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card h3 {
    margin-top: auto;
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
    width: 100%;
}

.card p {
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.card-icon img {
    width: 80px;
    height: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 cards */
    gap: 30px;
}

.card-icon {
    align-items: center;
}

.card h3 {
    align-items: center;
}

.card p {
    text-align: center;
    flex-grow: 1;
    color: #666;
}

.section-header {
    text-align: center;
    margin: 30px 0 40px 0;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-header h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background: #3fa9f5;
    margin: 10px auto 0;
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.products {
    background: #e9e9e9;
    padding-top: 10px !important;
}

.products .section-header h2::after {
    background: #a663e6; /* your purple tone */
}

.products .card-icon img {
    width: 90px;
}

.card-btn {
    display: inline-block;
    padding: 10px 18px;

    background: #3fa9f5;
    color: #fff;

    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;

    align-self: center;
    justify-self: center;

    transition: 0.3s;
}

.card-btn:hover {
    background: #a663e6;
}

.card-btn:active {
    transform: scale(0.97);
}

/* PARTNERS */
.partners {
    padding: 20px 0 60px 0;
    background: #ffffff;
}
.partners-slider {
    position: relative;
    padding: 0 40px;
}

.partners-viewport {
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 60px;
    transition: transform 0.5s ease;
}

/* EACH LOGO */
.partner {
    min-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner img {
    max-width: auto;
    max-height: 100px;
    opacity: 0.6;
    transition: 0.3s;
}

.partner img:hover {
    opacity: 1;
}

.partner-prev,
.partner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background:  #fff;
    color: rgba(0,0,0,0.6);; 
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.partner-prev { left: -15px; }
.partner-next { right: -15px; }

/* Trust Section */
 .trust {
    padding: 5px 40px 60px 40px;
    background: #1e293b;
    color: #fff;
}

.trust .section-header h2{
    color: #fff;
}

.trust .section-header h2::after {
    background: #a663e6; /* your purple tone */
}

.trust .section-header p{
    color: #fff;
}

.trust-clients {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
}

.client {
    display: flex;
    justify-content: center;
}

.client img {
    max-width: auto;
    max-height: 100px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: 0.3s;
}

.client img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.footer {
    background: #0f172a;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.footer-col a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: #007BFF;
    transition: 0.3s;
}

.footer-col a:hover::after {
    width: 100%;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
}

.newsletter-form button {
    padding: 8px 12px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: #0056b3;
}

.footer-logo img {
    max-width: 120px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
    color: #aaa;
}

.footer h3::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #3fa9f5;
    margin: 10px auto 10px;
    position: absolute;
}

.hero.hero-small {
    min-height: 60vh;   /* perfect balance */
    padding: 40px 0;
    display: flex;
    align-items: center;
}

.hero-content.reverse {
    flex-direction: row-reverse;
    gap: 80px;
    padding: 40px 0;

}

.hero-small .hero-image img {
    max-width: 450px;
    height: auto;
}

.hero-small h1 {
    font-size: 36px;
}

.hero-small p {
    font-size: 16px;
    max-width: 500px;
}


/* =========================
   SECTION DESCRIPTION
========================= */
.section-description {
    background: #000;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
}

/* TITLE */
.section-description h2 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 1px;

    margin-bottom: 25px;
    position: relative;
}

/* UNDERLINE */
.section-description h2::after {
    content: "";

    display: block;
    width: 120px;
    height: 3px;

    background: #3fa9f5;

    margin: 15px auto 0;
}

/* TEXT */
.section-description p {
    max-width: 750px;
    margin: 0 auto;

    font-size: 17px;
    line-height: 1.9;

    color: #bdbdbd;
}

.product-block,
.service-block {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;

}

.product-block:nth-child(even),
.service-block:nth-child(even) {
    background: #f3f3f3;
}

/* container INSIDE block */
.product-block .container,
.service-block .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* reverse layout */
.product-block.reverse .container,
.service-block.reverse .container {
    flex-direction: row-reverse;
}

.block-image img {
    width: 100%;
    max-width: 400px;
}

.block-text {
    max-width: 500px;
}

.block-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.block-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.block-text li {
    margin-bottom: 8px;
    color: #666;
}

.btn-small {
    display: inline-block;
    padding: 8px 16px;
    background: #3fa9f5;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
}

.btn-small:hover {
    background: #a663e6;
}

.product-block:nth-child(even) {
    background: #f3f3f3;
}

.detail-block {
    padding: 80px 0;
}

.detail-block:nth-child(even) {
    background: #f3f3f3;
}

.detail-block .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.detail-block.reverse .container {
    flex-direction: row-reverse;
}

/* IMAGE */
.detail-image img {
    width: 100%;
    max-width: 350px;
}

/* TEXT */
.detail-text {
    max-width: 500px;
}

.detail-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.detail-text p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* =========================
   CONTACT HERO
========================= */
.hero-small {
    background: #e9e9e9;
    padding: 100px 20px;
    text-align: center;
}

.hero-small h1 {
    font-size: 48px;
    color: #111;
    margin-bottom: 15px;
}

.hero-small p {
    font-size: 18px;
    color: #555;
}


/* =========================
   CONTACT INFO
========================= */
.contact-info {
    padding: 80px 0;
    background: #ffffff;
}

.contact-info .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-box {
    background: #f7f7f7;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;

    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.info-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #111;
}

.info-box p {
    color: #666;
    font-size: 16px;
}


/* =========================
   CONTACT FORM
========================= */
.contact-form {
    background: #1e293b;
    padding: 80px 20px;
}

/* Contact Form 7 wrapper */
.contact-form form {
    max-width: 700px;
    margin: 0 auto;

    background: #fff;
    padding: 50px;
    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* labels */
.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #222;
}

/* inputs */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 25px;

    border: 1px solid #ddd;
    border-radius: 8px;

    font-size: 15px;
    outline: none;

    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3fa9f5;
    box-shadow: 0 0 10px rgba(63,169,245,0.2);
}

/* textarea */
.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

/* submit button */
.contact-form input[type="submit"] {
    background: #3fa9f5;
    color: #fff;
    border: none;

    cursor: pointer;
    font-size: 16px;
    font-weight: bold;

    transition: 0.3s ease;
}

.contact-form input[type="submit"]:hover {
    background: #a663e6;
}


/* =========================
   CTA SECTION
========================= */
.cta {
    padding: 80px 20px;
    text-align: center;
    background: #f5f5f5;
}

.cta h2 {
    font-size: 38px;
    margin-bottom: 15px;
    color: #111;
}

.cta p {
    color: #666;
    font-size: 18px;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

    .contact-info .container {
        grid-template-columns: 1fr;
    }

    .hero-small h1 {
        font-size: 36px;
    }

    .contact-form form {
        padding: 30px;
    }
}

/* =========================
   ABOUT CONTENT
========================= */
.content {
    padding: 80px 20px;
    text-align: center;
    background: #ffffff;
}

.content h2 {
    font-size: 38px;
    margin-bottom: 25px;
    color: #111;
}

.content p {
    max-width: 850px;
    margin: 0 auto;

    font-size: 17px;
    line-height: 1.8;
    color: #666;
}


/* =========================
   ABOUT FEATURES
========================= */
.about-features {
    padding: 80px 0;
    background: #f5f5f5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */
.feature-card {
    background: #ffffff;
    padding: 40px 30px;

    border-radius: 12px;
    text-align: center;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);

    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* TITLE */
.feature-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #111;
    position: relative;
}

/* underline */
.feature-card h3::after {
    content: "";
    display: block;

    width: 60px;
    height: 3px;

    background: #3fa9f5;

    margin: 12px auto 0;
}

/* TEXT */
.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

    .features-grid {
        grid-template-columns: 1fr;
    }

    .content h2 {
        font-size: 32px;
    }
}