:root {
    --redc-red: #d71920;
    --redc-dark-red: #990000;
    --redc-navy: #082f6f;
    --redc-blue: #17479e;
    --redc-dark: #111827;
    --redc-gray: #f4f6f9;
    --redc-white: #ffffff;
    --redc-yellow: #ffbf00;

    /* keep old variable support */
    --primary-color: #d71920;
    --text-color: #111827;
    --light-bg: #f4f6f9;
}

@font-face {
    font-family: 'Poppins';
    src: url('../webfonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../webfonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Poppins', sans-serif;
}
a {
    text-decoration: none;
    color: inherit;
}
/* Top Header Styles */
.top-header {
    font-family: 'Poppins', sans-serif;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(45deg, #fff 30%, #b30018 100%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo Styles */
.top-header .site-logo {
    width: 180px;
    flex-shrink: 0;
}

.top-header .logo-img {
    width: 60%;
    height: auto;
}

/* Social Icons Styles */
.top-header .social-icons-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 0 0 30px;
    position: relative;
}

.top-header .social-icons-center::before,
.top-header .social-icons-center::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 1px;
    height: 30px;
    transform: translateY(-50%);
}

.top-header .social-icons-center::before {
    left: 0;
}

.top-header .social-icons-center::after {
    right: 0;
}

.top-header .social-icon {
    display: inline-flex;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.top-header .social-icon:hover {
    background-color: rgb(245, 245, 249);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Contact Info Styles */
.top-header .contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
    justify-content: flex-end;
}

.top-header .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.top-header .contact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    height: 30px;
    width: 1px;
    background: rgba(0,0,0,0.1);
    transform: translateY(-50%);
}

.top-header .contact-icon {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.top-header .contact-text {
    display: flex;
    flex-direction: column;
}

.top-header .contact-text small {
    color: #666;
    font-size: 12px;
    line-height: 1.2;
}

.top-header .contact-text strong {
    color: #333;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.mobile-top-header {
    display: none;
}

/* Hero Section */
.digital-hero {
    min-height: 720px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 15%, rgba(215,25,32,0.13), transparent 26%),
        linear-gradient(110deg, rgba(255,255,255,0.96) 0%, rgba(244,246,249,0.96) 45%, rgba(8,47,111,0.08) 100%);
}

.digital-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0%, transparent 50%, rgba(215,25,32,0.92) 50%, rgba(215,25,32,0.92) 72%, transparent 72%),
        linear-gradient(155deg, transparent 0%, transparent 62%, rgba(8,47,111,0.92) 62%, rgba(8,47,111,0.92) 76%, transparent 76%);
    opacity: 0.12;
}

.digital-hero::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--redc-red), var(--redc-navy));
    right: -220px;
    top: 60px;
    opacity: 0.12;
}

.hero-container {
    max-width: 1240px;
    margin: auto;
    min-height: 720px;
    padding: 90px 20px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(215,25,32,0.1);
    color: var(--redc-red);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--redc-dark);
    margin-bottom: 22px;
}

.hero-title span {
    color: var(--redc-red);
}

.hero-text {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: 0.3s;
}

.primary-btn {
    background: linear-gradient(90deg, var(--redc-navy), var(--redc-red));
    color: #fff;
}

.primary-btn:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 12px 28px rgba(215,25,32,0.32);
}

.secondary-btn {
    border: 2px solid var(--redc-navy);
    color: var(--redc-navy);
    background: #fff;
}

.secondary-btn:hover {
    background: var(--redc-navy);
    color: #fff;
}

.hero-image-area {
    position: relative;
    min-height: 480px;
}

.hero-card {
    position: absolute;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 8px solid #fff;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card.card-1 {
    width: 390px;
    height: 260px;
    top: 30px;
    right: 50px;
    transform: rotate(4deg);
}

.hero-card.card-2 {
    width: 330px;
    height: 225px;
    bottom: 40px;
    left: 10px;
    transform: rotate(-5deg);
}

.hero-card.card-3 {
    width: 270px;
    height: 190px;
    bottom: 110px;
    right: 0;
    transform: rotate(7deg);
}

.floating-service {
    position: absolute;
    left: 30px;
    top: 0;
    background: var(--redc-navy);
    color: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 14px 35px rgba(8,47,111,0.26);
}

.floating-service h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
}

.floating-service p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Section Common */
.section-padding {
    padding: 30px 0;
}

.section-subtitle {
    text-transform: uppercase;
    color: var(--redc-red);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--redc-dark);
    margin-bottom: 18px;
}

.section-desc {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.7;
    max-width: 720px;
    margin: auto;
    font-weight: 400;
}

/* Services */
.services-section {
    background: #fff;
}

.service-card {
    background: #fff;
    border-radius: 22px;
    padding: 32px 26px;
    height: 100%;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(215,25,32,0.08);
    right: -50px;
    top: -50px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 42px rgba(0,0,0,0.13);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--redc-navy), var(--redc-red));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    margin-bottom: 22px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 14px;
    color: var(--redc-dark);
}

.service-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
}

.service-link {
    color: var(--redc-red);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* About */
.about-section {
    background: var(--redc-gray);
    position: relative;
    overflow: hidden;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 26px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.14);
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.about-stat {
    position: absolute;
    bottom: -28px;
    right: 30px;
    background: linear-gradient(135deg, var(--redc-red), var(--redc-navy));
    color: #fff;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 14px 32px rgba(215,25,32,0.25);
}

.about-stat h3 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.about-stat p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.about-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.about-list i {
    color: var(--redc-red);
    margin-top: 4px;
}

/* Process */
.process-section {
    background: #fff;
}

.process-card {
    text-align: center;
    background: #fff;
    border-radius: 22px;
    padding: 34px 24px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
    border-bottom: 5px solid var(--redc-red);
}

.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--redc-navy), var(--redc-red));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 18px;
}

.process-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.process-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Portfolio */
.portfolio-section {
    background: var(--redc-gray);
}

.portfolio-card {
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.09);
    transition: 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(0,0,0,0.15);
}

.portfolio-card img {
    height: 245px;
    width: 100%;
    object-fit: cover;
}

.portfolio-content {
    padding: 22px;
}

.portfolio-content span {
    color: var(--redc-red);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}

.portfolio-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 7px;
}

/* CTA */
.cta-section {
    background:
        linear-gradient(90deg, rgba(8,47,111,0.94), rgba(215,25,32,0.94)),
        url('/assets/images/digital_banner.jpg') center/cover no-repeat;
    color: #fff;
    padding: 90px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto 28px;
    opacity: 0.94;
}

/* Testimonials */
.testimonial-section {
    background: #fff;
}

.testimonial-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px 26px;
    box-shadow: 0 9px 30px rgba(0,0,0,0.08);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.06);
}

.stars {
    color: var(--redc-yellow);
    margin-bottom: 18px;
}

.testimonial-card p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 22px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.client-info img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.client-info small {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 991px) {
    
    .hero-container {
        grid-template-columns: 1fr;
        padding: 70px 20px;
    }

    .digital-hero,
    .hero-container {
        min-height: auto;
    }

    .hero-image-area {
        min-height: 430px;
    }

    .hero-card.card-1 {
        width: 310px;
        height: 210px;
        right: 20px;
    }

    .hero-card.card-2 {
        width: 270px;
        height: 185px;
        left: 10px;
    }

    .hero-card.card-3 {
        width: 230px;
        height: 160px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .section-desc {
        font-size: 15px;
        line-height: 1.7;
    }

    .cta-section h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .cta-section p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .service-card h3,
    .process-card h3 {
        font-size: 1.15rem;
    }

}

@media (max-width: 575px) {
   

    .hero-actions {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        justify-content: center;
        width: 100%;
        font-size: 12px;
        line-height: 1.4;
    }

    .hero-image-area {
        min-height: 360px;
    }

    .hero-card.card-1 {
        width: 260px;
        height: 175px;
        right: 0;
    }

    .hero-card.card-2 {
        width: 230px;
        height: 160px;
        bottom: 20px;
    }

    .hero-card.card-3 {
        display: none;
    }

    .rg-mega-menu-content {
        grid-template-columns: 1fr;
    }

    .rg-navbar-menu li a,
    .rg-navbar-menu > li > a {
        font-size: 15px;
    }

    .hero-badge {
        font-size: 12px;
        line-height: 1.4;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .service-card h3,
    .process-card h3,
    .portfolio-content h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .service-card p,
    .process-card p,
    .testimonial-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .service-link {
        font-size: 14px;
    }

    .about-list li {
        font-size: 14px;
        line-height: 1.6;
    }

    .about-stat h3 {
        font-size: 30px;
    }

    .about-stat p {
        font-size: 13px;
    }

    .process-number {
        font-size: 18px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .cta-section p {
        font-size: 14px;
        line-height: 1.6;
    }

    .client-info h4 {
        font-size: 1rem;
    }

    .client-info small {
        font-size: 0.85rem;
    }



}