﻿
.psychology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.psychology-item {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: left;
    transition: transform 0.3s ease;
    position: relative;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}

    .psychology-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 8px;
        height: 100%;
        background: var(--secondary-color);
        border-radius: 15px 0 0 15px;
    }

    .psychology-item:hover {
        transform: translateY(-10px);
    }

.color-swatch {
    width: 100%;
    height: 150px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.psychology-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    line-height: 1.1;
}

.psychology-item p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
    border-left: none;
    padding-left: 0;
}
/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #ff8882;
    --black-color: #0E2431;
    --white-color: #fff;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-color);
    }


/* About Section Styling */
section {
    padding-top: 20px;
}

    section .content {
        width: 100%;
        margin: 40px auto;
        font-family: 'Poppins', sans-serif;
    }

    section .title {
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
    }

        section .title span {
            color: var(--black-color);
            font-size: 30px;
            font-weight: 600;
            position: relative;
            padding-bottom: 8px;
        }

            section .title span::before,
            section .title span::after {
                content: '';
                position: absolute;
                height: 3px;
                width: 100%;
                background: var(--primary-color);
                left: 0;
                bottom: 0;
            }

            section .title span::after {
                bottom: -7px;
                width: 70%;
                left: 50%;
                transform: translateX(-50%);
            }

.about .about-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .about .about-details .left {
        width: 45%;
    }

.about .left img {
    height: 300px;
    width: auto;
    object-fit: cover;
    border-radius: 12px;
}

.about .about-details .right {
    width: 55%;
}

section .topic {
    color: var(--black-color);
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 10px;
}

.about-details .right p {
    text-align: justify;
    color: var(--black-color);
}

section .button {
    margin: 16px 0;
}

    section .button button {
        outline: none;
        padding: 8px 16px;
        border-radius: 4px;
        font-size: 25px;
        font-weight: 400;
        background: var(--primary-color);
        color: var(--white-color);
        border: 2px solid transparent;
        cursor: pointer;
        transition: all 0.4s ease;
    }

        section .button button:hover {
            border-color: var(--primary-color);
            background-color: var(--white-color);
            color: var(--primary-color);
        }
/* My Services CSS */
.services .boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

    .services .boxes .box {
        margin: 20px 0;
        width: calc(100% / 4 - 20px);
        text-align: center;
        border-radius: 12px;
        padding: 30px 10px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.12);
        cursor: default;
        transition: all 0.4s ease;
    }

        .services .boxes .box:hover {
            background: var(--primary-color);
            color: var(--white-color);
        }

        .services .boxes .box .icon {
            height: 50px;
            width: 50px;
            border-radius: 50%;
            text-align: center;
            line-height: 50px;
            font-size: 18px;
            color: var(--primary-color);
            margin: 0 auto 10px auto;
            transition: all 0.4s ease;
        }

.boxes .box:hover .icon {
    color: var(--white-color);
}

.services .boxes .box:hover .topic,
.services .boxes .box:hover p {
    color: var(--white-color);
    transition: all 0.4s ease;
}

/* Contact Me CSS */
.contact {
    background: #f0f8ff;
}

    .contact .content {
        margin: 0 auto;
        padding: 30px 0;
    }

    .contact .text {
        width: 60%;
        text-align: center;
        margin: auto;
    }
        .contact .text .row {
            text-align: center;
        }


/* Scroll To Top Button CSS */
.scroll-button a {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: var(--white-color);
    background: var(--primary-color);
    padding: 10px 12px;
    font-size: 18px;
    border-radius: 6px;
    box-shadow: rgba(0,0,0,0.15);
    display: none;
}

/* Responsive Media Queries */


/* Slider Section */
.slider {
    width: 1170px;
    max-width: 100vw;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.list {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: max-content;
    transition: 1s;
}

    .list img {
        width: 1300px;
        max-width: 100vw;
        height: 100%;
        object-fit: cover;
    }

.buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

    .buttons button {
        width: 50px;
        height: 50px;
        border-radius: 505;
        background-color: #fff5;
        color: #fff;
        border: none;
        font-family: monospace;
        font-weight: bold;
    }

.dots {
    position: absolute;
    bottom: 10px;
    color: #fff;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    transition: 1s;
}

    .dots li {
        list-style: none;
        width: 10px;
        height: 10px;
        background-color: #fff;
        margin: 20px;
        border-radius: 20px;
    }

        .dots li.active {
            width: 30px;
        }

@media screen and ( max-width: 768px) {
    .slider {
        height: 400px;
    }
}

        
      
