/*=========================================
   OMGoracle Services Page V1
   PART 1
==========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

:root{
    --primary:#2563EB;
    --primary-light:#60A5FA;
    --bg:#eef3fb;
    --white:#ffffff;
    --text:#1F2937;
    --text-light:#64748b;
    --shadow-dark:#d5dceb;
    --shadow-light:#ffffff;
    --radius:24px;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

.container{
    width:92%;
    max-width:1400px;
    margin:auto;
}

/* ================= HEADER ================= */

header{
    position:sticky;
    top:0;
    z-index:9999;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(18px);
    padding:18px 0;
    box-shadow:
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:55px;
}

.logo h2{
    color:var(--primary);
    font-size:28px;
}

.logo p{
    color:#777;
    font-size:14px;
}

/* Navigation */

nav ul{
    display:flex;
    list-style:none;
    gap:28px;
}

nav ul li a{
    text-decoration:none;
    color:var(--text);
    font-weight:600;
    transition:.3s;
}

nav ul li a:hover,
nav ul li a.active{
    color:var(--primary);
}

.nav-btn a{
    background:var(--primary);
    color:#fff;
    padding:12px 28px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
}

/* ================= HERO ================= */

.hero{
    padding:90px 0;
    text-align:center;
    background:linear-gradient(135deg,#eef4ff,#ffffff);
}

.tag{
    display:inline-block;
    padding:10px 22px;
    border-radius:40px;
    background:#fff;
    color:var(--primary);
    font-weight:600;
    margin-bottom:25px;
    box-shadow:
    8px 8px 18px var(--shadow-dark),
    -8px -8px 18px var(--shadow-light);
}

.hero h1{
    font-size:58px;
    margin-bottom:20px;
}

.hero p{
    max-width:750px;
    margin:auto;
    color:var(--text-light);
    line-height:1.8;
    font-size:18px;
}

/* Search */

.search-box{
    margin:45px auto 0;
    max-width:700px;
    background:#fff;
    border-radius:55px;
    padding:16px 25px;
    display:flex;
    align-items:center;
    gap:15px;
    box-shadow:
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
}

.search-box i{
    color:var(--primary);
    font-size:22px;
}

.search-box input{
    flex:1;
    border:none;
    outline:none;
    font-size:17px;
    background:transparent;
}
/*=========================================
   PART 2
   CATEGORY + SERVICE CARDS
==========================================*/

/* ---------- CATEGORY ---------- */

.category{
    padding:35px 0;
    background:#ffffff;
}

.category-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.category-buttons button{
    border:none;
    outline:none;
    cursor:pointer;
    padding:14px 28px;
    border-radius:50px;
    background:#eef3fb;
    color:#1F2937;
    font-size:15px;
    font-weight:600;
    transition:.35s;
    box-shadow:
    8px 8px 18px #d5dceb,
    -8px -8px 18px #ffffff;
}

.category-buttons button:hover,
.category-buttons button.active{
    background:#2563EB;
    color:#ffffff;
    transform:translateY(-4px);
}

/* ---------- SERVICES ---------- */

.services{
    padding:80px 0;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

/* ---------- CARD ---------- */

.service-card{

    background:#eef3fb;

    border-radius:26px;

    padding:30px;

    text-align:center;

    transition:.35s;

    position:relative;

    overflow:hidden;

    box-shadow:
    12px 12px 22px #d5dceb,
    -12px -12px 22px #ffffff;

}

.service-card::before{

content:"";

position:absolute;

top:0;

left:0;

width:100%;

height:5px;

background:#2563EB;

transform:scaleX(0);

transition:.35s;

}

.service-card:hover::before{

transform:scaleX(1);

}

.service-card:hover{

transform:translateY(-10px);

box-shadow:
0 18px 35px rgba(37,99,235,.18),
12px 12px 22px #d5dceb,
-12px -12px 22px #ffffff;

}

/* ---------- ICON ---------- */

.service-card i{

font-size:58px;

color:#2563EB;

margin-bottom:20px;

transition:.35s;

}

.service-card:hover i{

transform:scale(1.15) rotate(8deg);

}

/* ---------- TITLE ---------- */

.service-card h3{

font-size:24px;

margin-bottom:15px;

color:#1F2937;

}

/* ---------- DESCRIPTION ---------- */

.service-card p{

font-size:16px;

line-height:1.8;

color:#64748b;

margin-bottom:25px;

min-height:70px;

}

/* ---------- BUTTON ---------- */

.service-card a{

display:inline-block;

padding:14px 30px;

border-radius:50px;

background:#2563EB;

color:#ffffff;

text-decoration:none;

font-weight:600;

transition:.35s;

box-shadow:
0 12px 20px rgba(37,99,235,.22);

}

.service-card a:hover{

background:#1D4ED8;

transform:translateY(-3px);

}

/* ---------- Animation ---------- */

.service-card{

opacity:0;

animation:cardFade .7s ease forwards;

}

.service-card:nth-child(1){animation-delay:.05s;}
.service-card:nth-child(2){animation-delay:.10s;}
.service-card:nth-child(3){animation-delay:.15s;}
.service-card:nth-child(4){animation-delay:.20s;}
.service-card:nth-child(5){animation-delay:.25s;}
.service-card:nth-child(6){animation-delay:.30s;}
.service-card:nth-child(7){animation-delay:.35s;}
.service-card:nth-child(8){animation-delay:.40s;}

@keyframes cardFade{

from{

opacity:0;

transform:translateY(50px);

}

to{

opacity:1;

transform:translateY(0);

}

}
/*=========================================
   PART 3
   WHY US • FOOTER • RESPONSIVE
==========================================*/

/* ---------- WHY CHOOSE US ---------- */

.why-us{
    padding:90px 0;
    background:#ffffff;
}

.section-title{
    text-align:center;
    font-size:42px;
    color:#1F2937;
    margin-bottom:60px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.why-card{
    background:#eef3fb;
    padding:35px;
    text-align:center;
    border-radius:26px;
    transition:.35s;
    box-shadow:
    12px 12px 22px #d5dceb,
    -12px -12px 22px #ffffff;
}

.why-card:hover{
    transform:translateY(-10px);
}

.why-card i{
    font-size:55px;
    color:#2563EB;
    margin-bottom:20px;
}

.why-card h3{
    margin-bottom:15px;
    font-size:24px;
}

.why-card p{
    color:#64748b;
    line-height:1.8;
}

/* ---------- FOOTER ---------- */

footer{
    background:#0F172A;
    color:#ffffff;
    padding:70px 0 20px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    margin-bottom:40px;
}

.footer-box h3{
    margin-bottom:20px;
    color:#60A5FA;
}

.footer-box p{
    color:#cbd5e1;
    line-height:1.8;
}

.footer-box a{
    display:block;
    color:#cbd5e1;
    text-decoration:none;
    margin-bottom:12px;
    transition:.3s;
}

.footer-box a:hover{
    color:#60A5FA;
    padding-left:8px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.15);
    text-align:center;
    padding-top:20px;
    color:#cbd5e1;
}

/* ---------- RESPONSIVE ---------- */

@media(max-width:992px){

.hero h1{
font-size:46px;
}

header .container{
flex-direction:column;
gap:20px;
}

nav ul{
flex-wrap:wrap;
justify-content:center;
}

}

@media(max-width:768px){

.hero{
padding:70px 0;
}

.hero h1{
font-size:36px;
}

.hero p{
font-size:16px;
}

.search-box{
padding:14px 18px;
}

.search-box input{
font-size:15px;
}

.services-grid,
.why-grid,
.footer-grid{
grid-template-columns:1fr;
}

.category-buttons{
gap:10px;
}

.category-buttons button{
width:100%;
}

.nav-btn{
display:none;
}

}

@media(max-width:480px){

.logo h2{
font-size:22px;
}

.section-title{
font-size:30px;
}

.service-card{
padding:22px;
}

.service-card i{
font-size:48px;
}

.service-card h3{
font-size:20px;
}

.service-card a{
width:100%;
}

}
.about-left{
    display:flex;
    justify-content:center;
    align-items:center;
}

.about-left img{
    width:100%;
    max-width:500px;
    height:auto;
    object-fit:contain;
}
/* ======================================
   AI Energy Platform
====================================== */

.robot-video-frame .energy-platform{
    position:relative;
    overflow:hidden;
}

/* Bottom Energy Platform */

.robot-video-frame::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:15px;

    transform:translateX(-50%);

    width:78%;

    height:35px;

    border-radius:50%;

    background:radial-gradient(
        ellipse,
        rgba(0,229,255,.95) 0%,
        rgba(37,99,235,.75) 40%,
        rgba(124,58,237,.45) 70%,
        transparent 100%
    );

    filter:blur(10px);

    animation:energyPulse 2.5s ease-in-out infinite;

    z-index:5;

    pointer-events:none;

}

/* Moving Light Ring */

.robot-video-frame::before{

    content:"";

    position:absolute;

    left:50%;

    bottom:20px;

    transform:translateX(-50%);

    width:65%;

    height:12px;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.8);

    box-shadow:
    0 0 12px #00e5ff,
    0 0 25px #2563eb;

    animation:ringMove 3s linear infinite;

    z-index:6;

}

@keyframes energyPulse{

    0%,100%{
        transform:translateX(-50%) scale(.95);
        opacity:.7;
    }

    50%{
        transform:translateX(-50%) scale(1.08);
        opacity:1;
    }

}

@keyframes ringMove{

    0%{
        width:58%;
        opacity:.4;
    }

    50%{
        width:72%;
        opacity:1;
    }

    100%{
        width:58%;
        opacity:.4;
    }

}