/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
    height: auto;
    overflow-y: auto;
}

body {
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.section {
    padding: 80px 0;
    overflow-x: hidden;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
    font-family: 'Dancing Script', cursive !important;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #6E7861;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Navbar Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #6E7861;
    font-family: 'Dancing Script', cursive !important;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #6E7861;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section - Updated to position content at bottom */
#hero {
    height: 100vh;
    background-image: url('img/image-1.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Changed from fixed to scroll for mobile compatibility */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}
/* Add media query to use fixed background only on larger screens */
@media screen and (min-width: 992px) {
    #hero {
        background-attachment: fixed;
    }
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 15px;
    margin-bottom: 80px; /* Added margin-bottom to give some space from the bottom edge */
}

.hero-content h1 {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Dancing Script', cursive !important;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #6E7861;
    color: #fff;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: #007a84;
    transform: translateY(-2px);
}

/* Wedding Details Section */
#details {
    background-color: #f9f9f9;
    width: 100%;
}

.details-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.detail-box {
    flex: 0 0 calc(33.33% - 20px);
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.detail-box:hover {
    transform: translateY(-5px);
}

.detail-box i {
    font-size: 2.5rem;
    color: #6E7861;
    margin-bottom: 20px;
}

.detail-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.detail-box p {
    color: #666;
}

/* Gallery Section */
#gallery .container {
    margin-top: 30px;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    cursor: pointer;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Entourage Section */
#entourage {
    background-color: #f9f9f9;
    width: 100%;
}

.entourage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 30px;
    width: 100%;
}

.entourage-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    width: 100%;
}

.entourage-member:hover {
    transform: translateY(-5px);
}

.entourage-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.entourage-info {
    padding: 20px;
    width: 100%;
}

.entourage-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.entourage-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Decorative Elements */
.decorative-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    width: 100%;
    box-sizing: border-box;
}

.decorative-line::before,
.decorative-line::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #6E7861;
    margin: 0 15px;
}

.decorative-line i {
    color: #6E7861;
    font-size: 1.2rem;
}

/* Additional Details Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #6E7861;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 4px solid #6E7861;
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -12px;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
}

/* RSVP Section */
#rsvp {
    background-color: #f9f9f9;
    width: 100%;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6E7861;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background-color: #6E7861;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #007a84;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    width: 100%;
}

.footer-content p {
    margin-bottom: 20px;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #6E7861;
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    color: #aaa;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    display: block;
    margin: 0 auto;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1101;
}

.modal-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.prev-btn, .next-btn {
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    user-select: none;
    transition: 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    color: #6E7861;
}

/* Our Story Section */
#our-story {
    background-color: #f9f9f9;
    width: 100%;
}

.story-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.story-content {
    width: 100%;
    text-align: center;
}

.story-content p {
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: #555;
}

/* Entourage Content Styles */
.entourage-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.entourage-group {
    margin-bottom: 40px;
}

.entourage-title {
    color: #6E7861;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: slideInUp 0.8s ease-out;
}

.entourage-pair {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.entourage-left, .entourage-right {
    width: 48%;
    animation: fadeIn 1s ease-out;
}

.entourage-left {
    animation-name: slideInLeft;
}

.entourage-right {
    animation-name: slideInRight;
}

.parent-title {
    color: #6E7861;
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeIn 0.8s ease-out;
}

.person-name {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.person-name:hover {
    color: #6E7861;
}

.special-role {
    color: #6E7861;
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 30px 0 10px;
    animation: fadeIn 1s ease-out;
}

.secondary-title {
    color: #6E7861;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 50px 0 20px;
    animation: slideInUp 0.8s ease-out;
}

.secondary-items {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.secondary-item {
    width: 30%;
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
}

.secondary-item:nth-child(1) {
    animation-delay: 0.1s;
}

.secondary-item:nth-child(2) {
    animation-delay: 0.3s;
}

.secondary-item:nth-child(3) {
    animation-delay: 0.5s;
}

.secondary-role {
    color: #6E7861;
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.entourage-section {
    margin-bottom: 40px;
    width: 100%;
}

/* Additional Details Styles */
.additional-details {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.detail-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.detail-title {
    color: #6E7861;
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    word-wrap: break-word;
}

.detail-content {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    width: 100%;
}

.detail-content p {
    margin-bottom: 10px;
    text-align: center;
    word-wrap: break-word;
}

.color-swatches {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.blue-green {
    background-color: #006064;
}

.cyan {
    background-color: #00BCD4;
}

.teal {
    background-color: #6E7861;
}

.beige {
    background-color: #D6C8B6;
}

.qr-codes {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.qr-container {
    text-align: center;
    margin: 0 5px 10px;
    box-sizing: border-box;
}

.qr-box {
    background-color: #6E7861;
    color: white;
    padding: 10px;
    border-radius: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-sizing: border-box;
    max-width: 100%;
}

.qr-label {
    font-weight: bold;
    text-align: center;
    word-wrap: break-word;
}

.note {
    font-style: italic;
    color: #6E7861;
    text-align: center;
    margin: 15px 0;
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    word-wrap: break-word;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 143, 155, 0.7);
    }
    
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 143, 155, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 143, 155, 0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation utility classes */
.scroll-animate {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    overflow: hidden;
}

.fade-up {
    transform: translateY(30px);
}

.fade-in {
    opacity: 0;
}

.fade-left {
    transform: translateX(-20px);
}

.fade-right {
    transform: translateX(20px);
}

.animate {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

.delay-100 { transition-delay: 0.1s !important; }
.delay-200 { transition-delay: 0.2s !important; }
.delay-300 { transition-delay: 0.3s !important; }
.delay-400 { transition-delay: 0.4s !important; }
.delay-500 { transition-delay: 0.5s !important; }

/* Mobile Navigation Styles */
.nav-links {
    transition: transform 0.3s ease;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        z-index: 1001;
    }
    
    .menu-toggle i {
        color: #333;
        transition: color 0.3s ease;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 15px;
    }
    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }
    
    .menu-overlay.active {
        display: block;
    }
    .hero-content {
        margin-bottom: 60px;
    }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .detail-box {
        flex: 0 0 calc(50% - 20px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    /* Fix all container elements to be properly contained */
    .container, .section, div {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .navbar-container {
        padding: 15px;
    }
    
    .detail-box {
        flex: 0 0 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        grid-gap: 10px;
        padding: 0 5px;
        width: 100%;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 10px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd)::after {
        right: auto;
        left: 20px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 20px;
    }
    
    /* Fix for entourage section */
    .entourage-content {
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix for additional details section */
    .additional-details {
        padding: 0;
        width: 100%;
    }
    
    /* Fix for modal controls overflow */
    .modal-controls {
        width: 90%;
        left: 5%;
        right: 5%;
        pointer-events: none;
    }
    
    .prev-btn, .next-btn {
        pointer-events: auto;
    }
    
    /* Fix for the RSVP form */
    .rsvp-form {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
    
    /* Fix gallery items */
    .gallery-item {
        width: 100%;
        margin: 0;
    }
    
    /* Fix entourage pairs */
    .entourage-pair {
        flex-direction: column;
    }
    
    .entourage-left, .entourage-right {
        width: 100%;
        margin-bottom: 30px;
    }
    
    /* Fix secondary items */
    .secondary-items {
        flex-direction: column;
    }
    
    .secondary-item {
        width: 100%;
        margin-bottom: 30px;
    }
    
    /* Fix detail cards */
    .details-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 20px;
    }
    
    /* Fix QR codes container */
    .qr-codes {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .qr-container {
        margin: 0 auto 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .qr-box {
        margin: 0 auto 10px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content {
        margin-bottom: 40px;
        padding: 0 10px;
    }
    .section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .rsvp-form {
        padding: 15px;
    }
    
    /* Additional fixes for smallest screens */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item, 
    .entourage-member {
        margin-bottom: 15px;
    }
    
    /* Fix any potential text overflow */
    p, h1, h2, h3, .person-name, .detail-title, .special-role {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media screen and (max-width: 375px) {
    .container {
        padding: 0 5px;
    }
    
    .section {
        padding: 40px 5px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .detail-box {
        padding: 15px 10px;
    }
    
    .detail-card {
        padding: 15px 10px;
    }
    
    .qr-box {
        width: 120px;
        height: 120px;
    }
    
    /* Fix for any remaining spacing issues */
    .gallery-grid {
        grid-gap: 5px;
    }
    
    .details-grid {
        gap: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Variables */
:root {
    --primary: #6E7861;  /* Teal color to match main website */
    --secondary: #b9e6eb;
    --accent: #a3b899;
    --dark: #333333;
    --light: #FFFFFF;
    --light-gray: #F5F5F5;
}

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background-color: var(--light);
}

/* Typography */
h1, h2, h3, .script-font {
    font-family: 'Dancing Script', cursive;
    color: var(--primary);
}

.title-names {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
}

.title-and {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--primary);
}

.page-title {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 2rem;
    color: var(--dark);
    margin: 1rem 0;
    text-align: center;
}

/* Header and Decorations */
.header {
    position: relative;
    text-align: center;
    padding: 2rem 0 1rem;
}

.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 15vw;
    z-index: -1;
}

/* Thank You Container */
.thank-you-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 3rem;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.thank-you-message {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Footer */
footer {
    margin-top: 2rem;
    color: var(--dark);
    font-size: 0.9rem;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you-container {
    animation: fadeIn 0.8s ease-out;
}

/* Responsive */
@media (max-width: 767.98px) {
    .title-names {
        font-size: 2.5rem;
    }
    
    .thank-you-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .thank-you-message {
        font-size: 2rem;
    }
}

/* Additional styles for small screens */
@media (max-width: 576px) {
    .title-names {
        font-size: 2rem;
    }
    
    .title-and {
        font-size: 1.8rem;
    }
    
    .thank-you-message {
        font-size: 1.8rem;
    }
    
    .thank-you-container {
        padding: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1.5rem;
    }
}