﻿.invitation-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.invitation-header h1 {
    font-size: 24px;
    text-align: center;
}


 .graduation-about-page {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #243447;
            background-color: #f7f9fc;
        }

        /* HERO SECTION */
        .graduation-hero {
            position: relative;
            overflow: hidden;
            border-radius: 0 0 35px 35px;
            background: linear-gradient(135deg, #172a46 0%, #244f79 55%, #b68a3c 100%);
            color: #fff;
            padding: 85px 25px 100px;
            margin-bottom: 0;
        }

        .graduation-hero::before {
            content: "";
            position: absolute;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: rgba(255,255,255,.06);
            top: -120px;
            right: -80px;
        }

        .graduation-hero::after {
            content: "";
            position: absolute;
            width: 220px;
            height: 220px;
            border-radius: 50%;
            background: rgba(255,255,255,.05);
            bottom: -100px;
            left: -60px;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 850px;
            margin: auto;
            text-align: center;
        }

        .hero-label {
            display: inline-block;
            padding: 8px 18px;
            margin-bottom: 18px;
            border-radius: 30px;
            background: rgba(255,255,255,.14);
            border: 1px solid rgba(255,255,255,.25);
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 1.3px;
            text-transform: uppercase;
        }

        .hero-title {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .hero-title span {
            color: #f6d58a;
        }

        .hero-description {
            font-size: 18px;
            line-height: 1.8;
            max-width: 720px;
            margin: 0 auto;
            color: rgba(255,255,255,.9);
        }


        /* MAIN CONTENT */
        .about-content {
            padding: 70px 15px;
        }

        .section-tag {
            display: inline-block;
            color: #b18436;
            background: #fff7e8;
            border-radius: 30px;
            padding: 7px 15px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
        }

        .section-title {
            color: #183553;
            font-weight: 700;
            font-size: 34px;
            margin-bottom: 20px;
        }

        .section-description {
            color: #68798a;
            font-size: 16px;
            line-height: 1.9;
        }


        /* FEATURE BOX */
        .intro-box {
            background: #ffffff;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 15px 45px rgba(25, 48, 74, .08);
            height: 100%;
        }

        .intro-visual {
            position: relative;
            min-height: 340px;
            height: 100%;
            border-radius: 20px;
            overflow: hidden;
            background: linear-gradient(145deg, #193a5a, #2a6089);
            padding: 35px;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .visual-content {
            position: relative;
            z-index: 2;
            text-align: center;
        }

        .graduation-cap {
            font-size: 80px;
            margin-bottom: 20px;
            line-height: 1;
        }

        .visual-title {
            font-size: 26px;
            font-weight: 700;
        }

        .visual-text {
            color: rgba(255,255,255,.8);
            line-height: 1.7;
            margin-top: 15px;
        }

        .visual-circle {
            position: absolute;
            width: 180px;
            height: 180px;
            border: 35px solid rgba(255,255,255,.05);
            border-radius: 50%;
            right: -30px;
            top: -30px;
        }


        /* STATS */
        .stats-wrapper {
            margin-top: 70px;
            background: #fff;
            border-radius: 20px;
            padding: 15px;
            box-shadow: 0 10px 35px rgba(20, 50, 80, .07);
        }

        .stat-box {
            text-align: center;
            padding: 25px 15px;
        }

        .stat-icon {
            width: 58px;
            height: 58px;
            border-radius: 16px;
            background: #eef5fb;
            color: #24547a;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-size: 26px;
        }

        .stat-title {
            font-size: 17px;
            font-weight: 700;
            color: #183553;
            margin-bottom: 7px;
        }

        .stat-text {
            color: #788797;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 0;
        }


        /* HIGHLIGHTS */
        .highlights-section {
            padding: 80px 15px;
            background: #ffffff;
        }

        .highlight-card {
            position: relative;
            background: #fff;
            border: 1px solid #e9eef3;
            border-radius: 18px;
            padding: 32px 25px;
            height: 100%;
            transition: all .3s ease;
        }

        .highlight-card:hover {
            transform: translateY(-7px);
            border-color: #d8ba7a;
            box-shadow: 0 16px 40px rgba(25, 50, 75, .1);
        }

        .highlight-number {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: linear-gradient(135deg, #1d4364, #2b678f);
            color: #fff;
            font-weight: 700;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .highlight-card h4 {
            font-size: 19px;
            color: #193a57;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .highlight-card p {
            color: #718190;
            line-height: 1.7;
            font-size: 14px;
            margin: 0;
        }


        /* CEREMONY JOURNEY */
        .journey-section {
            padding: 80px 15px;
            background: #f7f9fc;
        }

        .journey-card {
            background: #fff;
            border-radius: 20px;
            padding: 35px;
            height: 100%;
            box-shadow: 0 10px 30px rgba(27, 51, 77, .06);
            border-top: 4px solid #be9349;
        }

        .journey-step {
            color: #b18436;
            font-size: 13px;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 1px;
        }

        .journey-card h4 {
            margin-top: 10px;
            color: #193b59;
            font-weight: 700;
            font-size: 20px;
        }

        .journey-card p {
            color: #748493;
            margin-top: 12px;
            line-height: 1.7;
            margin-bottom: 0;
        }


        /* FINAL MESSAGE */
        .final-message-section {
            padding: 40px 15px 80px;
            background: #f7f9fc;
        }

        .final-message {
            border-radius: 25px;
            padding: 55px 30px;
            background: linear-gradient(135deg, #183753, #245b82);
            color: #fff;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .final-message h2 {
            font-size: 34px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .final-message h2 span {
            color: #f0cf88;
        }

        .final-message p {
            max-width: 760px;
            margin: auto;
            color: rgba(255,255,255,.85);
            font-size: 16px;
            line-height: 1.8;
        }


        /* RESPONSIVE */
        @media (max-width: 991px) {

            .graduation-hero {
                padding: 65px 20px 75px;
            }

            .hero-title {
                font-size: 40px;
            }

            .intro-box {
                padding: 30px;
            }

            .intro-visual {
                margin-top: 25px;
                min-height: 300px;
            }
        }

        @media (max-width: 767px) {

            .graduation-hero {
                border-radius: 0 0 25px 25px;
                padding: 55px 20px 65px;
            }

            .hero-title {
                font-size: 32px;
            }

            .hero-description {
                font-size: 16px;
            }

            .about-content,
            .highlights-section,
            .journey-section {
                padding-top: 55px;
                padding-bottom: 55px;
            }

            .section-title {
                font-size: 28px;
            }

            .intro-box {
                padding: 25px;
            }

            .highlight-card,
            .journey-card {
                margin-bottom: 20px;
            }

            .final-message {
                padding: 40px 20px;
            }

            .final-message h2 {
                font-size: 28px;
            }
        }

        @media (max-width: 480px) {

            .hero-title {
                font-size: 28px;
            }

            .graduation-cap {
                font-size: 60px;
            }

            .visual-title {
                font-size: 22px;
            }

            .section-title {
                font-size: 25px;
            }

            .stat-box {
                padding: 20px 10px;
            }
        }

.confirmation-message {
    text-align: center;
    font-style: italic;
    margin-bottom: 20px;
}

.invitation-details {
    display: flex;
    justify-content: space-between;
}

.info-section p {
    margin-bottom: 10px;
}

.event-details {
    padding: 15px;
    background-color: #fff;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.action-buttons {
    text-align: center;
    margin-top: 20px;
}

.btn-primary {
    padding: 10px 20px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

.qr-code {
    display: block;
    margin: 20px auto;
    width: 150px;
    height: 150px;
}
.student-photo {
    width: 150px;
    height: auto;
    border-radius: 50%;
}
.action-buttons-container {
    display: flex;
    justify-content: flex-start; /* Align buttons to the left */
    gap: 10px; /* Adds space between the buttons */
    flex-wrap: wrap; /* Allows wrapping to the next line if there's not enough space */
    margin: 18px;
}

.action-buttons {
    margin: 0;
}

.btn {
    padding: 10px 20px; /* Adjust the padding as needed */
    font-size: 14px; /* You can adjust the font size if needed */
}
/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Adjust size */
    max-width: 600px;
    text-align: left; /* Left-align the content */
}

/* Close Button */
.close {
    color: #aaa;
    float: right; /* Float the close button to the right */
    font-size: 28px;
    font-weight: bold;
    border: none;
    background: transparent;
    cursor: pointer;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
    }
.rtl-text {
    direction: rtl;
    text-align: right;
}
.center-text {
    text-align: center;
}
/* Mobile Responsiveness */
@media (max-width: 600px) {
    .invitation-container {
        padding: 10px; 
    }

    .invitation-header h1 {
        font-size: 20px; 
    }

    .invitation-details {
        flex-direction: column; 
    }

    .info-section p {
        font-size: 14px; 
    }

    .event-details {
        margin-top: 15px; 
    }

    .action-buttons {
        margin-top: 15px;
    }

    .btn-primary {
        padding: 8px 16px; 
    }

    .qr-code {
        width: 100px; 
        height: 100px;
    }
   
}
