        * {
            margin: 0;
            padding: 0;
            }

        body {
            font-family: 'Roboto', sans-serif;
            color: #555;
            line-height: 1.6;
            background-color: #fff;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Source Sans Pro', sans-serif;
            color: #333;
            font-weight: 700;
        }

        a {
            text-decoration: none;
            transition: all 0.3s ease;
        }

        ul {
            list-style: none;
        }

        .container {
            width: 85%;
            margin: 0 auto;
            max-width: 1200px;
        }

        .section-padding {
            padding: 100px 0;
        }

        .background-grey {
            background-color:#F1F1F1;
        }
        .section-title {
            position: relative;
            text-align: center;
            margin-bottom: 60px;
}

        .section-title::before {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 1px;
            background:  #ff305b;
}

        .section-title::after {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 1px;
            background: #ff305b;
}       
        .section-title span {
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 1px;
            background:  #ff305b;
}


        .section-title h2 {
            font-size: 36px;
            text-transform: uppercase;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }




        header {
            background-color: #333;
            padding: 9px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .nav-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo a {
            color: #ff305b;
            font-size: 28px;
            font-weight: 800;
        }

        .nav ul {
            display: flex;
        }

        .nav ul li {
            margin-left: 25px;
            color: #fff;
            font-size: 15px;
            font-weight: 500;
        }

        .nav a {
            color: #fff;
            font-size: 15px;
            font-weight: 500;
        }

        .nav ul li a:hover {
            color: #ff305b;
        }

        #home {
            height: 100vh;
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('imgs/الوسائط.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #fff;
            line-height: 1;
        }

        .content h3 {
            font-size: 24px;
            color: #fff;
            margin-bottom: 10px;
            animation: in-out 1s ease forwards;
            opacity: 0;
        }

        .content h1 {
            font-size: 60px;
            color: #ff305b;
            text-transform: uppercase;
            margin-bottom: 15px;
            animation: in-out 1s ease 0.3s forwards;
            opacity: 0;
        }

        .content h4 {
            font-size: 20px;
            color: #fff;
            font-weight: 400;
            animation: in-out 1s ease 0.6s forwards;
            opacity: 0;
        }
        .typing::after {
            content: "Designer";    
            color:white;
            border-right: 3px solid white;
            display: inline-block;
            white-space: nowrap;
            overflow: hidden;
            vertical-align: bottom;      
            animation: typingCycle 6s steps(9) infinite; 
}

        @keyframes typingCycle {
            0%   { width: 0ch; content: "Designer"; }
            25%  { width: 8ch; }        
            40%  { width: 0ch; }       
            50%  { width: 0ch; content: "Developer";} 
            75%  { width: 9ch; }        
            90%  { width: 0ch; }        
            100% { width: 0ch; }        
} 


@keyframes in-out {
            from {
                transform: translateY(30px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        @media (max-width: 1024px) {
    header { padding: 8px 0; }
    .nav ul li { margin-left: 18px; font-size: 14px; }
    .logo a { font-size: 24px; }
}

@media (max-width: 768px) {
    header { padding: 6px 0; }
    .nav ul li { margin-left: 12px; font-size: 12px; }
    .logo a { font-size: 20px; }
}

@media (max-width: 480px) {
    header { padding: 5px 0; }
    .nav ul { flex-direction: column; gap: 10px; }
    .nav ul li { margin-left: 0; }
    .logo a { font-size: 18px; }
}
@media (max-width: 1024px) {
    .content h1 { font-size: 50px; }
    .content h3 { font-size: 20px; }
    .content h4 { font-size: 18px; }
}

@media (max-width: 768px) {
    .content h1 { font-size: 40px; }
    .content h3 { font-size: 18px; }
    .content h4 { font-size: 16px; }
}

@media (max-width: 480px) {
    .content h1 { font-size: 28px; }
    .content h3 { font-size: 14px; }
    .content h4 { font-size: 13px; }
}


        .about-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;

        }

        .about-img {
            position: relative;
            width: 300px;
            margin-right: 200px;
        }

        .about-img img {
            width: 100%;
            display: block;
            border-radius: 8px;
            position: relative;
            z-index: 2;
            transition: transform 0.3s;
            background: #eee;
        }
        .background-card {
            position: absolute;
            bottom: 10px;
            right: 10px;
            width: 100%;
            height: 100%;
            background: #f1f1f1;
            border: solid 8px;
            border-radius: 8px;
            z-index: 1;
            box-shadow: 0 10px 25px  rgba(0, 0, 0, 0.15);
        }

        .about-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0; 
            visibility: hidden;
            transition: all 0.4s ease;
            z-index: 3;
            border-radius: 8px  ;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .about-social {
            display: flex;
            gap: 10px;
        }
        .about-social a {
            color: #fff;
            font-size: 18px;
            transform: translateY(20px);
            padding: 8px;
            transition: 0.4s ease;
        }
        .about-social a:hover {
            color: #ff305b;
            border-color: #fff;
        }
        .about-img:hover .about-overlay {
            opacity: 1;
            visibility: visible;
        }
        .about-img:hover .about-social {
            opacity: 1;
            transform: translateY(0);
        }
        .about-text {
            flex: 1.5;
            min-width: 300px;
        }
        .about-text h2 {
            font-size: 32px;
            margin-bottom: 20px;
            border-left: 4px solid #ff305b;
            padding-left: 15px;
            text-transform: uppercase;
        }

        .about-text p {
            margin-bottom: 25px;
            padding-bottom: 25px;
            border-bottom: 1px dashed #999;
        }

        .info-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 30px;
        }

        .info-list li span {
            font-weight: 600;
            color: #333;
            margin-right: 10px;
        }

        .btn {
            display: inline-block;
            background: #ff305b;
            color: #fff;
            padding: 12px 30px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 15px;
            border: 1px solid #ff305b;
            margin-left: 20px;
        }

        .btn:hover {
            background: #EC2403;
            color: white;
        }
    @media (max-width: 1024px) {
    .about-img { width: 250px; margin-right: 100px; }
    .about-text h2 { font-size: 28px; }
}

@media (max-width: 768px) {
    .about-content { flex-direction: column; text-align: center; }
    .about-img { width: 100%; margin-right: 0; margin-bottom: 30px; }
    .about-text h2 { border: none; padding: 0; font-size: 26px; }
    .about-text p { border: none; }
    .info-list { grid-template-columns: 1fr; }
    .btn { margin-left: 0; margin-right: 10px; }
}

@media (max-width: 480px) {
    .about-text h2 { font-size: 22px; }
    .btn { padding: 10px 20px; font-size: 13px; margin-right: 5px; }
}


        .services-grid {
            display: flex;
            gap: 30px;
            height:250px
        }

        .service-item {
            background:transparent;
            padding: 40px 20px;
            text-align: center;
            border-radius: 5px;
            transition: 0.3s;
        }

        .service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            background: #fff;
        }

        .service-item i {
            font-size: 40px;
            color: #ff305b;
            margin-bottom: 20px;
            transition: 0.3s;
        }

        .service-item:hover i {
            transform: scale(1.2);
        }

        .service-item h3 {
            font-size: 22px;
            margin-bottom: 15px;
            text-transform: uppercase;
        }
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .service-item h3 { font-size: 20px; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-item { padding: 30px 15px; }
    .service-item i { font-size: 35px; }
}

@media (max-width: 480px) {
    .service-item h3 { font-size: 18px; }
    .service-item i { font-size: 30px; }
}
.portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 20px;
        }

        .portfolio-item {
            position: relative;
            overflow: hidden;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: 0.3s;
        }

        .portfolio-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

        .portfolio-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .portfolio-item:hover img {
            transform: scale(1.1);
        }
        @media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 768px) {
    .portfolio-grid { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 480px) {
    .portfolio-grid { grid-template-columns: 1fr; gap: 12px; }
}
        #Testimonial{
            height:150px;
            background-color:#ddd;
        }
        .facts-grid {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            text-align: center;
        }

        .fact-item {
            margin: 20px;
            min-width: 150px;
        }

        .fact-item i {
            font-size: 30px;
            color: #ff305b;
            margin-bottom: 10px;
        }

        .fact-item h3 {
            font-size: 32px;
            font-weight: 800;
            margin: 5px 0;
            color: #333;
        }
        
        .fact-item p {
            font-weight: 500;
            color: #555;
        }
@media (max-width: 1024px) {
    .facts-grid { justify-content: space-between; }
    .fact-item { margin: 15px; min-width: 120px; }
    .fact-item h3 { font-size: 28px; }
}

@media (max-width: 768px) {
    .facts-grid { justify-content: center; }
    .fact-item { margin: 15px 10px; }
    .fact-item h3 { font-size: 24px; }
    .fact-item i { font-size: 25px; }
}

@media (max-width: 480px) {
    .fact-item { margin: 12px 8px; min-width: 100px; }
    .fact-item h3 { font-size: 20px; }
    .fact-item p { font-size: 12px; }
}
        .feedback-card {
    width:600px;
    height:240px;
    position: relative;
    left:200px;
    background-image: linear-gradient(135deg, #ff305b 0 15%,#ddd 15% 100%);
    border-radius: 6px;
    padding: 40px 40px 0 160px;
    overflow: hidden;
}

.avatar img {

    position: absolute;
    left: 40px;
    top: 60px;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.162)


}

.feedback-content h3 {
    font-size: 28px;
    margin-bottom: 8px; 
    color: #333;
    display: flex;
    align-items: start;


}

.feedback-content .location {
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: start;
}

.fb-text {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    display: flex;
    align-items: start;
}

.rating .star {
    font-size: 20px;
    color: #ffd24d;
    margin-right: 6px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.rating .star.filled { color: #f7c217; }

@media (max-width: 1024px) {
    .feedback-card { width: 100%; left: 0; padding: 30px 30px 20px 130px; height: auto; }
    .avatar img { width: 90px; height: 90px; left: 25px; top: 35px; }
    .feedback-content h3 { font-size: 24px; }
}

@media (max-width: 768px) {
    .feedback-card { padding: 25px; padding-left: 25px; }
    .avatar { position: relative; left: auto !important; top: auto !important; margin-bottom: 20px; }
    .avatar img { width: 100px; height: 100px; }
    .feedback-content h3 { font-size: 22px; }
    .feedback-card { background-image: linear-gradient(135deg, #ff305b 0 20%, #ddd 20% 100%); }
}

@media (max-width: 480px) {
    .feedback-card { padding: 20px; }
    .avatar img { width: 80px; height: 80px; }
    .feedback-content h3 { font-size: 18px; }
    .feedback-content .location { font-size: 12px; }
    .fb-text { font-size: 13px; line-height: 1.5; }
    .rating .star { font-size: 18px; }
}

.blog-grid {
    display: grid;
    display:flex;
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.blog-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card iframe {
    display: block;
    width: 100%;
    height: 200px;
}

.blog-info {
    padding: 25px;
}

.blog-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.blog-text {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.blog-link {
    color: #ff305b;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-link i {
    transition: 0.3s;
}

.blog-link:hover {
    color: #ff305b;
}

.blog-link:hover i {
    transform: translateX(5px);
}
@media (max-width: 1024px) {
    .blog-grid { gap: 25px; }
    .blog-card h3 { font-size: 20px; }
    .blog-text { font-size: 13px; }
}

@media (max-width: 768px) {
    .blog-grid { flex-direction: column; gap: 20px; }
    .blog-card { flex: 1; }
    .blog-card img, .blog-card iframe { height: 180px; }
    .blog-info { padding: 20px; }
}

@media (max-width: 480px) {
    .blog-card img, .blog-card iframe { height: 150px; }
    .blog-info { padding: 15px; }
    .blog-card h3 { font-size: 16px; margin-bottom: 10px; }
    .blog-text { font-size: 12px; margin-bottom: 12px; }
    .blog-date { font-size: 11px; }
    .blog-link { font-size: 12px; }
}




        .contact-form {
            max-width: 800px;
            margin: 0 auto;
        }

        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            flex: 1;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 15px;
        }

        .form-control:focus {
            border-color: #ff305b;
        }

        textarea.form-control {
            height: 100px;
            
        }

        .btn-submit {
            background: #ff305b;
            color: #fff;
            border: 1px solid #ff305b;
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 4px;
            transition: 0.3s;
        }

        .btn-submit:hover {
            background: #ec2403;
        }
@media (max-width: 1024px) {
    .contact-form { max-width: 700px; }
    .form-control { padding: 10px 12px; font-size: 14px; }
}

@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 15px; }
    .contact-form { max-width: 100%; }
    .form-control { padding: 10px 12px; }
    .btn-submit { padding: 10px 25px; font-size: 14px; }
}

@media (max-width: 480px) {
    .form-control { padding: 8px 10px; font-size: 13px; }
    .btn-submit { padding: 8px 20px; font-size: 12px; }
    textarea.form-control { height: 80px; }
}

        footer {
            background: #333;
            color: #fff;
            text-align: center;
            padding: 50px 0;
        }

        .social-icons {
            margin-bottom: 20px;
        }

        .social-icons a {
            color: #fff;
            margin: 0 12px;
            font-size: 18px;
        }

        .social-icons a:hover {
            color: #ff305b;
        }

        .copyright {
            font-size: 14px;
        }

        .copyright a {
            color: #ff305b;
        }
        @media (max-width: 1024px) {
    footer { padding: 40px 0; }
    .social-icons a { font-size: 16px; margin: 0 10px; }
    .copyright { font-size: 13px; }
}

@media (max-width: 768px) {
    footer { padding: 30px 0; }
    .social-icons a { font-size: 15px; }
    .copyright { font-size: 12px; }
}

@media (max-width: 480px) {
    footer { padding: 20px 0; }
    .social-icons a { font-size: 13px; margin: 0 8px; }
    .copyright { font-size: 11px; }
}





@media (max-width: 1024px) {
    .container { width: 90%; }
    .section-padding { padding: 80px 0; }
    .section-title h2 { font-size: 32px; }
}

@media (max-width: 768px) {
    .container { width: 92%; }
    .section-padding { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
    .section-title::before { width: 100px; }
    .section-title::after { width: 50px; }
}

@media (max-width: 480px) {
    .container { width: 95%; }
    .section-padding { padding: 40px 0; }
    .section-title h2 { font-size: 24px; padding-bottom: 12px; }
    .section-title { margin-bottom: 40px; }
    .section-title::before { width: 80px; }
    .section-title::after { width: 40px; }
}



