@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --primary-red: #ff3333;
    --dark-red: #cc0000;
    --pure-white: #ffffff;
    --off-white: #f5f5f5;
    --pure-black: #000000;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --font-poppins: 'Poppins', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-poppins);
    background-color: var(--pure-black);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    text-align: justify;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--pure-black);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes textReveal {
    0% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
        transform: translateY(20px);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

.move-on-hover {
    transition: transform 0.3s ease-out;
}

.move-on-hover:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(10deg) scale(1.02);
}

.reveal-text {
    animation: textReveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 51, 51, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
    }
}

.pulse {
    animation: pulse-red 2s infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 51, 51, 0.3);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Header Specific Style */
header, #navbar {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--primary-red);
}

/* Hero Section - Poster Page */
.hero {
    height: 100vh;
    width: 100%;
    background-color: var(--pure-black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hero Assets Positioning */
.hero-assets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.prop,
.cloud {
    position: absolute;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.prop-1 {
    left: 15%;
    top: 40%;
    width: 80px;
}

.prop-2 {
    right: 15%;
    top: 15%;
    width: 80px;
}

.prop-3 {
    right: 32%;
    top: 60%;
    width: 160px;
}

.prop-4 {
    right: 5%;
    top: 50%;
    width: 120px;
}

.prop-5 {
    right: 0%;
    bottom: -12%;
    width: 230px;
}

/* --- Welcome Prime Redesign --- */
.welcome-prime {
    background: #ffffff;
    position: relative;
    padding: 120px 10%;
    overflow: hidden;
    color: #000000;
}

.glow-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 51, 51, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.glow-top {
    top: -100px;
    right: -100px;
}

.glow-bottom {
    bottom: -100px;
    left: -100px;
}

.badge {
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-bottom: 25px;
    color: #000;
}

.welcome-prime-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    color: #000;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
}

.text-gradient-red {
    background: linear-gradient(90deg, #ff4c4c, #942b30);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-bar {
    width: 100px;
    height: 2px;
    background: #942b30;
    margin-bottom: 40px;
}

.welcome-prime-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    max-width: 550px;
    margin-bottom: 50px;
}

.stats-prime {
    display: flex;
    gap: 40px;
    align-items: center;
}

.stat-prime-item p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    margin-top: 5px;
}

.stat-num {
    font-size: 3rem;
    font-weight: 900;
    color: #000;
}

.stat-plus {
    font-size: 1.5rem;
    color: #942b30;
    vertical-align: top;
}

.stat-prime-divider {
    width: 1px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
}

.btn-prime {
    background: #942b30;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid #942b30;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.btn-prime:hover {
    background: transparent;
    box-shadow: 0 10px 30px rgba(148, 43, 48, 0.4);
    transform: translateY(-5px);
    color: #942b30;
}

/* Glass Visual */
.welcome-prime-visual {
    position: relative;
    perspective: 1000px;
}

.glass-container {
    position: relative;
    border-radius: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transform: rotateY(-15deg);
    transition: transform 0.6s ease;
}

.glass-container:hover {
    transform: rotateY(0deg);
}

.main-visual {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    background: #942b30;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: float 6s infinite ease-in-out;
}

.fb-1 {
    top: 10%;
    right: -20px;
    animation-delay: 1s;
}

.fb-2 {
    bottom: 15%;
    left: -30px;
    background: #111;
    color: white;
}

@media (max-width: 991px) {
    .stat-num {
        font-size: 2.2rem;
    }

    .glass-container {
        transform: none;
        margin-top: 60px;
    }
}

.cloud-1 {
    left: 10%;
    top: 15%;
    width: 200px;
}

.cloud-2 {
    right: -2%;
    top: 20%;
    width: 80px;
}

/* Responsive adjustments for assets */
@media (max-width: 1024px) {

    .prop-1,
    .prop-2,
    .prop-3 {
        display: none;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 5%;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-title span {
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: #ccc;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 51, 51, 0.3);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
    filter: brightness(0.4);
    animation: float 10s ease-in-out infinite;
}

/* Section Common Styling */
section {
    padding: 100px 10%;
    position: relative;
}

.section-tag {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 3rem;
    line-height: 1.2;
}

/* Red-White Theme Content Sections */
.theme-red-white {
    background-color: var(--pure-white);
    color: var(--text-dark);
}

.theme-red-white .section-title {
    color: var(--text-dark);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Product/Service Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-red-white .card {
    background: rgba(255, 51, 51, 0.05);
    color: var(--text-dark);
    border: 1px solid rgba(255, 51, 51, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 51, 51, 0.2);
}

.theme-red-white .card:hover {
    box-shadow: 0 20px 40px rgba(255, 51, 51, 0.1);
}

.card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Images */
.img-box {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.img-box:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    padding: 6rem 10% 2rem;
    background: var(--pure-black);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about p {
    margin-top: 1.5rem;
    opacity: 0.6;
    max-width: 300px;
    text-align: left;
}

.footer-links h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links ul a:hover {
    color: var(--primary-red);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* New Components & Animations */
.icon-pulse {
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.4);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(255, 51, 51, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
    }
}

.service-card-white:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.product-img-box:hover img {
    transform: scale(1.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 0.8fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-info {
    order: 1;
}

.footer-contact {
    order: 2;
}

.footer-links {
    order: 3;
}

.footer-products {
    order: 4;
}

.footer-services {
    order: 5;
}

/* Social Media Icons - Branded hover colors */
.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    font-size: 1rem;
    flex-shrink: 0;
}

.social-links a:hover {
    transform: translateY(-6px) scale(1.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Facebook */
.social-fb {
    background: #1877F2;
}

.social-fb:hover {
    background: #0b5fcc !important;
}

/* Twitter / X */
.social-tw {
    background: #1DA1F2;
}

.social-tw:hover {
    background: #0d8bd9 !important;
}

/* LinkedIn */
.social-li {
    background: #0A66C2;
}

.social-li:hover {
    background: #084ea1 !important;
}

/* Instagram */
.social-ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-ig:hover {
    background: radial-gradient(circle at 30% 107%, #f9e43e 0%, #f9e43e 5%, #f83d35 45%, #b81580 60%, #1044cf 90%) !important;
}

/* YouTube */
.social-yt {
    background: #FF0000;
}

.social-yt:hover {
    background: #cc0000 !important;
}

/* Pinterest */
.social-pt {
    background: #E60023;
}

.social-pt:hover {
    background: #b5001c !important;
}


/* Footer Link Hover */
.footer-links ul a:hover,
.footer-services ul a:hover {
    color: var(--primary-red) !important;
    padding-left: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    section {
        padding: 60px 5%;
    }
}