/* ===== PREMIUM LAPTOP MOCKUP ===== */
.rs-visual { position: relative; }

.laptop {
    background: #1E293B;
    max-width: 450px;
    margin: auto;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 40px 90px rgba(0,0,0,.7);
}

.laptop-top {
    height: 35px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.laptop-top span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #555;
}

.dashboard {
    height: 350px;
    background: #070707;
    border-radius: 18px;
    padding: 35px;
    overflow: hidden;
}

.dashboard h3 {
    font-size: 28px;
    color: var(--gold);
    margin: 0;
}

.chart {
    height: 180px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-top: 45px;
}

.bar {
    width: 45px;
    background: var(--gold);
    border-radius: 10px 10px 0 0;
    animation: chartMove 2.5s infinite alternate;
}

.one { height: 60px; }
.two { height: 100px; }
.three { height: 140px; }
.four { height: 170px; }

@keyframes chartMove {
    from { transform: scaleY(.85); }
    to { transform: scaleY(1); }
}

/* FLOATING CARDS */
.floating-card {
    position: absolute;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(15px);
    padding: 18px 25px;
    border-radius: 20px;
}

.floating-card strong {
    display: block;
    font-size: 28px;
    color: var(--gold);
}

.floating-card span {
    font-size: 14px;
    color: #aaa;
}

.growth {
    top: 40px;
    right: -10px;
}

.clients {
    bottom: 20px;
    left: -10px;
}

.rs-site {
    --gold: #C8A45D;
    --dark: #0F172A;
    --text: #a8a8a8;
    background: var(--dark);
    color: white;
    font-family: Arial, sans-serif;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.rs-site::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(200,164,93,.10), transparent 25%),
                radial-gradient(circle at 80% 30%, rgba(200,164,93,.08), transparent 30%),
                radial-gradient(circle at 40% 80%, rgba(200,164,93,.10), transparent 25%);
    background-size: 120% 120%;
    animation: bgMove 18s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes bgMove {
    0% { background-position: 0% 0%, 100% 0%, 50% 100%; }
    100% { background-position: 20% 10%, 80% 20%, 40% 80%; }
}

.rs-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* HEADER */
.rs-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(5,5,5,.55);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(200,164,93,.12);
    box-shadow: 0 8px 35px rgba(0,0,0,.35);
    transition: .35s;
}

.rs-nav {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rs-logo {
    font-size: 30px;
    font-weight: 800;
}

.rs-logo span { color: var(--gold); }

.rs-nav nav {
    display: flex;
    gap: 35px;
}

.rs-nav nav a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: .35s;
}

.rs-nav nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: .35s;
}

.rs-nav nav a:hover { color: var(--gold); }
.rs-nav nav a:hover::after { width: 100%; }

/* BUTTONS */
.rs-btn {
    background: var(--gold);
    color: #000;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: .35s;
}

.rs-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(200,164,93,.35);
}

.rs-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: .35s;
}

.rs-outline:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-6px);
}

/* HERO */
.rs-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.rs-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    right: -150px;
    top: 100px;
    background: var(--gold);
    filter: blur(200px);
    opacity: .25;
    animation: glowMove 8s ease-in-out infinite alternate;
}

.rs-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px;
    align-items: center;
}

.rs-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 400px;
    position: relative;
    padding: 20px;
    animation: visualFloat 5s ease-in-out infinite;
}

.rs-badge {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    margin-bottom: 25px;
}

.rs-content h1 {
    font-size: 70px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.rs-content h1 span {
    background: linear-gradient(90deg, #C8A45D, #fff0b3, #C8A45D);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 4s linear infinite;
}

.rs-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 35px;
}

.rs-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* SERVICES SECTION */
.rs-services {
    padding: 120px 0;
    background: #1F2937 !important;
    position: relative;
    overflow: hidden;
}

.services-title {
    text-align: center;
    max-width: 750px;
    margin: auto;
}

.services-title h2 {
    font-size: 55px;
    line-height: 1.2;
    margin: 25px 0;
}

.services-title h2 span {
    background: linear-gradient(90deg, #C8A45D, #fff0b3, #C8A45D);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: servicesShine 4s linear infinite;
}

.services-title p {
    color: #aaa;
    font-size: 18px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    align-items: stretch;
}

.service-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    padding: 40px;
    border-radius: 25px;
    transition: .4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(200,164,93,.20);
}

.service-card h3 {
    font-size: 26px;
    color: white;
    transition: .35s ease;
}

.service-card:hover h3 { color: var(--gold); transform: translateX(5px); }

.service-card p {
    color: #aaa;
    line-height: 1.7;
    transition: .35s ease;
}

/* ABOUT SECTION */
.rs-about {
    padding: 120px 0;
    background: #0F172A;
    position: relative;
    overflow: hidden;
}

.rs-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    padding: 50px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    transition: .4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 25px 60px rgba(200,164,93,.20);
}

.about-card h3 { font-size: 32px; color: var(--gold); margin-bottom: 20px; }
.about-card p { color: #aaa; line-height: 1.8; margin-bottom: 35px; }

.about-stats { display: flex; gap: 25px; }
.about-stats div {
    background: #111;
    padding: 20px;
    border-radius: 18px;
    flex: 1;
    text-align: center;
    transition: .35s ease;
}
.about-stats div:hover {
    transform: translateY(-8px);
    border: 1px solid var(--gold);
}
.about-stats strong { display: block; font-size: 32px; color: var(--gold); margin-bottom: 8px; transition: .35s; }
.about-stats span { color: #aaa; font-size: 14px; }

.about-content h2 { font-size: 55px; line-height: 1.2; margin: 20px 0; }
.about-content h2 span {
    background: linear-gradient(90deg, #C8A45D, #fff0b3, #C8A45D);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aboutShine 4s linear infinite;
}
.about-content p { color: #aaa; font-size: 18px; line-height: 1.8; margin-bottom: 25px; transition: .35s; }
.about-content p:hover { color: #d5d5d5; transform: translateX(5px); }

/* PORTFOLIO SECTION */
.rs-portfolio {
    padding: 100px 0;
    background: #0F172A;
}

.portfolio-title {
    text-align: center;
    max-width: 750px;
    margin: auto;
    margin-bottom: 60px;
}

.portfolio-title h2 { font-size: 55px; line-height: 1.2; margin: 25px 0; }
.portfolio-title h2 span { color: var(--gold); }
.portfolio-title p { color: #aaa; font-size: 18px; line-height: 1.8; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 25px;
    padding: 40px;
    transition: all .4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-12px);
    border-color: #C8A45D;
    box-shadow: 0 25px 60px rgba(0,0,0,.45);
}

.portfolio-preview {
    height: 230px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 28px;
    box-shadow: 0 15px 40px rgba(0,0,0,.35);
    border: 1px solid rgba(200,164,93,.15);
}

.portfolio-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .5s ease;
}

.portfolio-card:hover .portfolio-preview img {
    transform: scale(1.05);
}

.portfolio-card h3 { font-size: 22px; margin-top: 18px; margin-bottom: 12px; color: #fff; }
.portfolio-card p { color: #bdbdbd; line-height: 1.7; font-size: 16px; }

/* CONTACT SECTION */
.rs-contact {
    padding: 100px 0;
    background: #1F2937 !important;
}

.contact-title { text-align: center; max-width: 750px; margin: auto; margin-bottom: 60px; }
.contact-title h2 { font-size: 55px; line-height: 1.2; margin: 25px 0; }
.contact-title h2 span { color: var(--gold); }
.contact-title p { color: #aaa; font-size: 18px; line-height: 1.8; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 25px; }

.info-card {
    background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border: 1px solid rgba(200,164,93,.18);
    padding: 35px;
    border-radius: 22px;
    transition: .35s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(200,164,93,.18);
}

.info-card h3 { color: var(--gold); margin-bottom: 10px; font-size: 22px; }
.info-card p { color: #aaa; font-size: 16px; margin:0; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border: 1px solid rgba(200,164,93,.18);
    border-radius: 18px;
    outline: none;
    color: #fff;
    font-size: 16px;
    transition: .35s ease;
    box-sizing: border-box;
}

.contact-form textarea { min-height: 180px; resize: none; }
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,.06);
    box-shadow: 0 0 0 3px rgba(200,164,93,.08), 0 0 25px rgba(200,164,93,.22);
    transform: translateY(-2px);
}

.contact-form .rs-btn { border: none; cursor: pointer; width: 100%; }

/* FOOTER */
.rs-footer {
    background: #0F172A;
    border-top: 1px solid rgba(200,164,93,.18);
    padding: 80px 0 25px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
}

.footer-brand p { margin-top: 20px; color: #999; line-height: 1.9; max-width: 420px; }
.footer-links h3 { color: var(--gold); font-size: 22px; margin-bottom: 25px; margin-top: 0; }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { color: #aaa; text-decoration: none; margin-bottom: 15px; transition: .3s; }
.footer-links a:hover { color: var(--gold); padding-left: 8px; }
.footer-bottom { margin-top: 60px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; color: #888; font-size: 15px; }

/* ANIMATIONS */
@keyframes textShine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes servicesShine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes aboutShine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes floatCard1 { 0% { transform: translateY(0); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0); } }
@keyframes floatCard2 { 0% { transform: translateY(0); } 50% { transform: translateY(12px); } 100% { transform: translateY(0); } }
@keyframes laptopFloat { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
@keyframes glowMove { 0% { transform: translate(0,0) scale(1); opacity: .12; } 50% { transform: translate(-40px,20px) scale(1.15); opacity: .20; } 100% { transform: translate(30px,-30px) scale(1); opacity: .15; } }
@keyframes visualFloat { 0% { transform: translateY(0); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0); } }

/* ================= MOBILE RESPONSIVE FIX ================= */
@media only screen and (max-width: 900px) {
    .rs-hero-grid, .services-grid, .rs-about-grid, .portfolio-grid, .contact-grid, .footer-grid, #testimonials .services-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .rs-container {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
    .rs-nav nav { display: none; }
    .rs-content h1 { font-size: 36px !important; line-height: 1.2 !important; }
    h2 { font-size: 30px !important; }
    .laptop { max-width: 100% !important; }
    .rs-hero-grid { text-align: center; }
    .rs-content { order: 2; }
    .rs-visual { order: 1; }
    .rs-actions { justify-content: center; }
    .footer-grid { text-align: center; }
    .footer-brand p { margin: auto; margin-top: 20px; }
    body, html, .rs-site {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
}

/* =========================================
   MAGIC ANIMATIONS FOR BOXES & ICONS
========================================= */
.service-card {
    transition: all 0.5s ease !important; 
}

.service-card:hover {
    transform: translateY(-20px) scale(1.05) !important;
    box-shadow: 0 35px 65px rgba(200, 164, 93, 0.4), inset 0 0 20px rgba(200, 164, 93, 0.1) !important;
    border-color: #C8A45D !important;
    z-index: 10;
}

.box-icon {
    display: inline-block;
    transition: all 0.5s ease;
}

.service-card:hover .box-icon {
    transform: scale(1.5) translateY(-10px) rotate(15deg);
    filter: drop-shadow(0 15px 15px rgba(200, 164, 93, 0.6));
}

.slide-up-anim {
    animation: popIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(80px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.8s; }

@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-grid-fix {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

.my-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}

.my-button:hover {
    background-color: #0056b3;
}

.my-button {
    padding: 10px 20px;
    background-color: #ff9900;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.my-button:hover {
    background-color: #e68a00;
}

.container, section {
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
}
/* === FIXED INDEPENDENT MOBILE SPECIFIC RULES === */
@media only screen and (max-width: 767px) {
    /* Laptop ko center mein laane ka fix */
    .rs-visual {
        transform: scale(0.42) !important;
        position: relative !important;
        left: 50% !important;
        margin-left: -120px !important; 
        margin-top: -30px !important;
        margin-bottom: -110px !important;
        width: 100% !important;
        display: block !important;
        overflow: visible !important;
    }

    /* Hero aur Footer wahi rahenge jo aapne maanga */
    .rs-hero { overflow: visible !important; padding-top: 60px !important; }
    .footer-grid { grid-template-columns: 1fr !important; text-align: center !important; gap: 30px !important; }
    .footer-brand p { margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
}

/* ================= MOBILE HAMBURGER MENU ================= */

/* Ye rule laptop par button aur menu ko chupata hai */
.menu-btn, .mobile-side-menu {
    display: none;
}

/* Yahan se mobile ki setting shuru hoti hai (Max width 900px ka matlab sirf choti screen) */
@media only screen and (max-width: 900px) {
    
    /* Laptop ki bar ko chupa do */
    .desktop-nav, .desktop-btn {
        display: none !important;
    }

    /* 3 lines wale button ko dikhao aur right side par set karo */
    .menu-btn {
        display: block;
        font-size: 32px;
        color: white;
        cursor: pointer;
        margin-left: auto; 
    }

    /* Ye side menu dabba hai jo right side se niklega */
    .mobile-side-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -300px; /* Ye minus (-) 300px isko screen se bahar chupa kar rakhta hai */
        width: 250px;
        height: 100vh;
        background-color: #222; /* Ye background dark grey hai */
        z-index: 9999; /* Ye menu ko sabse upar dikhayega taake koi text iske upar na aaye */
        transition: right 0.4s ease; /* Ye smoothly slide hone ki speed hai */
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    /* Jab button click hoga, toh right ki position 0 ho jayegi (yani dabba bahar aa jayega) */
    .mobile-side-menu.active {
        right: 0;
    }

    /* Ye links ka design hai aur unke darmiyan line hai */
    .mobile-side-menu a {
        padding: 15px 30px;
        text-decoration: none;
        font-size: 16px;
        color: white;
        display: block;
        border-bottom: 1px solid #444;
        transition: 0.3s;
    }

    /* Jab ungli touch hogi toh rang golden ho jayega */
    .mobile-side-menu a:hover {
        color: var(--gold);
        padding-left: 40px; 
    }

    /* Ye band karne wala 'X' button hai */
    .close-btn {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 40px;
        color: white;
        cursor: pointer;
    }
}
/* ================= SIRF HOME PAGE KI PICTURE ================= */
.rs-hero {
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=1920');
    background-size: cover;
    background-position: center;
}
/* Mobile par reviews aur portfolio ko ek ke neeche ek karne ka fix */
@media only screen and (max-width: 767px) {
    .portfolio-grid, .reviews-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
}

