/* ========================================
   SAMADI - Premium Landing Page Styles
   Modern, Corporate & Professional Design
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Brand Colors - Deep Blue & Gold Accent */
    --primary-color: #0A2540;
    --primary-light: #1A3A5C;
    --primary-dark: #051729;
    --accent-color: #D4AF37;
    --accent-light: #E8C968;
    --accent-dark: #B8941F;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #E9ECEF;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    
    /* Semantic Colors */
    --success: #28A745;
    --info: #17A2B8;
    --warning: #FFC107;
    --danger: #DC3545;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #0A2540 0%, #1A3A5C 100%);
    --gradient-accent: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 37, 64, 0.8) 0%, rgba(10, 37, 64, 0.95) 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --section-padding: 100px;
    --container-padding: 20px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========== SECTION STYLES ========== */
.section {
    padding: var(--section-padding) 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.85);
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 37, 64, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--container-padding);
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.logo {
    font-size: 1.75rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--white);
    letter-spacing: 2px;
}

.since {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: var(--font-weight-medium);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--accent-color);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://sspark.genspark.ai/cfimages?u1=zsW2uYFTrFdasKusB3sFzAOJjlptQB2iAWXQwu4quDBHeK4%2BomCAhibS5%2BYderPyyLFGqlPrJrozweHGD89TFIv%2BX%2FyqP8XIfRdOrh25juCpVUuch62J91B72iV5We2%2FGdCZo4cjflwITOO5qMuKWru1d%2BUx4iSGxM2yMNN16w%3D%3D&u2=CLsTBYVOkDvBd3ET&width=2560') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 80px;
}

.hero-text {
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 5rem;
    font-weight: var(--font-weight-extrabold);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: var(--font-weight-light);
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes scrollDot {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 1s ease 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.4s forwards;
    opacity: 0;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

.animate-fade-in-delay-4 {
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

/* ========== ABOUT SECTION ========== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-align: center;
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--accent-color);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-card p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ========== STATS SECTION ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 20px;
}

.stat-content .stat-number {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-content .stat-label {
    font-size: 1.125rem;
    color: var(--white);
    font-weight: var(--font-weight-medium);
    margin-bottom: 10px;
}

.stat-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ========== GEOGRAPHY SECTION ========== */
.geography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.geography-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.geography-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--accent-color);
}

.geography-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.geography-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--white);
}

.geography-card.featured .geography-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
}

.geography-card h3 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.geography-card.featured h3 {
    color: var(--white);
}

.geography-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.geo-stat {
    text-align: center;
}

.geo-number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 5px;
}

.geography-card.featured .geo-number {
    color: var(--accent-light);
}

.geo-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.geography-card.featured .geo-label {
    color: rgba(255, 255, 255, 0.8);
}

.geography-desc {
    color: var(--medium-gray);
    line-height: 1.6;
}

.geography-card.featured .geography-desc {
    color: rgba(255, 255, 255, 0.9);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 8px 20px;
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.expansion-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-color);
}

.expansion-note i {
    font-size: 2rem;
    color: var(--accent-color);
}

.expansion-note p {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    margin: 0;
}

/* ========== COMPETENCIES SECTION ========== */
.competencies-grid {
    display: grid;
    gap: 40px;
}

.competency-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.competency-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.competency-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.competency-card:nth-child(even) .competency-image {
    order: 2;
}

.competency-card:nth-child(even) .competency-content {
    order: 1;
}

.competency-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
}

.competency-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.competency-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.competency-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 20px;
}

.competency-content h3 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: 20px;
}

.competency-list {
    list-style: none;
}

.competency-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.competency-list li i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ========== INTEGRATION SECTION ========== */
.integration-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.integration-card {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: var(--white);
    padding: 40px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.integration-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.integration-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: var(--font-weight-extrabold);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.integration-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.integration-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 15px;
}

.integration-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.integration-arrow {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

/* ========== PARTNERS SECTION ========== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.partner-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.2);
}

.partner-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: all var(--transition-base);
}

.partner-card:hover .partner-logo {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    background: var(--white);
}

.partner-card:hover .partner-logo img {
    transform: scale(1.1);
}

.partner-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin: 0;
    line-height: 1.4;
}

.partners-note {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.partners-note p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin: 0;
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    color: var(--accent-color);
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--light-gray);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font-family);
    border: 2px solid var(--gray);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.footer-tagline {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 15px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact i {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--white);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .competency-card {
        grid-template-columns: 1fr;
    }
    
    .competency-card:nth-child(even) .competency-image,
    .competency-card:nth-child(even) .competency-content {
        order: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 37, 64, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-content .stat-number {
        font-size: 2.5rem;
    }
    
    .geography-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .integration-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stat {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

/* Контейнер для карточек */
.integration-row {
    display: grid;
    /* Создает 5 колонок равной ширины */
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px;
    align-items: stretch; /* Растягивает все карточки по высоте самой высокой */
}

/* Сама карточка */
.integration-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%; /* Гарантирует одинаковую высоту */
    position: relative;
    transition: transform 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-10px);
}

/* Убираем старые стрелки, если они были в CSS, 
   или добавляем визуальные разделители через псевдоэлементы (по желанию) */
@media (min-width: 1024px) {
    .integration-card:not(:last-child)::after {
        content: '\f105'; /* Иконка стрелочки FontAwesome */
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: -15px;
        top: 50%;
        transform: translateY(-50%);
        color: #d4af37; /* Золотой цвет */
        font-size: 20px;
        z-index: 1;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .integration-row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .integration-card::after {
        display: none;
    }
}
