/* SPbGEU Brand Colors and Typography */
:root {
    --primary-turquoise: #009B8F;
    --primary-purple: #7C338C;
    --primary-lime: #8DC63F;
    --gradient-primary: linear-gradient(135deg, var(--primary-turquoise), var(--primary-purple));
    --gradient-secondary: linear-gradient(135deg, var(--primary-turquoise), var(--primary-lime));
    --gradient-hover: linear-gradient(135deg, var(--primary-purple), var(--primary-turquoise));
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 16px;
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    --gradient-faq: linear-gradient(135deg, var(--primary-turquoise) 0%, var(--primary-purple) 100%);
    
    /* Star positioning variables */
    --star-width: 500px;
    --star-top: 0px;
    --star-right: 0px;
    --star-left: auto;
    --star-bottom: auto;
    --star-translate-x: 0;
    --star-translate-y: 0;
    /* Girl positioning variables */
    --girl-width: 950px;
    --girl-top: 55%;
    --girl-left: 1400px;
    --girl-right: auto;
    --girl-bottom: auto;
    --girl-translate-x: -50%;
    --girl-translate-y: -50%;
    /* Left side star and girl positioning variables (mirrored) */
    --star-left-width: 500px;
    --star-left-top: 0px;
    --star-left-left: 1px;
    --star-left-right: auto;
    --star-left-bottom: auto;
    --star-left-translate-x: 0;
    --star-left-translate-y: 0;
    --girl-left-width: 930px;
    --girl-left-top: 57%;
    --girl-left-left: 400px;
    --girl-left-right: auto;
    --girl-left-bottom: auto;
    --girl-left-translate-x: -50%;
    --girl-left-translate-y: -50%;
}

/* Typography */
@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/CenturyGothic.woff2') format('woff2'),
         url('../fonts/CenturyGothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    font-family: 'Century Gothic', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: -1;
    background: 
        radial-gradient(circle at 100% 50%, transparent 20%, rgba(255,255,255,0.3) 21%, rgba(255,255,255,0.3) 34%, transparent 35%, transparent),
        radial-gradient(circle at 0% 50%, transparent 20%, rgba(255,255,255,0.3) 21%, rgba(255,255,255,0.3) 34%, transparent 35%, transparent) 0 -50px;
    background-color: transparent;
    background-size: 75px 100px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Century Gothic', Arial, sans-serif;
    font-weight: bold;
    color: var(--primary-turquoise);
}

.text-block {
    font-family: 'PT Serif', serif;
}

/* Header Styles */
.header {
    background: var(--gradient-primary);
    color: white;
}

.nav-link {
    color: var(--primary-turquoise);
    font-family: 'Century Gothic', Arial, sans-serif;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-purple);
}

/* Buttons */
.btn-primary {
    background: var(--primary-turquoise);
    border-color: var(--primary-turquoise);
    color: white;
    font-family: 'Century Gothic', Arial, sans-serif;
    transition: var(--transition);
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    font-size: 0.95rem;
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: #00b3a3 !important;
    border-color: #00b3a3 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 155, 143, 0.3);
    filter: brightness(105%);
}

.btn-secondary {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
    transition: var(--transition);
    padding: 1rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background-color: var(--primary-turquoise);
    border-color: var(--primary-turquoise);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.btn-outline {
    border: 2px solid var(--primary-turquoise);
    color: var(--primary-turquoise);
    background: transparent;
    transition: var(--transition);
    padding: 1rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background-color: var(--primary-turquoise);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

/* Main Navigation Buttons */
.main-nav .btn-primary {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.main-nav .btn-primary:hover {
    background-color: #00b3a3 !important;
    border-color: #00b3a3 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 155, 143, 0.3);
}

/* Card Buttons */
.card .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Action Buttons in Activities */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.action-buttons .btn-primary {
    background: var(--primary-turquoise);
    border: none;
    color: white;
}

.action-buttons .btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-turquoise);
    color: var(--primary-turquoise);
}

.action-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.action-buttons .btn-primary:hover {
    background: #008478;
    color: white;
}

.action-buttons .btn-outline-primary:hover {
    background: var(--primary-turquoise);
    border-color: var(--primary-turquoise);
    color: white;
}

.action-buttons .btn:active {
    transform: translateY(-1px);
    box-shadow: var(--box-shadow);
}

/* Login Button Specific Styles */
.login-btn .btn-primary {
    background-color: white;
    border: 2px solid var(--primary-turquoise);
    color: var(--primary-turquoise);
    transition: all 0.5s ease;
    padding: 1rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.login-btn .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-turquoise);
    transition: all 0.5s ease;
    z-index: -1;
}

.login-btn .btn-primary:hover {
    color: white;
    border-color: var(--primary-turquoise);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-btn .btn-primary:hover::before {
    left: 0;
}

/* Section Backgrounds */
.section-gradient {
    background: var(--gradient-secondary);
    color: white;
    position: relative;
    z-index: 1;
}

.bg-light {
    background-color: rgba(248, 249, 250, 0.7) !important;
}

/* Cards */
.card {
    border-color: var(--primary-turquoise);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #007B6C 0%, #7C338C 100%);
    color: white;
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 5px 0;
    position: relative;
    font-weight: 500;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: white;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

/* About Page Refresh */
.about-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background-blend-mode: multiply;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 35%),
                radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.12), transparent 40%),
                linear-gradient(135deg, rgba(0, 155, 143, 0.25), rgba(124, 51, 140, 0.2));
    pointer-events: none;
}

.about-hero h1 {
    text-shadow: none;
}

.about-hero p {
    max-width: 960px;
}

.about-text-panel {
    background: linear-gradient(180deg, rgba(0,155,143,0.06) 0%, rgba(255,255,255,0.95) 100%);
    border: 1px solid rgba(0,155,143,0.12);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.about-intro .card {
    border-radius: 18px;
    border: 1px solid rgba(0, 155, 143, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.directions-card {
    display: flex;
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 18px 30px rgba(0,0,0,0.1);
}

.directions-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.about-intro {
    position: relative;
    background: radial-gradient(circle at 20% 20%, rgba(0,155,143,0.04), transparent 35%),
                radial-gradient(circle at 80% 0%, rgba(124,51,140,0.05), transparent 40%),
                linear-gradient(180deg, rgba(0,155,143,0.02) 0%, rgba(255,255,255,1) 100%);
}

.about-media-stack {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
}

.about-photo {
    position: absolute;
    width: 90%;
    max-width: 360px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.6);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-one {
    top: 0;
    left: 0;
    transform: translate(-8%, 10%) rotate(-2deg);
}

.photo-two {
    bottom: -60px;
    right: 0;
    transform: translate(18%, 8%) rotate(2deg);
}

.about-media-stack .directions-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    margin-top: 220px;
}

.about-stats {
    background: linear-gradient(180deg, rgba(0,155,143,0.05) 0%, rgba(124,51,140,0.04) 100%);
}

.about-stat-card {
    border: 1px solid rgba(0, 155, 143, 0.12);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.07);
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.92) 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.12);
}

.about-goal .goal-card {
    backdrop-filter: blur(8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
    border-radius: 22px;
}

.about-participation .activity-item {
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.9) 100%);
}

.participation-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 340px;
}

.arrow-list {
    list-style: none;
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.arrow-list li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.6rem;
}

.arrow-list li::before {
    content: '➜';
    position: absolute;
    left: -1rem;
    color: var(--primary-turquoise);
    font-weight: 700;
}

.about-participation .row > [class*=col-] .activity-item {
    width: 100%;
}
/* Service Icons */
.service-icon {
    font-size: 1.5rem;
    color: var(--primary-turquoise);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(0, 155, 143, 0.1);
}

/* Events Section */
.event-date {
    color: var(--primary-purple);
    font-family: 'Century Gothic', Arial, sans-serif;
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: #fff;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: var(--light-gray);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 155, 143, 0.15);
}

.faq-item button {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border: 1px solid rgba(0, 155, 143, 0.1);
    position: relative;
    font-weight: 500;
    color: var(--primary-turquoise);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item button:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 155, 143, 0.1);
}

.faq-item button::after {
    display: none !important;
}

.faq-item button[aria-expanded="true"] {
    background-color: #f1f3f4 !important;
    color: #222 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.faq-item .collapse {
    border: 1px solid rgba(0, 155, 143, 0.1);
    border-top: none;
    background: white;
}

.faq-item .collapse-body {
    padding: 1.5rem;
    color: #555;
    line-height: 1.6;
}

/* Обновляем стили для всех вопросов, чтобы они использовали фирменные цвета */
.faq-item:nth-child(1) button,
.faq-item:nth-child(2) button,
.faq-item:nth-child(3) button,
.faq-item:nth-child(4) button {
    color: var(--primary-turquoise);
}

.faq-item:nth-child(1) button::after,
.faq-item:nth-child(2) button::after,
.faq-item:nth-child(3) button::after,
.faq-item:nth-child(4) button::after {
    border-color: var(--primary-turquoise);
}

.faq-item:nth-child(1) button[aria-expanded="true"],
.faq-item:nth-child(2) button[aria-expanded="true"],
.faq-item:nth-child(3) button[aria-expanded="true"],
.faq-item:nth-child(4) button[aria-expanded="true"] {
    background: var(--primary-turquoise);
    color: white;
}

.faq-item:nth-child(1) button[aria-expanded="true"]::after,
.faq-item:nth-child(2) button[aria-expanded="true"]::after,
.faq-item:nth-child(3) button[aria-expanded="true"]::after,
.faq-item:nth-child(4) button[aria-expanded="true"]::after {
    border-color: white;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-turquoise);
    box-shadow: 0 0 0 0.2rem rgba(0, 155, 143, 0.25);
}

/* Social Media Icons */
.social-icons a {
    color: var(--primary-turquoise);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-purple);
}

/* Animations */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .main-nav .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

.nav-cta {
    width: 220px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
}

/* Accessibility */
:focus {
    outline: 3px solid var(--primary-turquoise);
    outline-offset: 2px;
}

/* General Styles */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
}

/* Header Styles */
header {
    border-bottom: 1px solid #eee;
}

/* Association Title */
.association-title img {
    max-width: 200px;
    height: auto;
}

.association-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-turquoise);
}

/* Leadership Section */
.leadership {
    padding: 4rem 0;
    background: #fff;
}

.leadership-photo {
    width: 100%;
    max-width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    object-position: center 4%;
    transition: transform 0.3s ease;
}

.leadership-photo:hover {
    transform: scale(1.02);
}

.leadership-quote {
    padding: 2rem;
}

.leadership-quote h3 {
    color: var(--primary-turquoise);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leadership-quote p {
    color: #495057;
    line-height: 1.8;
}

.leadership-quote .quote-text {
    font-size: 1rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-turquoise);
}

@media (max-width: 768px) {
    .leadership .row {
        text-align: center;
    }
    
    .leadership-photo {
        margin-bottom: 2rem;
    }
    
    .leadership-quote {
        padding: 1rem;
    }
}

/* Activities Section Improvements */
.activities {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.activity-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.activity-item:hover::before {
    transform: scaleX(1);
}

.activity-item h3 {
    color: var(--primary-turquoise);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.activity-item h3::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 3px;
    background: var(--primary-turquoise);
    margin-right: 1rem;
    transition: width 0.3s ease;
}

.activity-item:hover h3::before {
    width: 50px;
}

.activity-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.activity-item ul {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.activity-item ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.activity-item ul li::before {
    content: '→';
    position: absolute;
    left: -1rem;
    color: var(--primary-turquoise);
    transition: transform 0.3s ease;
}

.activity-item:hover ul li::before {
    transform: translateX(5px);
}

.activity-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.15);
    transform: translateZ(0);
    height: 280px;
    background: linear-gradient(135deg, rgba(0, 155, 143, 0.08), rgba(124, 51, 140, 0.08));
}

.activity-media::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 155, 143, 0.15), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(124, 51, 140, 0.15), transparent 45%);
    filter: blur(18px);
    z-index: 0;
}

.activity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.activity-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    z-index: 1;
}

.activity-item:hover .activity-media img {
    transform: scale(1.04);
}

.activity-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 155, 143, 0.9);
    color: white;
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 18px rgba(0, 155, 143, 0.3);
    z-index: 2;
}

.activity-badge.purple {
    background: rgba(124, 51, 140, 0.9);
    box-shadow: 0 8px 18px rgba(124, 51, 140, 0.25);
}

.activity-badge.green {
    background: rgba(141, 198, 63, 0.9);
    box-shadow: 0 8px 18px rgba(141, 198, 63, 0.25);
}

/* Upcoming Events Section Improvements */
.upcoming-events {
    position: relative;
    overflow: hidden;
}

.upcoming-events::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 155, 143, 0.03) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* University Support Section Improvements */
.university-support {
    position: relative;
    background-color: var(--light-gray);
}

.university-support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
}

.university-support .container {
    position: relative;
    z-index: 1;
}

.university-support h2 {
    color: var(--primary-turquoise);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.university-support h2::after {
    content: none;
}

.university-support p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.university-support a:not(.btn) {
    color: var(--primary-turquoise);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.university-support a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-turquoise);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.university-support a:not(.btn):hover {
    color: var(--primary-purple);
}

.university-support a:not(.btn):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Gallery Improvements */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Action Buttons Improvements */
.action-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.action-buttons .btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-buttons .btn-primary {
    background: var(--primary-turquoise);
    border: none;
}

.action-buttons .btn-outline-primary {
    border: 2px solid var(--primary-turquoise);
    color: var(--primary-turquoise);
}

.action-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .leadership-photo {
        width: 250px;
        height: 250px;
        margin: 0 auto 2rem;
    }

    .activity-item {
        padding: 1.5rem;
    }

    .activity-item h3 {
        font-size: 1.5rem;
    }

    .university-support h2 {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide {
    from { 
        transform: translateX(-50%) rotate(5deg); 
    }
    to { 
        transform: translateX(50%) rotate(5deg); 
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 6rem 0 4rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .footer {
        padding: 3rem 0 2rem;
    }
}

/* Social Icons for Unecon Career */
.social-icons-unecon {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 15px 0;
}

.social-icons-unecon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-turquoise);
    color: white;
    transition: var(--transition);
}

.social-icons-unecon a:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
}

.social-icons-unecon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.service-card .social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.service-card .social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--light-gray);
    color: var(--primary-turquoise);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
    width: fit-content;
    border: none;
}

.service-card .social-links a:hover {
    background: var(--primary-turquoise);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-card .social-links i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* Support Page Header */
.support-header {
    position: relative;
    background: var(--primary-turquoise);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.support-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 155, 143, 0.95) 0%, rgba(124, 51, 140, 0.95) 100%);
    z-index: 1;
}

.support-header h1 {
    position: relative;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.support-header .container {
    position: relative;
    z-index: 2;
}

/* Services List */
.services-list {
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: white;
}

.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-turquoise);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item:hover::before {
    opacity: 1;
}

.service-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-turquoise);
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    clear: both;
}

.services.py-5,
.alumni-services.py-5 {
    position: relative;
    z-index: 1;
}

.services.py-5::before,
.alumni-services.py-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(248, 249, 250, 0.8), rgba(255, 255, 255, 0.8));
    z-index: -1;
}

@media (max-width: 768px) {
    .service-item {
        padding: 1.75rem;
        /* Центрируем карточки на мобильных */
        margin: 0 auto 1rem;
    }
    
    .service-title {
        font-size: 1.25rem;
        padding-right: 25px;
    }
    
    .service-item p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Services Sections Styles */
.services, .alumni-services {
    position: relative;
    overflow: hidden;
}

.alumni-services .col-md-6:last-child {
    margin-left: auto;
    padding-left: 4rem;
    margin-right: -2rem;
}

@media (max-width: 768px) {
    /* На мобильных убираем сдвиг правой колонки, чтобы карточки были по центру */
    .alumni-services .col-md-6:last-child {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
    }
}

.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-decoration {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.services-left .section-decoration {
    justify-content: flex-start;
}

.services-right .section-decoration {
    justify-content: flex-end;
}

.decoration-line {
    height: 2px;
    background: var(--primary-turquoise);
    flex-grow: 1;
    max-width: 150px;
}

.services-left .decoration-line {
    margin-left: 1rem;
}

.services-right .decoration-line {
    margin-right: 1rem;
}

.decoration-icon {
    font-size: 2rem;
    color: var(--primary-turquoise);
}

.service-icon {
    font-size: 1.5rem;
    color: var(--primary-turquoise);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(0, 155, 143, 0.1);
}

.service-item:hover .service-icon {
    transform: scale(1.2) rotate(360deg);
    background-color: var(--primary-turquoise);
    color: white;
}

.services-left .service-item {
    padding-right: 2rem;
    border-right: 3px solid transparent;
    margin-right: 1rem;
}

.services-right .service-item {
    padding-left: 2rem;
    border-left: 3px solid transparent;
    text-align: right;
    margin-left: 1rem;
}

.services-left .service-item:hover {
    border-right-color: var(--primary-turquoise);
    transform: translateX(-10px);
}

.services-right .service-item:hover {
    border-left-color: var(--primary-turquoise);
    transform: translateX(10px);
}

.services-right .service-icon {
    float: right;
    margin-left: 1rem;
}

.services-left .service-icon {
    float: left;
    margin-right: 1rem;
}

.decoration-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.star-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star-image {
    position: absolute;
    max-width: var(--star-width, 400px);
    height: auto;
    top: var(--star-top, 50px);
    right: var(--star-right, 50px);
    left: var(--star-left, auto);
    bottom: var(--star-bottom, auto);
    transform: translate(var(--star-translate-x, 0), var(--star-translate-y, 0));
    z-index: 1;
}

.girl-image {
    position: absolute;
    max-width: var(--girl-width, 400px);
    height: auto;
    top: var(--girl-top, 50%);
    left: var(--girl-left, 50%);
    right: var(--girl-right, auto);
    bottom: var(--girl-bottom, auto);
    transform: translate(var(--girl-translate-x, -50%), var(--girl-translate-y, -50%));
    z-index: 2;
}

.star-decoration-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star-image-left {
    position: absolute;
    max-width: var(--star-left-width, 400px);
    height: auto;
    top: var(--star-left-top, 50px);
    left: var(--star-left-left, 50px);
    right: var(--star-left-right, auto);
    bottom: var(--star-left-bottom, auto);
    transform: translate(var(--star-left-translate-x, 0), var(--star-left-translate-y, 0));
    z-index: 1;
}

.girl-image-left {
    position: absolute;
    max-width: var(--girl-left-width, 400px);
    height: auto;
    top: var(--girl-left-top, 50%);
    left: var(--girl-left-left, 50%);
    right: var(--girl-left-right, auto);
    bottom: var(--girl-left-bottom, auto);
    transform: translate(var(--girl-left-translate-x, -50%), var(--girl-left-translate-y, -50%));
    z-index: 2;
}



.decoration-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(var(--primary-turquoise) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-left .service-item,
    .services-right .service-item {
        margin: 0 0 1rem 0;
        text-align: left;
    }

    .services-right .service-icon {
        float: left;
        margin-right: 1rem;
        margin-left: 0;
    }

    .decoration-image {
        margin: 2rem 0;
        overflow: hidden;
    }

    /* На мобильных полностью скрываем звезду star1.png */
    .star-image {
        display: none;
    }

    /* На мобильных полностью скрываем иллюстрацию girl1.svg */
    .girl-image {
        display: none;
    }

    /* На мобильных полностью скрываем звезду star2.png */
    .star-image-left {
        display: none;
    }

    /* На мобильных полностью скрываем иллюстрацию girl2.svg */
    .girl-image-left {
        display: none;
    }

    .composite-image {
        max-width: 80%;
        margin: 0 auto;
    }

    .foreground-girl {
        width: 60%;
    }

    .section-header.text-end {
        text-align: left !important;
    }

    .services-right .section-decoration {
        justify-content: flex-start;
    }

    .services-right .decoration-line {
        margin-left: 1rem;
        margin-right: 0;
    }
}

/* Event Section Button Styles */
.upcoming-events .btn {
    background-color: var(--primary-turquoise);
    color: white;
    border: 2px solid var(--primary-turquoise);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.upcoming-events .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.upcoming-events .btn:hover {
    color: var(--primary-turquoise);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 155, 143, 0.2);
}

.upcoming-events .btn:hover::before {
    transform: translateX(0);
}

.upcoming-events .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 155, 143, 0.2);
}

/* Event Cards Improvements */
.event-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 155, 143, 0.1);
}

.event-card:hover {
    border-color: var(--primary-turquoise);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 155, 143, 0.1);
}

.event-date {
    color: var(--primary-turquoise);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.event-title {
    color: var(--primary-turquoise);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.event-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .upcoming-events .btn {
        width: 100%;
        text-align: center;
        padding: 0.7rem 1.5rem; 
    }
    
    .event-card {
        padding: 1.5rem;
    }
    
    .event-title {
        font-size: 1.3rem;
    }
}

/* Additional Education Section */
.additional-education {
    background: linear-gradient(135deg, rgba(0, 155, 143, 0.05) 0%, rgba(124, 51, 140, 0.05) 100%);
    padding: 60px 0;
}

.education-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.education-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-turquoise);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.education-btn:hover {
    background: var(--primary-turquoise);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 155, 143, 0.3);
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: #fff;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 80px;
    margin-top: 30px;
}

.partner-logo {
    max-width: 200px;
    height: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Section Headers */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: var(--primary-turquoise);
}

.section-title::after {
    content: '';
    display: block;
    width: 640px;
    height: 3px;
    background: var(--primary-turquoise);
    margin: 20px auto 0;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    background: none;
    overflow: visible;
    border-radius: 0 0 24px 24px;
    margin-bottom: 2rem;
}
.hero-slider-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, var(--primary-turquoise) 0%, #1e9e7a 60%, var(--primary-purple) 100%);
    z-index: 1;
    border-radius: 0 0 
}
.hero-slider-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 60px;
}
.hero-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.10);
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-list {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0;
    padding-left: 1.2rem;
    animation: fadeInUp 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-list li {
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.7s forwards;
}
.hero-list li:nth-child(1) { animation-delay: 0.3s; }
.hero-list li:nth-child(2) { animation-delay: 0.5s; }
.hero-list li:nth-child(3) { animation-delay: 0.7s; }
.hero-list li:nth-child(4) { animation-delay: 0.9s; }
.hero-people-img {
    max-width: 385px;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    background: none;
    position: absolute;
    right: 0;
    bottom: -220px;
    left: auto;
    z-index: 3;
    transform: translateY(0);
    animation: fadeInRight 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}
@media (max-width: 992px) {
    .hero-title { font-size: 2.1rem; }
    .hero-slider-content { padding-top: 30px; padding-bottom: 30px; }
    .hero-people-img { max-width: 220px; bottom: -40px; }
}
@media (max-width: 768px) {
    .hero-slider-section { min-height: 320px; }
    .hero-title { font-size: 1.5rem; }
    /* На мобильных полностью скрываем иллюстрацию people.png */
    .hero-people-img { display: none; }
    .hero-slider-content .row { flex-direction: column-reverse; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

.header-logo {
    height: 100px;
    width: auto;
}

.social-icons a {
    font-size: 2rem;
}

.main-nav-menu {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}
.main-nav-link {
    color: var(--primary-turquoise);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.02em;
    padding: 0 0 2px 0;
    border-bottom: 2px solid transparent;
}
.main-nav-link:hover,
.main-nav-link.active {
    color: var(--primary-purple);
    border-bottom: 2px solid var(--primary-purple);
}
@media (max-width: 768px) {
    .main-nav-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav-link {
        font-size: 1rem;
        flex: 0 0 50%;
        max-width: 50%;
        text-align: center;
        display: block;
    }
}

.career-header {
    background: linear-gradient(90deg, var(--primary-turquoise) 0%, var(--primary-purple) 100%);
    min-height: 80px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.career-header .logo-section img {
    height: 60px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}
.career-header .main-nav-menu {
    margin-left: auto;
}
.career-header .main-nav-link {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, border-bottom 0.2s;
    letter-spacing: 0.02em;
    padding: 0 0 2px 0;
    border-bottom: 2px solid transparent;
    position: relative;
}
.career-header .main-nav-link:hover,
.career-header .main-nav-link.active {
    color: #fff;
    border-bottom: 2px solid #fff;
}
@media (max-width: 768px) {
    .career-header .main-nav-menu {
        gap: 1rem;
    }
    .career-header .main-nav-link {
        font-size: 1rem;
    }
}

.accordion-item,
.accordion-button {
    background-color: #f1f3f4 !important;
}

.accordion-button:focus,
.accordion-button:active,
.accordion-button:focus-visible,
.accordion-button:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.accordion-button::after {
    display: inline-block !important;
    content: '+';
    color: var(--primary-turquoise);
    font-size: 1.3em;
    font-weight: bold;
    margin-left: 0.5em;
    transition: transform 0.3s;
}
.accordion-button[aria-expanded="true"]::after {
    content: '-';
}

.footer h5 {
    color: white !important;
    border-bottom: none !important;
}

.footer .social-links a {
    text-decoration: none !important;
    border-bottom: none !important;
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    /* Центрируем ключевые заголовки на мобильной версии */
    .hero-title {
        text-align: center;
    }

    .university-support h2 {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .services .section-header h2,
    .alumni-services .section-header h2 {
        text-align: center;
    }

    /* Делаем шапку компактнее на мобильных */
    .header-logo {
        height: 70px;
    }

    .login-btn .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

.social-icons a {
    font-size: 1.4rem;
}

.login-btn {
    display: flex;
    align-items: center;
}

.login-btn .profile-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e8f7f4;
    color: #008c7f;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #009d8f;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
}

.login-btn .profile-chip span {
    font-size: 0.95rem;
}

.login-btn .profile-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-btn .profile-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

/* Override auth chip sizing to stay compact */
#auth-action {
    display: flex;
    align-items: center;
}

#auth-action .profile-chip {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1px solid #009d8f !important;
    overflow: hidden !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

#auth-action .profile-chip img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
}

/* Auth pages */
.auth-wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
}

.auth-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: none;
}

.auth-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.auth-form .input-group .btn {
    border-color: #ced4da;
}

.auth-form .input-group .btn:hover {
    background: #f5f6f7;
}
