* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}
.contact-title {
    scroll-margin-top: 140px;
}

body {
    background-color: #070b14;
    color: #f5f7fa;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

h1,
h2,
h3 {
    color: #38bdf8;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    margin-top: 45px;
    margin-bottom: 20px;
}

p {
    color: #cbd5e1;
    margin-bottom: 18px;
}

ul {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-left: 4px solid #38bdf8;
    padding: 18px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

li:hover {
    transform: translateX(8px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.20);
}

strong {
    color: #ffffff;
}

form {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 30px;
    margin-top: 25px;
    max-width: 650px;
}

label {
    display: block;
    color: #f5f7fa;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 6px;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #334155;
    border-radius: 6px;
    background: #070b14;
    color: #ffffff; 
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

input[type="submit"] {
    background: linear-gradient(90deg,
    #00d4ff 0%, #6f2fbd 100%);
    color: #ffffff;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

input[type="submit"]:hover {
    background: linear-gradient(90deg, #00d4ff 0%,
    #8b2fff 100%);        
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    body {
        padding: 20px;      
}

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    ul {
        grid-template-columns: 1fr;
    }
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0f172a;
    padding: 20px 40px;
    border-bottom: 1px solid #38bdf8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flexp-end;
    gap: 30px;
}

nav a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

nav a:hover {
    color: #38bdf8;
}

.logo {
    position: relative;
    color: #a855f7;
    font-size: 1.8rem;      
    font-weight: bold;
    letter-spacing: 2px;
}

.crown {
    position: absolute;
    color: gold;
    font-size: 1.2rem;
    top: -9px;
    left: -5px;
    transform: rotate(-25deg);
}
.nav-crown {
    position: absolute;
    color: #FFD700;
    top: -12px;
    left: -10px;
    font-size: 1.2rem;
    transform: rotate(-25deg);
}

.nav-letters {
    color: #a855f7;
    font-weight: bold;
}
.hero-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 24px;
    background: #38bdf8;
    color: #0f172a;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s ease;
}
.hero-btn:hover {
    background: #00d4ff;
    transform: translateY(-2px);
}
.hero-btn {
    margin-bottom: 20px;
}
html {
    scroll-behavior: smooth;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.service-card {
    background: #16243a;
    padding: 25px;
    border: 1px solid #00d4ff;
    border-radius: 12px;
}

.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.25);
}

.service-card h3 {
    color: #00d4ff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-card p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.about-section {
    margin-top: 50px;
    padding: 35px;
    background: linear-gradient(135deg, #16243a 0%,
    #202052 55%, #35175f 100%);
    border-radius: 12px;
    border-left: 4px solid #00d4ff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.12);
}

.about-section h2 {
    margin-bottom: 20px;
    color: #00d4ff;
    margin-top: 30px;
}

.about-section p {
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 15px;
}
.about-section strong {
    color: #ffffff;
}


.contact-section {
    margin-top: 50px;
    padding: 35px;
    background: linear-gradient(
        90deg,
        #16243a 0%,
        #1d2450 27%
        #1f1640 50%,
        #1d2450 77%,
        #24164a 100%
    );
    border-radius: 12px;
    border-left: 4px solid #00d4ff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.12);
}

.contact-section h2 {
    margin-bottom: 20px;
    color: #00d4ff;

}

.contact-form {
    max-width: 650px;
    padding: 30px;
    background: linear-gradient(
        90deg,
        #16243a 0%,
        #1d2450 40%,
        #24164a 75%,
        #32145f 100%
    );
    border-radius: 12px;
    border: 1px solid var(--rde-purple);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e9e4f0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    background: #0b1220;
    color: #ffffff;
    border: 1px solid #334155;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s ease;

}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #6f2dbd;
    box-shadow: 0 0 0 3px rgba(111,45, 189, 0.25);
}

.contact-form textarea {
    resize: vertical;
}
.contact-form button {
    background: #6f2dbd;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;

}
.contact-form button:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(111,45, 189, 0.35);
}
.contact-form button:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 15px;
    font-weight: 600;
    min-height: 24px;
}
.form-message.success {
    color: #22c55e;
}

.form-message.error {
    color: #ef4444;
}

footer {
    text-align: center;
    padding: 25px;
    border-top: 1px solid #263b5e;
    color: #94a3b8;
}
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* ==== RDE ROYAL PURPLE BRAND UPGRADE ==== */


:root {
    --rde-purple: #6f2dbd;
    --rde-purple-light: #8b5cf6;
    --rde-purple-dark: #4c1d95;
    --rde-cyan: #00d4ff;
}

/* Main RDE heading */
.hero h1 {
    color: var(--rde-purple-light);
}

/* Main action button */
.hero a {
    background: vaf(--rde-purple);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(111,45, 189, 0.35);
}

.hero a:hover {
    background: var(--rde-purple-light);
}

/* Section headings */
section h2 {
    color: var(--rde-purple-light);
}

/* Service cards */
.service-card {
    border-color: var(--rde-purple);
    box-shadow: 0 6px 18px rgba(111, 45, 189, 0.22);
}

.service-card h3 {
    color: var(--rde-purple-light);
}

/* About section */
.about-section {
    border-left-color: var(--rde-purple);
    box-shadow: 0 8px 25px rgba(111, 45, 189, 0.20);
}

.about-section h2 {
    color: var(--rde-purple-light);
}
/* ====== RDE NAVIGATION UPGRADE ===== */

nav {
    border-bottom: 2px solid
var(--rde-purple);
    box-shadow: 0 4px 20px rgba(111, 45, 189, 0.25);
}

nav a {
    color: #ffffff;
    transition: 0.3s ease;
}

nav a:hover {
    color: var(--rde-purple-light);
}

nav a::after {
    background: var(--rde-purple-light);
}
/* ===== RDE SERVICE CARD UPGRADE =====*/

.service-card {
    background: linear-gradient(
        135deg,
        #16243a 0%,
        #1d2450 55%,
        #24164a 100%
    );
    border: 1px solid var(--rde-purple);
    transition: transform 0.3s ease,
box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(111, 45,189, 0.40);
    border-color: var(--rde-purple-light);
}
/* ===== RDE ABOUT SECTION UPGRADE =====*/

.about-section {
    background: linear-gradient(
        90deg,
        #16243a 0%,
        #1d2450 27%,
        #1f1640 50%,
        #24164a 77%,
        #24164a 100%
    );
    border: 1px solid var(--rde-purple);
    border-left: 4px solid var(--rde-purple);
    box-shadow: 0 8px 30px rgba(111, 45, 189, 0.25);
}

.about-section h2 {
    color: var(--rde-purple-light);
}

.about-section strong {
    color: #ffffff;
}
/* ===== RDE ABOUT COLOR FIX =====*/

.about-section {
    background: linear-gradient(
        135deg,
        #16243a 0%,
        #1d2450 55%,
        #24164a 100%,
    ) !important;
}
.contact-form {
    background: linear-gradient(
        135deg,
        #16243a 0%,
        #1d2450 55%,
        #24164a 100%
    ) !important;
}
.hero {
  padding-top: 65px;
}

.hero-title {
  margin: 0 0 -25px;
  padding: 0;
  line-height: 1;
}

.rde-main-logo {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .hero {
    padding-top: 40px;
  }

  .rde-main-logo {
    max-width: 100%;
  }
}
.hero-tagline {
  font-size: 22px;
  font-weight: 500;
  color: #e8e4f0;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 12px 0 28px;
  padding-left: 12px;
}

@media (max-width: 600px) {
  .hero-tagline {
    font-size: 16px;
    letter-spacing: 0.4px;
  }
}
/* Official RDE Navigation Logo */
.nav-logo-img {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
}