*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Cairo',sans-serif;
}

html{
scroll-behavior:smooth;
}

:root{
--gold:#d4aa70;
--dark:#0f1720;
--white:#fff;
--bg:#f6f4ef;
}

body{
background:var(--bg);
}

.navbar{
position:fixed;
top:0;
width:100%;
padding:20px 8%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgb(0, 0, 0);
backdrop-filter:blur(10px);
z-index:999;
}


.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:55px;
    height:55px;
    object-fit:contain;
}

.logo span{
    color:white;
    font-size:28px;
    font-weight:700;
}


.navbar ul{
display:flex;
gap:30px;
list-style:none;
}

.navbar a{
color:white;
text-decoration:none;
}

.hero{
    min-height:100vh;

    background:
    linear-gradient(
    rgba(15,23,32,.82),
    rgba(15,23,32,.88)
    ),
    url("images/photo_2.jpg");

    background-size:cover;
    background-position:center;
    background-attachment:fixed;

    position:relative;

    display:flex;
    align-items:center;

    overflow:hidden;
}

.hero::before{
    content:"";

    position:absolute;

    width:500px;
    height:500px;

    right:0;
    top:50%;

    transform:translateY(-50%);

    background:
    radial-gradient(
    circle,
    rgba(212,170,112,.18),
    transparent 70%
    );
}

.hero::after{
    content:"";

    position:absolute;
    inset:0;

    background-image:
    linear-gradient(
    rgba(255,255,255,.03) 1px,
    transparent 1px
    ),
    linear-gradient(
    90deg,
    rgba(255,255,255,.03) 1px,
    transparent 1px
    );

    background-size:60px 60px;

    pointer-events:none;
}

.hero-content{
    width:85%;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    position:relative;
    z-index:2;
}

.hero-text{
    max-width:600px;
    color:white;
}

.hero-subtitle{
    color:#d4aa70;
    font-size:22px;
    font-weight:600;
}

.hero-text h1{
    font-size:95px;
    font-weight:800;

    line-height:1;

    margin:15px 0;
}

.hero-text h1::after{
    content:"";

    display:block;

    width:120px;
    height:4px;

    background:#d4aa70;

    margin-top:15px;
}

.typing-text{
    color:#d4aa70;
    font-size:24px;
    margin-bottom:25px;
}

.hero-text p{
    line-height:2;
    color:#ddd;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:15px;
}
.cta{

    width:90%;
    margin:100px auto;

    padding:80px 50px;

    text-align:center;

    border-radius:30px;

    background:
    linear-gradient(
    135deg,
    #0f1720,
    #1a2430
    );

    position:relative;

    overflow:hidden;

    box-shadow:
    0 20px 50px rgba(0,0,0,.15);
}

.cta::before{

    content:"";

    position:absolute;

    width:350px;
    height:350px;

    top:-150px;
    right:-100px;

    border-radius:50%;

    background:
    rgba(212,170,112,.08);
}

.cta::after{

    content:"";

    position:absolute;

    width:250px;
    height:250px;

    bottom:-100px;
    left:-80px;

    border-radius:50%;

    background:
    rgba(212,170,112,.08);
}

.cta h2{

    color:white;

    font-size:48px;

    margin-bottom:20px;

    position:relative;
    z-index:2;
}

.cta p{

    color:#dcdcdc;

    font-size:20px;

    max-width:700px;

    margin:0 auto 35px;

    line-height:2;

    position:relative;
    z-index:2;
}

.cta-btn{

    display:inline-block;

    padding:16px 40px;

    background:#d4aa70;

    color:#0f1720;

    text-decoration:none;

    font-weight:700;

    border-radius:50px;

    transition:.3s;

    position:relative;
    z-index:2;
}

.cta-btn:hover{

    transform:translateY(-5px);

    box-shadow:
    0 10px 25px rgba(212,170,112,.3);
}

.btn{
    padding:14px 28px;

    text-decoration:none;

    border-radius:10px;

    border:1px solid #d4aa70;

    color:white;

    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

.gold{
    background:#d4aa70;
    color:#0f1720;
}

.hero-mini-stats{
    display:flex;
    gap:20px;
    margin-top:40px;
}

.hero-mini-stats div{

    background:
    rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    border:
    1px solid rgba(212,170,112,.25);

    border-radius:16px;

    padding:18px 22px;
}

.hero-mini-stats h3{
    color:#d4aa70;
}

.hero-mini-stats span{
    color:#ddd;
}

.hero-logo img{
    width:420px;
    max-width:100%;

    filter:
    drop-shadow(
    0 0 25px rgba(212,170,112,.25)
    );

    animation:
    float 4s ease-in-out infinite;
}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0);
    }

}

@media(max-width:768px){

.hero-content{
    flex-direction:column;
    text-align:center;
    gap:40px;
}

.hero-text h1{
    font-size:60px;
}

.hero-logo img{
    width:250px;
}

.hero-mini-stats{
    justify-content:center;
    flex-wrap:wrap;
}

}

.overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.65);
}


.services{
padding:100px 10%;
background:#fff;
}

.section-title{
text-align:center;
margin-bottom:60px;
}

.section-title h2{
font-size:42px;
color:#0f1720;
}

.section-title p{
color:#777;
}
.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-subtitle{

    color:#d4aa70;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;
}

.section-title h2{

    font-size:45px;

    margin:15px 0;
}

.services-highlight{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.highlight-card{
    background:rgb(255, 255, 255);
    padding:25px;
    border-radius:20px;
    text-align:center;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

    transition:.3s;
}

.highlight-card:hover{
    transform:translateY(-8px);
}

.highlight-card h3{
    font-size:35px;
}

.highlight-card h4{
    color:#d4aa70;
    margin:10px 0;
}
.btn{
padding:12px 25px;
border:1px solid var(--gold);
text-decoration:none;
color:white;
border-radius:8px;
}

.gold{
background:var(--gold);
color:black;
}

.logo-circle{
    width:420px;
    height:420px;

    border:2px solid #d4aa70;
    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    position:relative;
}

.logo-circle::before{
    content:"";

    position:absolute;

    width:340px;
    height:340px;

    border:1px solid rgba(212,170,112,.35);
    border-radius:50%;
}

.logo-text{
    text-align:center;
    color:white;
    z-index:2;
}

.logo-l{
    font-size:150px;

    background:linear-gradient(
        180deg,
        #f7d08a,
        #d4aa70,
        #b8894f
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    font-family:"Playfair Display", serif;

    font-style:italic;
}

.logo-text h2{
    font-family:"Playfair Display", serif;

    font-size:60px;

    font-weight:700;

    letter-spacing:1px;

    color:white;

    margin-top:-10px;
}

.logo-text p{
    color:#d4aa70;
    font-size:18px;
}
.inner-circle span{
font-size:170px;
color:var(--gold);
font-family:Georgia,serif;
}

.stats{
    width:90%;
    margin:-60px auto 80px;
    margin: 40px auto 80px;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;

    position:relative;
    z-index:5;
}

.stat{
    background:white;

    padding:30px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.3s;
}

.stat:hover{
    transform:translateY(-8px);
}

.stat i{
    font-size:40px;
    color:#d4aa70;
    margin-bottom:15px;
}

.stat h3{
    font-size:20px;
    margin-bottom:10px;
    color:#111;
}

.stat p{
    color:#666;
    line-height:1.7;
}

.about,
.skills,
.projects,
.contact{
padding:100px 10%;
}

.about{
    padding:120px 10%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image{
    position:relative;
}

.about-image img{
    width:100%;
    height:650px;
    object-fit:cover;
    border-radius:30px;
}

.experience-card{
    position:absolute;
    bottom:30px;
    left:-20px;

    background:#d4aa70;
    color:#fff;

    padding:25px 35px;

    border-radius:20px;

    box-shadow:
    0 15px 30px rgba(0,0,0,.15);
}

.experience-card h3{
    font-size:40px;
}

.section-subtitle{
    color:#d4aa70;
    font-weight:700;
}

.about-content h2{
    font-size:48px;
    margin:15px 0 20px;
}

.about-content p{
    color:#666;
    line-height:2;
}

.about-info{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin:25px 0;
}

.about-info span{
    background:#f4f4f4;
    padding:10px 18px;
    border-radius:25px;
}

.about-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin:30px 0;
}

.about-card{
    background:#fff;
    padding:25px;
    text-align:center;
    border-radius:18px;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);
}

.about-card h3{
    color:#d4aa70;
    margin-bottom:10px;
}

.about-btn{
    display:inline-block;
    padding:14px 28px;
    background:#d4aa70;
    color:#fff;
    text-decoration:none;
    border-radius:12px;
}

@media(max-width:768px){

.about{
    grid-template-columns:1fr;
}

.about-image img{
    height:450px;
}

.about-cards{
    grid-template-columns:1fr;
}

.hero-logo img{
    width:250px;
}
.cta{
    padding:60px 25px;
}

.cta h2{
    font-size:32px;
}

.cta p{
    font-size:16px;
}


}



.skills h2,
.projects h2,
.contact h2{
text-align:center;
margin-bottom:50px;
}

.skills-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:25px;
}

.skill-card{
background:white;
padding:40px;
border-radius:20px;
text-align:center;
transition:.3s;
}

.skill-card:hover{
transform:translateY(-10px);
}

.skill-card i{
font-size:45px;
color:var(--gold);
margin-bottom:15px;
}

.projects{
    padding:100px 10%;
    background:#f8f8f8;
}

.projects-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
    margin-top:60px;
}

.project-card{

    background:#fff;

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.4s;
}

.project-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.project-image{

    height:240px;

    overflow:hidden;
}

.project-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.5s;
}

.project-card:hover .project-image img{

    transform:scale(1.08);
}

.project-content{

    padding:30px;
}

.project-badge{

    display:inline-block;

    background:rgba(212,170,112,.15);

    color:#d4aa70;

    padding:8px 16px;

    border-radius:30px;

    font-size:14px;

    margin-bottom:15px;
}

.project-content h3{

    font-size:26px;

    margin-bottom:15px;

    color:#111;
}

.project-content p{

    color:#666;

    line-height:1.9;

    margin-bottom:20px;
}

.project-tech{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:25px;
}

.project-tech span{

    background:#f3f3f3;

    padding:8px 14px;

    border-radius:20px;

    font-size:14px;
}

.project-links{

    display:flex;

    gap:15px;
}

.live-btn,
.github-btn,
.coming-soon-btn{

    padding:12px 22px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;
}

.live-btn{

    background:#d4aa70;

    color:#111;
}

.github-btn{

    background:#111;

    color:#fff;
}

.coming-soon-btn{

    background:#d4aa70;

    color:#111;
}



@media(max-width:768px){

.project-card{
    grid-template-columns:1fr;
}

}

.contact{
    padding:100px 10%;
    background:#f8f8f8;
}

.contact-links{

    margin-top:50px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;
}

.contact-card{

    background:white;

    padding:35px 25px;

    border-radius:20px;

    text-align:center;

    text-decoration:none;

    color:#222;

    box-shadow:
    0 15px 35px rgba(0,0,0,.08);

    transition:.3s;
}

.contact-card:hover{

    transform:translateY(-10px);

    border-bottom:
    4px solid #d4aa70;
}

.contact-card i{

    font-size:45px;

    color:#d4aa70;

    margin-bottom:15px;
}

.contact-card h3{

    margin-bottom:10px;

    font-size:20px;
}

.contact-card span{

    color:#666;

    line-height:1.8;
}

form{
display:flex;
flex-direction:column;
gap:15px;
max-width:600px;
margin:auto;
}

input,
textarea{
padding:15px;
border:none;
border-radius:10px;
}

button{
padding:15px;
background:var(--gold);
border:none;
border-radius:10px;
cursor:pointer;
}

footer{
background:#091018;
color:white;
text-align:center;
padding:25px;
}
.back-top{

    position:fixed;

    right:25px;
    bottom:25px;

    width:55px;
    height:55px;

    background:#d4aa70;

    color:white;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    text-decoration:none;

    z-index:999;
}


@media (max-width:768px){

body{
    overflow-x:hidden;
}

/* Navbar */

.navbar{
    flex-direction:column;
    padding:15px;
    gap:15px;
}

.navbar ul{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

/* Hero */

.hero{
    min-height:auto;
    padding:130px 20px 70px;
    background-attachment:scroll;
}

.hero-content{
    flex-direction:column-reverse;
    text-align:center;
    gap:45px;
}

.hero-text{
    max-width:100%;
}

.hero-text h1{
    font-size:48px;
}

.hero-subtitle{
    font-size:18px;
}

.typing-text{
    font-size:18px;
}

.hero-buttons{
    justify-content:center;
    flex-wrap:wrap;
}

.hero-mini-stats{
    justify-content:center;
    flex-wrap:wrap;
}

.logo-circle{
    width:260px;
    height:260px;
}

.logo-circle::before{
    width:210px;
    height:210px;
}

.logo-l{
    font-size:100px;
}

.logo-text h2{
    font-size:34px;
}

.logo-text p{
    font-size:15px;
}

/* Stats */

.stats{
    grid-template-columns:repeat(2,1fr);
    margin:30px auto 60px;
}

/* About */

.about{
    grid-template-columns:1fr;
    text-align:center;
}

.about-image img{
    width:280px;
    height:360px;
    margin:auto;
}

.about-info{
    justify-content:center;
}

.about-cards{
    grid-template-columns:1fr;
}

/* Skills */

.skills-grid{
    grid-template-columns:repeat(2,1fr);
}

/* Services */

.services-highlight{
    grid-template-columns:1fr;
}

/* Projects */

.projects-container{
    grid-template-columns:1fr;
}

/* Contact */

.contact-links{
    grid-template-columns:1fr;
}

.cta{
    padding:60px 25px;
}

.cta h2{
    font-size:32px;
}

.cta p{
    font-size:16px;
}

}

/* =========================
   Responsive Enhancements
   (Added without changing existing design)
========================= */

@media screen and (max-width:768px){

    body{overflow-x:hidden;}

    .navbar{
        flex-direction:column;
        padding:15px;
        gap:15px;
    }

    .navbar ul{
        flex-direction:column;
        align-items:center;
        gap:12px;
    }

    .hero{
        padding:120px 20px 60px;
        min-height:auto;
        background-attachment:scroll;
    }

    .hero-content{
        flex-direction:column-reverse;
        text-align:center;
    }

    .hero-text h1{
        font-size:42px;
        line-height:1.2;
    }

    .hero-buttons,
    .hero-mini-stats,
    .project-links{
        flex-direction:column;
        align-items:center;
    }

    .btn,
    .live-btn,
    .github-btn,
    .coming-soon-btn{
        width:100%;
        max-width:240px;
        text-align:center;
    }

    .logo-circle{
        width:220px;
        height:220px;
    }

    .logo-circle::before{
        width:170px;
        height:170px;
    }

    .logo-l{font-size:72px;}
    .logo-text h2{font-size:28px;}

    .about,
    .services,
    .skills,
    .projects,
    .contact{
        padding-left:20px;
        padding-right:20px;
    }

    .about{
        grid-template-columns:1fr;
        gap:40px;
    }

    .about-image img{
        width:100%;
        height:auto;
    }

    .experience-card{
        position:static;
        margin-top:20px;
    }

    .stats,
    .about-cards,
    .services-highlight,
    .projects-container,
    .contact-links,
    .skills-grid{
        grid-template-columns:1fr;
    }

    .cta{
        width:95%;
        padding:50px 20px;
    }

    .cta h2{font-size:30px;}
}

@media screen and (max-width:480px){

    .hero-text h1{font-size:34px;}
    .hero-subtitle,
    .typing-text{font-size:16px;}

    .section-title h2,
    .about-content h2,
    .cta h2{
        font-size:26px;
    }

    .logo-circle{
        width:180px;
        height:180px;
    }

    .logo-circle::before{
        width:140px;
        height:140px;
    }

    .logo-l{font-size:60px;}
}


    .menu-toggle{
    display:none;
}

@media (max-width:768px){
    .menu-toggle{
        display:block;
        color:#ddd;
        cursor:pointer;
    }

    .navbar{
        position:relative;
    }

    .navbar ul{
        display:none;
        flex-direction:column;
        width:100%;
        background:#111;
        margin-top:15px;
    }

    .navbar ul.active{
        display:flex;
    }
}
.logo{
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.logo-svg{
    width:100%;
    height:100%;
}

.outer{
    fill:none;
    stroke:#b8894f;
    stroke-width:2.4;
}

.inner{
    fill:none;
    stroke:#b8894f;
    stroke-width:1;
    opacity:.9;
}

.logo-letter{
    fill:#b8894f;
    font-family:"Playfair Display",serif;
    font-size:42px;
    font-style:italic;
    font-weight:700;
}

.ornament{
    fill:none;
    stroke:#b8894f;
    stroke-width:1.3;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.logo {
    animation: luxuryFloat 5s ease-in-out infinite;
}

.logo-svg {
    filter: drop-shadow(0 0 2px rgba(212,175,55,.15));
    animation: luxuryGlow 5s ease-in-out infinite;
}

@keyframes luxuryFloat {
    0%,100%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-3px);
    }
}

@keyframes luxuryGlow {
    0%,100%{
        filter: drop-shadow(0 0 2px rgba(212,175,55,.15));
    }

    50%{
        filter: drop-shadow(0 0 10px rgba(212,175,55,.45));
    }
}
