/* =========================================================
   SOBIA IRAM
   COMPONENTS / INNER-PAGE UI
   ========================================================= */


/* =========================================================
   GENERAL INNER PAGE HERO
   ========================================================= */

.inner-page-hero{
    padding-top:170px;
    padding-bottom:90px;
}

.inner-page-hero .section-header{
    max-width:900px;
}
 /* ====== Start A project page ===== */
 .project-hero h1{
     color: #ffffff;
 }

/* =========================================================
   LABELS
   ========================================================= */

.section-label{
    display:inline-block;
    margin-bottom:16px;
    padding:8px 14px;
    border-radius:999px;
    background:#eff6ff;
    color:#2563eb;
    font-size:13px;
    font-weight:800;
    letter-spacing:.04em;
}


/* =========================================================
   ABOUT GRID
   ========================================================= */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:80px;
}

.about-content h2{
    margin-bottom:24px;
}

.about-content p{
    max-width:700px;
}

.about-visual{
    display:flex;
    justify-content:center;
    align-items:center;
}


/* =========================================================
   PROFILE CARD
   ========================================================= */

.about-profile-card{
    position:relative;
    width:min(100%,480px);
    padding:48px;
    border-radius:30px;
    background:
        radial-gradient(circle at top right,rgba(37,99,235,.14),transparent 40%),
        linear-gradient(145deg,#ffffff,#f1f7ff);
    border:1px solid rgba(37,99,235,.12);
    box-shadow:0 30px 80px rgba(15,23,42,.10);
    overflow:hidden;
}

.about-profile-card::before{
    content:"";
    position:absolute;
    width:240px;
    height:240px;
    right:-100px;
    top:-100px;
    border-radius:50%;
    background:#06b6d4;
    opacity:.10;
    filter:blur(50px);
}

.about-profile-mark{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:center;
    width:90px;
    height:90px;
    margin-bottom:28px;
    border-radius:24px;
    background:linear-gradient(135deg,#2563eb,#06b6d4);
    color:#fff;
    font-family:'Plus Jakarta Sans',sans-serif;
    font-size:24px;
    font-weight:800;
    box-shadow:0 20px 40px rgba(37,99,235,.25);
}

.about-profile-card h3{
    position:relative;
    z-index:1;
    margin-bottom:12px;
}

.about-profile-card p{
    position:relative;
    z-index:1;
}

.about-mini-stats{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:28px;
}

.about-mini-stats div{
    padding:18px;
    border-radius:18px;
    background:rgba(255,255,255,.75);
    border:1px solid rgba(15,23,42,.06);
}

.about-mini-stats strong{
    display:block;
    margin-bottom:5px;
    color:#081120;
    font-family:'Plus Jakarta Sans',sans-serif;
    font-size:20px;
}

.about-mini-stats span{
    display:block;
    color:#64748b;
    font-size:13px;
    font-weight:600;
}


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

.cta-box{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    padding:55px;
    border-radius:32px;
    overflow:hidden;
    background:
        radial-gradient(circle at top right,rgba(6,182,212,.28),transparent 35%),
        linear-gradient(135deg,#081120,#101c31);
    box-shadow:0 35px 90px rgba(8,17,32,.18);
}

.cta-box::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    left:-180px;
    bottom:-180px;
    border-radius:50%;
    background:#2563eb;
    opacity:.18;
    filter:blur(70px);
}

.cta-box > *{
    position:relative;
    z-index:1;
}

.cta-box span{
    display:inline-block;
    margin-bottom:12px;
    color:#67e8f9;
    font-size:14px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.cta-box h2{
    max-width:700px;
    margin-bottom:15px;
    color:#fff;
}

.cta-box p{
    max-width:700px;
    margin-bottom:0;
    color:#cbd5e1;
}


/* =========================================================
   TECHNOLOGY SHOWCASE
   ========================================================= */

.tech-showcase{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
}

.tech-showcase span{
    padding:13px 18px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 8px 24px rgba(15,23,42,.05);
    color:#334155;
    font-size:14px;
    font-weight:700;
    transition:.3s ease;
}

.tech-showcase span:hover{
    transform:translateY(-4px);
    border-color:rgba(37,99,235,.22);
    box-shadow:0 14px 30px rgba(37,99,235,.10);
    color:#2563eb;
}


/* =========================================================
   PORTFOLIO
   ========================================================= */

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

.portfolio-card{
    overflow:hidden;
    background:#fff;
    border:1px solid rgba(15,23,42,.06);
    border-radius:28px;
    box-shadow:0 10px 35px rgba(15,23,42,.06);
    transition:.4s ease;
}

.portfolio-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(15,23,42,.12);
}

.portfolio-image{
    position:relative;
    aspect-ratio:16 / 10;
    overflow:hidden;
    background:#e2e8f0;
}

.portfolio-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s ease;
}

.portfolio-card:hover .portfolio-image img{
    transform:scale(1.04);
}

.portfolio-category{
    position:absolute;
    top:18px;
    left:18px;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.92);
    color:#2563eb;
    font-size:12px;
    font-weight:800;
    box-shadow:0 8px 20px rgba(15,23,42,.10);
}

.portfolio-content{
    padding:32px;
}

.portfolio-type,
.blog-meta{
    margin-bottom:10px;
    color:#2563eb;
    font-size:13px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.portfolio-content h3{
    margin-bottom:14px;
}

.portfolio-content .tech-badges{
    margin-bottom:24px;
}


/* =========================================================
   CASE STUDIES
   ========================================================= */

.case-study-image{
    overflow:hidden;
    border-radius:30px;
    background:#e2e8f0;
    box-shadow:0 30px 80px rgba(15,23,42,.10);
}

.case-study-image img{
    width:100%;
    display:block;
}


/* =========================================================
   PRICING
   ========================================================= */

.pricing-card{
    position:relative;
}

.pricing-label{
    margin-bottom:8px;
    color:#2563eb;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
}

.pricing-price{
    display:flex;
    align-items:baseline;
    gap:5px;
    margin:18px 0;
    color:#081120;
    font-family:'Plus Jakarta Sans',sans-serif;
    font-size:42px;
    font-weight:800;
}

.pricing-price span{
    color:#64748b;
    font-family:'Inter',sans-serif;
    font-size:14px;
    font-weight:600;
}

.pricing-features{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:24px;
}

.pricing-features span{
    color:#475569;
    font-size:15px;
    font-weight:600;
}

.featured-pricing{
    border:2px solid rgba(37,99,235,.22);
    box-shadow:0 25px 70px rgba(37,99,235,.12);
}


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

.faq-list{
    max-width:900px;
    margin:0 auto;
}

.faq-item{
    margin-bottom:14px;
    overflow:hidden;
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    border-radius:18px;
    box-shadow:0 8px 25px rgba(15,23,42,.04);
}

.faq-question{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:24px 26px;
    background:#fff;
    color:#081120;
    text-align:left;
    font-size:17px;
    font-weight:750;
}

.faq-icon{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:#eff6ff;
    color:#2563eb;
    font-size:22px;
    transition:.3s ease;
}

.faq-item.active .faq-icon{
    transform:rotate(45deg);
    background:#2563eb;
    color:#fff;
}

.faq-answer{
    display:none;
    padding:0 26px 26px;
}

.faq-item.active .faq-answer{
    display:block;
}

.faq-answer p{
    margin:0;
}


/* =========================================================
   BLOG
   ========================================================= */

.featured-blog-post{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    overflow:hidden;
    border-radius:30px;
    background:#fff;
    border:1px solid rgba(15,23,42,.06);
    box-shadow:0 25px 70px rgba(15,23,42,.08);
}

.featured-blog-image{
    position:relative;
    min-height:460px;
    overflow:hidden;
}

.featured-blog-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.featured-blog-content{
    align-self:center;
    padding:60px;
}

.featured-blog-content h2{
    margin-bottom:18px;
}

.featured-blog-content a,
.blog-card-content a,
.portfolio-content a,
.service-card > a{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#2563eb;
    font-weight:800;
}

.featured-blog-content a:hover,
.blog-card-content a:hover,
.portfolio-content a:hover,
.service-card > a:hover{
    gap:12px;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.blog-card{
    overflow:hidden;
    background:#fff;
    border:1px solid rgba(15,23,42,.06);
    border-radius:24px;
    box-shadow:0 10px 35px rgba(15,23,42,.06);
    transition:.35s ease;
}

.blog-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 55px rgba(15,23,42,.11);
}

.blog-card-image{
    aspect-ratio:16/10;
    overflow:hidden;
    background:#e2e8f0;
}

.blog-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s ease;
}

.blog-card:hover .blog-card-image img{
    transform:scale(1.04);
}

.blog-card-content{
    padding:28px;
}

.blog-card-content h3{
    margin-bottom:13px;
    font-size:22px;
}

.blog-card-content p{
    font-size:15px;
}


/* =========================================================
   BLOG ARTICLE
   ========================================================= */

.article-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:70px;
    align-items:start;
}

.article-content{
    max-width:820px;
}

.article-section{
    margin-bottom:55px;
}

.article-section h2{
    margin-bottom:20px;
    font-size:34px;
}

.article-content p{
    font-size:18px;
    line-height:1.9;
}

.article-note{
    margin-top:40px;
    padding:28px;
    border-left:4px solid #2563eb;
    border-radius:0 18px 18px 0;
    background:#eff6ff;
}

.article-note strong{
    display:block;
    margin-bottom:8px;
    color:#081120;
}

.article-note p{
    margin:0;
    font-size:15px;
}

.article-sidebar{
    position:sticky;
    top:110px;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.sidebar-card{
    padding:28px;
    border-radius:22px;
    background:#fff;
    border:1px solid rgba(15,23,42,.07);
    box-shadow:0 12px 35px rgba(15,23,42,.06);
}

.sidebar-card > span{
    display:block;
    margin-bottom:10px;
    color:#2563eb;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.sidebar-card h3{
    margin-bottom:12px;
    font-size:21px;
}

.sidebar-card p{
    font-size:15px;
}

.sidebar-card ul{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.sidebar-card li a{
    color:#334155;
    font-weight:650;
}

.sidebar-card li a:hover{
    color:#2563eb;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid{
    display:grid;
    grid-template-columns:.85fr 1.15fr;
    gap:70px;
    align-items:start;
}

.contact-content h2{
    margin-bottom:18px;
}

.contact-details{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:35px;
}

.contact-detail{
    display:flex;
    align-items:flex-start;
    gap:16px;
    padding:18px;
    border-radius:18px;
    background:#fff;
    border:1px solid rgba(15,23,42,.06);
}

.contact-detail-icon{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    width:50px;
    height:50px;
    border-radius:15px;
    background:#eff6ff;
    color:#2563eb;
    font-size:14px;
    font-weight:800;
}

.contact-detail span{
    display:block;
    margin-bottom:3px;
    color:#64748b;
    font-size:13px;
    font-weight:700;
}

.contact-detail a,
.contact-detail p{
    margin:0;
    color:#081120;
    font-weight:700;
}

.contact-service-summary{
    margin-top:35px;
}

.contact-service-summary h3{
    margin-bottom:20px;
    font-size:22px;
}

.contact-form-wrapper{
    padding:35px;
    border-radius:28px;
    background:#fff;
    border:1px solid rgba(15,23,42,.07);
    box-shadow:0 20px 60px rgba(15,23,42,.08);
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.form-group label{
    color:#1e293b;
    font-size:14px;
    font-weight:800;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:15px 17px;
    border:1px solid #dbe3ee;
    border-radius:14px;
    background:#fff;
    color:#081120;
    font:inherit;
    outline:none;
    transition:.25s ease;
}

.form-group textarea{
    resize:vertical;
    min-height:150px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.09);
}

.form-submit{
    align-self:flex-start;
}

.form-note{
    margin:0;
    color:#64748b;
    font-size:13px;
}

.form-message{
    margin-bottom:22px;
    padding:15px 18px;
    border-radius:14px;
    font-weight:700;
}

.success-message{
    background:#ecfdf5;
    color:#047857;
    border:1px solid #a7f3d0;
}

.error-message{
    background:#fef2f2;
    color:#b91c1c;
    border:1px solid #fecaca;
}


/* =========================================================
   LEGAL CONTENT
   ========================================================= */

.legal-content{
    max-width:900px;
    margin:0 auto;
    padding:55px;
    border-radius:28px;
    background:#fff;
    border:1px solid rgba(15,23,42,.06);
    box-shadow:0 15px 50px rgba(15,23,42,.06);
}

.legal-content h2{
    margin-top:42px;
    margin-bottom:15px;
    font-size:29px;
}

.legal-content h2:first-of-type{
    margin-top:25px;
}

.legal-content ul{
    margin:0 0 25px 22px;
    list-style:disc;
}

.legal-content li{
    margin-bottom:8px;
    color:#475569;
}

.legal-content a{
    color:#2563eb;
    font-weight:700;
}


/* =========================================================
   404
   ========================================================= */

.error-page{
    min-height:65vh;
    display:flex;
    align-items:center;
}

.error-page .section-header{
    max-width:900px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:992px){

    .about-grid,

/* =========================================================
   FOOTER
   ========================================================= */
/* =========================================================
   FOOTER — self-contained styles (no external CSS dependency)
   ========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    background: #0a0f1c;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
}

.site-footer .container {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Ambient glow, matching the site's blue/cyan accent */
.site-footer::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -200px;
    top: -260px;
    border-radius: 50%;
    background: #2563eb;
    opacity: .14;
    filter: blur(90px);
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    left: -180px;
    bottom: -200px;
    border-radius: 50%;
    background: #06b6d4;
    opacity: .12;
    filter: blur(90px);
    pointer-events: none;
}

/* ---------------------------------------------------------
   CTA STRIP
--------------------------------------------------------- */
.footer-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 44px 40px;
    margin-top: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25);
}

.footer-cta-text h3 {
    margin: 0 0 6px 0;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.footer-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
}

.footer-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* ---------------------------------------------------------
   AVAILABILITY STATUS PILL
--------------------------------------------------------- */
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    font-size: 12.5px;
    font-weight: 600;
    color: #4ade80;
}

.footer-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 rgba(74, 222, 128, 0.6);
    animation: footer-pulse 2s infinite;
}

@keyframes footer-pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------------------------------------------------------
   MAIN GRID
--------------------------------------------------------- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 56px 0 48px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 14px;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 21px;
    font-weight: 800;
    text-decoration: none;
}

.footer-brand .logo span {
    background: linear-gradient(90deg, #60a5fa, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-brand p {
    max-width: 32ch;
    font-size: 14px;
    line-height: 1.7;
    color: #7c8aa5;
    margin: 0;
}

.footer-heading {
    margin: 0 0 18px 0;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    width: fit-content;
}

.footer-links a:hover {
    color: #67e8f9;
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #67e8f9;
}

.footer-location {
    font-size: 13.5px;
    color: #7c8aa5;
}

/* ---------------------------------------------------------
   BOTTOM BAR
--------------------------------------------------------- */
.footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #5c6b85;
}

.footer-bottom a {
    color: #5c6b85;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #67e8f9;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-cta {
        padding: 32px 28px;
    }
}

@media (max-width: 560px) {
    .footer-cta {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        margin-top: 48px;
    }
    .footer-cta-btn {
        width: 100%;
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 44px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   SOBIA IRAM
   CONSOLIDATED RESPONSIVE COMPONENT OVERRIDES
   ========================================================= */

/* ------------------------------
   Global safety
   ------------------------------ */

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

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


/* ------------------------------
   Hero safety
   ------------------------------ */

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero .container {
    position: relative;
    width: min(92%, 1280px);
    margin-inline: auto;
}

.hero .section-header {
    width: 100%;
    max-width: 900px;
}

.hero h1,
.hero h2,
.hero p {
    overflow-wrap: break-word;
}

.hero h1 {
    max-width: 850px;
}

.hero p {
    max-width: 720px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-visual,
.hero-illustration {
    min-width: 0;
    width: 100%;
}

.hero-visual img,
.hero-illustration img,
.hero-visual svg {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* ------------------------------
   Inner-page / content grids
   ------------------------------ */

@media (max-width: 1100px) {

    .about-grid,
    .contact-grid {
        gap: 50px;
    }

}

@media (max-width: 992px) {

    .about-grid,
    .contact-grid,
    .featured-blog-post,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-sidebar {
        position: static;
    }

    .featured-blog-image {
        min-height: 360px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 42px;
    }

    .inner-page-hero {
        padding-top: 115px;
        padding-bottom: 55px;
    }

    .hero h1 {
        font-size: clamp(38px, 8vw, 64px);
        line-height: 1.05;
        letter-spacing: -0.045em;
    }

    .hero p {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.75;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-visual {
        width: min(100%, 620px);
        margin-inline: auto;
    }

}

@media (max-width: 768px) {

    .inner-page-hero {
        padding-top: 105px;
        padding-bottom: 45px;
    }

    .about-grid,
    .contact-grid,
    .portfolio-grid,
    .blog-grid {
        gap: 22px;
    }

    .about-profile-card,
    .contact-form-wrapper,
    .legal-content {
        padding: 30px;
    }

    .featured-blog-content {
        padding: 30px;
    }

    .article-content p {
        font-size: 17px;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 52px);
        line-height: 1.06;
        letter-spacing: -0.035em;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-visual {
        max-width: 520px;
        margin: 20px auto 0;
    }

}

@media (max-width: 576px) {

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 28px;
        border-radius: 24px;
        gap: 20px;
    }

    .cta-box h2 {
        font-size: 30px;
    }

    .pricing-price {
        font-size: 36px;
    }

    .faq-question {
        padding: 20px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }

    .legal-content {
        padding: 22px;
        border-radius: 20px;
    }

    .legal-content h2 {
        font-size: 25px;
    }

    .hero .container {
        width: min(92%, 100%);
    }

    .hero h1 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-visual {
        max-width: 100%;
        margin-top: 16px;
    }

    .hero-visual img,
    .hero-illustration img,
    .hero-visual svg {
        max-height: 360px;
    }

}

@media (max-width: 390px) {

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

    .hero p {
        font-size: 13.5px;
    }

    .hero-visual img,
    .hero-illustration img,
    .hero-visual svg {
        max-height: 300px;
    }

}


/* =========================================================
   NOTE
   Navigation/header/dropdown CSS is intentionally NOT here.
   It is kept in header.php as the single source of truth.
   ========================================================= */
