/* ===========================================
   RJ TECH SOLUTIONS PREMIUM CSS - PART 1
=========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

:root{
    --primary:#d4af37;
    --dark:#090909;
    --card:#171717;
    --text:#ffffff;
    --gray:#bdbdbd;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--dark);
    color:var(--text);
    overflow-x:hidden;
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* ================= HEADER ================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(0,0,0,.85);
    backdrop-filter:blur(15px);
    z-index:1000;
    border-bottom:1px solid rgba(255,255,255,.08);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:65px;
    height:65px;
    object-fit:contain;
    border-radius:12px;

}

.logo h2{
    font-size:32px;
    font-weight:700;
    color:#fff;
}

.logo span{
    color:#d4af37;

}

nav ul{
    display:flex;
    align-items:center;
    gap:35px;
}

nav ul li{
    list-style:none;
}
nav ul li a{
    color:#ffffff;
    font-size:18px;
    font-weight:600;
    transition:0.3s;
}

nav ul li a:hover{
    color:#d4af37;
}

nav ul li a.active{
    color:#d4af37;
}
.btn{
    background:var(--primary);
    color:#000;
    padding:14px 30px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-4px);
}

/* ================= HERO ================= */

.hero{

padding:170px 0 120px;

background:
linear-gradient(rgba(0,0,0,.80),rgba(0,0,0,.90)),
url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80");

background-size:cover;

background-position:center;

background-attachment:fixed;

}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.hero-left h4{
    color:var(--primary);
    letter-spacing:3px;
    margin-bottom:15px;
}

.hero-left h1{
    font-size:68px;
    line-height:75px;
    margin-bottom:20px;
}

.hero-left span{
    color:var(--primary);
}

.hero-left p{
    color:var(--gray);
    line-height:32px;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn2{
    border:2px solid var(--primary);
    color:var(--primary);
    padding:14px 30px;
    border-radius:50px;
    transition:.3s;
}

.btn2:hover{
    background:var(--primary);
    color:#000;
}

.hero-right img{
    width:100%;
    animation:float 4s ease-in-out infinite;
}

@keyframes float{
    50%{
        transform:translateY(-15px);
    }
}

/* ================= SECTION TITLE ================= */

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h5{
    color:var(--primary);
    letter-spacing:3px;
    margin-bottom:10px;
}

.section-title h2{
    font-size:46px;
    margin-bottom:15px;
}

.section-title p{
    color:var(--gray);
    max-width:700px;
    margin:auto;
    line-height:30px;
}
/* ===========================================
   ABOUT
=========================================== */

#about{
    padding:100px 0;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:20px;
    box-shadow:0 20px 50px rgba(0,0,0,.45);
}

.about-content h5{
    color:var(--primary);
    letter-spacing:3px;
    margin-bottom:10px;
}

.about-content h2{
    font-size:45px;
    margin-bottom:20px;
}

.about-content p{
    color:var(--gray);
    line-height:32px;
    margin-bottom:18px;
}

.about-list{
    margin:35px 0;
}

.about-list .item{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:18px;
}

.about-list i{
    color:var(--primary);
    font-size:20px;
}

/* ===========================================
   STATS
=========================================== */

.stats{
    background:#101010;
    padding:80px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat-card{
    background:var(--card);
    padding:40px;
    text-align:center;
    border-radius:18px;
    transition:.4s;
    border:1px solid rgba(255,255,255,.08);
}

.stat-card:hover{
    transform:translateY(-10px);
    border-color:var(--primary);
}

.stat-card h2{
    font-size:50px;
    color:var(--primary);
}

.stat-card p{
    margin-top:10px;
    color:var(--gray);
}

/* ===========================================
   SERVICES
=========================================== */

#services{
    padding:100px 0;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:var(--card);
    padding:40px 30px;
    border-radius:20px;
    text-align:center;
    transition:.4s;
    border:1px solid rgba(255,255,255,.08);
}

.service-card:hover{
    transform:translateY(-10px);
    border-color:var(--primary);
}

.service-card .icon{
    width:90px;
    height:90px;
    margin:auto;
    margin-bottom:25px;
    background:rgba(212,175,55,.12);
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.service-card i{
    font-size:40px;
    color:var(--primary);
}

.service-card h3{
    margin-bottom:15px;
    font-size:24px;
}

.service-card p{
    color:var(--gray);
    line-height:28px;
}

/* ===========================================
   PORTFOLIO
=========================================== */

.portfolio-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

margin-top:50px;

}

.portfolio-card{

position:relative;

overflow:hidden;

border-radius:18px;

cursor:pointer;

background:#181818;

transition:.4s;

box-shadow:0 10px 25px rgba(0,0,0,.4);

}

.portfolio-card:hover{

transform:translateY(-8px);

box-shadow:0 15px 35px rgba(212,175,55,.25);

}

.portfolio-card img{

width:100%;

height:260px;

object-fit:cover;

display:block;

transition:.5s;

}

.portfolio-card:hover img{

transform:scale(1.08);

}

.portfolio-content{

position:absolute;

left:0;

right:0;

bottom:0;

padding:22px;

background:linear-gradient(transparent,rgba(0,0,0,.95));

}

.portfolio-content h3{

color:#fff;

font-size:24px;

margin-bottom:8px;

}

.portfolio-content p{

color:#ddd;

font-size:15px;

} 

/* ===========================================
   WHY CHOOSE US
=========================================== */

.why-us{
    padding:100px 0;
    background:#101010;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.why-card{
    background:var(--card);
    padding:40px 25px;
    text-align:center;
    border-radius:18px;
    transition:.4s;
    border:1px solid rgba(255,255,255,.08);
}

.why-card:hover{
    transform:translateY(-10px);
    border-color:var(--primary);
}

.why-card i{
    font-size:45px;
    color:var(--primary);
    margin-bottom:20px;
}

.why-card h3{
    margin-bottom:15px;
}

.why-card p{
    color:var(--gray);
    line-height:28px;
}
/* ===========================================
   TESTIMONIALS
=========================================== */

#reviews{
    padding:100px 0;
    background:#0d0d0d;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.testimonial-card{
    background:var(--card);
    padding:35px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    transition:.4s;
}

.testimonial-card:hover{
    transform:translateY(-10px);
    border-color:var(--primary);
}

.stars{
    color:#FFD700;
    font-size:22px;
    margin-bottom:20px;
}

.testimonial-card p{
    color:var(--gray);
    line-height:30px;
    margin-bottom:20px;
}

.testimonial-card h3{
    margin-bottom:5px;
}

.testimonial-card span{
    color:var(--primary);
}

/* ===========================================
   BOOKING
=========================================== */

#booking{
    padding:100px 0;
}

.booking-form{
    max-width:1000px;
    margin:auto;
}

.booking-form .row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin-bottom:25px;
}

.booking-form input,
.booking-form select,
.booking-form textarea{
    width:100%;
    padding:18px;
    background:#181818;
    color:#fff;
    border:1px solid #333;
    border-radius:12px;
    outline:none;
    font-size:16px;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus{
    border-color:var(--primary);
}

.booking-form button{
    margin-top:20px;
    background:var(--primary);
    color:#000;
    border:none;
    padding:18px 40px;
    border-radius:50px;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.booking-form button:hover{
    transform:translateY(-5px);
}

/* ===========================================
   CONTACT
=========================================== */

#contact{
    padding:100px 0;
    background:#101010;
}

.contact-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-bottom:50px;
}

.contact-card{
    background:var(--card);
    text-align:center;
    padding:40px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    transition:.3s;
}

.contact-card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
}

.contact-card i{
    font-size:45px;
    color:var(--primary);
    margin-bottom:20px;
}

.contact-card h3{
    margin-bottom:10px;
}

.contact-card p{
    color:var(--gray);
}

.social-links{
    display:flex;
    justify-content:center;
    gap:20px;
}

.social-links a{
    width:55px;
    height:55px;
    background:#1c1c1c;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    font-size:22px;
    transition:.3s;
}

.social-links a:hover{
    background:var(--primary);
    color:#000;
}

/* ===========================================
   MAP
=========================================== */

.map iframe{
    width:100%;
    height:450px;
    border:none;
}

/* ===========================================
   FOOTER
=========================================== */

footer{
    background:#050505;
    padding:80px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

.footer-grid h2,
.footer-grid h3{
    margin-bottom:20px;
}

.footer-grid p,
.footer-grid li{
    color:var(--gray);
    line-height:30px;
}

.footer-grid a{
    color:var(--gray);
}

.footer-grid a:hover{
    color:var(--primary);
}

.copyright{
    text-align:center;
    border-top:1px solid #222;
    margin-top:50px;
    padding-top:25px;
    color:#777;
}

/* ===========================================
   BACK TO TOP
=========================================== */

#topBtn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:var(--primary);
    color:#000;
    font-size:20px;
    cursor:pointer;
    display:none;
    z-index:999;
}

/* ===========================================
   RESPONSIVE
=========================================== */

@media(max-width:992px){

.hero-grid,
.about-grid{
grid-template-columns:1fr;
}

.stats-grid{
grid-template-columns:repeat(2,1fr);
}

.why-grid{
grid-template-columns:repeat(2,1fr);
}

.portfolio-grid{
grid-template-columns:repeat(2,1fr);
}

.contact-grid{
grid-template-columns:1fr;
}

.footer-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.hero-left h1{
font-size:42px;
line-height:50px;
}

.booking-form .row{
grid-template-columns:1fr;
}

.stats-grid,
.why-grid,
.portfolio-grid,
.footer-grid{
grid-template-columns:1fr;
}

nav{
display:none;
}

}
#typing{

color:#d4af37;

border-right:3px solid #d4af37;

padding-right:5px;

animation:blink .7s infinite;

}

@keyframes blink{

50%{

border-color:transparent;

}

}
.whatsapp{

position:fixed;

bottom:25px;

left:25px;

width:65px;

height:65px;

background:#25D366;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:34px;

color:white;

box-shadow:0 0 25px rgba(37,211,102,.5);

z-index:9999;

transition:.3s;

}

.whatsapp:hover{

transform:scale(1.15);

}
/* ===== Scroll Progress ===== */

#progressBar{

position:fixed;

top:0;

left:0;

width:0%;

height:5px;

background:linear-gradient(90deg,#d4af37,#ffd700,#ffae00);

z-index:99999;

transition:.1s;

box-shadow:0 0 15px #d4af37;

}
