/* ===================== HOME PAGE CSS ===================== */

/* HERO */
.hero {
    background: radial-gradient(circle at 20% 20%, #1a2f6b 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, #6a2bbf 0%, transparent 40%),
                linear-gradient(135deg, #0b1d4d, #2a1f6a, #4b1fa3);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height:450px;
}
.hero-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text-container { width: 60%; }
.hero-text-container h1 {
    font-family: 'Aoboshi One', sans-serif;
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.1;
}
.hero-text-container h2 {
    font-size: 20px;
    color: #7dd3fc;
    font-weight: 500;
    margin-bottom: 14px;
}
.hero-text-container p {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 14px;
    line-height: 1.75;
    font-weight: 400;
}
.typing-container {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 6px;
    min-height: 26px;
}
.cursor { display: inline-block; margin-left: 5px; animation: blink 0.7s infinite; }
@keyframes blink { 0%,50%,100%{opacity:1} 25%,75%{opacity:0} }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.btn-primary {
    background: var (--primary-button-color);
    color: #fff; border: none; padding: 12px 24px; font-size: 16px;
    border-radius: 8px; cursor: pointer; display: inline-flex;
    align-items: center; gap: 8px; text-decoration: none; font-weight: 600;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-outline {
    background: linear-gradient(135deg, orange, darkorange);
    color: #fff; border: none; padding: 12px 24px; font-size: 16px;
    border-radius: 8px; cursor: pointer; display: inline-flex;
    align-items: center; gap: 8px; text-decoration: none; font-weight: 600;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-primary,
.btn-primary:hover,
.btn-primary:visited,
.btn-primary:focus  { color: #fff !important; }
.btn-primary:hover  { linear-gradient(135deg, blue, darkblue); transform: translateY(-2px); }

.btn-outline,
.btn-outline:hover,
.btn-outline:visited,
.btn-outline:focus  { color: !important; }
.btn-outline:hover  { transform: translateY(-2px); }

.hero-image-container { width: 40%; display: flex; justify-content: center; align-items: center; }
.hero-image-container img {
    max-width: 100%; border-radius: 12px;
    animation: floatUpDown 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
}
@keyframes floatUpDown { 0%{transform:translateY(0)} 50%{transform:translateY(-18px)} 100%{transform:translateY(0)} }


/* SHARED SECTION HEADER */
.section-header { text-align: center; margin-bottom: 10px; }
.section-tag {
    display: inline-block; background: rgba(1,78,172,0.08); color: var(--primary);
    font-size: 13px; font-weight: 600; padding: 5px 16px; border-radius: 20px;
    margin-bottom: 10px; letter-spacing: 0.5px; text-transform: uppercase;
}
.section-title { font-size: clamp(24px,3vw,36px); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.3px; }
.section-desc  { max-width: 600px; margin: 0 auto; font-size: 16px; line-height: 1.7; }
.section-center { text-align: center; margin-top: 40px; }


/* ================= SERVICES SECTION (SCREENSHOT STYLE) ================= */

.service-section-main {
    width: 100%;
    align-items: center;
    justify-items: center;
    margin: 0 auto;
    padding: 60px 20px;
    background: linear-gradient(135deg, #fffef0 0%, #fffdf8 100%);
}
.service-section-title {
    text-align: center;
    margin-bottom: 50px;
}
.service-section-title h2 {
    font-size: 36px;
    color: #000;
    font-weight: 700;
    margin-bottom: 10px;
}
.service-section-title p {
    font-size: 16px;
    color: #666;
}
.service-card-grid-sec {
    width: 1300px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:20px;
}
.service-card-sec {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:0px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid darkgrey;
}
.service-card-sec:hover {
    background-color: #F0F7FF;
    transform: translateY(-5px);
    border-left: 3px solid #0BC6FF;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}
.service-card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}
.service-icon {
    font-size: 28px;
    color: #0BC6FF;
    transition: all 0.3s ease;
    background:none;
    margin-bottom: -5px;
}
.service-card:hover .service-icon {
    transform: scale(1.1);
 }
.service-name {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    color: Grey;
    text-align: center;
    line-height: 1.4;
    transition: all 0.3s ease;
}
.service-card:hover .service-name {
    color: #000;
}
.arrow-btn {
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #0BC6FF;
    background: transparent;
    color: #0BC6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}
.arrow-btn:hover {
    background-color: #0BC6FF;
    color: #ffffff;
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1400px) {
.service-section {
                width: 100%;
            }
        }

@media (max-width: 1024px) {
.service-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }

.service-card {
                padding: 25px 20px;
            }

.section-title h2 {
                font-size: 28px;
            }
        }

@media (max-width: 768px) {
.service-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }

.service-card {
                padding: 20px 15px;
                flex-direction: column;
                text-align: center;
            }

.section-title h2 {
                font-size: 24px;
            }

.service-name {
                font-size: 14px;
            }
        }

@media (max-width: 480px) {
.service-grid {
                grid-template-columns: 1fr;
            }

.service-section {
                padding: 30px 15px;
            }

.section-title h2 {
                font-size: 20px;
            }
        }

/* WHY US */
.expertise-section {
    background: radial-gradient(circle at 20% 20%, #1a2f6b 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, #6a2bbf 0%, transparent 40%),
                linear-gradient(135deg, #0b1d4d, #2a1f6a, #4b1fa3);
    padding: 80px 0; position: relative; overflow: hidden;
}
.expertise-inner {
    max-width: var(--container); margin: 0 auto; padding: 0 20px;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.expertise-section .section-header .section-tag   { background: rgba(255,255,255,0.12); color: #fff; }
.expertise-section .section-header .section-title { color: #fff; }
.expertise-section .section-header .section-desc  { color: rgba(255,255,255,0.82); }
.expertise-list {
    width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
}
.expertise-item {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(255,255,255,0.07); padding: 20px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12); transition: var(--transition); backdrop-filter: blur(6px);
}
.expertise-item:hover { background: rgba(255,255,255,0.13); transform: translateY(-4px); }
.expertise-item .icon { color: #0BC6FF; font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.expertise-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.expertise-item p  { font-size: 12px; color: rgba(255,255,255,0.72); line-height: 1.5; }


/* EXPERTNESS / STATS */
.expertness-section {
    background: radial-gradient(circle at 20% 20%, #1a2f6b 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, #6a2bbf 0%, transparent 40%),
                linear-gradient(135deg, #0b1d4d, #2a1f6a, #4b1fa3);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.expertness-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
}
.expertness-section .section-header .section-tag   { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 30px; }
.expertness-section .section-header .section-title { color: #fff; }
.expertness-section .section-header .section-desc  { color: rgba(255,255,255,0.82); }
.expertness-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.expertness-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: var(--transition);
}
.expertness-card:hover {
    background: rgba(255,255,255,0.13);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.expertness-number {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}
.expertness-label {
    font-size: 16px;
    font-weight: 700;
    color: #7dd3fc;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.expertness-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    line-height: 1.65;
}
@media(max-width:1024px){ .expertness-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px) { .expertness-grid{ grid-template-columns: 1fr; } }


/* TECHNOLOGIES */
.tech-section { background: var(--light-bg); padding: 70px 0; }
.tech-section .section-header .section-tag   { color: var(--primary); }
.tech-section .section-header .section-title { color: #0d47a1; }
.tech-grid {
    max-width: var(--container); margin: 40px auto 0; padding: 0 20px;
    display: grid; grid-template-columns: repeat(8,1fr); gap: 18px;
}
.tech-item {
    background: var(--white); border-radius: var(--border-radius); padding: 22px 12px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    box-shadow: var(--shadow); transition: var(--transition); border: 1px solid rgba(1,78,172,0.06);
}
.tech-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(1,78,172,0.18); }
.tech-item img { width: 48px; height: 48px; object-fit: contain; transition: transform 0.3s ease; }
.tech-item:hover img { transform: scale(1.15); }
.tech-item span { font-size: 12px; font-weight: 600; color: var(--gray); text-align: center; }


/* PROJECTS */
.projects-section { background: var(--white); padding: 70px 0; }
.projects-section .section-header .section-tag   { color: var(--primary); }
.projects-section .section-header .section-title { color: #0d47a1; }
.projects-section .section-header .section-desc  { color: var(--gray); }
.projects-grid {
    max-width: var(--container); margin: 40px auto 0; padding: 0 20px;
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.project-card {
    border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow);
    position: relative; aspect-ratio: 4/3; cursor: pointer; display: block; text-decoration: none;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(1,78,172,0.92) 0%, transparent 60%);
    opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 24px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay h3 { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.project-overlay p  { color: rgba(255,255,255,0.75); font-size: 13px; }


/* PRODUCTS — old classes kept for compatibility */
.products-section { background: var(--light-bg); padding: 70px 0; }
.products-section .section-header .section-tag   { color: var(--primary); }
.products-section .section-header .section-title { color: #0d47a1; }
.products-section .section-header .section-desc  { color: var(--gray); }

/* ===== DIGITAL PRODUCT CARDS (screenshot style) ===== */
.dp-grid {
    max-width: var(--container);
    margin: 40px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dp-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06);
}
.dp-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.16);
}

/* Gradient image area */
.dp-card-img {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.dp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.dp-card:hover .dp-card-img img { transform: scale(1.05); }
.dp-placeholder-icon {
    font-size: 64px;
    color: rgba(255,255,255,0.55);
}

/* Card body */
.dp-card-body {
    padding: 18px 20px 20px;
}
.dp-category {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
}
.dp-title {
    font-size: 17px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 14px;
    line-height: 1.3;
}

/* Footer: price + button */
.dp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.dp-price {
    font-size: 22px;
    font-weight: 800;
    color: #16a34a;
    line-height: 1;
}
.dp-btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1e5bb8, #3b82f6);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 7px;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}
.dp-btn-cart:hover {
    box-shadow: 0 6px 18px rgba(59,130,246,0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* Responsive */
@media(max-width:1100px){ .dp-grid{ grid-template-columns: repeat(3,1fr); } }
@media(max-width:768px) { .dp-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px) { .dp-grid{ grid-template-columns: 1fr; } }


/* CORE VALUE / WHY US CARDS */
.coreval-section {
    background: radial-gradient(circle at 20% 20%, #1a2f6b 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, #6a2bbf 0%, transparent 40%),
                linear-gradient(135deg, #0b1d4d, #2a1f6a, #4b1fa3);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.coreval-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
}
.coreval-tag {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
}
.coreval-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.coreval-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 30px 28px;
    backdrop-filter: blur(6px);
    transition: var(--transition);
}
.coreval-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.coreval-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.coreval-icon {
    color: #7dd3fc;
    font-size: 17px;
}
.coreval-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.coreval-card ul li {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 9px;
}
.coreval-card ul li i {
    color: #22c55e;
    font-size: 15px;
    flex-shrink: 0;
}
@media(max-width:768px){ .coreval-grid{ grid-template-columns: 1fr; } }


/* CTA */
.cta-section { background: linear-gradient(0deg, #205DA1, #5363AD); padding: 90px 20px; text-align: center; position: relative; overflow: hidden; }
.cta-section h2 { color: var(--white); font-size: clamp(26px,3vw,42px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.3px; }
.cta-section p  { color: rgba(255,255,255,0.82); font-size: 17px; margin-bottom: 38px; max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.75; }
.cta-section .btn-primary { background: #22c55e; color: #0a2200; font-weight: 700; }
.cta-section .btn-primary:hover { background: var(--white); color: var(--primary); }


/* HOME RESPONSIVE */
@media(max-width:1200px){ .tech-grid{grid-template-columns:repeat(4,1fr)} }
@media(max-width:1024px){
    .services-grid,.projects-grid,.products-grid{grid-template-columns:repeat(4,1fr)}
    .tech-grid{grid-template-columns:repeat(4,1fr)}
    .expertise-list{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
    .hero-content{flex-direction:column;text-align:center;gap:30px}
    .hero-text-container{width:100%}
    .hero-image-container{width:80%}
    .hero-text-container h1{font-size:48px}
    .hero-buttons{justify-content:center}
    .expertise-list{grid-template-columns:1fr}
    .services-grid,.projects-grid,.products-grid{grid-template-columns:1fr}
    .tech-grid{grid-template-columns:repeat(4,1fr);gap:12px}
    .tech-item{padding:16px 8px}
    .tech-item img{width:36px;height:36px}
}
@media(max-width:480px){
    .hero-text-container h1{font-size:36px}
    .hero-buttons{flex-direction:column;align-items:center}
    .tech-grid{grid-template-columns:repeat(3,1fr)}
}