/* HOME */
.home {
    display: flex;
    align-items: center;
    height: 80vh;
    padding-top: 5rem;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/img.avif');
}

.home .home-content {
    max-width: 27.5rem;
}

.home-content h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 0.75;
}

.home-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.1875rem;
    color: var(--logo-seagreen);
}

.home-content p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.home-content .tagline {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 0.625rem;
}

.social-media {
    display: flex;
    margin: 1.5625rem 0 1.875rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: 0.125rem solid var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0.125rem 0.3125rem var(--shadow-color);
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-right: 0.9375rem;
    transition: all 0.5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--white-color);
    transform: translateY(-5px);
    border: none;
}

.cta-buttons {
    display: flex;
    align-items: center;
}

.professional-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 850px;
    height: inherit;
    background-image: linear-gradient(to left, rgba(255,255,255,0) 40%, rgba(255,255,255,1) 85%), url('../images/hero.webp');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 40% 50%);
}

@media (max-width: 1030px) {
    .professional-container {
        width: 750px;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 52% 52%);
    }
}

@media (max-width: 990px) {
    .professional-container { 
        width: 550px;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 82% 50%); 
        
    }
}


@media (max-width: 850px){
    .home {
        flex-direction: column;
        padding: 5.625rem 3% 9.375rem;
        text-align: center;
        justify-content: flex-start;
        position: relative;
        overflow: hidden;
    }

    .home-content { 
        width: 100%;
        margin-top: 35px;    
    }
    
    .home-content h3 {
        font-size: 1.375rem;
        line-height: 1.2;
    }

    .home-content h1 {
        font-size: 2.5rem;
    }

    .home-content p {
        font-size: 0.875rem;
    }

    .social-media {
        justify-content: center;
        margin: 1.25rem 0;
    }

    .social-media a {
        width: 2.1875rem;
        height: 2.1875rem;
        font-size: 1.125rem;
        margin: 0 0.46875rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin: 0.3125rem 0;
    }

    .cta-buttons .secondary-btn { margin-left: 0; }
    .professional-container{
        position: absolute;
        top: 34.375rem;
        width: 100%;
        height: 280px;
        clip-path: polygon(50% -10.05%, 100% 51.27%, 100% 100%, 0% 100%, 0% 51.27%);
        background-image: linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%), url('../images/hero.webp')
    }

}

@media (max-width: 470px){
    .home .home-content{ margin-top: 5rem; }
    .professional-container { top: 50rem }
}



/* SERVICES */
.services{ background: var(--logo-yellow); }
.services-container {
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    padding: 0 0.9375rem 0.9375rem;
}

.services-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/service-mandala.png") center/cover no-repeat;
    opacity: 0.5; 
    z-index: -1;
}

.section-header {
    margin-bottom: 3.125rem;
    text-align: center;
}

.service-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.service-box {
    flex: 1 1 18.75rem;
    background: var(--bg-color);
    padding: 1.875rem 1.25rem 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 0.0625rem 0.3125rem var(--shadow-color);
    text-align: center;
    border-top: 0.375rem solid var(--main-color);
    border-bottom: 0.375rem solid var(--main-color);
    transition: all 0.5s ease;
    position: relative;
    min-width: 300px;
}

.service-box.featured {
    transform: translateY(-20px);
    border-color: var(--success-color);
}

.popular-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 0.3125rem 0.9375rem;
    border-radius: 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
}

.service-box h3 {
    font-size: 1.625rem;
    margin-bottom: 0.625rem;
}

.price-tag {
    font-size: 1.75rem;
    color: var(--main-color);
    font-weight: 700;
    margin: 0.625rem 0;
}

.service-box ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1.25rem 0;
}

.service-box ul li {
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #ddd;
}

.service-box ul li:last-child {
    border-bottom: none;
}

.service-box ul li::before {
    content: '✓';
    margin-right: 8px;
    color: var(--success-color);
    font-weight: bold;
}

.service-box:hover,
.service-box.active {
    transform: scale(1.03);
    border-color: var(--info-color);
    box-shadow: 0 0.625rem 1.25rem var(--shadow-color);
}

.service-box.featured:hover {
    border-color: var(--success-color);
}


@media (max-width: 660px){
    .service-box.featured{ margin-top: 3.125rem; }
}



/* SYSTEM */
.systems { background: linear-gradient( 180deg, rgba(255, 239, 158, 1) 0%,rgba(255, 255, 255, 0.9) 100%); }
.systems-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5625rem;
}

.system-card {
    background: var(--bg-color);
    border-radius: 0.9375rem;
    padding: 1.875rem 1.25rem;
    box-shadow: 0 0.3125rem 0.9375rem var(--shadow-color);
    transition: transform 0.5s ease;
    text-align: center;
    border-top: 5px solid var(--main-color);
}

.system-card:hover {
    transform: translateY(-10px);
}

.system-icon {
    width: 80px;
    height: 80px;
    background: rgba(117, 78, 249, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.system-icon i {
    font-size: 2.1875rem;
    color: var(--main-color);
}

.system-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.9375rem;
}

.system-card p {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
}

.system-card ul {
    text-align: left;
    list-style: none;
    margin-bottom: 1.875rem;
}

.system-card ul li {
    font-size: 0.875rem;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5625rem;
    border-bottom: 1px dashed #ddd;
}

.system-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.feature-list li { display: none; }
.feature-list li:nth-child(-n+5) { display: list-item; }
.feature-list.expanded li { display: list-item; }
.toggle-btn {
    width: 100%;
    background: none;
    padding: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    color: #534d4d;
    font-family: 'Oxygen', sans-serif;
}

.toggle-btn i { transition: transform 0.3s ease; }
.toggle-btn.active i { transform: rotate(180deg); }



/* PORTFOLIO */
.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5625rem;
    margin-bottom: 1.875rem;
}

.portfolio-box {
    background: var(--bg-color);
    border-radius: 0.625rem;
    overflow: hidden;
    box-shadow: 0 0.3125rem 0.9375rem var(--shadow-color);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-box:hover {
    transform: translateY(-5px);
}

.portfolio-box img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: black;
}

.portfolio-details {
    padding: 0.9375rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-details h4 {
    font-size: 1.125rem;
    margin-bottom: 0.3125rem;
    color: var(--text-color);
}

.portfolio-details p {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 1.9375rem;
    flex-grow: 1;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    color: var(--main-color);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.portfolio-link i {
    margin-left: 0.3125rem;
    transition: transform 0.3s ease;
}

.portfolio-link:hover {
    color: var(--main-dark);
}

.portfolio-link:hover i {
    transform: translateX(3px);
}

.view-more {
    text-align: center;
    margin-top: 1.875rem;
}


/* TESTIMONIALS */
.testimonials{ background: radial-gradient(circle at center top, rgba(231, 101, 85, 0.15) 0%, rgba(231, 101, 85, 0.10) 40%, rgba(231, 101, 85, 0.00) 70%); }
.testimonial-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.image-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2.5px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(234, 99, 81, 0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feedback {
    position: relative;
    font-size: 0.84375rem;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.quote-icon {
    font-size: 2.5rem;
    color: #3498db;
    opacity: 0.3;
    margin-bottom: 10px;
}

.quote-start {
    position: absolute;
    top: -15px;
    left: 0;
}

.quote-end {
    position: absolute;
    bottom: -35px;
    right: 0;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px 0 20px 0;
    font-family: 'Geom', sans-serif;
}

.client-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2c3e50;
}

.client-designation {
    font-size: 0.875rem;
    color: #7f8c8d;
    font-style: italic;
}

.navigation {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.nav-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.nav-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.nav-btn:active { transform: translateY(0); }
    .nav-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

.auto-slide-control {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    color: #7f8c8d;
}

.auto-slide-control i {
    margin-right: 10px;
    font-size: 0.75rem;
}

@media (max-width: 1178px) { .navigation{ transform: none; } }
@media (max-width: 768px) {
    .feedback {
        font-size: 0.625rem;
        padding: 0 10px;
    }
            
    .client-info { padding-right: 10px; }
    .image-container {
        width: 70px;
        height: 70px;
    }
            
    .navigation{ top: 20%; }
}


/* ABOUT */
.about-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0.625rem 1.875rem var(--shadow-color);
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 { font-size: 1.25rem; }
.about-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.625rem 0;
}

.about-features {
    display: flex;
    flex: 1;
    gap: 1.25rem;
    margin-bottom: 1.875rem;
}

.feature {
    flex: 1;
    padding: 1.25rem;
    background: var(--logo-yellow);
    border-radius: 0.625rem;
    box-shadow: 0 0.3125rem 0.625rem var(--shadow-color);
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature:hover { transform: translateY(-5px); }
.feature i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 1.875rem;
    color: var(--main-color);
    margin-bottom: 0.625rem;
    background: var(--white-color);
}

.feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.3125rem;
}

.about-content a{ 
    width: 100%; 
    text-align: center;
}

@media (max-width: 850px) {
    .about-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-img {
        width: 80vw;
        margin-top: 2.5rem;
    }

    .about-content h2 { text-align: center; }
    .about-features { flex-direction: column; }
}



/* CONTACT */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3.125rem;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5625rem;
    margin-bottom: 1.25rem;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 1.875rem;
    color: var(--secondary-color);
}

.contact-details {
    margin-bottom: 1.875rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5625rem;
}

.contact-item i {
    font-size: 1.5625rem;
    color: var(--main-color);
    margin-right: 0.9375rem;
    margin-top: 0.3125rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.3125rem;
}

.contact-item p {
    font-size: 0.9375rem;
    margin: 0;
}

.contact-social {
    display: flex;
    gap: 0.9375rem;
}

.contact-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.8125rem;
    height: 2.8125rem;
    background: var(--main-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.5s ease;
}

.contact-social a:hover {
    background: var(--dark-color);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
}

.input-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0.9375rem;
}

.input-box input {
    width: 49%;
    padding: 0.9375rem;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 0.5rem;
    margin-bottom: 0.9375rem;
    box-shadow: 0 0.0625rem 0.3125rem var(--shadow-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

textarea {
    width: 100%;
    padding: 0.9375rem;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 0.0625rem 0.3125rem var(--shadow-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    resize: none;
    min-height: 150px;
}

.contact-form .btn {
    width: 100%;
    cursor: pointer;
}

.contact-form .btn i {
    margin-left: 0.625rem;
}


@media (max-width: 768px) {
    .input-box input { width: 100%; }
}