/* Graduation Hero Section */
.graduation-hero {
    min-height: 0 !important;
    height: auto !important;
    max-height: 1000px !important; /* Increased for desktop */
    padding-top: 130px !important;
    padding-bottom: 60px !important; /* Reduced bottom spacing */
    margin: 0 !important; /* remove all margins to reach screen edges */
    display: flex;
    align-items: flex-start; /* do not vertically center, respect paddings */
    justify-content: center; /* keep centered horizontally */
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    position: relative;
    overflow: hidden;
    width: 100vw !important; /* full viewport width */
    margin-left: calc(-50vw + 50%) !important; /* extend to screen edges */
    margin-right: calc(-50vw + 50%) !important; /* extend to screen edges */
    left: 50% !important; /* center positioning */
    transform: translateX(-50%) !important; /* center positioning */
    text-align: center; /* Centered text */
}

.graduation-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="youth" width="25" height="25" patternUnits="userSpaceOnUse"><polygon points="12.5,0 25,12.5 12.5,25 0,12.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23youth)"/></svg>');
    opacity: 0.3;
}

.graduation-hero__container {
  flex: 0 1 800px;
  max-width: 800px;
  width: 100%;
  line-height: 1.7;
  padding: 0 20px; /* safe side padding */
  text-align: center;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  top: 0;
}

.graduation-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.graduation-hero__subtitle {
    font-size: 1.13rem;
    margin-bottom: 2.2rem;
    color: #fff;
}

.graduation-hero__features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    margin: 1.2rem auto 2rem auto;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.feature__icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.feature__text {
    font-weight: 500;
    font-size: 1.1rem;
}

/* removed image column to avoid extra space below hero */

/* Graduation Video Section */
.graduation-video {
    padding: 100px 0;
    background: var(--bg-light);
}

/* Why Choose Graduation Section */
.why-choose-graduation {
    padding: 100px 0;
    background: white;
}

.why-choose-graduation__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-choose-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9b59b6, #8e44ad);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.why-choose-item:hover::before {
    transform: scaleX(1);
}

.why-choose-item__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.why-choose-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #A67C52;
    margin-bottom: 1rem;
}

.why-choose-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Graduation Reviews Section */
.graduation-reviews {
    padding: 100px 0;
    background: var(--bg-light);
}

.graduation-reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-card__content {
    margin-bottom: 1.5rem;
}

.review-card__content p {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
}

.review-card__info h4 {
    font-weight: 600;
    color: #A67C52;
    margin-bottom: 0.25rem;
}

.review-card__info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Graduation Gallery Section */
.graduation-gallery {
    padding: 100px 0;
    background: white;
}

.graduation-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.gallery-item__image-placeholder {
    width: 100%;
    height: 250px;
    background: #f0f0f0;
    position: relative;
}

.gallery-item__info {
    padding: 1.5rem;
    background: white;
}

.gallery-item__info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #A67C52;
    margin-bottom: 0.5rem;
}

.gallery-item__info p {
    color: var(--text-light);
}

/* Work Process Section */
.work-process {
    padding: 100px 0;
    background: var(--bg-light);
}

.work-process__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid #e0e0e0;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.process-step__number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #A67C52;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Graduation CTA Section */
.graduation-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    text-align: center;
}

.graduation-cta__content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.graduation-cta__content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Graduation Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal__content {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.active .modal__content {
    transform: scale(1);
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal__header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #A67C52;
}

.modal__close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.modal__close:hover {
    color: #9b59b6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .graduation-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .graduation-hero__title {
        font-size: 2.5rem;
    }

    .graduation-hero__subtitle {
        font-size: 1rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.4;
        margin-bottom: 1.2rem;
        text-align: center !important;
    }

    .graduation-hero__image-placeholder {
        width: 100%;
        max-width: 350px;
        height: 450px;
    }

    .graduation-hero__features {
        align-items: center;
    }

    .why-choose-graduation__grid,
    .graduation-reviews__grid,
    .graduation-gallery__grid,
    .work-process__grid {
        grid-template-columns: 1fr;
    }

    .graduation-cta__content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
  .graduation-hero__title {
    font-size: 2.5rem;
  }
  
  .graduation-hero__subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
    .graduation-hero__title {
        font-size: 2rem;
    }

    .graduation-hero__subtitle {
        font-size: 1rem;
    }

    .graduation-hero__image-placeholder {
        height: 350px;
    }

    .graduation-cta__content h2 {
        font-size: 1.8rem;
    }
}

/* Additional Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

.process-step__number {
    animation: pulse 2s infinite;
}

.process-step:nth-child(2) .process-step__number {
    animation-delay: 0.5s;
}

.process-step:nth-child(3) .process-step__number {
    animation-delay: 1s;
}

.process-step:nth-child(4) .process-step__number {
    animation-delay: 1.5s;
}

.feature__icon {
    animation: heartBeat 2s infinite;
}

.feature:nth-child(2) .feature__icon {
    animation-delay: 0.5s;
}

.feature:nth-child(3) .feature__icon {
    animation-delay: 1s;
}

/* Hover Effects */
.gallery-item:hover .gallery-item__image-placeholder {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Focus Styles */
.gallery-item:focus-within {
    outline: 2px solid #9b59b6;
    outline-offset: 2px;
} 

.graduation-video-ux {
  background: linear-gradient(120deg, #f8fafc 0%, #f3f4f6 100%);
  padding: 56px 0 48px 0;
}
.video-ux-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 700px) {
  .graduation-video-ux {
    padding: 32px 0 24px 0;
  }
  .video-ux-container video {
    max-width: 100vw;
  }
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .graduation-hero {
    flex-direction: column;
    align-items: center;
    padding-top: 130px !important; /* keep consistent padding */
    padding-bottom: 60px !important; /* consistent bottom padding */
    padding-left: 0 !important; /* remove any left padding */
    padding-right: 0 !important; /* remove any right padding */
    text-align: center !important; /* center all content */
    min-height: auto !important; /* let content determine height */
    max-height: 800px !important; /* Smaller max height for mobile */
  }
  .graduation-hero__container {
    max-width: 100vw;
    padding-left: 20px; /* add small side padding for text readability */
    padding-right: 20px; /* add small side padding for text readability */
    text-align: center !important;
    top: 0;
    padding-top: 0; /* remove extra top padding */
    margin: 0 auto; /* center the text container */
  }
  /* .graduation-hero__title font-size removed to match weddings */
  .graduation-hero__subtitle {
    font-size: 1rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    text-align: center !important;
  }
} 