* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c3e50;
    --secondary: #628e9c;
    --accent: #e67e22;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #7f8c8d;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
    padding: none;
}




























h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin:  0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 1.5s, box-shadow 0.3s;
    gap: 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.logo  {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.logo-button {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


/* ...Projects-container-responsive... */
    
            /*...Destop...*/
            @media (max-width: 900px) {
            .projects-container {
                grid-template-areas: 
                 "container"
                 "project-menu-bar-card"
                 "projects-container" ;
            }
            .projects-container {
                display: flex;
                flex-direction: column;
                
            }
                
            }

                /*...Mobile...*/

    /*...1.Project Header Options...*/
    .project-menu-bar-card {
        width: 100%;
        margin : 5px auto 0 auto;

        display: grid;
        grid-template-columns: repeat(auto-fit, 150px);

        padding-top: 75px;
        padding-bottom: 25px;

        justify-content: center;
        gap: 20px;

        background-color: rgba(170, 190, 253, 0.5);                      /*1. background color */
    }

    .project-selection {
        text-align: center;
        font-family:Verdana, Geneva, Tahoma, sans-serif;
        font-size: medium;
        padding-top: 20px;
    }

    .project-button-1,
    .project-button-2,
    .project-button-3 {
        color: #2c3e50;
        border: 1px solid rgba(196, 196, 196, 0.459);
        border-radius: 10px;
        box-shadow: 0 10px 15px rgba(131, 131, 131, 0.2);
        cursor: pointer;
        transition: transform 0.3s;
    }

    /*--Project Option Hover--*/
    .project-button-1:hover,
    .project-button-2:hover,
    .project-button-3:hover {
        color: rgba(55, 99, 115, 0.80);
        transition: 0.3s ease;
        transform: scale(1.02);
    }




    /*...2.CONTAINER START HERE...*/
    .projects-container {
        width: 100%;
        margin: 10px auto 0 auto;

        max-height: fit-content;    /*...Fit project-card (below )...*/

        border-radius: 10px;
        border-width: 5px;
        border: 1px solid none;
        background-color: rgba(255, 178, 178, 0.5);                          /*2. background color */
        border: 1px solid rgba(255, 0, 0, 0.8);
    }

        /*... First-Container...*/
        .project-card {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));  
            row-gap: 21px;
            
            gap: 10px;
            justify-content: center;
            padding: 18px 100px;
            background-color: none;
        }

        .project-background {
            width: 250px;               /*...Project background width and height...*/  /*...If change, need to change in " image-viewer img "too...*/
            height: auto;
            
            margin: 5px auto 5px;
            place-items: center;
            background-color: rgba(255, 255, 255);

            border-radius: 10px;
            position: relative;

            box-shadow: 0 5px 15px  rgba(0, 0, 0, 0.1) ;
            transition: transform 0.5s;
        }

         .project-background:hover {
            transform: scale(1.08);
            z-index: 1;
            cursor: pointer;
        }






            /*... images...*/

            .image-viewer {
                text-align: center;
                font-size: 21px;
                
            }
            .image-viewer h1 {
                color: #628e9c;
                
                text-transform: uppercase;
                font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
                font-size: 18px;
            }

            
            
            .image-viewer img {
                width: 250px;       /*...Image width and height...*/ /*...If change, need to change in " project-background "too...*/
                height: auto;
                height: 250px;
                
                
                
                object-fit: cover;
                border-radius: 10px 10px 0 0;
                
            }

            image-viewer p {
                text-align: none;
            }

            .project-link {
                color: none;
                background: none;
                text-decoration: none;
            }

            /*... texts...*/
            .text-viewer {
                width: 100%;
                margin: 0 auto;

                font-family: 'Montserrat';
                font-size: 15px;

                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                line-clamp: 3;
                -webkit-box-orient: vertical;

                padding: 0 3px 5px;
                color: #3d3d3d;
                text-transform: capitalize;
            }

            .inner-text-viewer-adjust-color {
                color: #628e9c;
            }
           




        /*... Second-Container...*/



        
























/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .stat-item {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        height: 300px;
    }
    
}






