/* ==================================================
   DOIGLOBAL PUBLIC WEBSITE CSS
   Premium Scholarly Blue Theme
   Use for:
   index.php, about.php, contact.php, membership.php,
   services.php, faq.php, privacy-policy.php, terms.php,
   citation-generator.php, dois.php, resolver.php, search.php
================================================== */

/* =========================
   GLOBAL
========================= */

:root{
    --primary:#1d4ed8;
    --secondary:#3b82f6;
    --accent:#60a5fa;
    --dark:#081028;
    --dark2:#0f1b3d;
    --card:#12224d;
    --text:#dbeafe;
    --muted:#cbd5e1;
    --white:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Space Grotesk',sans-serif;
    background:
        radial-gradient(circle at top right,rgba(59,130,246,.14),transparent 34%),
        radial-gradient(circle at bottom left,rgba(96,165,250,.10),transparent 34%),
        linear-gradient(180deg,var(--dark),var(--dark2),var(--dark));
    color:#ffffff;
    overflow-x:hidden;
    min-height:100vh;
}

a{
    transition:.3s;
}

img{
    max-width:100%;
    height:auto;
}

/* =========================
   BACKGROUND EFFECTS
========================= */

body::before{
    content:'';
    position:fixed;
    width:900px;
    height:900px;
    background:#1d4ed815;
    border-radius:50%;
    top:-400px;
    right:-250px;
    filter:blur(120px);
    z-index:-2;
}

body::after{
    content:'';
    position:fixed;
    width:700px;
    height:700px;
    background:#3b82f610;
    border-radius:50%;
    bottom:-300px;
    left:-200px;
    filter:blur(120px);
    z-index:-2;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    padding:18px 0;
    background:rgba(8,16,40,.88);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(96,165,250,.15);
    z-index:9999;
}

.navbar-brand{
    font-size:32px;
    font-weight:700;
    color:#ffffff !important;
}

.navbar-nav{
    gap:6px;
    align-items:center;
}

.nav-link{
    color:#ffffff !important;
    margin-left:8px;
    font-weight:500;
    position:relative;
    white-space:nowrap;
    font-size:15px;
}

.nav-link::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    transition:.4s;
}

.nav-link:hover::after,
.nav-link.active::after{
    width:100%;
}

.nav-link:hover,
.nav-link.active{
    color:#60a5fa !important;
}

.join-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 22px !important;
    border-radius:14px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#ffffff !important;
    font-size:15px;
    font-weight:600;
    white-space:nowrap;
    text-decoration:none !important;
    box-shadow:0 10px 30px rgba(59,130,246,.25);
}

.join-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 35px rgba(59,130,246,.35);
}

.join-btn::before,
.join-btn::after{
    display:none !important;
    content:none !important;
}

.navbar-toggler{
    border:1px solid rgba(255,255,255,.2);
    padding:8px 12px;
    transition:.3s ease;
}

.navbar-toggler:focus{
    box-shadow:none;
}

.navbar-toggler[aria-expanded="true"]{
    transform:rotate(90deg);
    background:rgba(96,165,250,.12);
}

.navbar-toggler-icon{
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* LOGO */

.logo-img{
    height:48px;
    width:auto;
    margin-right:12px;
}

.logo-text{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.logo-title{
    font-size:24px;
    font-weight:700;
    color:#ffffff;
}

.logo-subtitle{
    font-size:11px;
    color:#60a5fa;
    letter-spacing:1px;
    text-transform:uppercase;
}

/* MOBILE NAV */

@media(max-width:992px){

    .navbar{
        padding:12px 0;
        background:rgba(8,16,40,.98) !important;
        position:fixed;
        top:0;
        left:0;
        right:0;
    }

    .navbar .container{
        position:relative;
        display:flex;
        align-items:center;
        justify-content:space-between;
    }

    .logo-img{
        height:38px;
    }

    .logo-title{
        font-size:20px;
    }

    .logo-subtitle{
        display:none;
    }

    .navbar-toggler{
        margin-left:auto;
        width:46px;
        height:42px;
        border-radius:12px;
        border:1px solid rgba(255,255,255,.25);
        background:rgba(255,255,255,.07);
        display:flex;
        align-items:center;
        justify-content:center;
        padding:0;
        z-index:10001;
    }

    .navbar-toggler:focus{
        box-shadow:none;
    }

    .navbar-toggler-icon{
        width:24px;
        height:24px;
        background-size:100% 100%;
    }

    .navbar-collapse{
        position:absolute;
        top:calc(100% + 12px);
        left:12px;
        right:12px;
        width:auto;
        background:#0f1b3d;
        padding:18px;
        border-radius:20px;
        border:1px solid rgba(96,165,250,.22);
        box-shadow:0 22px 55px rgba(0,0,0,.45);
        z-index:10000;
    }

    .navbar-nav{
        width:100%;
        flex-direction:column !important;
        align-items:flex-start !important;
        text-align:left !important;
        gap:0;
    }

    .navbar-nav .nav-item{
        width:100%;
    }

    .nav-link{
        width:100%;
        display:block;
        margin-left:0 !important;
        padding:13px 14px !important;
        text-align:left !important;
        border-bottom:1px solid rgba(96,165,250,.12);
    }

    .nav-link::after{
        display:none;
    }

    .join-btn{
        width:100%;
        justify-content:flex-start;
        margin-top:14px;
        padding-left:14px !important;
    }
}

/* =========================
   HERO
========================= */

.hero{
    padding-top:170px;
    padding-bottom:110px;
}

.hero-tag{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 24px;
    border-radius:50px;
    background:rgba(96,165,250,.15);
    border:1px solid rgba(96,165,250,.18);
    font-size:14px;
    color:#cbd5e1;
}

.hero-tag i{
    color:#60a5fa;
}

.hero h1{
    font-size:82px;
    font-weight:700;
    line-height:1;
    margin-top:30px;
    letter-spacing:-4px;
}

.hero h1 span{
    background:linear-gradient(135deg,#ffffff,#60a5fa,#93c5fd);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    font-size:20px;
    line-height:2;
    color:var(--text);
    margin-top:35px;
    max-width:700px;
}

.hero-buttons{
    margin-top:40px;
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.btn-main{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:18px 38px;
    border-radius:60px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#ffffff !important;
    font-weight:600;
    box-shadow:0 15px 40px rgba(59,130,246,.35);
    text-decoration:none !important;
    border:none;
}

.btn-main:hover{
    transform:translateY(-3px);
    color:#ffffff !important;
}

.btn-glass{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:18px 38px;
    border-radius:60px;
    background:rgba(96,165,250,.15);
    border:1px solid rgba(96,165,250,.18);
    color:#ffffff !important;
    font-weight:600;
    text-decoration:none !important;
}

.btn-glass:hover{
    transform:translateY(-3px);
    color:#ffffff !important;
}

/* =========================
   HERO RIGHT
========================= */

.hero-card{
    position:relative;
    height:600px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.glow{
    position:absolute;
    width:500px;
    height:500px;
    background:#1d4ed820;
    border-radius:50%;
    filter:blur(100px);
}

.orbit{
    position:absolute;
    width:500px;
    height:500px;
    border:1px solid rgba(96,165,250,.18);
    border-radius:50%;
    animation:rotate 18s linear infinite;
}

.orbit::before{
    content:'';
    position:absolute;
    width:16px;
    height:16px;
    background:#60a5fa;
    border-radius:50%;
    top:30px;
    left:50%;
    transform:translateX(-50%);
    box-shadow:0 0 25px #60a5fa;
}

@keyframes rotate{
    100%{
        transform:rotate(360deg);
    }
}

.doi-box{
    width:320px;
    height:320px;
    border-radius:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:90px;
    font-weight:700;
    background:linear-gradient(145deg,rgba(59,130,246,.15),rgba(255,255,255,.03));
    border:1px solid rgba(96,165,250,.18);
    backdrop-filter:blur(20px);
    box-shadow:0 20px 80px rgba(0,0,0,.4);
    position:relative;
    z-index:2;
}

/* =========================
   TRUSTED SECTION
========================= */

.trusted-section{
    padding:100px 0;
}

.trusted-mini{
    color:#cbd5e1;
    letter-spacing:4px;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
}

.trusted-heading{
    font-size:60px;
    font-weight:700;
    letter-spacing:-2px;
}

.trusted-box{
    background:rgba(18,34,77,.72);
    padding:45px 30px;
    border-radius:30px;
    border:1px solid rgba(96,165,250,.15);
    transition:.4s;
    height:100%;
    text-align:center;
}

.trusted-box:hover{
    transform:translateY(-10px);
    border-color:#1d4ed860;
}

.trusted-box h3{
    font-size:58px;
    font-weight:700;
    background:linear-gradient(135deg,#ffffff,#60a5fa);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.trusted-box p{
    color:var(--text);
    margin-top:10px;
}

/* =========================
   COMMON SECTION
========================= */

.section{
    padding:110px 0;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h2{
    font-size:62px;
    font-weight:700;
    letter-spacing:-3px;
}

.section-title p{
    color:var(--text);
    font-size:18px;
    margin-top:20px;
}

/* =========================
   INNER PAGE LAYOUT
========================= */

.page-container{
    max-width:1300px;
    margin:auto;
    padding:150px 20px 100px;
}

.page-header{
    max-width:900px;
    margin:0 auto 70px;
    text-align:center;
}

.page-header h1{
    font-size:64px;
    font-weight:700;
    margin-bottom:20px;
    letter-spacing:-2px;
}

.page-header h2{
    font-size:52px;
    font-weight:700;
    margin-bottom:20px;
    letter-spacing:-2px;
}

.page-header p{
    color:var(--text);
    max-width:850px;
    margin:auto;
    line-height:2;
    font-size:18px;
}

/* =========================
   CARDS
========================= */

.page-card,
.service-card,
.pricing-card,
.workflow-box,
.doi-card,
.section-card,
.meta-card,
.stat-box{
    background:rgba(18,34,77,.72);
    backdrop-filter:blur(20px);
    border:1px solid rgba(96,165,250,.15);
    border-radius:35px;
    padding:40px;
    transition:.4s;
}

.page-card:hover,
.service-card:hover,
.pricing-card:hover,
.doi-card:hover{
    transform:translateY(-8px);
    border-color:#1d4ed860;
    box-shadow:0 25px 60px rgba(59,130,246,.15);
}

.page-card h2,
.page-card h3,
.page-card h4,
.service-card h4,
.pricing-card h3{
    font-weight:700;
    margin-bottom:18px;
}

.page-card p,
.page-card li,
.service-card p,
.pricing-card p{
    color:var(--text);
    line-height:2;
}

.page-card ul{
    padding-left:20px;
    margin-bottom:0;
}

/* =========================
   SERVICES
========================= */

.service-card{
    padding:45px;
    height:100%;
}

.service-icon{
    width:90px;
    height:90px;
    border-radius:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    margin:0 auto 28px;
    color:#ffffff;
}

.service-card h4{
    font-size:30px;
    font-weight:700;
    margin-bottom:18px;
}

.service-card p{
    line-height:2;
    color:var(--text);
}

/* =========================
   WORKFLOW
========================= */

.workflow-box{
    height:100%;
    text-align:center;
}

.workflow-number{
    width:80px;
    height:80px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    margin-bottom:25px;
    font-size:30px;
    font-weight:700;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
}

.workflow-box h4{
    font-size:28px;
    margin-bottom:18px;
    font-weight:700;
}

.workflow-box p{
    color:var(--text);
    line-height:2;
}

/* =========================
   CTA
========================= */

.cta-box{
    background:linear-gradient(135deg,#1d4ed8,#3b82f6);
    padding:clamp(68px,7vw,100px) clamp(36px,7vw,100px);
    border-radius:clamp(32px,4vw,50px);
    text-align:center;
    position:relative;
    overflow:hidden;
}

.cta-box::before{
    content:'';
    position:absolute;
    width:400px;
    height:400px;
    background:rgba(96,165,250,.18);
    border-radius:50%;
    top:-150px;
    right:-100px;
}

.cta-box h2{
    max-width:980px;
    margin:0 auto;
    font-size:clamp(44px,5vw,68px);
    font-weight:700;
    line-height:1.2;
    letter-spacing:-2px;
    text-wrap:balance;
    overflow-wrap:normal;
    position:relative;
    z-index:2;
}

.cta-box p{
    font-size:clamp(17px,1.5vw,20px);
    line-height:1.8;
    max-width:850px;
    margin:25px auto 0;
    color:#eff6ff;
    text-wrap:pretty;
    position:relative;
    z-index:2;
}

.cta-buttons{
    margin-top:40px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    position:relative;
    z-index:2;
}

.cta-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:56px;
    padding:18px 40px;
    border:none;
    border-radius:60px;
    font-weight:700;
    text-decoration:none;
}

.cta-light{
    background:#ffffff;
    color:#081225 !important;
}

.cta-dark{
    background:rgba(255,255,255,.15);
    color:#ffffff !important;
    border:1px solid rgba(255,255,255,.2);
}

/* =========================
   FORMS
========================= */

.form-control,
.form-select{
    background:rgba(96,165,250,.15) !important;
    border:1px solid rgba(96,165,250,.18) !important;
    color:#ffffff !important;
    border-radius:16px;
    min-height:54px;
}

.form-control::placeholder{
    color:#cbd5e1 !important;
    opacity:1;
}

.form-control:focus,
.form-select:focus{
    background:rgba(96,165,250,.18) !important;
    border-color:var(--primary) !important;
    color:#ffffff !important;
    box-shadow:0 0 0 4px rgba(59,130,246,.15) !important;
}

.form-select option{
    background:#12224d;
    color:#ffffff;
}

textarea.form-control{
    min-height:140px;
}

/* =========================
   TABLES
========================= */

.table{
    color:#ffffff !important;
    margin-bottom:0;
}

.table th{
    background:rgba(59,130,246,.15) !important;
    color:#ffffff !important;
    border-color:rgba(96,165,250,.18) !important;
    padding:18px;
}

.table td{
    background:rgba(255,255,255,.03) !important;
    color:#cbd5e1 !important;
    border-color:rgba(96,165,250,.18) !important;
    padding:18px;
}

.table tbody tr:hover td{
    background:rgba(96,165,250,.15) !important;
}

.table-responsive{
    border-radius:25px;
    overflow:hidden;
}

/* =========================
   FAQ / ACCORDION
========================= */

.accordion-item{
    background:rgba(18,34,77,.72);
    border:1px solid rgba(96,165,250,.15);
    border-radius:20px;
    overflow:hidden;
    margin-bottom:15px;
}

.accordion-button{
    background:rgba(255,255,255,.03) !important;
    color:#ffffff !important;
    font-weight:600;
}

.accordion-button:not(.collapsed){
    background:rgba(59,130,246,.15) !important;
    color:#ffffff !important;
}

.accordion-button:focus{
    box-shadow:none;
    border-color:rgba(96,165,250,.18);
}

.accordion-body{
    background:rgba(255,255,255,.02);
    color:#cbd5e1;
    line-height:2;
}

/* =========================
   DOI DIRECTORY / RESOLVER
========================= */

.doi-card{
    height:100%;
}

.doi-number{
    color:#60a5fa;
    font-weight:700;
    margin-bottom:15px;
    word-break:break-all;
}

.doi-title{
    font-size:24px;
    font-weight:700;
    margin-bottom:15px;
    color:#ffffff;
    line-height:1.5;
}

.doi-author{
    color:#cbd5e1;
}

.doi-meta{
    color:#cbd5e1;
    line-height:2;
}

.doi-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}

.doi-badge{
    display:inline-block;
    padding:8px 14px;
    border-radius:50px;
    background:rgba(59,130,246,.15);
    color:#60a5fa;
    font-size:13px;
    margin-bottom:15px;
}

.metadata-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:30px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.tools-grid{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.keyword{
    display:inline-block;
    padding:8px 15px;
    margin:5px;
    background:rgba(59,130,246,.12);
    border-radius:30px;
    color:#60a5fa;
}

/* =========================
   CITATION GENERATOR
========================= */

.citation-box{
    background:rgba(18,34,77,.72);
    border:1px solid rgba(96,165,250,.15);
    padding:25px;
    border-radius:20px;
    color:#cbd5e1;
    line-height:1.8;
    word-break:break-word;
}

pre{
    background:#081028;
    border:1px solid rgba(96,165,250,.18);
    padding:25px;
    border-radius:20px;
    color:#60a5fa;
    overflow:auto;
}

/* =========================
   FOOTER
========================= */

footer{
    padding:110px 0 40px;
}

.footer-box{
    background:rgba(18,34,77,.72);
    padding:70px;
    border-radius:40px;
    border:1px solid rgba(96,165,250,.15);
    backdrop-filter:blur(20px);
}

.footer-links a{
    display:block;
    color:#cbd5e1;
    margin-bottom:14px;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#ffffff;
    padding-left:6px;
}

.social-icons{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.social-icons a{
    width:50px;
    height:50px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(96,165,250,.15);
    color:#ffffff;
    font-size:20px;
    transition:.3s;
    text-decoration:none;
}

.social-icons a:hover{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    transform:translateY(-3px);
}

/* =========================
   RESPONSIVE LAYOUT — 2026
========================= */

html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

.container,
.container-fluid{
    min-width:0;
}

.table-responsive{
    width:100%;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    border-radius:18px;
}

table{
    max-width:100%;
}

#doi-chat-box{
    display:none !important;
    position:fixed !important;
}

#doi-chat-box.active{
    display:flex !important;
}

@media (max-width:1399.98px){
    .hero h1{
        font-size:clamp(58px,6vw,72px);
    }

    .hero-card{
        height:540px;
    }

    .orbit{
        width:440px;
        height:440px;
    }

    .glow{
        width:440px;
        height:440px;
    }

    .trusted-heading,
    .section-title{
        font-size:clamp(42px,5vw,56px);
    }
}

@media (max-width:1199.98px){
    .navbar{
        position:fixed;
        inset:0 0 auto 0;
        z-index:100000 !important;
        padding:12px 0;
        background:rgba(8,16,40,.98) !important;
        overflow:visible !important;
    }

    .navbar .container{
        position:relative;
        display:flex;
        align-items:center;
        justify-content:space-between;
        flex-wrap:wrap;
        width:100%;
        max-width:100%;
        padding-inline:18px;
        overflow:visible !important;
    }

    .navbar-brand{
        max-width:calc(100% - 66px);
        overflow:hidden;
        font-size:24px;
        text-overflow:ellipsis;
        white-space:nowrap;
    }

    .navbar-expand-lg .navbar-toggler,
    .navbar-toggler{
        display:flex !important;
        align-items:center;
        justify-content:center;
        flex:0 0 46px;
        width:46px;
        height:42px;
        margin-left:auto !important;
        padding:0;
        visibility:visible !important;
        opacity:1 !important;
        border:1px solid rgba(255,255,255,.25);
        border-radius:12px;
        background:rgba(255,255,255,.08);
        z-index:100002 !important;
    }

    .navbar-toggler:focus{
        box-shadow:0 0 0 3px rgba(96,165,250,.18);
    }

    .navbar-toggler-icon{
        width:24px;
        height:24px;
        background-size:100% 100%;
    }

    .navbar-expand-lg #mainMenu,
    #mainMenu{
        position:absolute !important;
        top:100% !important;
        right:14px !important;
        left:14px !important;
        width:auto !important;
        max-height:calc(100dvh - 96px);
        margin-top:12px;
        padding:14px !important;
        overflow-y:auto;
        background:#0f1b3d !important;
        border:1px solid rgba(96,165,250,.24) !important;
        border-radius:18px !important;
        box-shadow:0 22px 55px rgba(0,0,0,.45) !important;
        z-index:100001 !important;
    }

    .navbar-expand-lg #mainMenu.collapse:not(.show),
    #mainMenu.collapse:not(.show){
        display:none !important;
    }

    .navbar-expand-lg #mainMenu.collapse.show,
    #mainMenu.collapse.show{
        display:block !important;
    }

    #mainMenu .navbar-nav{
        display:flex !important;
        flex-direction:column !important;
        align-items:stretch !important;
        width:100% !important;
        gap:2px;
        text-align:left !important;
    }

    #mainMenu .nav-item{
        width:100% !important;
        margin:0 !important;
    }

    #mainMenu .nav-link{
        display:flex !important;
        align-items:center;
        width:100% !important;
        min-height:44px;
        margin:0 !important;
        padding:11px 13px !important;
        text-align:left !important;
        border-bottom:1px solid rgba(96,165,250,.10);
        border-radius:9px;
    }

    #mainMenu .nav-link:hover,
    #mainMenu .nav-link.active{
        background:rgba(96,165,250,.10);
    }

    #mainMenu .nav-link::after{
        display:none;
    }

    #mainMenu .join-btn{
        width:100% !important;
        justify-content:flex-start !important;
        margin-top:10px !important;
        padding-left:14px !important;
    }

    .hero{
        padding-top:142px;
        padding-bottom:76px;
    }

    .hero h1{
        font-size:clamp(48px,7vw,64px);
        line-height:1.06;
        letter-spacing:-2.5px;
    }

    .hero p{
        font-size:18px;
        line-height:1.75;
    }

    .hero-card{
        height:480px;
    }

    .orbit{
        width:390px;
        height:390px;
    }

    .glow{
        width:390px;
        height:390px;
    }

    .doi-box{
        width:270px;
        height:270px;
        font-size:72px;
        border-radius:34px;
    }

    .trusted-section,
    .services-section,
    .content-section{
        padding-block:76px;
    }

    .footer-box{
        padding:48px;
    }
}

@media (max-width:991.98px){
    .hero{
        text-align:center;
    }

    .hero p{
        margin-inline:auto;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-card{
        height:400px;
        margin-top:28px;
    }

    .orbit,
    .glow{
        width:320px;
        height:320px;
    }

    .doi-box{
        width:220px;
        height:220px;
        font-size:58px;
    }

    .trusted-heading,
    .section-title{
        font-size:clamp(38px,7vw,50px);
    }

    .footer-box{
        padding:38px;
        border-radius:28px;
    }

    .cta-box{
        padding:70px 42px;
        border-radius:36px;
    }

    .cta-box h2{
        font-size:clamp(40px,7vw,54px);
        letter-spacing:-1.5px;
    }

    .cta-box p{
        max-width:680px;
        font-size:18px;
        line-height:1.75;
    }
}

@media (max-width:767.98px){
    .navbar .container{
        padding-inline:14px;
    }

    .navbar-brand{
        font-size:22px;
    }

    .logo-img{
        height:36px;
        margin-right:8px;
    }

    .logo-title{
        font-size:19px;
    }

    .hero{
        padding-top:126px;
        padding-bottom:58px;
    }

    .hero-tag{
        padding:10px 16px;
        font-size:12px;
    }

    .hero h1{
        margin-top:22px;
        font-size:clamp(39px,12vw,52px);
        line-height:1.08;
        letter-spacing:-1.8px;
    }

    .hero p{
        margin-top:24px;
        font-size:16px;
        line-height:1.7;
    }

    .hero-buttons{
        display:grid;
        grid-template-columns:1fr;
        gap:12px;
        margin-top:30px;
    }

    .btn-main,
    .btn-glass{
        width:100%;
        min-height:52px;
        padding:14px 20px;
        text-align:center;
    }

    .hero-card{
        height:320px;
        margin-top:24px;
    }

    .orbit,
    .glow{
        width:min(260px,76vw);
        height:min(260px,76vw);
    }

    .doi-box{
        width:170px;
        height:170px;
        border-radius:26px;
        font-size:44px;
    }

    .trusted-section,
    .services-section,
    .content-section{
        padding-block:58px;
    }

    .section{
        padding:64px 0;
    }

    .trusted-heading,
    .section-title{
        font-size:clamp(32px,10vw,42px);
        letter-spacing:-1.2px;
    }

    .trusted-box,
    .service-card,
    .feature-card,
    .content-card{
        padding:28px 22px;
        border-radius:22px;
    }

    .trusted-box h3{
        font-size:46px;
    }

    .form-control,
    .form-select,
    textarea{
        min-height:48px;
        font-size:16px;
    }

    .table{
        min-width:680px;
    }

    footer{
        padding:64px 0 28px;
    }

    .footer-box{
        padding:30px 22px;
        border-radius:24px;
    }

    .social-icons a{
        width:44px;
        height:44px;
    }

    .cta-box{
        width:100%;
        padding:52px 22px;
        border-radius:26px;
    }

    .cta-box::before{
        width:230px;
        height:230px;
        top:-92px;
        right:-88px;
    }

    .cta-box h2{
        max-width:100%;
        font-size:clamp(32px,9.5vw,42px);
        line-height:1.14;
        letter-spacing:-1px;
    }

    .cta-box p{
        max-width:100%;
        margin-top:20px;
        font-size:16px;
        line-height:1.65;
    }

    .cta-buttons{
        display:grid;
        grid-template-columns:minmax(0,1fr);
        width:100%;
        margin-top:30px;
        gap:12px;
    }

    .cta-btn{
        width:100%;
        min-height:52px;
        padding:14px 18px;
    }

    #doi-chat-box{
        right:12px !important;
        left:12px !important;
        width:auto !important;
        max-width:none !important;
        bottom:82px !important;
    }
}

@media (max-width:420px){
    .navbar-brand{
        font-size:20px;
    }

    #mainMenu{
        right:10px !important;
        left:10px !important;
    }

    .hero h1{
        font-size:38px;
    }

    .hero-card{
        height:285px;
    }

    .orbit,
    .glow{
        width:228px;
        height:228px;
    }

    .doi-box{
        width:150px;
        height:150px;
        font-size:39px;
    }

    .footer-box{
        padding:26px 18px;
    }

    .cta-box{
        padding:44px 16px;
        border-radius:22px;
    }

    .cta-box h2{
        font-size:30px;
        line-height:1.16;
        letter-spacing:-.7px;
    }

    .cta-box p{
        margin-top:18px;
        font-size:15px;
        line-height:1.6;
    }

    .cta-buttons{
        margin-top:26px;
    }
}

@media (min-width:1400px){
    .page-container{
        max-width:1400px;
    }
}

@media (prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after{
        scroll-behavior:auto !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}

/* Error pages */
.error-page{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding-top:130px;
    padding-bottom:70px;
}

.error-card{
    width:min(100%,760px);
    padding:clamp(34px,6vw,70px);
    text-align:center;
    background:rgba(18,34,77,.78);
    border:1px solid rgba(96,165,250,.2);
    border-radius:32px;
    box-shadow:0 24px 80px rgba(0,0,0,.35);
    backdrop-filter:blur(20px);
}

.error-code{
    font-size:clamp(72px,15vw,140px);
    font-weight:800;
    line-height:.9;
    letter-spacing:-.07em;
    color:#60a5fa;
}

.error-card h1{
    margin-top:24px;
    font-size:clamp(32px,6vw,52px);
    font-weight:750;
}

.error-card p{
    max-width:580px;
    margin:20px auto 0;
    color:#cbd5e1;
    font-size:17px;
    line-height:1.75;
}
