/* =====================================================
   HUNAIN DIGITAL STUDIO (HDS)
   STYLE.CSS - MAIN STYLESHEET
   Version: 1.0
===================================================== */

/* =========================
   ROOT VARIABLES
========================= */

:root{
    --primary:#0f62fe;
    --secondary:#1e88e5;
    --accent: #06b6d4;

    --dark: #0f172a;
    --dark-light: #1e293b;

    --white: #ffffff;
    --light: #f8fafc;
    --gray: #64748b;

    --border: rgba(255, 255, 255, 0.08);

    --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.25);

    --radius: 12px;

    --transition: all 0.3s ease;
}

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* =========================
   GLOBAL ELEMENTS
========================= */

h1, h2, h3, h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: var(--dark);
}

p {
    color: var(--gray);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
}

.section-title h2 {
    font-size: 32px;
    margin-top: 10px;
}

/* =========================
   BUTTONS
========================= */

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* =========================
   LOADER
========================= */

.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
    color: var(--white);
}

.loader-content img {
    width: 80px;
    margin: auto;
    margin-bottom: 15px;
}

.loader-content h2 {
    font-size: 20px;
    color: var(--white);
}

.loader-content span {
    display: block;
    margin-top: 5px;
    color: var(--accent);
    font-size: 14px;
}

.loader-line {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    background: var(--primary);
    animation: loading 1.2s infinite;
}

@keyframes loading {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* =========================
   HEADER / NAVBAR
========================= */

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
}

.logo-text h2 {
    font-size: 18px;
}

.logo-text span {
    font-size: 12px;
    color: var(--gray);
}

.navbar ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.navbar ul li a {
    font-weight: 500;
    transition: var(--transition);
}

.navbar ul li a:hover {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    font-size: 20px;
    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    margin: 20px 0;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.hero-stats h3 {
    color: var(--primary);
}

.hero-image {
    flex: 1;
}

/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.about-content p {
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 15px;
}

/* =========================
   PORTFOLIO
========================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.portfolio-item {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.portfolio-item img {
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* =========================
   STATS
========================= */

.stats {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
}

.stat-box h2 {
    color: var(--accent);
    font-size: 32px;
}

/* =========================
   PROCESS
========================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.process-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.process-card span {
    font-size: 20px;
    color: var(--primary);
    font-weight: bold;
}

/* =========================
   CONTACT
========================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    display: flex;
    gap: 15px;
    background: var(--white);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    outline: none;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

.footer-socials a {
    margin: 0 10px;
    color: var(--white);
    font-size: 18px;
}

/* =========================
   SCROLL TOP BUTTON
========================= */

#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 12px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

/* =========================
   RESPONSIVE BASIC (SAFE)
========================= */

@media (max-width: 992px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .navbar ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* ==========================================
   PRICING SECTION - HUNAIN DIGITAL STUDIO
========================================== */

.pricing-section {
    padding: 100px 0;
    background: #f8fafc;
}

.pricing-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-section .section-title span {
    color: #0f62fe;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-section .section-title h2 {
    margin-top: 12px;
    font-size: 42px;
    font-weight: 700;
    color: #111827;
}

/* ==========================================
   SERVICE TABS
========================================== */

.pricing-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.pricing-tab {
    background: #ffffff;
    border: 2px solid #0f62fe;
    color: #0f62fe;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all .3s ease;
}

.pricing-tab:hover {
    background: #0f62fe;
    color: #ffffff;
    transform: translateY(-3px);
}

.pricing-tab.active {
    background: #0f62fe;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(15,98,254,.25);
}

/* ==========================================
   PRICING CARDS
========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
    border: 1px solid #e5e7eb;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,.10);
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #111827;
}

.pricing-card p {
    color: #6b7280;
    margin-bottom: 25px;
}

.price {
    font-size: 56px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 25px;
}

.price span {
    font-size: 16px;
    color: #6b7280;
}

/* ==========================================
   FEATURED CARD
========================================== */

.pricing-card.featured {

    background: linear-gradient(
        135deg,
        #0f62fe,
        #1e88e5
    );

    color: white;

    transform: scale(1.08);

    border: none;

    box-shadow:
        0 20px 50px rgba(15,98,254,.35);
}

.pricing-card.featured:hover {
    transform: scale(1.12);
}

.pricing-card.featured h3,
.pricing-card.featured p,
.pricing-card.featured li,
.pricing-card.featured .price {
    color: white;
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;

    background: #ffd700;
    color: #111827;

    font-size: 12px;
    font-weight: 700;

    padding: 6px 12px;

    border-radius: 30px;
}

/* ==========================================
   FEATURES LIST
========================================== */

.pricing-features {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #374151;
}

.pricing-card.featured .pricing-features li {
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.pricing-features li i {
    color: #0f62fe;
    margin-right: 10px;
}

.pricing-card.featured .pricing-features li i {
    color: #ffffff;
}

/* ==========================================
   BUTTONS
========================================== */

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;

    background: #0f62fe;
    color: white;

    padding: 14px;
    border-radius: 10px;

    font-weight: 600;
    text-decoration: none;

    transition: .3s;
}

.pricing-btn:hover {
    background: #0b57e3;
}

.pricing-card.featured .pricing-btn {
    background: white;
    color: #0f62fe;
}

.pricing-card.featured .pricing-btn:hover {
    background: #f8fafc;
}

/* ==========================================
   ANIMATION
========================================== */

@keyframes featuredPulse {

    0% {
        transform: scale(1.08);
    }

    50% {
        transform: scale(1.10);
    }

    100% {
        transform: scale(1.08);
    }
}

.pricing-card.featured {
    animation: featuredPulse 3s infinite;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {

    .pricing-section .section-title h2 {
        font-size: 32px;
    }

    .price {
        font-size: 44px;
    }

    .pricing-tab {
        width: 100%;
        text-align: center;
    }
}


.hero-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
}

.hero-image img{
    width:100%;
    max-width:600px;
    border-radius:20px;
    animation: float 4s ease-in-out infinite;
}