* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Euclid Circular A', 'Montserrat', sans-serif;
}

:root {
    /* Main color palette */
    --accent: #4B8FE3;
    --accent-light: #E6F0FB;
    --primary: #325390;
    --deep-dark-blue: #0A1B3D;
    --secondary: #2F3654;
    --secondary-muted: #505674;
    --secondary-light: #D6DAE9;
    --page-bg: #F0F6FF;
    --white: #FDFDFD;
    --error: #FF4D4D;

    /* Light theme */
    --bg-dark: var(--white);
    --bg-light: var(--page-bg);
    --text: var(--deep-dark-blue);

    /* Additional colors for light theme */
    --bg-header: rgba(253, 253, 253, 0.9);
    --border-light: rgba(75, 143, 227, 0.2);
    --shadow-light: rgba(50, 83, 144, 0.1);

    /* Standardized gradients */
    --gradient-primary: linear-gradient(90deg, var(--primary), var(--accent));
    --gradient-accent: linear-gradient(45deg, var(--primary), var(--accent));
    --gradient-light: linear-gradient(135deg, var(--accent-light), var(--white));
    --gradient-dark: linear-gradient(135deg, #0A1B3D 0%, #2F3654 100%);

    /* Sizes (in rem, multiples of 4px with base size 16px) */
    --space-1: 0.25rem; /* 4px */
    --space-2: 0.5rem; /* 8px */
    --space-3: 0.75rem; /* 12px */
    --space-4: 1rem; /* 16px */
    --space-5: 1.25rem; /* 20px */
    --space-6: 1.5rem; /* 24px */
    --space-8: 2rem; /* 32px */
    --space-10: 2.5rem; /* 40px */
    --space-12: 3rem; /* 48px */
    --space-16: 4rem; /* 64px */
    --space-20: 5rem; /* 80px */
    --space-24: 6rem; /* 96px */

    /* Font sizes */
    --font-xs: 0.75rem; /* 12px */
    --font-sm: 0.875rem; /* 14px */
    --font-base: 1rem; /* 16px */
    --font-md: 1.125rem; /* 18px */
    --font-lg: 1.25rem; /* 20px */
    --font-xl: 1.5rem; /* 24px */
    --font-2xl: 2rem; /* 32px */
    --font-3xl: 2.5rem; /* 40px */
    --font-4xl: 3rem; /* 48px */
    --font-5xl: 3.5rem; /* 56px */

    /* Border radius */
    --radius-sm: 0.25rem; /* 4px */
    --radius-md: 0.5rem; /* 8px */
    --radius-lg: 1rem; /* 16px */
    --radius-xl: 1.5rem; /* 24px */
    --radius-full: 9999px;

    /* Container sizes */
    --container-width: 1200px;
    --container-padding: var(--space-8);
}

/* ===================================================================
   BASIC ELEMENTS
   =================================================================== */

body {
    background-color: var(--bg-light);
    color: var(--text);
    overflow-x: hidden;
    font-size: var(--font-base);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.section {
    padding: var(--space-20) 0;
    margin: 0;
}

/* ===================================================================
   TYPOGRAPHY & SECTION STYLES
   =================================================================== */

/* Unified section titles with gradient */
.section-title {
    font-size: var(--font-3xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/*.section-title::after {*/
/*    content: '';*/
/*    display: block;*/
/*    width: 5rem;*/
/*    height: 0.25rem;*/
/*    background: var(--gradient-primary);*/
/*    margin: var(--space-2) auto 0;*/
/*    border-radius: var(--radius-sm);*/
/*}*/

.section-subtitle {
    font-size: var(--font-lg);
    text-align: center;
    color: var(--secondary);
    margin-bottom: var(--space-12);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   =================================================================== */

.btn {
    padding: var(--space-4) var(--space-8);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(75, 143, 227, 0.2), transparent);
    transition: left 0.7s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(50, 83, 144, 0.1);
}

/* Read more link with gradient hover effect */
.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: var(--font-sm);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    transition: all 0.3s;
}

.read-more:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.read-more svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s;
}

.read-more:hover svg {
    transform: translateX(var(--space-1));
    stroke: var(--accent);
}

/* ===================================================================
   HEADER
   =================================================================== */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s;
    background-color: var(--bg-header);
    backdrop-filter: blur(10px);
    box-shadow: 0 var(--space-1) var(--space-2) var(--shadow-light);
}

.header__inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: var(--space-6) 0; /* Consistent padding */
}

.logo {
    font-weight: 800;
    font-size: var(--font-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo svg {
    height: 2.25rem;
    width: auto;
}

.nav-links {
    display: flex;
    gap: var(--space-8);
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-size: var(--font-sm);
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: var(--space-2) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-links a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */

.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 0;
    background: var(--gradient-light);
}

.hero-badge {
    display: inline-block;
    background: rgba(50, 83, 144, 0.1);
    color: var(--primary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 700;
    margin-bottom: var(--space-6);
    border: 1px solid rgba(50, 83, 144, 0.4);

    /*display: inline-block;*/
    /*padding: var(--space-1) var(--space-3);*/
    background: var(--gradient-light);
    /*color: var(--primary);*/
    /*font-size: var(--font-xs);*/
    /*font-weight: 600;*/
    /*border-radius: 1.75rem;*/
    /*margin-bottom: var(--space-3);*/
    /*border: 1px solid rgba(75, 143, 227, 0.1);*/
    box-shadow: 0 var(--space-1) var(--space-2) rgba(50, 83, 144, 0.05);
}

.hero h1 {
    font-size: var(--font-5xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: var(--font-md);
    margin-bottom: var(--space-8);
    color: var(--secondary);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
}

.hero-content__inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-8);
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.shield-3d {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.shield-3d img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

#cyber-network-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.7;
    background: linear-gradient(135deg, rgba(75, 143, 227, 0.05) 0%, rgba(50, 83, 144, 0.05) 100%);
}

.binary-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.binary-digit {
    position: absolute;
    color: rgba(75, 143, 227, 0.3);
    font-family: 'Consolas', monospace;
    font-size: var(--font-lg);
    font-weight: bold;
    animation: rain linear infinite;
    text-shadow: 0 0 var(--space-1) rgba(75, 143, 227, 0.3);
    filter: blur(0.3px);
}

/* Binary digits positions */
.binary-digit:nth-child(1) {
    left: 20%;
    animation-duration: 10s;
    animation-delay: 0s;
}

.binary-digit:nth-child(2) {
    left: 35%;
    animation-duration: 8s;
    animation-delay: 1s;
}

.binary-digit:nth-child(3) {
    left: 50%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.binary-digit:nth-child(4) {
    left: 65%;
    animation-duration: 8s;
    animation-delay: 0.5s;
}

.binary-digit:nth-child(5) {
    left: 80%;
    animation-duration: 12s;
    animation-delay: 1.5s;
}

.binary-digit:nth-child(6) {
    left: 25%;
    animation-duration: 12s;
    animation-delay: 2.5s;
}

.binary-digit:nth-child(7) {
    left: 75%;
    animation-duration: 8s;
    animation-delay: 0.2s;
}

.binary-digit:nth-child(8) {
    left: 90%;
    animation-duration: 12s;
    animation-delay: 1.7s;
}

@keyframes rain {
    0% {
        top: -10%;
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        top: 110%;
        opacity: 0;
    }
}

/* ===================================================================
   ABOUT SECTION
   =================================================================== */

.about-section {
    background-color: var(--white);
}


.col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
}

.col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

@media (max-width: 768px) {
    .col-2 {
        grid-template-columns: 1fr;
    }
}

.col-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

@media (max-width: 1024px) {
    .col-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .col-3 {
        grid-template-columns: 1fr;
    }
}

/* ===================================================================
   PROGRAMS SECTION
   =================================================================== */

.programs-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* ===================================================================
   LABS SECTION
   =================================================================== */

.labs-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

/* ===================================================================
   RESEARCH SECTION
   =================================================================== */

.research {
    background-color: var(--bg-light);
    position: relative;
}

.research-container {
    display: flex;
    gap: var(--space-16);
}

.research-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-8);
}

.research-stats {
    flex: 1;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4); /* Standardized gap */
    margin-bottom: var(--space-6); /* Standardized margin */
    padding: var(--space-6);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 var(--space-1) var(--space-4) var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.stat-icon {
    width: 4rem; /* Standardized icon size */
    height: 4rem; /* Standardized icon size */
    border-radius: 50%;
    background: var(--gradient-light);
    border: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

/* Apply gradient to stat headings */
.stat-info h3 {
    font-size: var(--font-2xl);
    font-weight: 800;
    margin-bottom: var(--space-2);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-info p {
    color: var(--secondary);
    font-size: var(--font-sm);
}

.research-area {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-light);
}

.research-area:last-child {
    border-bottom: none;
}

/* Apply gradient to research area headings */
.research-area h4 {
    font-size: var(--font-md);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.research-area h4 svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: var(--space-3);
    color: var(--primary);
}

.research-area p {
    color: var(--secondary);
    font-size: var(--font-sm);
    line-height: 1.7;
    padding-left: var(--space-8);
}

/* ===================================================================
   INTERNATIONAL SECTION
   =================================================================== */

.international-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

/* ===================================================================
   TEAM SECTION
   =================================================================== */

.team-section {
    background-color: var(--accent-light);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(75, 143, 227, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(75, 143, 227, 0.05) 1px, transparent 1px);
    background-size: var(--space-8) var(--space-8);
    z-index: 0;
}

.team-slider-container {
    position: relative;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 var(--space-1) var(--space-4) var(--shadow-light);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    height: 100%;
}

.team-card:hover {
    box-shadow: 0 var(--space-4) var(--space-8) rgba(50, 83, 144, 0.2);
}

.team-card-image {
    width: 100%;
    height: 300px; /* Standardized height */
    overflow: hidden;
    position: relative;
}

.team-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.team-card:hover .team-card-image img {
    transform: scale(1.1);
}

.team-card-content {
    padding: var(--space-6);
    text-align: center;
    position: relative;
    background: var(--white);
}

.team-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: -1;
}

/* Apply gradient to team card headings */
.team-card-content h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-card-content h4 {
    font-size: var(--font-base);
    color: var(--accent);
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.team-card-content p {
    color: var(--secondary);
    font-size: var(--font-sm);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

.team-social a {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--primary);
    transition: all 0.3s;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.team-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.team-social a:hover::before {
    opacity: 1;
}

.team-social a:hover {
    color: white;
    box-shadow: 0 var(--space-1) var(--space-3) rgba(50, 83, 144, 0.3);
}

.team-social svg {
    position: relative;
    z-index: 2;
}

.team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    z-index: 2;
}

.team-card:hover .team-card-overlay {
    opacity: 1;
}

.team-qualification {
    color: white;
    background-color: rgba(75, 143, 227, 0.8);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease 0.1s;
}

.team-specialization {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
    margin-bottom: var(--space-4);
}

.team-specialization span {
    background-color: var(--accent-light);
    color: var(--primary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 600;
}

/* ===================================================================
   SWIPER STYLES
   =================================================================== */

.swiper {
    width: 100%;
    padding-bottom: var(--space-12);
}

.swiper-slide {
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    background-color: var(--white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    box-shadow: 0 var(--space-1) var(--space-4) var(--shadow-light);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: var(--font-lg);
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--accent-light);
    opacity: 1;
    border: 1px solid var(--border-light);
}

.swiper-pagination-bullet-active {
    background: var(--gradient-accent);
    transform: scale(1.2);
}

/* ===================================================================
   CAREER SECTION
   =================================================================== */

.career-section {
    background-color: var(--white);
    position: relative;
    padding: var(--space-20) 0;
}

.career-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 10%, rgba(75, 143, 227, 0.03) 0, transparent 9.5rem),
    radial-gradient(circle at 90% 90%, rgba(50, 83, 144, 0.03) 0, transparent 9.5rem);
    z-index: 0;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin: var(--space-12) 0;
    position: relative;
    z-index: 1;
}

.career-stat {
    background: var(--gradient-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6); /* Standardized padding */
    text-align: center;
    box-shadow: 0 var(--space-2) var(--space-5) rgba(50, 83, 144, 0.1);
    transition: all 0.3s ease;
}

/* Apply gradient to career stat values */
.career-stat-value {
    font-size: var(--font-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.career-stat-label {
    color: var(--secondary);
    font-size: var(--font-md);
    line-height: 1.4;
}

.career-positions, .career-companies {
    margin-top: var(--space-16);
    position: relative;
    z-index: 1;
}

/* Apply gradient to career section headings */
.career-positions h3, .career-companies h3 {
    text-align: center;
    font-size: var(--font-2xl);
    margin-bottom: var(--space-8);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.position-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.position-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6); /* Standardized padding */
    box-shadow: 0 var(--space-1) var(--space-4) var(--shadow-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.position-icon {
    width: 4rem; /* Standardized icon size */
    height: 4rem; /* Standardized icon size */
    border-radius: 50%;
    background: var(--gradient-light);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-4); /* Standardized margin */
    color: var(--primary);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}

.position-card:hover .position-icon {
    background: var(--gradient-accent);
    color: white;
}

/* Apply gradient to position card headings */
.position-card h4 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-4);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.position-card p {
    color: var(--secondary);
    line-height: 1.6;
}

.companies-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.company-logo {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: 0 var(--space-1) var(--space-4) var(--shadow-light);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-logo:hover {
    box-shadow: 0 var(--space-2) var(--space-5) rgba(50, 83, 144, 0.15);
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.company-logo:hover img {
    filter: grayscale(0%);
}

/* ===================================================================
   NEWS SECTION
   =================================================================== */

.news-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 3rem 3rem, rgba(75, 143, 227, 0.03) 0, transparent 6.25rem),
    radial-gradient(circle at 12.5rem 15.5rem, rgba(50, 83, 144, 0.03) 0, transparent 12.5rem),
    radial-gradient(circle at 18.75rem 31.25rem, rgba(75, 143, 227, 0.03) 0, transparent 9.5rem);
    z-index: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 var(--space-2) var(--space-6) rgba(50, 83, 144, 0.1);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(75, 143, 227, 0.05);
}

.news-card:hover {
    box-shadow: 0 var(--space-4) var(--space-8) rgba(50, 83, 144, 0.15);
}

.news-card-image {
    width: 100%;
    height: 200px; /* Standardized height */
    overflow: hidden;
    position: relative;
}

.news-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover .news-card-image img {
    transform: scale(1.1) rotate(2deg);
}

.news-card-content {
    padding: var(--space-6);
    background: var(--white);
    position: relative;
    z-index: 2;
}

.news-date {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--gradient-light);
    color: var(--primary);
    font-size: var(--font-xs);
    font-weight: 600;
    border-radius: 1.75rem;
    margin-bottom: var(--space-3);
    border: 1px solid rgba(75, 143, 227, 0.1);
    box-shadow: 0 var(--space-1) var(--space-2) rgba(50, 83, 144, 0.05);
}

/* Apply gradient to news card headings */
.news-card-content h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: var(--space-4);
    line-height: 1.4;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-card-content p {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4); /* Standardized margin */
}

.news-card .read-more {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: var(--space-4); /* Standardized margin */
}

/* ===================================================================
   TESTIMONIALS SECTION
   =================================================================== */

.testimonials-section {
    background-color: var(--accent-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(75, 143, 227, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(75, 143, 227, 0.05) 1px, transparent 1px);
    background-size: var(--space-8) var(--space-8);
    z-index: 0;
}

.testimonials-container {
    position: relative;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6); /* Standardized padding */
    position: relative;
    box-shadow: 0 var(--space-2) var(--space-6) rgba(50, 83, 144, 0.1);
    transition: all 0.3s;
    border: 1px solid rgba(75, 143, 227, 0.05);
    z-index: 1;
    overflow: hidden;
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: 0 var(--space-4) var(--space-8) rgba(50, 83, 144, 0.15);
}

.testimonial-card-quote {
    position: absolute;
    top: var(--space-5);
    right: var(--space-6);
    font-size: var(--font-4xl);
    line-height: 1;
    font-family: 'Georgia', serif;
    color: rgba(75, 143, 227, 0.15);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: var(--space-6); /* Standardized margin */
}

.testimonial-author {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4); /* Standardized gap */
    position: relative;
    z-index: 2;
}

.testimonial-author-image {
    width: 4rem; /* Standardized size */
    height: 4rem; /* Standardized size */
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 var(--space-1) var(--space-4) rgba(50, 83, 144, 0.2);
    border: var(--space-1) solid white;
    z-index: 2;
}

.testimonial-author-image::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--space-1));
    right: calc(-1 * var(--space-1));
    bottom: calc(-1 * var(--space-1));
    left: calc(-1 * var(--space-1));
    border-radius: 50%;
    background: var(--gradient-accent);
    z-index: -1;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info {
    flex: 1;
}

/* Apply gradient to testimonial author names */
.testimonial-author-info h4 {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: var(--space-1);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-author-info p {
    font-size: var(--font-sm);
    margin-bottom: var(--space-2);
    color: var(--accent);
    font-style: normal;
}

.author-position {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.author-position span {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--secondary);
}

.company-logo-small {
    height: 1.25rem;
    width: auto;
}

.linkedin-profile {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: #0077B5;
    font-size: var(--font-xs);
    font-weight: 600;
    text-decoration: none;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    background-color: rgba(0, 119, 181, 0.1);
    transition: all 0.3s ease;
}

.linkedin-profile:hover {
    background-color: rgba(0, 119, 181, 0.2);
}

.testimonials-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-16);
}

.testimonial-stat {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6); /* Standardized padding */
    text-align: center;
    box-shadow: 0 var(--space-2) var(--space-6) rgba(50, 83, 144, 0.1);
    transition: all 0.3s ease;
}

.testimonial-stat:hover {
    box-shadow: 0 var(--space-4) var(--space-8) rgba(50, 83, 144, 0.15);
}

/* Apply gradient to testimonial stat values */
.testimonial-stat-value {
    font-size: var(--font-3xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-stat p {
    color: var(--secondary);
    font-size: var(--font-base);
    line-height: 1.5;
}

/* ===================================================================
   PARTNERS SECTION
   =================================================================== */

.partners-section {
    background-color: var(--white);
    position: relative;
}

.partners-slider-container {
    position: relative;
    padding: var(--space-5) 0 var(--space-16);
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-4);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-item img {
    max-width: 100%;
    max-height: 5rem;
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */

.contact-section {
    background-color: var(--accent-light);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 6.25rem 6.25rem, rgba(75, 143, 227, 0.03) 0, transparent 6.25rem),
    radial-gradient(circle at 18.75rem 18.75rem, rgba(50, 83, 144, 0.05) 0, transparent 12.5rem);
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-12);
    position: relative;
    z-index: 1;
}

.contact-info {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6); /* Standardized padding */
    box-shadow: 0 var(--space-1) var(--space-4) var(--shadow-light);
}

.contact-form {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6); /* Standardized padding */
    box-shadow: 0 var(--space-1) var(--space-4) var(--shadow-light);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4); /* Standardized margin */
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gradient-light);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: url(#contactGradient);
}

/* Apply gradient to contact item headings */
.contact-text h4 {
    font-size: var(--font-md);
    font-weight: 600;
    margin-bottom: var(--space-1);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-text p, .contact-text a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.contact-text a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: var(--space-4); /* Standardized margin */
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--deep-dark-blue);
}

.form-control {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: var(--font-base);
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 var(--space-1) rgba(50, 83, 144, 0.2);
}

textarea.form-control {
    min-height: 7.5rem;
    resize: vertical;
}

/* ===================================================================
   FOOTER - REDESIGNED TO MATCH SITE THEME
   =================================================================== */

/* Lighter footer design to match the site's theme */
.footer {
    background-color: var(--accent-light);
    color: var(--secondary);
    padding: var(--space-16) 0 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 10%, rgba(75, 143, 227, 0.05) 0, transparent 9.5rem),
    radial-gradient(circle at 90% 90%, rgba(50, 83, 144, 0.05) 0, transparent 9.5rem);
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8); /* Standardized gap */
    position: relative;
    z-index: 1;
}

.footer-about {
    grid-column: span 1;
}

/* Apply gradient to footer logo */
.footer-logo {
    font-weight: 800;
    font-size: var(--font-xl);
    margin-bottom: var(--space-4); /* Standardized margin */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.footer-about p {
    color: var(--secondary);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(75, 143, 227, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a:hover {
    color: white;
    box-shadow: 0 var(--space-1) var(--space-4) rgba(50, 83, 144, 0.2);
}

.footer-social svg {
    width: 1rem;
    height: 1rem;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

/* Apply gradient to footer section titles */
.footer-title {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: var(--space-6);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-left: var(--space-4);
}

.footer-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--space-1);
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: var(--space-1);
}

.footer-links svg {
    width: 1rem;
    height: 1rem;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    color: var(--secondary);
}

.footer-contact li a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-contact li a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding: var(--space-8) 0;
    margin-top: var(--space-12);
    border-top: 1px solid var(--border-light);
    color: var(--secondary);
    font-size: var(--font-sm);
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}

.footer-bottom-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: var(--font-sm);
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: var(--font-4xl);
    }

    .section-title {
        font-size: var(--font-2xl);
    }

    .section-subtitle {
        font-size: var(--font-base);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6); /* Smaller gap on smaller screens */
    }

    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .research-container {
        flex-direction: column;
        gap: var(--space-8); /* Smaller gap on smaller screens */
    }

    .section {
        padding: var(--space-16) 0; /* Smaller padding on smaller screens */
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-12) 0; /* Even smaller padding on mobile */
    }

    .hero h1 {
        font-size: var(--font-3xl);
    }

    .hero p {
        font-size: var(--font-base);
    }

    .section-title {
        font-size: var(--font-xl);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-about {
        grid-column: span 1;
    }

    .hero-content__inner {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .shield-3d {
        grid-row: 1;
        margin-bottom: var(--space-4);
    }

    .hero-content {
        grid-row: 2;
    }

    .testimonials-stats {
        grid-template-columns: 1fr;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .labs-grid,
    .career-grid,
    .position-cards {
        grid-template-columns: 1fr;
    }

    /* Standardize all icon sizes on mobile */
    .rounded-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .rounded-icon svg {
        width: 1.75rem;
        height: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: var(--font-2xl);
    }

    .btn {
        padding: var(--space-3) var(--space-6);
        font-size: var(--font-sm);
        width: 100%; /* Full width buttons on mobile */
    }

    .shield-icon {
        display: none;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .card {
        padding: var(--space-4);
    }
}

/* ===================================================================
   ANIMATIONS
   =================================================================== */

/* Animation for the gradient background */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Smooth scroll for entire page */
html {
    scroll-behavior: smooth;
}

/* Common transition for all hover effects */
.btn,
.read-more,
.nav-links a,
.card,
.program-card,
.lab-card,
.news-card,
.testimonial-card,
.team-card,
.career-stat,
.position-card,
.company-logo,
.footer-links a,
.footer-social a,
.footer-bottom-links a {
    transition: all 0.3s ease;
}


/*
 * IMPROVED STYLES FOR CYBERSECURITY DEPARTMENT WEBSITE
 * This CSS contains unified style updates to improve consistency
 */

/* ===== HEADING STYLES UNIFICATION ===== */
/* All section titles will have gradient style */

/* Card title standardization */
.h3-title {
    font-size: var(--font-xl);
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    transition: all 0.3s;
}

.h3-title-white {
    color: var(--white);
}

.h3-title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.paragraph-base {
    color: var(--secondary);
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

.paragraph-base__white {
    color: var(--white);
}

.paragraph-base__light {
    color: var(--secondary-light);
}

.paragraph-base__dark {
    color: var(--secondary);
}

/* ===== CARD STYLES UNIFICATION ===== */
/* All cards will have consistent shadow, padding, and hover effects */


/* ===== ICON CONTAINER UNIFICATION ===== */
/* All icon containers will have the same size and style */

.card {
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 var(--space-1) var(--space-4) var(--shadow-light);
    transition: all 0.3s;
}

.card-100 {
    height: 100%;
}

.card-padding {
    padding: var(--space-8);
}

.card-blue {
    background-color: var(--bg-light);
}

.card-white {
    background-color: var(--white);
}

.card-horizontal {
    display: flex;
    flex-direction: row;
    gap: var(--space-8);
}

.card-horizontal .card-body {
    flex: 1;
}

.card-active:hover {
    box-shadow: 0 var(--space-4) var(--space-10) rgba(50, 83, 144, 0.15);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.card-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.card-body ul li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--secondary);
}

.card-body ul li svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.card__gradient-top {
    padding: 0;
    background: var(--white);
    gap: 0 !important;
}

.card__gradient-top .card-header {
    background: var(--gradient-accent);
    color: white;
    padding: var(--space-6);

    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.card__gradient-top .card-header p {
    font-size: var(--font-sm);
    opacity: 0.9;
}

.card__gradient-top .card-body {
    padding: var(--space-6);
    flex-grow: 1;
}

.card__gradient-top .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6);
    border-top: 1px solid var(--border-light);
}

.card__gradient-top .card-footer .duration {
    display: flex;
    align-items: center;
    color: var(--secondary-muted);
    font-size: var(--font-sm);
}

.card__gradient-top .card-footer .duration svg {
    width: 1rem;
    height: 1rem;
    margin-right: var(--space-2);
}

.card__image-top {
    gap: 0 !important;
}

.card__image-top .card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card__image-top .card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    background: var(--white);
}

.card__image-top:hover .card-image img {
    transform: scale(1.1);
}

.card__image-top .card-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--gradient-accent);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 600;
    box-shadow: 0 var(--space-1) var(--space-3) rgba(50, 83, 144, 0.3);
}

.rounded-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-lg);
    background: var(--gradient-light);
    border: 1px solid var(--border-light);
    box-shadow: 0 var(--space-1) var(--space-4) var(--shadow-light);
}

.rounded-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

/* ===== READ MORE LINK UNIFICATION ===== */
.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: var(--font-sm);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    transition: all 0.3s;
}

.read-more__right {
    margin-left: auto;
}

.read-more:hover {
    color: var(--accent);
}

.read-more svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s;
}

.read-more:hover svg {
    transform: translateX(var(--space-1));
    stroke: var(--accent);
}

/* ===== FOOTER REDESIGN ===== */
/* Lighter footer that matches the rest of the site */
.footer {
    background: var(--accent-light);
    color: var(--secondary);
    padding: var(--space-16) 0 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 10%, rgba(75, 143, 227, 0.05) 0, transparent 9.5rem),
    radial-gradient(circle at 90% 90%, rgba(50, 83, 144, 0.05) 0, transparent 9.5rem);
    z-index: 0;
}

.footer-title {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--primary);
    position: relative;
    padding-left: var(--space-4);
}

.footer-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--space-1);
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.footer-logo {
    font-weight: 800;
    font-size: var(--font-xl);
    margin-bottom: var(--space-6);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.footer-about p {
    color: var(--secondary);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: var(--space-1);
}

.footer-contact li {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    color: var(--secondary);
}

.footer-contact li a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-contact li a:hover {
    color: var(--primary);
}

.footer-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(75, 143, 227, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 var(--space-1) var(--space-4) rgba(50, 83, 144, 0.3);
}

.footer-bottom {
    text-align: center;
    padding: var(--space-8) 0;
    margin-top: var(--space-12);
    border-top: 1px solid var(--border-light);
    color: var(--secondary);
    font-size: var(--font-sm);
    position: relative;
    z-index: 1;
}

/* ===== SECTION SPACING STANDARDIZATION ===== */
.section {
    padding: var(--space-20) 0;
    position: relative;
}

/* Alternate section background colors */
.about-section,
.labs-section,
.international-section,
.partners-section {
    background-color: var(--white);
}

.programs-section,
.research,
.career-section,
.news-section {
    background-color: var(--bg-light);
}

.team-section,
.testimonials-section,
.contact-section {
    background-color: var(--accent-light);
}

/* ===== RESPONSIVE DESIGN IMPROVEMENTS ===== */
@media (max-width: 1024px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-16) 0;
    }

    .rounded-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section {
        padding: var(--space-12) 0;
    }

    .btn {
        padding: var(--space-3) var(--space-6);
        font-size: var(--font-sm);
    }
}

/* ===== ANIMATION IMPROVEMENTS ===== */

/* Consistent animations for all hover effects */
.card,
.testimonial-card,
.team-card,
.news-card,
.btn,
.read-more,
.nav-links a,
.footer-links a,
.footer-social a {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ===== SWIPER STANDARDIZATION ===== */
/* All swiper components will have the same styling */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    background-color: var(--white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    box-shadow: 0 var(--space-1) var(--space-4) var(--shadow-light);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: var(--font-lg);
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--accent-light);
    opacity: 1;
    border: 1px solid var(--border-light);
}

.swiper-pagination-bullet-active {
    background: var(--gradient-accent);
    transform: scale(1.2);
}

/* Consistent swiper slide cards height */
.swiper-slide {
    height: auto;
    display: flex;
}

.swiper-slide > div {
    height: 100%;
}

/* ===== УЛУЧШЕННЫЙ СОВРЕМЕННЫЙ СТИЛЬНЫЙ БЛОК "ПРО КАФЕДРУ" ===== */

/* Основные переменные */
:root {
    /* Дополнительные цвета */
    --color-neutral-50: #F9FAFB;
    --color-neutral-100: #F3F4F6;
    --color-neutral-200: #E5E7EB;
    --color-neutral-800: #1F2937;
    --color-neutral-900: #111827;

    /* Системные */
    --system-color: #5D87FF;
    --system-gradient: linear-gradient(135deg, #4B8FE3, #6878FF);
    --accent-gradient: linear-gradient(90deg, #5D87FF 0%, #325390 100%);

    /* Transitions */
    --transition-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Основной контейнер секции с относительным позиционированием для декоративных элементов */
.about-section {
    position: relative;
    background-color: var(--white);
    padding: 120px 0;
    overflow: hidden;
}

/* ===== РАДИКАЛЬНО НОВЫЙ ЗАГОЛОВОК СЕКЦИИ ===== */
.ultra-modern-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    position: relative;
}

.header-content {
    flex: 1;
}

.section-label {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.label-line {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin-right: 16px;
}

.label-text {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
}

.uber-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-neutral-800);
    position: relative;
}

.uber-title .highlight {
    position: relative;
    color: var(--primary);
    z-index: 1;
}

.uber-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: -5%;
    width: 110%;
    height: 4px;
    background: var(--accent-gradient);
    z-index: -1;
}

.header-accent {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 40px;
    padding-top: 10px;
}

.accent-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(75, 143, 227, 0.2);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(75, 143, 227, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.8);
}

.accent-circle::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px dashed rgba(75, 143, 227, 0.2);
    animation: rotate 20s linear infinite;
}

.accent-circle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-gradient);
    border-radius: 50%;
    top: -6px;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.accent-year {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* ===== СЕТКА КАРТОЧЕК ===== */
.modern-cards-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
    margin-bottom: 60px;
}

/* Различные размеры карточек для создания интересной композиции */
.modern-card.wide {
    grid-column: span 8;
    grid-row: 1;
}

.modern-card.stats {
    grid-column: span 4;
    grid-row: 1;
}

.modern-card.dark {
    grid-column: span 4;
    grid-row: 2;
}

.modern-card.competencies {
    grid-column: span 4;
    grid-row: 2;
}

/* Новая карточка - партнеры */
.modern-card.partners {
    grid-column: span 4;
    grid-row: 2;
}

@media (max-width: 1200px) {
    .modern-card.wide {
        grid-column: span 8;
    }

    .modern-card.stats {
        grid-column: span 4;
    }

    .modern-card.dark,
    .modern-card.competencies,
    .modern-card.partners {
        grid-column: span 4;
    }
}

@media (max-width: 992px) {
    .modern-card.wide {
        grid-column: span 12;
    }

    .modern-card.stats {
        grid-column: span 6;
    }

    .modern-card.dark {
        grid-column: span 6;
    }

    .modern-card.competencies {
        grid-column: span 6;
    }

    .modern-card.partners {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .modern-card {
        grid-column: span 12 !important;
    }
}

/* ===== СТИЛИЗАЦИЯ КАРТОЧЕК ===== */
.modern-card {
    position: relative;
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(75, 143, 227, 0.06);
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.modern-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Полупрозрачный градиентный фон */
.card-blob {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(75, 143, 227, 0.06) 0%, rgba(75, 143, 227, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.8s var(--transition-smooth);
    opacity: 0.6;
}

.modern-card:hover .card-blob {
    transform: scale(1.2);
    opacity: 1;
}

/* Номер карточки */
.card-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.modern-card:hover .card-number {
    opacity: 0.7;
}

/* Основной контент */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.modern-card-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    padding-bottom: 16px;
}

.modern-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.modern-card-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary);
    margin-bottom: 16px;
}

.modern-card-description:last-child {
    margin-bottom: 0;
}

/* Действия в карточке */
.card-actions {
    margin-top: auto;
    padding-top: 20px;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.card-btn::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.card-btn:hover {
    color: var(--accent);
}

.card-btn:hover::after {
    width: 100%;
}

.card-btn svg {
    transition: transform 0.3s ease;
}

.card-btn:hover svg {
    transform: translateX(4px);
}

/* Карточка с тёмным дизайном */
.modern-card.dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.modern-card.dark .card-number {
    color: var(--white);
}

.modern-card.dark .modern-card-title {
    color: var(--white);
}

.modern-card.dark .modern-card-title::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
}

.modern-card.dark .modern-card-description {
    color: rgba(255, 255, 255, 0.8);
}

.modern-card.dark .specialty-code {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.modern-card.dark .specialty-code span {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.modern-card.dark .specialty-label {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
}

.modern-card.dark .card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Карточка со статистикой */
.modern-stats {
    display: grid;
    gap: 24px;
    margin-top: 20px;
}

.modern-card.stats .stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-value {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-line {
    width: 100%;
    height: 2px;
    background-color: rgba(75, 143, 227, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.stat-line span {
    display: block;
    width: 0; /* Начальная ширина 0%, будет анимироваться */
    height: 100%;
    background: var(--gradient-primary);
    transition: width 1s var(--transition-smooth);
}

.stat-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
}

/* Карточка с компетенциями */
.competence-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.competence-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--color-neutral-50);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.competence-item:hover {
    background-color: var(--color-neutral-100);
}

.competence-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    background: var(--gradient-primary);
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.competence-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary);
}

/* Новая карточка с партнерами и трудоустройством */
.modern-card.accent {
    background: linear-gradient(to right bottom, var(--primary), #1A3C70);
    color: white;
}

.modern-card.accent .card-number {
    color: white;
    opacity: 0.4;
}

.modern-card.accent .modern-card-title {
    color: white;
}

.modern-card.accent .modern-card-title::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
}

.modern-card.accent .modern-card-description {
    color: rgba(255, 255, 255, 0.8);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.2);
}

.partner-logo img {
    height: 32px;
    width: 100px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.9);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: brightness(0) invert(1) opacity(1);
}

.salary-gauge {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.gauge-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.gauge-value {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Кнопка "Дізнатися більше" */
.learn-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid rgba(75, 143, 227, 0.2);
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.learn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.learn-more:hover {
    color: var(--white);
    border-color: transparent;
}

.learn-more:hover::before {
    opacity: 1;
}

.learn-icon {
    transition: transform 0.3s ease;
}

.learn-more:hover .learn-icon {
    transform: translate(3px, -3px);
}

/* Декоративные элементы */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    z-index: -1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    top: -200px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background-color: var(--accent);
    bottom: 100px;
    right: -150px;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(75, 143, 227, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(75, 143, 227, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1200px) {
    .uber-title {
        font-size: 54px;
    }

    .accent-circle {
        width: 100px;
        height: 100px;
    }

    .accent-circle::before {
        width: 80px;
        height: 80px;
    }

    .modern-card {
        padding: 30px;
    }

    .modern-card-title {
        font-size: 22px;
    }

    .stat-value {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .ultra-modern-header {
        flex-direction: column;
    }

    .header-accent {
        margin-left: 0;
        margin-top: 30px;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .accent-circle {
        margin-bottom: 0;
    }

    .uber-title {
        font-size: 48px;
    }

    .about-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .uber-title {
        font-size: 42px;
    }

    .section-description {
        font-size: 16px;
    }

    .modern-cards-grid {
        gap: 20px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gauge-value {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .uber-title {
        font-size: 36px;
    }

    .accent-circle {
        width: 80px;
        height: 80px;
    }

    .accent-circle::before {
        width: 60px;
        height: 60px;
    }

    .modern-card {
        padding: 25px;
    }

    .card-number {
        top: 20px;
        right: 20px;
    }

    .modern-card-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .learn-more {
        width: 100%;
        justify-content: center;
    }
}


/* ===== УЛУЧШЕНИЯ АДАПТИВНОСТИ БЛОКА ===== */

/* Общие улучшения адаптивности */
@media (max-width: 992px) {
    /* Увеличиваем отступы между карточками на планшетах */
    .modern-cards-grid {
        gap: 25px;
        margin-bottom: 50px;
    }

    /* Улучшаем размер и отступы карточек */
    .modern-card {
        padding: 30px;
    }

    /* Корректируем сетку карточек */
    .modern-card.wide {
        grid-column: span 12;
        grid-row: auto;
    }

    .modern-card.stats {
        grid-column: span 6;
        grid-row: auto;
    }

    .modern-card.dark {
        grid-column: span 6;
        grid-row: auto;
    }

    .modern-card.competencies {
        grid-column: span 6;
        grid-row: auto;
    }

    .modern-card.partners {
        grid-column: span 6;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    /* Все карточки в одну колонку на мобильных */
    .modern-card {
        grid-column: span 12 !important;
        grid-row: auto !important;
    }

    /* Уменьшаем отступы секции */
    .about-section {
        padding: 60px 0;
    }

    /* Уменьшаем размер номера карточки на мобильных */
    .card-number {
        font-size: 14px;
        top: 20px;
        right: 20px;
    }

    /* Корректируем статистику в карточке */
    .stat-value {
        font-size: 36px;
    }

    /* Улучшаем сетку партнеров */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Делаем кнопку "Дізнатися більше" на всю ширину */
    .learn-more {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    /* Адаптируем карточки для малых экранов */
    .modern-card {
        padding: 25px 20px;
    }

    /* Уменьшаем заголовки карточек */
    .modern-card-title {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    /* Уменьшаем текст описания */
    .modern-card-description {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Адаптируем компетенции */
    .competence-item {
        padding: 10px 12px;
        gap: 8px;
    }

    .competence-tag {
        font-size: 11px;
        padding: 3px 6px;
    }

    .competence-text {
        font-size: 14px;
    }

    /* Адаптируем код специальности */
    .modern-card.dark .specialty-code span {
        font-size: 48px;
    }

    .modern-card.dark .specialty-label {
        font-size: 16px;
    }

    /* Адаптируем карточку с партнерами */
    .partners-grid {
        gap: 8px;
        margin: 15px 0;
    }

    .partner-logo {
        padding: 8px;
    }

    .gauge-value {
        font-size: 28px;
    }
}

/* Улучшения для экранов с высоким разрешением */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }

    .modern-cards-grid {
        gap: 35px;
    }
}

/* Исправление проблем с переполнением контента */
.modern-card-title {
    word-wrap: break-word;
    hyphens: auto;
}

/* Дополнительные улучшения для сенсорных устройств */
@media (hover: none) {
    /* Отключаем эффекты наведения для сенсорных устройств */
    .modern-card:hover {
        transform: none;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    }

    .competence-item:hover {
        transform: none;
        background-color: var(--color-neutral-50);
    }

    /* Добавляем состояние active для сенсорных устройств */
    .modern-card:active {
        transform: translateY(-3px);
    }

    .competence-item:active {
        background-color: var(--color-neutral-100);
    }
}

/* Дополнительные исправления для небольших экранов */
@media (max-width: 350px) {
    .modern-card {
        padding: 20px 15px;
    }

    .card-number {
        top: 15px;
        right: 15px;
        font-size: 12px;
    }
}


/* ===== Заголовок ===== */

/* ===== СОВРЕМЕННЫЙ ЗАГОЛОВОК СЕКЦИИ С КРЕАТИВНОЙ СТИЛИЗАЦИЕЙ ===== */
.section-header {
    margin: 0 auto var(--space-16);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
}

/* Креативный стиль основного заголовка */
.section-title-container {
    position: relative;
    margin-bottom: 30px;
    display: inline-block;
}

.section-title {
    font-size: 64px;
    font-weight: 800;
    margin: 0;
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Декоративные элементы заголовка */
.title-accent {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80%;
    height: 12px;
    background: linear-gradient(90deg, rgba(93, 135, 255, 0.15), rgba(93, 135, 255, 0.01));
    z-index: -1;
    border-radius: 6px;
}

.floating-circles {
    position: absolute;
    top: -20px;
    right: -40px;
    z-index: -1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
}

.circle-1 {
    width: 45px;
    height: 45px;
    background: rgba(93, 135, 255, 0.1);
    top: 0;
    right: 0;
    animation: float 7s ease-in-out infinite;
}

.circle-2 {
    width: 25px;
    height: 25px;
    background: rgba(93, 135, 255, 0.15);
    top: 30px;
    right: 35px;
    animation: float 5s ease-in-out infinite 1s;
}

.circle-3 {
    width: 15px;
    height: 15px;
    background: rgba(93, 135, 255, 0.2);
    top: 15px;
    right: 50px;
    animation: float 4s ease-in-out infinite 0.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-10px) translateX(5px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

/* Подзаголовок с улучшенным дизайном */
.section-description {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--secondary);
    padding-left: 20px;
    margin-left: 2px;
    position: relative;
}

.section-description p {
    margin: 0;
}

.section-description:before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Улучшенная адаптивность */
@media (max-width: 1200px) {
    .section-title {
        font-size: 60px;
    }

    .title-accent {
        height: 10px;
    }
}

@media (max-width: 992px) {
    .section-header {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 52px;
    }

    .section-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 42px;
    }

    .title-accent {
        height: 8px;
        bottom: -8px;
    }

    .floating-circles {
        transform: scale(0.8);
        top: -10px;
        right: -20px;
    }

    .section-description {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-overline {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .title-accent {
        height: 6px;
        bottom: -6px;
    }

    .section-description {
        padding-left: 15px;
        font-size: 15px;
        line-height: 1.6;
    }

    .floating-circles {
        transform: scale(0.7);
        top: -5px;
        right: -10px;
    }
}






