/* ==========================================================
   DHOM OFFICIAL PORTFOLIO
   Black Gold Premium Theme
   Part 1
========================================================== */

/*================ GOOGLE FONT ================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*================ ROOT ================*/
:root{

    --black:#0b0b0b;
    --black2:#111111;
    --black3:#1b1b1b;

    --gold:#d4af37;
    --gold2:#f7d774;
    --gold3:#a97d16;

    --white:#ffffff;
    --text:#d7d7d7;
    --border:rgba(255,255,255,.08);

    --shadow:0 15px 35px rgba(0,0,0,.45);

    --radius:18px;

    --transition:.35s ease;

}

/*================ RESET ================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:var(--black);

    color:var(--white);

    overflow-x:hidden;

    line-height:1.7;

}

/*================ SCROLLBAR ================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{

    background:linear-gradient(var(--gold),#8f6c11);

    border-radius:20px;

}

/*================ CONTAINER ================*/

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/*================ LINK ================*/

a{

    color:inherit;

    text-decoration:none;

}

img{

    width:100%;

    display:block;

}

/*================ SECTION ================*/

section{

    padding:100px 0;

}

/*================ TITLE ================*/

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title span{

    color:var(--gold);

    font-size:14px;

    letter-spacing:5px;

}

.section-title h2{

    margin-top:10px;

    font-size:40px;

}

/*================ LOADER ================*/

#loader{

    position:fixed;

    inset:0;

    background:#000;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.loader-logo{

    color:white;

    font-size:40px;

    font-weight:800;

    letter-spacing:3px;

}

.loader-logo span{

    color:var(--gold);

}

/*================ HEADER ================*/

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:999;

    transition:.4s;

    padding:18px 0;

}

header.active{

    background:rgba(10,10,10,.94);

    backdrop-filter:blur(15px);

    box-shadow:0 0 30px rgba(0,0,0,.5);

}

/*================ NAVBAR ================*/

.nav-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    font-size:28px;

    font-weight:800;

}

.logo span{

    color:var(--gold);

}

nav ul{

    display:flex;

    list-style:none;

    gap:35px;

}

nav ul li a{

    color:#fff;

    transition:.3s;

    font-weight:500;

    position:relative;

}

nav ul li a:hover{

    color:var(--gold);

}

nav ul li a::after{

    content:"";

    position:absolute;

    width:0;

    height:2px;

    background:var(--gold);

    left:0;

    bottom:-6px;

    transition:.4s;

}

nav ul li a:hover::after{

    width:100%;

}

.menu-toggle{

    display:none;

    font-size:28px;

    cursor:pointer;

}

/*================ HERO ================*/

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    background:
    radial-gradient(circle at top right,
    rgba(212,175,55,.15),
    transparent 35%);

}

.hero-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.hero-text h4{

    color:var(--gold);

    letter-spacing:4px;

    margin-bottom:15px;

}

.hero-text h1{

    font-size:65px;

    line-height:1.2;

}

.hero-text h1 span{

    color:var(--gold);

}

.hero-text h2{

    margin:18px 0;

    font-size:32px;

    color:#eee;

}

.hero-text p{

    color:var(--text);

    margin:25px 0;

}

/*================ BUTTON ================*/

.hero-button{

    display:flex;

    gap:20px;

    margin-top:35px;

}

.btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:15px 30px;

    border-radius:50px;

    border:2px solid var(--gold);

    transition:.35s;

    color:white;

}

.btn:hover{

    transform:translateY(-5px);

}

.gold{

    background:linear-gradient(
    45deg,
    var(--gold),
    var(--gold2));

    color:#111;

    font-weight:700;

}

/*================ SOCIAL ================*/

.hero-social{

    display:flex;

    gap:18px;

    margin-top:40px;

}

.hero-social a{

    width:48px;

    height:48px;

    border-radius:50%;

    border:1px solid rgba(255,255,255,.15);

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.4s;

}

.hero-social a:hover{

    background:var(--gold);

    color:#111;

    transform:translateY(-8px);

}

/*================ HERO IMAGE ================*/

.hero-image{

    position:relative;

    display:flex;

    justify-content:center;

}

.circle{

    width:420px;

    height:420px;

    border-radius:50%;

    background:radial-gradient(
    circle,
    rgba(212,175,55,.25),
    transparent);

    position:absolute;

}

.hero-image img{

    width:370px;

    border-radius:50%;

    position:relative;

    z-index:2;

    border:6px solid rgba(212,175,55,.35);

    box-shadow:0 0 40px rgba(212,175,55,.25);

}

/*================ ABOUT ================*/

.about{

    background:#101010;

}

.about-container{

    display:grid;

    grid-template-columns:380px 1fr;

    gap:70px;

    align-items:center;

}

.about-image img{

    border-radius:25px;

    border:4px solid rgba(212,175,55,.25);

}

.about-text h3{

    font-size:40px;

}

.about-text h4{

    color:var(--gold);

    margin:12px 0;

}

.about-text p{

    color:var(--text);

    margin:25px 0;

}

.about-info{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    margin-bottom:35px;

}

.about-info div{

    background:#181818;

    border:1px solid var(--border);

    padding:18px;

    border-radius:15px;

}

.about-info strong{

    display:block;

    margin-bottom:8px;

    color:var(--gold);

}

/*==================================================
  SERVICES
==================================================*/

.services{
    background: var(--black);
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:var(--black2);
    border:1px solid rgba(212,175,55,.15);
    border-radius:20px;
    padding:35px 25px;
    text-align:center;
    transition:all .4s ease;
    position:relative;
    overflow:hidden;
    cursor:pointer;
}

.service-card::before{
    content:"";
    position:absolute;
    top:-100%;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(
        180deg,
        rgba(212,175,55,.18),
        transparent
    );
    transition:.5s;
}

.service-card:hover::before{
    top:0;
}

.service-card:hover{
    transform:translateY(-10px);
    border-color:var(--gold);
    box-shadow:0 20px 40px rgba(212,175,55,.15);
}

.service-card i{
    font-size:55px;
    color:var(--gold);
    margin-bottom:25px;
}

.service-card h3{
    font-size:24px;
    margin-bottom:15px;
}

.service-card p{
    color:var(--text);
    font-size:15px;
    line-height:1.8;
}

/*==================================================
  SKILLS
==================================================*/

.skills{
    background:#101010;
}

.skills-wrapper{
    display:grid;
    gap:25px;
}

.skill{
    background:#181818;
    padding:25px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.05);
}

.skill:hover{
    border-color:rgba(212,175,55,.35);
}

.skill-title{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
    font-weight:600;
}

.skill-title span:last-child{
    color:var(--gold);
}

.progress{
    width:100%;
    height:10px;
    background:#262626;
    border-radius:20px;
    overflow:hidden;
}

.progress-bar{
    height:100%;
    border-radius:20px;
    background:linear-gradient(
        90deg,
        #8f6c11,
        var(--gold),
        #ffd86a
    );
    box-shadow:0 0 12px rgba(212,175,55,.4);
}

/* Progress */

.progress-bar.html{
    width:95%;
}

.progress-bar.css{
    width:92%;
}

.progress-bar.js{
    width:88%;
}

.progress-bar.design{
    width:95%;
}

.progress-bar.marketing{
    width:90%;
}

/*==================================================
  SKILL ANIMATION
==================================================*/

.progress-bar{
    animation:loadSkill 2s ease;
}

@keyframes loadSkill{

    from{
        width:0;
    }

}

/*==================================================
  SERVICE ICON EFFECT
==================================================*/

.service-card:hover i{
    transform:scale(1.15) rotate(6deg);
    transition:.4s;
}

/*==================================================
  GOLD GLOW
==================================================*/

.service-card:hover h3{
    color:var(--gold);
}

.skill:hover{
    box-shadow:0 0 25px rgba(212,175,55,.08);
}

/*==================================================
  RESPONSIVE
==================================================*/

@media(max-width:768px){

.services-grid{

grid-template-columns:1fr;

}

.skill{

padding:20px;

}

}

/*==================================================
  COUNTER
==================================================*/

.counter{
    padding:90px 0;
    background:linear-gradient(135deg,#0b0b0b,#151515);
}

.counter-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.counter-box{
    background:#181818;
    border:1px solid rgba(212,175,55,.15);
    border-radius:20px;
    padding:35px 20px;
    text-align:center;
    transition:.35s ease;
}

.counter-box:hover{
    transform:translateY(-8px);
    border-color:var(--gold);
    box-shadow:0 20px 40px rgba(212,175,55,.15);
}

.counter-box h2{
    font-size:48px;
    color:var(--gold);
    margin-bottom:10px;
    font-weight:700;
}

.counter-box p{
    color:var(--text);
    font-size:16px;
}

/*==================================================
  EXPERIENCE
==================================================*/

.experience{
    background:#101010;
}

.timeline{
    position:relative;
    max-width:900px;
    margin:auto;
    padding-left:30px;
}

.timeline::before{
    content:"";
    position:absolute;
    left:8px;
    top:0;
    width:3px;
    height:100%;
    background:linear-gradient(var(--gold),transparent);
}

.timeline-item{
    position:relative;
    margin-bottom:45px;
}

.timeline-item::before{
    content:"";
    position:absolute;
    left:-31px;
    top:10px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--gold);
    box-shadow:0 0 15px rgba(212,175,55,.6);
}

.timeline-content{
    background:#181818;
    border:1px solid rgba(212,175,55,.15);
    border-radius:18px;
    padding:25px;
    transition:.35s ease;
}

.timeline-content:hover{
    transform:translateX(10px);
    border-color:var(--gold);
    box-shadow:0 15px 30px rgba(212,175,55,.12);
}

.timeline-content span{
    color:var(--gold);
    font-size:14px;
    font-weight:600;
}

.timeline-content h3{
    margin:12px 0;
    font-size:24px;
}

.timeline-content p{
    color:var(--text);
    line-height:1.8;
}

/*==================================================
  TOOLS
==================================================*/

.tools{
    background:#0d0d0d;
}

.tools-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:20px;
}

.tool-card{
    background:#181818;
    border:1px solid rgba(212,175,55,.12);
    border-radius:18px;
    padding:30px 20px;
    text-align:center;
    transition:.35s ease;
}

.tool-card:hover{
    transform:translateY(-8px);
    border-color:var(--gold);
    box-shadow:0 15px 30px rgba(212,175,55,.15);
}

.tool-card i{
    font-size:42px;
    color:var(--gold);
    margin-bottom:15px;
}

.tool-card span{
    display:block;
    font-size:16px;
    font-weight:600;
}

/*==================================================
  GOLD ANIMATION
==================================================*/

@keyframes glow{

    0%{
        box-shadow:0 0 5px rgba(212,175,55,.2);
    }

    50%{
        box-shadow:0 0 25px rgba(212,175,55,.45);
    }

    100%{
        box-shadow:0 0 5px rgba(212,175,55,.2);
    }

}

.counter-box:hover,
.tool-card:hover{
    animation:glow 2s infinite;
}

/*==================================================
  RESPONSIVE
==================================================*/

@media(max-width:991px){

.counter-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.timeline{
    padding-left:20px;
}

.timeline-item::before{
    left:-21px;
}

.timeline-content{
    padding:20px;
}

.tools-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:576px){

.counter-grid{
    grid-template-columns:1fr;
}

.tools-grid{
    grid-template-columns:1fr;
}

.counter-box h2{
    font-size:38px;
}

.timeline-content h3{
    font-size:20px;
}

}

/*==================================================
                PORTFOLIO
==================================================*/

.portfolio{
    background:#0b0b0b;
    position:relative;
}

.portfolio-filter{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:50px;
}

.portfolio-filter button{

    padding:12px 25px;

    background:#181818;

    color:#fff;

    border:1px solid rgba(212,175,55,.2);

    border-radius:50px;

    cursor:pointer;

    transition:.35s;

    font-family:'Poppins',sans-serif;

}

.portfolio-filter button:hover,
.portfolio-filter button.active{

    background:linear-gradient(45deg,var(--gold),var(--gold2));

    color:#111;

    border-color:var(--gold);

}

.portfolio-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.portfolio-card{

    position:relative;

    overflow:hidden;

    border-radius:20px;

    background:#151515;

    border:1px solid rgba(212,175,55,.12);

    transition:.4s;

}

.portfolio-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(212,175,55,.15);

}

.portfolio-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.portfolio-card:hover img{

    transform:scale(1.08);

}

.portfolio-info{

    position:absolute;

    left:0;

    bottom:-100%;

    width:100%;

    padding:25px;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.95)
    );

    transition:.45s;

}

.portfolio-card:hover .portfolio-info{

    bottom:0;

}

.portfolio-info h3{

    color:var(--gold);

    margin-bottom:8px;

    font-size:24px;

}

.portfolio-info p{

    color:#ddd;

    font-size:15px;

}

/*==================================================
            TESTIMONIAL
==================================================*/

.testimonial{

    background:#101010;

}

.testimonial-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.testimonial-card{

    background:#181818;

    border-radius:20px;

    border:1px solid rgba(212,175,55,.15);

    padding:35px;

    transition:.35s;

    position:relative;

}

.testimonial-card:hover{

    transform:translateY(-8px);

    border-color:var(--gold);

    box-shadow:0 15px 35px rgba(212,175,55,.15);

}

.testimonial-card::before{

    content:"★★★★★";

    color:var(--gold);

    font-size:22px;

    display:block;

    margin-bottom:20px;

}

.testimonial-card p{

    color:#d8d8d8;

    line-height:1.8;

    margin-bottom:20px;

    font-style:italic;

}

.testimonial-card h4{

    color:var(--gold);

    margin-bottom:6px;

}

.testimonial-card span{

    color:#999;

    font-size:14px;

}

/*==================================================
        HOVER EFFECT
==================================================*/

.portfolio-card::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        180deg,
        transparent,
        rgba(212,175,55,.08)
    );

    opacity:0;

    transition:.4s;

}

.portfolio-card:hover::after{

    opacity:1;

}

.testimonial-card:hover::before{

    letter-spacing:3px;

    transition:.4s;

}

/*==================================================
            RESPONSIVE
==================================================*/

@media(max-width:991px){

.portfolio-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.portfolio-grid{

grid-template-columns:1fr;

}

.testimonial-grid{

grid-template-columns:1fr;

}

.portfolio-filter{

gap:10px;

}

.portfolio-filter button{

padding:10px 18px;

font-size:14px;

}

}

@media(max-width:500px){

.portfolio-card img{

height:220px;

}

.portfolio-info h3{

font-size:20px;

}

}

/*==================================================
                CONTACT
==================================================*/

.contact{
    background:#0b0b0b;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:start;
}

.contact-info{
    background:#151515;
    padding:40px;
    border-radius:20px;
    border:1px solid rgba(212,175,55,.15);
}

.contact-info h3{
    font-size:28px;
    margin-bottom:25px;
    color:var(--gold);
}

.contact-info p{
    margin-bottom:18px;
    color:#ddd;
    display:flex;
    align-items:center;
    gap:12px;
}

.contact-info i{
    color:var(--gold);
    font-size:20px;
}

.social-contact{
    display:flex;
    gap:15px;
    margin-top:30px;
}

.social-contact a{
    width:48px;
    height:48px;
    border-radius:50%;
    border:1px solid rgba(212,175,55,.25);
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.35s;
}

.social-contact a:hover{
    background:var(--gold);
    color:#111;
    transform:translateY(-5px);
}

/*==================================================
              CONTACT FORM
==================================================*/

.contact-form{
    background:#151515;
    padding:40px;
    border-radius:20px;
    border:1px solid rgba(212,175,55,.15);
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:16px 18px;
    background:#1e1e1e;
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    color:#fff;
    font-family:'Poppins',sans-serif;
    transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:var(--gold);
    box-shadow:0 0 15px rgba(212,175,55,.2);
}

.contact-form textarea{
    resize:none;
}

.contact-form button{
    align-self:flex-start;
}

/*==================================================
                FOOTER
==================================================*/

footer{
    background:#080808;
    padding:70px 0 30px;
    text-align:center;
    border-top:1px solid rgba(212,175,55,.08);
}

.footer-container h2{
    font-size:34px;
    margin-bottom:15px;
}

.footer-container h2 span{
    color:var(--gold);
}

.footer-container p{
    color:#bfbfbf;
    max-width:700px;
    margin:0 auto 30px;
}

.footer-social{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-bottom:30px;
}

.footer-social a{
    width:48px;
    height:48px;
    border-radius:50%;
    border:1px solid rgba(212,175,55,.2);
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.35s;
}

.footer-social a:hover{
    background:var(--gold);
    color:#111;
    transform:translateY(-5px);
}

footer hr{
    border:none;
    height:1px;
    background:rgba(212,175,55,.12);
    margin:30px 0;
}

.copyright{
    color:#888;
    font-size:14px;
}

/*==================================================
            SCROLL TO TOP
==================================================*/

#scrollTop{
    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:linear-gradient(45deg,var(--gold),var(--gold2));
    color:#111;
    font-size:20px;
    cursor:pointer;
    display:none;
    z-index:999;
    box-shadow:0 10px 25px rgba(212,175,55,.3);
    transition:.35s;
}

#scrollTop:hover{
    transform:translateY(-5px) scale(1.05);
}

/*==================================================
            GLOBAL HOVER EFFECT
==================================================*/

.btn:hover,
.service-card:hover,
.portfolio-card:hover,
.testimonial-card:hover,
.tool-card:hover,
.counter-box:hover{
    transition:all .35s ease;
}

/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:991px){

    .hero-container,
    .about-container,
    .contact-wrapper{
        grid-template-columns:1fr;
    }

    .hero{
        text-align:center;
    }

    .hero-button,
    .hero-social{
        justify-content:center;
    }

    .about-container{
        text-align:center;
    }

    .about-info{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:768px){

    section{
        padding:80px 0;
    }

    .section-title h2{
        font-size:32px;
    }

    .hero-text h1{
        font-size:48px;
    }

    .hero-text h2{
        font-size:24px;
    }

    .hero-button{
        flex-direction:column;
    }

    .btn{
        justify-content:center;
    }

    .about-info{
        grid-template-columns:1fr;
    }

    nav ul{
        position:fixed;
        top:80px;
        right:-100%;
        width:250px;
        height:100vh;
        background:#111;
        flex-direction:column;
        padding:40px 20px;
        transition:.4s;
        gap:25px;
    }

    nav ul.active{
        right:0;
    }

    .menu-toggle{
        display:block;
    }

    .contact-info,
    .contact-form{
        padding:30px 25px;
    }
}

@media(max-width:576px){

    .container{
        width:92%;
    }

    .hero-text h1{
        font-size:40px;
    }

    .hero-image img{
        width:300px;
    }

    .circle{
        width:340px;
        height:340px;
    }

    .footer-container h2{
        font-size:28px;
    }

    .social-contact,
    .footer-social{
        gap:12px;
    }
}

/*==================================================
                FINISHING
==================================================*/

::selection{
    background:var(--gold);
    color:#111;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background:radial-gradient(circle at top right,rgba(212,175,55,.05),transparent 35%);
    z-index:-1;
}