/* =========================================
   RELGO TEK MAIN STYLES
========================================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{

    font-family: 'Inter', sans-serif;

    background: var(--primary-gradient);

    color: var(--text-light);

    overflow-x: hidden;

}


/* =========================================
   GLOBAL
========================================= */

a{
    text-decoration: none;
}

ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

img{
    max-width: 100%;
}

.section-padding{
    padding: 120px 0;
}

.section-title{

    font-size: 52px;

    font-weight: 800;

    font-family: 'Poppins', sans-serif;

    color: var(--white);

    margin-bottom: 20px;

}

.section-subtitle{

    color: var(--premium-gold);

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 14px;

}

.section-description{

    color: var(--text-gray);

    line-height: 1.9;

    font-size: 16px;

}


/* =========================================
   CUSTOM SCROLLBAR
========================================= */

::-webkit-scrollbar{
    width: 10px;
}

::-webkit-scrollbar-track{
    background: #090512;
}

::-webkit-scrollbar-thumb{
    background: var(--accent-violet);
    border-radius: 20px;
}


/* =========================================
   HEADER
========================================= */

.main-header{

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    padding: 14px 0;

    transition: 0.4s ease;

}

.main-header.scrolled{

    background: rgba(7,3,15,0.88);

    backdrop-filter: blur(18px);

    box-shadow:
    0 10px 40px rgba(0,0,0,0.35);

    padding: 10px 0;

}


.logo img{
    height: 72px;
}


.navbar-nav .nav-link{

    color: var(--white);

    font-weight: 500;

    margin: 0 12px;

    position: relative;

    transition: 0.4s ease;

}


.navbar-nav .nav-link:hover{
    color: var(--accent-violet);
}


.navbar-nav .nav-link::after{

    content: '';

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0%;
    height: 2px;

    background: var(--accent-violet);

    transition: 0.4s ease;

}


.navbar-nav .nav-link:hover::after{
    width: 100%;
}


/* =========================================
   HERO SECTION
========================================= */

.hero-section{

    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding-top: 140px;

}


.hero-content h1{

    font-size: 72px;

    font-weight: 800;

    line-height: 1.1;

    font-family: 'Poppins', sans-serif;

    color: var(--white);

    margin-bottom: 25px;

}


.hero-content h1 span{

    background: linear-gradient(
    135deg,
    #FFD33D,
    #C14BFF
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}


.hero-content p{

    color: var(--text-gray);

    font-size: 18px;

    line-height: 1.9;

    margin-bottom: 35px;

}


.hero-buttons{
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}


.hero-image{
    position: relative;
}


.hero-image img{

    border-radius: 30px;

    box-shadow:
    0 30px 80px rgba(0,0,0,0.45);

}


/* =========================================
   SERVICE CARDS
========================================= */

.service-card{

    padding: 40px 30px;

    height: 100%;

    position: relative;

    overflow: hidden;

}


.service-card h4{

    color: var(--white);

    margin-top: 25px;
    margin-bottom: 15px;

    font-weight: 700;

}


.service-card p{

    color: var(--text-gray);

    line-height: 1.8;

}


.service-card::before{

    content: '';

    position: absolute;

    top: -50%;
    right: -50%;

    width: 200px;
    height: 200px;

    background:
    radial-gradient(
    rgba(193,75,255,0.18),
    transparent
    );

    border-radius: 50%;

}


/* =========================================
   COUNTER SECTION
========================================= */

.counter-box{

    padding: 40px 25px;

    text-align: center;

}


.counter-box h2{

    font-size: 54px;

    font-weight: 800;

    color: var(--premium-gold);

    margin-bottom: 12px;

}


.counter-box p{

    color: var(--text-light);

    margin-bottom: 0;

}


/* =========================================
   CTA SECTION
========================================= */

.cta-section{

    position: relative;

    overflow: hidden;

}


.cta-box{

    padding: 70px;

    text-align: center;

}


.cta-box h2{

    font-size: 54px;

    font-weight: 800;

    color: var(--white);

    margin-bottom: 20px;

}


.cta-box p{

    color: var(--text-gray);

    max-width: 700px;

    margin: auto auto 35px;

}


/* =========================================
   FORMS
========================================= */

.form-control{

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    color: var(--white);

    padding: 16px 20px;

    border-radius: 14px;

}


.form-control:focus{

    background: rgba(255,255,255,0.08);

    border-color: var(--accent-violet);

    box-shadow: var(--purple-shadow);

    color: var(--white);

}


textarea.form-control{
    min-height: 160px;
}


/* =========================================
   FOOTER
========================================= */

.main-footer{

    position: relative;

    overflow: hidden;

    padding-top: 100px;

}


.footer-logo img{
    height: 80px;
}


.footer-about{

    color: var(--text-gray);

    line-height: 1.9;

    margin-top: 25px;

}


.footer-title{

    color: var(--white);

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 30px;

}


.footer-links li{
    margin-bottom: 14px;
}


.footer-links a{

    color: var(--text-gray);

    transition: 0.4s ease;

}


.footer-links a:hover{

    color: var(--accent-violet);

    padding-left: 6px;

}


.footer-contact li{

    display: flex;

    gap: 14px;

    margin-bottom: 18px;

    color: var(--text-gray);

}


.footer-social{

    display: flex;

    gap: 14px;

    margin-top: 30px;

}


.footer-social a{

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: var(--white);

    transition: 0.4s ease;

}


.footer-social a:hover{

    background: var(--button-gradient);

    transform: translateY(-5px);

}


.footer-bottom{

    border-top: 1px solid rgba(255,255,255,0.08);

    padding: 30px 0;

    margin-top: 70px;

}


.footer-bottom p{

    margin-bottom: 0;

    color: var(--text-gray);

}


/* =========================================
   PARTICLES
========================================= */

.particles{

    position: absolute;

    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    overflow: hidden;

    z-index: -1;

}


.particles span{

    position: absolute;

    display: block;

    width: 10px;
    height: 10px;

    background: rgba(193,75,255,0.25);

    border-radius: 50%;

    bottom: -100px;

    animation: particleMove 12s linear infinite;

}   

/* =========================================
   FINAL PREMIUM UI ENHANCEMENTS
========================================= */


/* SMOOTH SCROLL */

html{

    scroll-behavior:smooth;

}



/* CUSTOM SCROLLBAR */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#071120;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(
        180deg,
        #00d2ff,
        #3a7bd5
    );

    border-radius:20px;

}



/* IMAGE OPTIMIZATION */

img{

    max-width:100%;
    height:auto;
    display:block;

}



/* SECTION SPACING MOBILE */

@media(max-width:768px){

    .section-padding{

        padding:70px 0;

    }

}



/* PREMIUM HOVER EFFECT */

.glass-card{

    transition:0.45s ease;

}

.glass-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 25px 60px rgba(0,0,0,0.35);

}



/* BUTTON EFFECT */

.glass-btn,
.glass-outline-btn{

    position:relative;
    overflow:hidden;

}


.glass-btn::before,
.glass-outline-btn::before{

    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:100%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );

    transition:0.7s;

}


.glass-btn:hover::before,
.glass-outline-btn:hover::before{

    left:120%;

}



/* FORM IMPROVEMENTS */

.custom-input{

    min-height:58px;

}


textarea.custom-input{

    min-height:160px;
    resize:none;

}



/* ACCORDION IMPROVEMENTS */

.accordion-button{

    background:rgba(255,255,255,0.05) !important;
    color:#ffffff !important;
    font-weight:600;
    box-shadow:none !important;
    padding:22px 25px;

}

.accordion-button:not(.collapsed){

    background:rgba(0,210,255,0.12) !important;

}

.accordion-button::after{

    filter:brightness(100);

}

.accordion-body{

    background:rgba(255,255,255,0.03);
    color:#d1d5db;

}



/* MOBILE MENU IMPROVEMENTS */

@media(max-width:991px){

    .navbar-collapse{

        margin-top:20px;
        padding:25px;
        border-radius:25px;
        background:rgba(7,17,32,0.95);
        border:1px solid rgba(255,255,255,0.08);
        backdrop-filter:blur(20px);

    }

}



/* CTA RESPONSIVE */

@media(max-width:768px){

    .hero-buttons{

        flex-direction:column;
        width:100%;

    }

    .hero-buttons a{

        width:100%;
        justify-content:center;

    }

}



/* FOOTER RESPONSIVE */

@media(max-width:768px){

    .footer-area{

        text-align:center;

    }

}



/* GLASS ICON EFFECT */

.glass-icon{

    transition:0.4s ease;

}

.glass-card:hover .glass-icon{

    transform:rotateY(180deg);

}



/* TABLET OPTIMIZATION */

@media(min-width:768px) and (max-width:1024px){

    .section-title{

        font-size:42px;

    }

}



/* MOBILE FONT OPTIMIZATION */

@media(max-width:576px){

    .section-title{

        font-size:34px;
        line-height:1.25;

    }

    .hero-title{

        font-size:42px;
        line-height:1.2;

    }

}



/* PERFORMANCE */

.glass-card,
.glass-btn,
.glass-outline-btn{

    will-change:transform;

}



/* PREVENT HORIZONTAL SCROLL */

body{

    overflow-x:hidden;

}



/* SELECTION COLOR */

::selection{

    background:#00d2ff;
    color:#ffffff;

}
/* =========================================
   LOADER
========================================= */

.site-loader{

    position:fixed;
    inset:0;
    background:#071120;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.6s ease;

}

.loader-hidden{

    opacity:0;
    visibility:hidden;

}

.loader-circle{

    width:80px;
    height:80px;
    border-radius:50%;
    border:4px solid rgba(255,255,255,0.1);
    border-top-color:#00d2ff;
    animation:spin 1s linear infinite;

}


@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}



/* =========================================
   STICKY HEADER
========================================= */

.sticky-header{

    background:rgba(7,17,32,0.92) !important;
    backdrop-filter:blur(20px);
    box-shadow:0 10px 40px rgba(0,0,0,0.25);

}



/* =========================================
   SCROLL ANIMATION
========================================= */

.hidden-animation{

    opacity:0;
    transform:translateY(60px);
    transition:1s ease;

}

.show-animation{

    opacity:1;
    transform:translateY(0);

}



/* =========================================
   BACK TO TOP
========================================= */

.back-to-top{

    position:fixed;
    left:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border-radius:50%;
    background:linear-gradient(
        135deg,
        #00d2ff,
        #3a7bd5
    );
    color:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:9999;
    opacity:0;
    visibility:hidden;
    transition:0.4s ease;

}


.back-to-top.active{

    opacity:1;
    visibility:visible;

}


.back-to-top:hover{

    transform:translateY(-6px);

}

/* =========================================
   PREMIUM HEADER REWORK
========================================= */

.main-header{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    z-index:99999;
    background: rgba(5,5,15,0.88);
    backdrop-filter: blur(18px);
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.navbar{
    padding:18px 0;
}

.navbar-brand img{
    height:58px;
}

.navbar-nav{
    gap:18px;
}

.nav-link{
    color:#ffffff !important;
    font-size:16px;
    font-weight:600;
    position:relative;
    transition:0.3s ease;
}

.nav-link:hover{
    color:#c86bff !important;
}

.nav-link::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:linear-gradient(90deg,#8f3fff,#d76dff);
    transition:0.3s ease;
}

.nav-link:hover::after{
    width:100%;
}



/* =========================================
   MEGA MENU
========================================= */

.mega-dropdown{
    position:relative;
}

.mega-menu{
    width:950px;
    border:none;
    border-radius:28px;
    padding:35px;
    background:
    linear-gradient(
        135deg,
        rgba(20,20,40,0.98),
        rgba(35,15,55,0.96)
    );

    backdrop-filter: blur(22px);

    box-shadow:
    0 20px 80px rgba(0,0,0,0.45);

    border:1px solid rgba(255,255,255,0.08);

    margin-top:25px;

    left:50%;
    transform:translateX(-50%);

    z-index:999999;
}

.mega-menu-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.mega-column h5{
    color:#ffcc33;
    margin-bottom:20px;
    font-size:18px;
    font-weight:700;
}

.mega-column a{
    display:block;
    color:#ffffff;
    text-decoration:none;
    padding:12px 16px;
    border-radius:14px;
    margin-bottom:10px;
    transition:0.3s ease;
    font-weight:500;
}

.mega-column a:hover{
    background:rgba(255,255,255,0.08);
    color:#d98cff;
    transform:translateX(5px);
}



/* =========================================
   DROPDOWN FIX
========================================= */

.dropdown-menu.show{
    animation:fadeUp 0.35s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:
        translateX(-50%)
        translateY(20px);
    }

    to{
        opacity:1;
        transform:
        translateX(-50%)
        translateY(0);
    }

}



/* =========================================
   MOBILE NAVBAR
========================================= */

@media(max-width:1199px){

    .navbar-collapse{
        background:rgba(10,10,25,0.98);
        padding:25px;
        border-radius:24px;
        margin-top:20px;
        border:1px solid rgba(255,255,255,0.08);
    }

    .mega-menu{
        width:100%;
        position:relative !important;
        transform:none !important;
        left:0 !important;
        margin-top:15px;
        padding:20px;
        max-height:450px;
        overflow-y:auto;
    }

    .mega-menu-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

    .navbar-nav{
        gap:10px;
    }

    .header-btn{
        margin-top:20px;
    }

}



/* =========================================
   BODY SPACING FIX
========================================= */

body{
    padding-top:110px;
}