:root {
    --primary: #8A2BE2;
    --secondary: #5D3FD3;
    --accent: #9370DB;
    --dark: #1A1A2E;
    --darker: #0F0F1B;
    --light: #F8F6FF;
    --gray: #2D2D44;
    --eco-green: #4CAF50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}


/* 3D Effects and Animations */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.4);
}

.btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.btn-3d:hover {
    transform: translateY(-5px) translateZ(20px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-3d:active {
    transform: translateY(2px) translateZ(10px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Header & Navigation */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(93, 63, 211, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.2) 0%, transparent 50%);
    z-index: -1;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin: 40px 0;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    margin: 10px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
}

.container .btn-3d {
    position: relative;
    top: 0;
    left: 0;
    width: 350px;
    max-width: 100%;
    height: 50px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .btn-3d a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 10px;
    letter-spacing: 1px;
    text-decoration: none;
    overflow: hidden;
    color: #fff;
    font-weight: 400px;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.container .btn-3d:hover a {
    letter-spacing: 3px;
}

.container .btn-3d a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
}

.container .btn-3d:hover a::before {
    transform: skewX(45deg) translate(200px);
}

.container .btn-3d::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    bottom: -5px;
    width: 30px;
    height: 10px;
    background: #f00;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5;
}

.container .btn-3d:hover::before {
    bottom: 0;
    height: 50%;
    width: 80%;
    border-radius: 30px;
}

.container .btn-3d::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    top: -5px;
    width: 30px;
    height: 10px;
    background: #f00;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5;
}

.container .btn-3d:hover::after {
    top: 0;
    height: 50%;
    width: 80%;
    border-radius: 30px;
}

.container .btn-3d:nth-child(1)::before,
.container .btn-3d:nth-child(1)::after {
    background: #8A2BE2;
    box-shadow: 0 0 5px #8A2BE2, 0 0 15px #8A2BE2, 0 0 30px #8A2BE2,
        0 0 60px #8A2BE2;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.nav-logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--light);
    border-radius: 5px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Sections */
section {
    padding: 100px 20px;
    position: relative;
}

/* Awareness Section */
#awareness {
    background: var(--dark);
    text-align: center;
}

.eco-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    flex: 1 1 250px;
    background: linear-gradient(145deg, #252536, #1E1E2E);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--eco-green);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--eco-green);
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 50px 0;
}

.benefit-card {
    flex: 1 1 300px;
    background: linear-gradient(145deg, #252536, #1E1E2E);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    align-self: flex-start;
    padding: 15px;
    border-radius: 15px;
    background: rgba(138, 43, 226, 0.1);
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--light);
}

/* Gallery */
#gallery {
    background: var(--darker);
    text-align: center;
}

.invitation-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.type-card {
    width: 280px;
    height: 350px;
    background: linear-gradient(145deg, #252536, #1E1E2E);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.type-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.type-image {
    height: 200px;
    overflow: hidden;
}

.type-image img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: white;
}

.type-content {
    padding: 20px;
    text-align: center;
}

.type-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.type-content p {
    font-size: 0.95rem;
    color: #CCCCDD;
}

.templates-btn-container {
    margin-top: 50px;
}

/* How it Works */
#how-it-works {
    background: var(--dark);
    text-align: center;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.step {
    flex: 1 1 300px;
    background: linear-gradient(145deg, #252536, #1E1E2E);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* FAQ */
#faq {
    background: var(--darker);
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin: 20px 0;
    background: linear-gradient(145deg, #252536, #1E1E2E);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    text-align: left;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}


/* Templates Page Button */
.templates-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.templates-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

footer p {
    font-size: 1rem;      /* or your preferred size */
    max-width: none;      /* or your preferred width */
    margin: 0;            /* or your preferred margin */
    color: inherit;       /* or your preferred color */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-links-wrapper {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 20px;
    }

}

@media (max-width: 868px) {
    .footer-links-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    header {
        padding: 120px 20px 80px;
    }

    .navbar {
        padding: 15px;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .steps,
    .benefits,
    .eco-stats {
        gap: 20px;
    }

    .step,
    .benefit-card,
    .stat-card {
        flex: 1 1 100%;
    }

    .container .btn-3d {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 24px;
        margin: 8px;
    }

    .type-card {
        width: 100%;
        max-width: 300px;
    }

    .templates-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    section {
        padding: 80px 20px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}