:root {
    --bg-color: #050505;
    --bg-secondary: #0f0f0f;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F4C430;
    --accent-gold-dark: #AA8C2C;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}


a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-gold), #fff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-gold-dark));
    color: #000;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    margin-left: 15px;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #fff;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    width:20px !important;
}

.dot {
    color: var(--accent-gold);
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Creative Redesign */
.hero-creative {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 150px;
    /* Space for curve */
    overflow: hidden;
    background-color: #000;
}

.hero-bg-creative {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://rifumoholdings.co.za/assets/hero-bg.png');
    /* Using the generated asset */
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Overlay to ensure text readability */
.hero-bg-creative::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-creative-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-title-creative {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
}

.hero-quote {
    font-size: 1.1rem;
    color: #ccc;
    font-style: italic;
    border-left: 3px solid var(--accent-gold);
    padding-left: 20px;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-video {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-video:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

.play-icon {
    background: #fff;
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding-left: 2px;
    /* Visual optical adjustment */
}

/* Floating Glass Cards */
.hero-visual-side {
    position: relative;
    height: 400px;
}

.glass-card {
    position: absolute;
    background: rgba(25, 25, 25, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.card-uptime {
    top: 10%;
    right: 10%;
    width: 220px;
    z-index: 2;
}

.card-security {
    bottom: 20%;
    left: 0;
    width: 200px;
    z-index: 1;
    animation-delay: 1s;
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
}

.card-label {
    font-size: 0.8rem;
    color: #aaa;
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.graph-line {
    width: 100%;
    height: 30px;
    filter: drop-shadow(0 0 5px var(--accent-gold));
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

.security-status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 0, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    color: #4caf50;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 10px #4caf50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Curve Divider */
.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.hero-curve svg {
    display: block;
    width: 100%;
    height: 150px;
}

.hero-curve path {
    fill: var(--bg-color);
    /* Match the body background */
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.section-line.center {
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: 15px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.check-icon {
    color: var(--accent-gold);
    font-weight: bold;
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.visual-card {
    background: var(--bg-secondary);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.visual-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.visual-card h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.visual-card.gold h3 {
    color: var(--accent-gold);
}

.visual-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Services Section */
.services {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--bg-secondary);
    border-radius: 30px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 30px;
}

.info-label {
    display: block;
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-link,
.info-text {
    font-size: 1.2rem;
    color: #fff;
    transition: var(--transition);
}

.info-link:hover {
    color: var(--accent-gold);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: 20px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title-creative {
        font-size: 3.5rem;
    }

    .hero-creative-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-side {
        margin-bottom: 50px;

    }

    .hero-quote {
        margin: 0 auto 40px;
        border-left: none;
        border-top: 3px solid var(--accent-gold);
        padding-top: 20px;
        padding-left: 0;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual-side {
        height: 300px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .card-uptime {
        right: 0;
    }

    .card-security {
        left: 0;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero-title-creative {
        font-size: 2.8rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }
}