* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    z-index: 10;
    width: 100%; 
}

.nav_links {
    display: flex;
    gap: 20px;
    padding: 15px 80px;
    align-items: center;
}

.nav_links .home {
    color: #ff305b;
}

.nav_links a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    font-family: 'Source Sans Pro', sans-serif;
}

.nav_links a:hover {
    color: #ff305b;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #ff305b;
    padding: 15px 100px;
    font-family: 'Source Sans Pro', sans-serif;
}

.main {
    background-image: url(img/fokirrrrr.jpeg);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    background: rgba(0, 0, 0, 0.8);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    color: #ffffff;
    position: relative;
    text-align: center;
    z-index: 10;
}

.content h3 {
    color: #fff;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 24px;
}

.content h1 {
    color: #ff305b;
    font-size: 70px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Source Sans Pro', sans-serif;
}

.content h4 {
    font-size: 22px;
    text-transform: capitalize;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 200;
}
.typing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    color: #fff;
    text-transform: capitalize;
}

.typing-text {
    display: inline-block;
    color: #fff;
    border-right: 3px solid #ff305b;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    margin-left: 8px;
    animation: typing 6s steps(15) infinite, blink 0.7s infinite;
}

.typing-text::before {
    content: "Designer";
    animation: words 6s infinite;
}

@keyframes typing {
    0%, 10%, 100% { width: 0; }
    30%, 40% { width: 130px; }
    50%, 60% { width: 0; }
    80%, 90% { width: 150px; }
}

@keyframes words {
    0%, 50% { content: "Designer"; }
    51%, 100% { content: "Developer"; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

#about {
    padding: 100px 0;
    background-color: #fff;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    align-items: flex-start;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.image-container {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 4px;
}

.image-border {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 8px solid #333;
    z-index: 1;
}

.image-container img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.image-container:hover img {
    transform: scale(1.1);
}

.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ff305b;
}

.about-content {
    flex: 1.5;
    min-width: 300px;
}

.about-content h2 {
    font-family: sans-serif;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.about-content h2::before {
    content: "";
    width: 5px;
    height: 30px;
    background-color: #ff305b;
    margin-right: 15px;
}

.about-content p {
    font-family: sans-serif;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #ddd;
}

.about-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    font-family: sans-serif;
}

.info-item {
    width: 50%;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.info-item span {
    font-weight: bold;
    margin-right: 5px;
}

.about-btns {
    display: flex;
    gap: 15px;
}

.btn {
    font-family: sans-serif;
    padding: 12px 25px;
    background-color: #ff305b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    background-color: orangered;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 40px;
    }
    .info-item {
        width: 100%;
    }
}
#services {
    background-color: #f1f1f1;
    padding: 100px 0;
    text-align: center;
    font-family: sans-serif;
}

.section-header {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #333;
}

.title-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.long-line {
    width: 160px;
    height: 1px;
    background-color: #ff305b;
}

.short-line {
    width: 60px;
    height: 1px;
    background-color: #ff305b;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: transparent;
    padding: 40px 20px;
    flex: 1;
    min-width: 250px;
    transition: all 0.4s ease;
}

.service-card i {
    font-size: 32px;
    color: #ff305b;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.service-card:hover {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}


#portfolio {
    padding: 50px 0;
    text-align: center;
    font-family: sans-serif;
}


.portfolio-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
}

.portfolio-header h2 {
    font-size: 40px;
    font-weight: 900;
}

.portfolio-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0;
    margin-top: 0; 
}
.portfolio-nav li { font-weight: 700; font-size: 14px; cursor: default; }
.portfolio-nav li.active { color: #ff305b; }


.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;          
    max-width: 1200px;  
    margin: 0 auto;     
    padding: 0 20px;    
}


.portfolio-item {
    position: relative;
    overflow: hidden;
}


.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 5px; 
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay i {
    color: white;
    font-size: 24px;
}
#counters {
    background-color: #f1f1f1; 
    padding: 100px 0;
    margin-top: 50px;
    font-family: 'Source Sans Pro', sans-serif;
}

.counter-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 180px;
}

.counter-item {
    flex: 1;
}

.counter-item i {
    font-size: 30px;
    color: #ff305b;
    margin-bottom: 20px;
}
.counter-number {
    font-size: 32px;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
}

.counter-text {
    font-size: 16px;
    color: #666;
    font-weight: 600;
    text-transform: capitalize;
}
@media (max-width: 768px) {
    .counter-grid {
        flex-direction: column;
        gap: 40px;
    }
}


.feedback-padding {
    padding: 80px 0;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
}


.section-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title .line {
    display: block;
    width: 80px;
    height: 2px;
    background-color: #ff305b;
    margin: 0 auto;
}


.testimonial-card {
    position: relative;
    max-width: 850px;
    margin: 0 auto;  
    background-color: #f1f1f1;
    padding: 40px;
    border-radius: 5px;
}


.inner-card {
    display: flex;
    align-items: center;
}


.client-img-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.red-shape {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background-color: #ff305b;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.client-img-wrapper img {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    z-index: 2;
    object-fit: cover;
}


.client-details {
    margin-left: 40px;
}

.client-details h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.location {
    color: #777;
    font-size: 14px;
    margin: 5px 0 15px;
}

.feedback-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}


.rating-stars i {
    color:rgb(177, 177, 15);
}

.rating-stars i.fa-regular {
    color: #ccc;    
}
.slider-dots {
    text-align: center;
    margin-top: 20px; 
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: transparent;
    border: 1px solid #ff305b;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s;
}

.dot.active {
    background-color: #ff305b;
    width: 30px;
    border-radius: 20px;
}


@media (max-width: 768px) {
    .inner-card {
        flex-direction: column;
        text-align: center;
    }
    .client-details {
        margin-left: 0;
        margin-top: 20px;
    }
    .red-shape {
        left: 0;
        right: 0;
        margin: auto;
    }
}

.blog-padding {
    padding: 80px 0;
}

.section-heading h2 {
    font-size: 35px;
    font-weight: 700;
}

.blog-lines{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.small-line{
    width: 70px;
    height: 1px;
    background-color: #ff305b;
}

.big-line{
    width: 120px;
    height: 1px;
    background-color: #ff305b;
}
.section-heading {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.section-heading h2{
    text-align: center;
}


.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

.blog-item {
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.blog-media img, 
.blog-media video {
    width: 100%;
    height: 250px; 
    display: block;
    object-fit: cover;
}


.blog-content {
    padding: 20px;
}

.blog-content .date {
    color: #666;
    font-size: 14px;
}

.blog-content h3 a {
    text-decoration: none;
    color: #333;
    display: block;
    margin: 10px 0;
    transition: 0.3s;
}

.blog-content h3 a:hover {
    color: #ff305b;
}

.blog-content p {
    color: #777;
    line-height: 1.6;
    font-size: 15px;
}

.read-more {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    margin-top: 15px;
    display: inline-block;
}

.read-more:hover {
    color: #ff305b;
}
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.contact-padding .section-title {
    width: 100%;          
    display: block;       
    text-align: center; 
    margin-bottom: 1px;   
}
#contact .section-title {
    position: relative;
    padding-bottom: 10px;
}

#contact .section-title::before {
    width: 160px;   
    bottom: 5px;
}

#contact .section-title::after {
    width: 70px;    
    bottom: 0;
}


.contact-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;      
}
.input-group {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.half-width {
    width: 48%;          
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #ff305b; 
}

textarea.form-control {
    resize: none;
}

.send-btn {
    background-color: #ff305b;
    color: white;
    padding: 12px 25px;
    border: none;
    margin: 15px 0 60px 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.send-btn:hover {
    background-color: #ec2d53;
}
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        gap: 15px;
    }
    .half-width {
        width: 100%;
    }
}
.footer-section {
    background-color: #333; 
    padding: 50px 0;
    text-align: center;
    color: #fff;
}
.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    font-size: 18px;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ff305b; 
}
.footer-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.copyright-text p {
    font-size: 16px;
    letter-spacing: 1px;
    margin: 0;
}

.copyright-text span {
    color: #ff305b;
    font-weight: bold;
}

.footer-section p {
    font-family: 'Roboto', sans-serif;
}
#contact .container {
    width: 100%;
    max-width: 800px;
}











