@import url('https://fonts.googleapis.com/css2?family=Asimovian&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-size: 1em;
    background: #131313;
    color: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: 'Inter' sans-serif;
    font-weight: 400;
    line-height: 30px;
    --description-color: rgba(255, 255, 255, 0.65);
    --primary-color: #0e6079;
    --secondary-bg: #1a2632;
    --primary-font: 'Inter' sans-serif;
    --secondary-font: 'Asimovian', sans-serif;
    --border-radius: 12px;
    --btn-color: #1a3532;
    --light-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1)
}

.bg-container {
    background-image: url('bg.jpg');
    background-size: cover;
}
a {
    color: var(--heading-color);
    text-decoration: none;
    outline: none;
    transition: 0.5s;
}

h1 a, h2 a, h3 a, h4 a {
    text-decoration: none;
    outline: none;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

button {
    background: none;
    outline: none;
    border: none;
}
/* HEADER */

nav {
    font-family: var(--secondary-font);
}
#navbar-brand {
    
    font-size: 2em;
}

.nav-link  {
    font-size: 16px;
    font-weight: 600;
    margin-left: 20px;
    transition: .4s ease-in;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    font-weight: 700;
}

#ws {
    background-color: var(--primary-color);
    color: var(--primary-color);
    border-bottom-right-radius: var(--border-radius);
    margin-left: 7em;
    padding: 5px 15px;
    color: #fff;
    font-weight: bolder;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon {
    margin: 0 !important;
}

#ws:hover {
    background-color: #212529;
    color: var(--light-color);
    border: 1px solid var(--primary-color);
}



.navbar-toggler .icon-bar {
    background-color: #ffffff;
    height: 3px;
    width: 30px;
    display: block;
    margin: 7px 0; 
}

/* HOME SECTION*/
#home {

    height: 100%;
    text-align: center;
    font-family: var(--primary-font);
}
#home .btns {
    margin: 2em 0;
}
#home .btns button {
    font-family: var(--secondary-font);
    color: var(--light-color);
    background: var(--btn-color);
    padding: 10px 15px;
    margin-left: 7px;
    border-bottom-right-radius: var(--border-radius);
    font-weight: 600;
    letter-spacing: 1px;
    transition: .7s ease;
    display: inline-flex;
    gap: 8px;
}

#home .btns button:hover {
    background-color: var(--primary-color);
}

#home .heading{
    color: #fff;
    font-size: 5rem;
    text-shadow: 2px 2px 1px black;
    cursor: pointer;
    line-height: 6rem;
    font-weight: bolder;
}

#home .heading .spot-light {
    color: var(--primary-color);
}

#home .description {
    color: var(--description-color);
}

#home .cta {
    margin-bottom: 2em;
}

#cta {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 10px 20px;
    font-family: var(--secondary-font);
    font-weight: bold;
    border-bottom-left-radius: var(--border-radius);
    cursor: pointer;
    margin-left: 10px;
    transition: .7s ease;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}



#cta:hover {
    background-color: #212529;
    color: var(--light-color);
    border: 1px solid var(--primary-color);
}

#cta i {
    margin: 0 !important;
}

#home .work {
    margin-top: 5em;
}

#home .work img {
    width: 25vw;
}

#home .work .img1 {
    transform: rotate(-5deg);   
}

#home .work .img3 {
    transform: rotate(5deg);   
}


/* ABOUT */
#about .heading{
    color: var(--primary-color);
    font-family: var(--secondary-font);
    text-shadow: 2px 2px 1px black;
}

#about .images {
    text-align: center;
    position: relative;
}

#about .second-image {
    background-image: url('image-2.jpg');
    background-size: cover;
    max-width: 300px;
    height: 400px;
}

/* SERVICES */

#services {
    padding: 40px 0;
    background: var(--secondary-bg);
    font-family: var(--primary-font);
}

#services .heading, h4 {
    font-family: var(--secondary-font);
}
#services p {
    color: #6f7883;
    line-height: 1.5rem;
    
}

#services .cards {
    padding: 10px;
}

#services .cards .my-card {
    min-width: 290px;
    background: none;
    cursor: pointer;
    margin-left: 2em;
}

.cards .svg {
    display: inline-flex;
    border-radius: 50px;
    padding: 20px;
    background-color: #1d232d;
}

.my-card:hover .svg {
    background-color: var(--primary-color);
}

.cards .svg svg {
    filter: brightness(0) invert(1);
}

/* PROJECTS */

#projects {
    padding: 60px 20px;
    background: #f9f9f9;
}

#projects button {
    display: block;
    margin: 10px auto;
    color: #fff;
    background: var(--btn-color);
    padding: 10px 15px;
    font-family: var(--secondary-font);
    font-weight: bolder;
    border-bottom-left-radius: 9px;
    border-top-right-radius: 9px;
    transition: .7s ease;
    letter-spacing: 1px;
}
  
#projects button:hover {
    background: var(--primary-color);
}

#projects h1 {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--secondary-font);
}

#projects h3 {
    font-family: var(--secondary-font);
    font-weight: bold;
    letter-spacing: 2px;
}
  
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 3fr));
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    max-width: 400px;
    cursor: pointer;
    margin: auto;
    overflow: hidden;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
    transition: ease 0.3s;
}

.project-card:hover.project-card img {
    opacity: 0.5;
}

.project-card img {
    max-width: 100%;
    object-fit: cover;
    height: auto;
    display: block;
}

.project-info {
    font-family: var(--primary-font);
    padding: 20px;
    text-align: left;
}

.project-info h3 {
    margin-top: 0;
}
.project-links {
    padding: 0 20px 20px 20px;
}
.project-links a {
    margin-right: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: bolder;
}

.project-links a:hover {
    color: var(--primary-color);
}

.tech-used {
    font-size: 0.9rem;
    color: #777;
    font-weight: bold;
}


/* TESTIMONIALS */

#testimonials {
    background: var(--secondary-bg);
    padding: 5rem 0;
    color: white;
    text-align: center;
}

#testimonials h1 {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--secondary-font);
}

#testimonials p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.testimonial-section {
    padding: 4rem 0;
}

.testimonial-card {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    color: #333;
}

.testimonial-card.active {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    font-style: italic;
    margin-top: 1rem;
    color: #fff;
    font-weight: bold;
}

.testimonial-author {
    font-family: var(--secondary-font);
    font-weight: bolder;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-weight: bolder;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #fff;
    font-weight: bolder;
}


/* FAQ */

#questions {
    margin: 0 auto;
    padding: 20px;
  }

#questions h2 {
    font-family: var(--secondary-font);
    text-align: center;
    font-size: 2rem;
    margin: 30px 0;
    color: var(--light-color);
  }

.accordion {
    background: #fff;
    color: #333;
    cursor: pointer;
    padding: 18px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-family: var(--secondary-font);
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 1px 2px 6px rgba(0,0,0,0.08);
}

.accordion:hover {
    background: #f1f1f1;
}

.accordion.active {
    background: #e8f4ff;
    color: #0056b3;
}

.panel {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
    border-left: 3px solid #0056b3;
    border-radius: 0 0 10px 10px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.panel p {
    line-height: 1.6;
    color: #555;
    padding-bottom: 20px;
}

/* CONTACT ME */


.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    color: white;
}

.btn-telegram {
    background-color: #0088cc;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-telegram:hover {
    background-color: #007ab8;
    color: white;
}

i.bi {
    font-size: 1.2rem;
}

/* FOOTER */

footer .socials a{
    padding: 7px;
    color: var(--primary-color);
    font-weight: bolder;
}

footer h2 {
    font-family: 'Asimovian', 'sans-serif';
    cursor: pointer;
}
footer p {
    font-size: 14px;
    color:#6f7879;
    font-weight: bolder;
}

footer ul li {
    color: #6f7879;
    font-weight: 500;
    letter-spacing: 1px;
    transition: .7s ease;
}

footer ul li:hover > :not(:hover){
    filter: blur(2px);
    opacity: 0.5s;
}



/* NAVBAR RESPONSIVE */
@media screen and (max-width: 1034px) {
    nav #ws {
        display: inline-flex;
        margin-left: 16px;
    } 

    .about .second-image {
        max-width: 500px;
    }
}

@media screen and (max-width: 992px) {
    #home .btns {
        margin-top: 0;
    }

    #home .heading {
        font-size: 4.2rem;
    }

    #home .work .img3 {
        display: none;
    }
}

@media screen and (max-width: 820px) {
    #home .heading {
        line-height: 5.3rem;
    }
}

@media screen and (max-width: 768px) {
   
html,body {
   
    overflow-x: hidden;
   
}
    #home .btns button {
        justify-content: center;
        margin-bottom: 10px;
    }

    .about .image {
        width: 100%;
    }
}


@media screen and (max-width: 540px) {
    #home .heading {
        font-size: 4rem;
        line-height: 4rem;
    }
    .about .second-image {
        text-align: center;
    }
    
}

@media screen and (max-width: 420px) {
    #home .heading {
        font-size: 3.3rem;
    }

    #about .first-image {
        max-width: 300px;
    }

    /* SERVICES */
    #services .cards {
        padding: 0;
    }
    #services .cards .my-card {
        padding: 15px;
    }

}

@media screen and (max-width: 326px) {
    #home #cta {
        margin-bottom: 10px;
        padding: 10px 30px;
        gap: 15px;
    }

   
}

/* Services */
@media screen and (max-width: 540px) {
    #services .cards .my-card {
        margin-left: 0;
    }

    #services {
        overflow-x: hidden;
        overflow-y: hidden;
    }
}
