:root {
    --color-primary: #FF5722;
    --color-text: #000000;
    --color-bg: #F5F5F5;
    --container-width: 1400px;
    --font-family: 'Manrope', sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.5;
    background: linear-gradient(180deg, #D6DFE1 0%, #F7F8FB 9.12%);
    transition: background 0.3s ease;
}

/* Для Chrome, Edge, Safari */
.modal-content::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #daecff;
  border-radius: 3px;
}
.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

/* Для Firefox */
.modal-content {
  scrollbar-width: thin;
  scrollbar-color: #FF5D15 transparent;
}

body.modal-open {
    overflow: hidden;
}
article {
    margin-top: 2rem;
}
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}
.hero__content {
    margin-top: 40px;
}
/* Status message */
.form-status {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.form-status.success {
    background: #dff0d8;
    color: #3c763d;
}

.form-status.error {
    background: #f2dede;
    color: #a94442;
}

/* Header */
.header {
    padding: 12px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100; /* Ensure header is above modal when closed */
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    color: var(--color-primary);
    font-weight: 700;
    height: 20px;
}

.logo img {
    max-width: 120px;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav__link {
    color: var(--color-text);
    text-decoration: none;
}

/* Buttons */
.button {
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--font-family);
}

.button--primary {
    background: #FF5D15;
    color: white;
    font-size: 1.1rem;
    border-radius: 15px;
    padding: 12px 24px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.button--outline {
    background: transparent;
    border: 1px solid #111;
    color: #111;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 400;
}

.button--dark {
    background: #000;
    color: white;
    border-radius: 15px;
    padding: 12px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    color: black;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(https://dgacademy.ru/upload/medialibrary/626/7rx7ye3hkllswgb2rcxa83sd9wy04jhj.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.33;
    z-index: -1;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__year {
    color: #FF5722;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.hero__year span {
    color: #111;
    font-size: 1.2rem;
}
.hero__title {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: black;
}
.hero__title span{
    color: #FF5722;
}
.hero__text {
    font-size: 16px;
    margin-bottom: 30px;
    color: black;
}

.hero__image {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero__image img {
    height: 600px;
    object-fit: contain;
}

.hero__actions {
    display: grid;
    gap: 20px;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.hero__note {
    font-size: 14px;
}

/* Ticker */
.ticker {
    background: linear-gradient(90deg, #FF5722 0%, #FF9800 100%);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    font-weight: 700;
}

.ticker__wrapper {
    display: flex;
    animation: ticker var(--animation-duration, 20s) linear infinite; /* Use CSS variable for duration */
    white-space: nowrap;
}

.ticker__item {
    white-space: nowrap;
    padding: 0 20px;
    display: inline-block; /* Important for accurate width calculation */
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Translate 50% because we doubled the content */
}
.about {
  margin-top: 40px;
}
.about__title {
  font-size: 44px;
}
/* Benefits Section */
.benefits {
    padding: 60px 0;
}

.benefits__title {
    text-align: left;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 900;
    color: #000;
}

.benefits__grid {
    display: grid;
    grid-template-columns: 1fr; /* One column grid */
    gap: 20px; /* Vertical gap between items */
    margin-bottom: 40px;
}

.benefit-item {
    display: grid;
    grid-template-columns: 40px 1fr; /* Number column (auto width) and content column (fills rest) */
    gap: 20px; /* Gap between number and content */
    align-items: center; /* Align items to the top */
}

.benefit-item__number {
    color: var(--color-primary);
    font-size: 72px; /* Large number */
    font-weight: 900;
    line-height: 1; /* Adjust line-height */

}

.benefit-item__content {
    background: white;
    padding: 30px; 
    border-radius: 1rem; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    width: 100%; 
    border: 2px solid;
}

.benefit-item__content h3 {
    color: #000;
    margin-bottom: 10px; /* Reduced margin below heading */
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}

.benefit-item__content p {
    font-size: 16px;
    color: #333; /* Slightly darker text for better readability */
}

.benefits__footer {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 40px;
}

/* Steps Section */
.steps {
    background: #f8f8f8;
    border-radius: 40px;

}

.steps__grid {
    display: grid;
    gap: 30px; /* Increased gap for two columns */
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 25px;
    background: white;
    align-items: center;
    border-radius: 1rem;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step__number {
    width: 50px;
    height: 80px;
    color: #FF5D15;
    font-size: 48px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step__content h3 {
    color: #111;
    margin-bottom: 10px;
    font-weight: 700;
}

.step:hover {
    background: linear-gradient(95.39deg, #FF5D15 12.03%, #FF9D00 104.29%); /* Apply gradient on hover */
    color: white; /* Change text color to white on hover */
}

.step:hover .step__number {
    color: white; /* Change number color to white on hover */
}

.step:hover .step__content h3 {
    color: white; /* Change heading color to white on hover */
}

.steps__footer {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    border-radius: 8px;
}

.steps__footer h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.steps__footer p {
    margin-bottom: 20px;
}

/* Jury Section */
.jury {
    padding: 60px 0;
    text-align: left;
}

.jury__title {
    font-size: 2rem;
    line-height: 2.2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 900;
}

.jury__title span {
    color: var(--color-primary);
}

/* Cases Section */
.cases {
    padding: 60px 0;
}

.cases__title {
    font-size: 36px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 900;
}

.cases__subtitle {
    margin-bottom: 40px;
}

.cases-wrapper {
    position: relative; /* Needed for positioning navigation absolutely */
    padding: 0 50px; /* Add padding to make space for arrows */
    margin-bottom: 40px;
}

.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    height: 100%;
}

.case-card__images {
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-card__images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2rem;
    height: 280px;
}

.case-card__content {
    padding: 0;
}

.case-card__content h3 {
    margin-bottom: 20px;
    font-weight: 700;
}

.case-card__label {
    font-weight: bold;
    margin-bottom: 10px;
}

.case-card__actions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.case-card__votes {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.cases__footer {
    margin-top: 40px;
    max-width: 420px;
    font-weight: 700;
}

.cases-slider {
    position: relative;
    overflow: hidden;
}

.cases-slider__container {
    display: flex;
    width: 100%;
    cursor: grab; /* Indicate draggable */
}

.cases-slider__container.dragging {
    cursor: grabbing; /* Indicate being dragged */
}

.cases-slider__slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px; /* Add some padding for spacing between slides */
    user-select: none; /* Prevent text selection during drag */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -webkit-touch-callout: none; /* Prevent iOS callout menu */
    -webkit-user-drag: none; /* Prevent iOS object dragging */
}

.cases-slider__slide img {
    pointer-events: none; /* Prevent image drag behavior */
}

.cases-slider__navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%; /* Still span the width of the container (wrapper) */
    pointer-events: none; /* Clicks pass through */
    z-index: 10;
}

.cases-slider__button {
    background: rgba(255, 87, 34, 0.2);
    color: var(--color-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    pointer-events: auto; /* Clicks are captured by the buttons */
    z-index: 10; /* Ensure buttons are above slides */
}

.cases-slider__navigation .cases-slider__button {
    pointer-events: auto;
}

/* Jury */

.jury-section {
    background: #fff;
    border-radius: 2rem;
    margin: 0 auto;
    max-width: 1340px;
    padding: 2rem;
}

.jury-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 900;
    color: #000;
    text-align: left;
    position: relative;
    padding-bottom: 15px;
}

.jury-title span {
    color: var(--color-primary);
    display: inline;
}

.jury-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, #FF5722 0%, #FF9800 100%);
    border-radius: 3px;
}

.jury-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.jury-member {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
}

.member-image {
    width: 160px;
    height: 220px;
    border-radius: 1rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #FF5722;
    padding: 1rem 0 0;
}

.member-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-details h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.member-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.member-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .page-container {
        padding: 50px 40px;
    }
    .jury-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .jury-title {
        font-size: 24px;
        padding-bottom: 10px;
        margin-bottom: 30px;
    }
    .jury-title::after {
        width: 100px;
    }
    .jury-member {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    .member-image {
        margin: 0 auto;
    }
    .member-details ul {
        text-align: left;
        display: inline-block;
    }
}

/* Nominations Section */
.nominations {
    padding: 60px 0;
}

.nominations__title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
}

.nominations__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.nomination-card {
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 900;
}

.nominations__footer {
    text-align: center;
}

/* Courses Section */
.courses {
    padding: 60px 0;
    background: linear-gradient(95.39deg, #FF5D15 12.03%, #FF9D00 104.29%);
    color: white;
    border-radius: 80px 6px 40px 40px;
    margin: 40px auto;
    max-width: 1500px;
}

.courses__title {
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.courses__subtitle {
    margin-bottom: 40px;
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.course-card {
    background: rgba(255, 255, 255, 0.99);
    padding: 24px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    align-items: center;
    color: #111;
}

.course-card__icon {
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.course-card__icon img {
    width: 40px;
}

.course-card_description h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
}

.courses__action {
    text-align: center;
}

.courses .button--outline {
    border-color: white;
    background: white;
    color: #FF5D15;
    font-weight: 700;
    padding: .6rem 3rem;
    border-radius: 10px;
}

/* CTA Section */
.cta {
    padding: 60px 0;
    text-align: center;
}

.cta__title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 900;
}

.cta__subtitle {
    margin-bottom: 30px;
}

/* Footer Section */
.footer {
    padding: 40px 0;
    background: var(--color-bg);
}

.footer__grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer__contacts h3,
.footer__social h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer__contacts p {
    margin-bottom: 10px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link img {
    width: 40px;
    height: 40px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer__copyright {
    color: #666;
    font-size: 14px;
}

.footer__links {
    display: flex;
    gap: 20px;
}

.footer__links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.footer__links a:hover {
    color: var(--color-primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    /* Initial hidden state */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
    visibility: visible;
    opacity: 1;
    /* Add backdrop blur effect */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    max-width: 800px; /* Increased width */
    width: 95%; /* Take up 95% of parent width, up to max-width */
    max-height: 90vh; /* Limit height to prevent overflow */
    overflow-y: auto; /* Add scroll if content is too tall */
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}

.modal-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

.registration-form .form-group {
    margin-bottom: 15px; /* Reduced spacing between form groups */
}

.registration-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

.registration-form input[type="text"],
.registration-form input[type="date"],
.registration-form input[type="email"],
.registration-form input[type="tel"],
.registration-form input[type="number"],
.registration-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-family);
    /* Remove default focus outline */
    outline: none;
    /* Add a subtle focus effect if desired, e.g., a slight border color change or shadow */
    transition: border-color 0.2s ease;
}

.registration-form input[type="text"]:focus,
.registration-form input[type="date"]:focus,
.registration-form input[type="email"]:focus,
.registration-form input[type="tel"]:focus,
.registration-form input[type="number"]:focus,
.registration-form select:focus {
    border-color: var(--color-primary); /* Optional: Change border color on focus */
     box-shadow: 0 0 5px rgba(255, 87, 34, 0.3); /* Optional: Add a subtle box shadow on focus */
}

.registration-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 18px;
    margin-top: 30px;
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50; /* Green background */
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 1001; /* Above modal */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.notification.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (min-width: 1025px) { /* Apply 2-column grid on larger screens */
    .steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .header__container {
        grid-template-columns: auto 1fr auto;
    }
    
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .button--outline {
        display: none;
    }
    
    .benefits__grid {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }
    .cases-wrapper {
        padding: 0 30px; /* Adjust padding for smaller screens */
    }
    .cases-slider__slide {
        padding: 0 5px; /* Adjust padding for smaller screens */
    }
    .benefit-item__number {
         font-size: 60px; /* Adjust number size */

         width: 40px
     }
     .benefit-item__content {
         padding: 15px 20px; /* Adjust padding */
     }
      .benefit-item__content h3 {
        font-size: 16px; /* Adjust heading size */
     }
     .benefit-item__content p {
        font-size: 14px; /* Adjust paragraph size */
     }
}

@media (max-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr;
        padding-top: 3rem;
    }
    
    .hero__image {
        order: 1;
    }
    
    .hero__image img {
        width: 100%;
        height: auto;
    }
    
    .benefits__grid {
        grid-template-columns: 1fr;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step__number {
        margin: 0 auto;
    }
    
    .case-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-card__content {
        padding: 0;
    }
    
    .nominations__grid {
        grid-template-columns: 1fr;
    }
    
    .courses__grid {
        grid-template-columns: 1fr;
    }
    
    .courses__title {
        font-size: 28px;
    }
    
    .footer__grid,
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer__links {
        justify-content: center;
    }
    
    .hero__actions {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 20px; /* Adjust padding for smaller screens */
        max-width: 95%; /* Adjust max-width for smaller screens */
    }

    .modal-title {
        font-size: 20px;
    }

    .cases-wrapper {
        padding: 0 20px; /* Adjust padding for smaller screens */
    }
    .benefit-item {
        grid-template-columns: auto 1fr; /* Keep side-by-side layout */
        gap: 15px; /* Reduce gap */
        align-items: center;
    }

     .benefit-item__number {
         font-size: 50px; /* Further adjust number size */
         padding-top: 0;
     }
     .benefit-item__content {
         padding: 10px 15px; /* Further adjust padding */
         border-radius: 8px;
     }
      .benefit-item__content h3 {
        font-size: 14px; /* Further adjust heading size */
     }
     .benefit-item__content p {
        font-size: 12px; /* Further adjust paragraph size */
     }
     .benefits__title {
        font-size: 28px; /* Adjust benefits title size */
        margin-bottom: 30px;
     }
     .benefits__footer {
        font-size: 1.5rem; /* Adjust benefits footer size */
     }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .cases-slider__button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .cases-wrapper {
        padding: 0 10px; /* Adjust padding for very small screens */
    }
    .benefit-item {
        grid-template-columns: auto 1fr; /* Keep side-by-side layout */
        gap: 10px; /* Reduce gap */
    }
    .benefit-item__number {
        font-size: 40px; /* Further adjust number size */
    }
     .benefit-item__content {
         padding: 8px 12px; /* Further adjust padding */
         border-radius: 6px;
     }
      .benefit-item__content h3 {
        font-size: 12px; /* Further adjust heading size */
     }
     .benefit-item__content p {
        font-size: 10px; /* Further adjust paragraph size */
     }
     .benefits__title {
        font-size: 24px; /* Adjust benefits title size */
     }
     .benefits__footer {
        font-size: 1.2rem; /* Adjust benefits footer size */
     }
}






/* Personal Account Styles */
.personal-account {
    padding: 60px 0;
}

.account__title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: #111;
}

.account-section {
    margin-bottom: 50px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd; /* Subtle border */
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-primary);
    text-align: center;
}

/* User Info Styles */
.user-info-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.user-info-card p {
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.user-info-card p:last-child {
    border-bottom: none;
}

/* Video Materials Styles */
.video-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-item {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for thumbnail */
    background-color: #ddd; /* Placeholder background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the area */
}

.video-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.video-details h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.video-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1; /* Push the button to the bottom */
}

.video-details .button {
    align-self: flex-start; /* Align button to the start */
}

.show-more-container {
    text-align: center;
    margin-top: 30px;
}

/* Upload Case Form Styles */
.upload-case-form .form-group {
    margin-bottom: 20px;
}

.upload-case-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.upload-case-form input[type="text"],
.upload-case-form textarea,
.upload-case-form input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.2s ease;
}

.upload-case-form input[type="text"]:focus,
.upload-case-form textarea:focus,
.upload-case-form input[type="file"]:focus {
     border-color: var(--color-primary);
     box-shadow: 0 0 5px rgba(255, 87, 34, 0.3);
}

.upload-case-form textarea {
    resize: vertical; /* Allow vertical resizing */
}

.upload-case-form input[type="file"] {
    padding: 12px 0; /* Adjust padding for file input */
    border: none; /* Remove border for file input */
    box-shadow: none; /* Remove shadow for file input */
    border-radius: 0;
}

.upload-case-form input[type="file"]::file-selector-button {
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 15px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.upload-case-form input[type="file"]::file-selector-button:hover {
    background: #e64a19; /* Darker shade on hover */
}

.upload-case-form button[type="submit"] {
    display: block;
    width: auto; /* Allow button to size based on content */
    padding: 12px 30px; /* Adjust padding */
    font-size: 18px;
    margin-top: 30px;
}

/* Responsive adjustments for personal account */
@media (max-width: 768px) {
    .account__title {
        font-size: 22px;
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .user-info-card {
        grid-template-columns: 1fr; /* Stack info items on smaller screens */
    }
    .video-list {
        grid-template-columns: 1fr; /* Stack video items on smaller screens */
    }
    .video-thumbnail {
         height: 180px; /* Adjust thumbnail height */
    }

    .account-section {
        padding: 20px; /* Reduce padding */
        border-radius: 15px;
    }

     .upload-case-form button[type="submit"] {
         width: 100%; /* Full width button on small screens */
     }
}

@media (max-width: 480px) {
    .account__title {
        font-size: 20px;
    }
    .section-title {
        font-size: 20px;
    }
    .video-thumbnail {
         height: 150px; /* Further adjust thumbnail height */
    }
    .video-details h3 {
        font-size: 16px;
    }
    .video-details p {
        font-size: 12px;
    }
     .upload-case-form label {
        font-size: 14px;
     }
      .upload-case-form input[type="text"],
      .upload-case-form textarea,
      .upload-case-form input[type="file"] {
        font-size: 14px;
        padding: 10px;
     }
     .upload-case-form button[type="submit"] {
         font-size: 16px;
         padding: 10px 20px;
     }
}