/* =======================
   GLOBAL BODY & BACKGROUND
======================= */
body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    margin: 0;
    background-color: #0a0a1a;
}

.background-overlay {
    position: fixed;
    top: 0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.5);
    z-index:-1;
}

.blue-lights {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: url('/IA/global-assets/img/blue-lights.png') no-repeat center center;
    background-size: cover;
    z-index:-2;
}

/* =======================
   HERO SECTION
======================= */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 50px;
    gap: 30px;
    color: #ffffff;
}

.hero-left {
    flex: 1;
    min-width: 300px;
}

.hero-left h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-left span {
    color: #00ffe0;
}

.hero-left p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.hero-buttons a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 10px;
}

.hero-buttons a:hover {
    background-color: #0056b3;
}

.hero-right img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
}

/* =======================
   TOOLS GRID
======================= */
.tools-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 20px;
    padding: 40px;
}

.tool-card {
    background: rgba(0,0,0,0.25);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.tool-card .tool-content h3, 
.tool-card .tool-content h4 {
    margin: 5px 0;
}

.tool-card .tool-content p,
.tool-card .tool-content li {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 10px;
}

.tool-card .tool-content a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    padding: 8px 15px;
    border-radius: 6px;
}

.tool-card .tool-content a:hover {
    background-color: #0056b3;
}

/* =======================
   VIDEO POPUP
======================= */
.video-popup {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-popup-content {
    position: relative;
    width: 80%;
    max-width: 900px;
}

.video-popup video {
    width: 100%;
    border-radius: 12px;
}

.close-video {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* =======================
   LEGAL TEXT CELLS
======================= */
.legal-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px;
    background-color: #0a0a1a;
}

.legal-cell h3 {
    color: #00ffe0;
    margin-bottom: 10px;
}

.legal-cell p {
    line-height: 1.6;
    color: #ffffff;
}

/* =======================
   FOOTER
======================= */
.main-footer-new{
    width:100%;
    padding:50px 40px 20px;
    border-top:1px solid rgba(0,180,255,0.20);
    background:rgba(0,0,0,0.40);
}

.footer-grid-new{
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
    gap:30px;
    margin-bottom:35px;
}

.footer-box-new h3{
    color:#00d9ff;
    margin-bottom:15px;
}

.footer-box-new p,
.footer-box-new li{
    color:#dddddd;
    list-style:none;
    line-height:1.6;
}

.footer-box-new.footer-logo img{
    width:240px;
}

.footer-box-new.social-box .social-links {
    display:flex;
    gap:15px;
    align-items:center;
}

.footer-box-new.social-box .social-links img {
    height:40px;
    width:auto;
}

/* =======================
   RESPONSIVE
======================= */
@media(max-width: 1024px){
    .tools-grid-new {
        grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    }
    .footer-grid-new {
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width: 768px){
    .hero-section {
        flex-direction: column;
        align-items: center;
    }
}

@media(max-width: 480px){
    .footer-grid-new {
        grid-template-columns:1fr;
    }
}