/* ==============================
   GLOBAL STYLES
================================= */

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: #1e293b;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
}

p {
    color: #64748b;
    line-height: 1.7;
}

/* ==============================
   NAVBAR
================================= */

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.85);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    color: #fff !important;
}

.nav-link {
    color: #cbd5e1 !important;
    margin-left: 15px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #4f46e5 !important;
}

/* ==============================
   HERO (ALL PAGES)
================================= */

.page-hero {
    height: 60vh;
    background: linear-gradient(135deg, #0f172a, #1e293b, #312e81);
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(79,70,229,0.3), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(147,51,234,0.3), transparent 40%);
    animation: heroMove 10s infinite alternate linear;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

@keyframes heroMove {
    from { transform: translate(0,0); }
    to { transform: translate(-5%, -5%); }
}

/* ==============================
   BUTTONS
================================= */

.btn-primary {
    background: linear-gradient(45deg,#4f46e5,#9333ea);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79,70,229,0.4);
}

.btn-outline-dark {
    border-radius: 30px;
}

/* ==============================
   CARDS / BOXES
================================= */

.card,
.expertise-box,
.service-box,
.contact-info,
.about-box {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    padding: 30px;
    transition: 0.3s;
}

.card:hover,
.expertise-box:hover,
.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ==============================
   PORTFOLIO
================================= */

.portfolio-section {
    background: #f1f5f9;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.portfolio-card img {
    transition: 0.5s;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #fff;
    opacity: 0;
    transition: 0.4s;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* Filter Buttons */
.filter-btn {
    border: none;
    padding: 8px 20px;
    margin: 5px;
    background: #e2e8f0;
    border-radius: 50px;
    transition: 0.3s;
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(45deg,#4f46e5,#9333ea);
    color: #fff;
}

/* ==============================
   CONTACT FORM
================================= */

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #cbd5e1;
}

.form-control:focus {
    box-shadow: none;
    border-color: #4f46e5;
}

/* ==============================
   CTA SECTION
================================= */

.cta-section {
    background: linear-gradient(135deg, #0f172a, #1e293b, #312e81);
    color: white;
    text-align: center;
}

/* ==============================
   FOOTER
================================= */

footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 30px 0;
    font-size: 14px;
}

/* ==============================
   WHATSAPP FLOAT
================================= */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    line-height: 60px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .page-hero {
        height: 50vh;
    }
}
/* ===========================
   GRADIENT HERO SLIDER
=========================== */

.hero-slide {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: 300% 300%;
    animation: gradientMove 8s ease infinite;
}

/* Slide 1 Gradient */
.slide-1 {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

/* Slide 2 Gradient */
.slide-2 {
    background: linear-gradient(135deg, #141e30, #243b55, #0f0c29);
}

/* Smooth Moving Gradient */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Content Animation */
.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.carousel-item.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Title */
.hero-title {
    font-size: 50px;
    font-weight: 700;
}

/* Subtitle */
.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Button Hover */
.btn-primary,
.btn-outline-light {
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-outline-light:hover {
    transform: translateY(-3px);
}
/* ===============================
   ROYAL IT BACKGROUND
================================= */
.process-circle-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, #0a0f1f, #0f172a, #1e3a8a);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Soft Glow Effect */
.process-circle-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

.process-circle-section .container {
    position: relative;
    z-index: 2;
}

/* ===============================
   CIRCLE CONTAINER
================================= */
.circle-container {
    position: relative;
    width: 460px;
    height: 460px;
    margin: auto;
}

/* Rotating Wrapper */
.steps-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateCircle 35s linear infinite;
}

/* Pause on Hover */
.circle-container:hover .steps-wrapper,
.circle-container:hover .icon-circle {
    animation-play-state: paused;
}

/* Rotating Dashed Ring */
.circle-container::after {
    content: "";
    position: absolute;
    width: 390px;
    height: 390px;
    border: 2px dashed rgba(255,215,0,0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateRing 50s linear infinite reverse;
}

/* ===============================
   CENTER CIRCLE
================================= */
.center-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, #DC3534, #5ec536);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px rgba(37,99,235,0.8);
    z-index: 10;
    transition: 0.4s;
    font-size: 14px;
}

/* ===============================
   STEP POSITIONING
================================= */
.step {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
}

/* Perfect circle spacing */
.step:nth-child(1) { transform: rotate(0deg) translate(200px); }
.step:nth-child(2) { transform: rotate(60deg) translate(200px); }
.step:nth-child(3) { transform: rotate(120deg) translate(200px); }
.step:nth-child(4) { transform: rotate(180deg) translate(200px); }
.step:nth-child(5) { transform: rotate(240deg) translate(200px); }
.step:nth-child(6) { transform: rotate(300deg) translate(200px); }

/* ===============================
   ICON STYLE
================================= */
.icon-circle {
    width: 85px;
    height: 85px;
    background: #0f172a;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    box-shadow: 0 0 20px rgba(255,215,0,0.5);
    border: 2px solid rgba(255,215,0,0.3);
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Counter rotation */
.steps-wrapper .icon-circle {
    animation: counterRotate 35s linear infinite;
}

/* Hover Effect */
.icon-circle:hover {
    transform: scale(1.2);
    background: linear-gradient(45deg,#1e40af,#2563eb);
    color: #ffffff;
    box-shadow: 0 0 30px rgba(37,99,235,1);
}

/* Text inside icon */
.icon-circle span {
    font-size: 11px;
    color: #cbd5e1;
}

.icon-circle i {
    font-size: 20px;
    margin-top: 5px;
}

/* ===============================
   ANIMATIONS
================================= */
@keyframes rotateCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===============================
   MOBILE RESPONSIVE FIX
================================= */
@media (max-width:768px) {

    .circle-container {
        width: 320px;
        height: 320px;
    }

    .circle-container::after {
        width: 260px;
        height: 260px;
    }

    .center-circle {
        width: 130px;
        height: 130px;
        font-size: 12px;
        padding: 15px;
    }

    .step:nth-child(1) { transform: rotate(0deg) translate(140px); }
    .step:nth-child(2) { transform: rotate(60deg) translate(140px); }
    .step:nth-child(3) { transform: rotate(120deg) translate(140px); }
    .step:nth-child(4) { transform: rotate(180deg) translate(140px); }
    .step:nth-child(5) { transform: rotate(240deg) translate(140px); }
    .step:nth-child(6) { transform: rotate(300deg) translate(140px); }

    .icon-circle {
        width: 55px;
        height: 55px;
    }

    .icon-circle i {
        font-size: 14px;
    }
}

/* SECTION */
.tech-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* TITLE */
.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

/* WRAPPER */
.tech-wrapper {
    position: relative;
    min-height: 300px;
}

/* CIRCLES GRID */
.tech-circles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    transition: 0.4s ease;
}

/* CIRCLE STYLE */
.tech-item {
    width: 100px;
    height: 100px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
}

/* UP DOWN WAVE EFFECT */
.tech-item:nth-child(odd) {
    animation: moveUp 2s ease-in-out infinite alternate;
}

.tech-item:nth-child(even) {
    animation: moveDown 2s ease-in-out infinite alternate;
}

@keyframes moveUp {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}

@keyframes moveDown {
    from { transform: translateY(0); }
    to { transform: translateY(20px); }
}

/* LIST HIDDEN */
.tech-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: 0.4s ease;
}

.tech-list ul {
    list-style: none;
    padding: 0;
}

.tech-list li {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(20px);
}

/* HOVER EFFECT */
.tech-section:hover .tech-circles {
    opacity: 0;
}

.tech-section:hover .tech-list {
    opacity: 1;
}

.tech-section:hover .tech-list li {
    animation: fadeUp 0.5s forwards;
}

.tech-section:hover .tech-list li:nth-child(1) { animation-delay: 0.1s; }
.tech-section:hover .tech-list li:nth-child(2) { animation-delay: 0.2s; }
.tech-section:hover .tech-list li:nth-child(3) { animation-delay: 0.3s; }
.tech-section:hover .tech-list li:nth-child(4) { animation-delay: 0.4s; }
.tech-section:hover .tech-list li:nth-child(5) { animation-delay: 0.5s; }
.tech-section:hover .tech-list li:nth-child(6) { animation-delay: 0.6s; }
.tech-section:hover .tech-list li:nth-child(7) { animation-delay: 0.7s; }
.tech-section:hover .tech-list li:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE FIX */
@media (max-width: 768px) {

    .section-title {
        font-size: 24px;
    }

    .tech-item {
        width: 70px;
        height: 70px;
        font-size: 11px;
    }

    .tech-wrapper {
        min-height: 250px;
    }
}

/* ==========================================
   2026 PREMIUM SERVICES SECTION
========================================== */

.services-upgrade {
    position: relative;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    padding: 120px 0;
    overflow: hidden;
}

/* Soft background glow */
.services-upgrade::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79,70,229,0.15), transparent 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

.services-upgrade .container {
    position: relative;
    z-index: 2;
}

/* Section Title */
.services-upgrade h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 70px;
}

/* ==========================================
   SERVICE CARD - 2026 STYLE
========================================== */

.service-card {
    position: relative;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 45px 30px;
    border: 1px solid rgba(255,255,255,0.4);
    transition: all 0.5s ease;
    overflow: hidden;
}

/* Gradient Border Glow */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg,#4f46e5,#9333ea,#06b6d4);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: 0.4s;
}

/* Light Sweep Effect */
.service-card::after {
    content: "";
    position: absolute;
    top: -150%;
    left: -50%;
    width: 200%;
    height: 300%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transform: rotate(25deg);
    transition: 0.8s;
    opacity: 0;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    top: 100%;
    opacity: 1;
}

/* ==========================================
   ICON STYLE (Modern Bubble)
========================================== */

.service-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#4f46e5,#9333ea);
    box-shadow: 0 15px 35px rgba(79,70,229,0.4);
    transition: 0.4s;
}

.service-icon i {
    font-size: 28px;
    color: #fff;
}

/* Icon Hover */
.service-card:hover .service-icon {
    transform: rotate(-8deg) scale(1.1);
}

/* ==========================================
   TEXT STYLE
========================================== */

.service-card h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {
    .services-upgrade h2 {
        font-size: 30px;
    }

    .service-card {
        padding: 35px 25px;
    }
}
