/* ==========================================
   Bimas Menkul Yatırım - Stylesheet
   Theme Color: #A82F32
   ========================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #A82F32;
    --primary-dark: #8a2629;
    --primary-light: #c93a3e;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --bg-light: #fafafa;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

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

a:hover {
    color: var(--primary-dark);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    min-height: 70px;
}

.nav {
    padding: 0.75rem 0;
}

.nav .container {
    max-width: 1400px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav-wrapper .logo {
    flex-shrink: 0;
}

.nav-wrapper .nav-menu {
    flex-grow: 0;
    justify-content: center;
    flex-shrink: 1;
}

.nav-wrapper .nav-buttons {
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(168, 47, 50, 0.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Menu Actions (Hidden on Desktop) */
.mobile-menu-actions {
    display: none;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-nav svg {
    flex-shrink: 0;
}

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

.btn-login:hover {
    color: white;
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-register {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    box-shadow: 0 4px 12px rgba(168, 47, 50, 0.25);
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(168, 47, 50, 0.35);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 47, 50, 0.03) 0%, rgba(168, 47, 50, 0.08) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(168, 47, 50, 0.1), rgba(168, 47, 50, 0.05));
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(168, 47, 50, 0.2);
}

.hero-badge svg {
    width: 20px;
    height: 20px;
}

.hero-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(168, 47, 50, 0.15);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(168, 47, 50, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(168, 47, 50, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--primary-color);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(168, 47, 50, 0.1), rgba(168, 47, 50, 0.05));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeIn 1.5s ease;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.floating-card .card-icon svg {
    width: 24px;
    height: 24px;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.trend-up {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(168, 47, 50, 0.1), rgba(168, 47, 50, 0.05));
    z-index: -1;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 20%;
    animation: pulse 4s ease-in-out infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation: pulse 5s ease-in-out infinite;
    animation-delay: 1s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 0%;
    animation: pulse 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(168, 47, 50, 0.1), rgba(168, 47, 50, 0.05));
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border: 1px solid rgba(168, 47, 50, 0.2);
}

.section-badge svg {
    width: 20px;
    height: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 400;
}

/* About Section */
.about {
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-gray));
}

.about-grid {
    display: grid;
    gap: 4rem;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.about-values {
    display: grid;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.value-item:hover {
    background: var(--bg-gray);
}

.value-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.value-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.about-principles {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(168, 47, 50, 0.03), rgba(168, 47, 50, 0.08));
    border-radius: 16px;
}

.about-principles h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.principles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.principle-tag {
    padding: 0.6rem 1.2rem;
    background: white;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(168, 47, 50, 0.2);
    transition: var(--transition);
}

.principle-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.about-stats-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.stat-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(168, 47, 50, 0.1), rgba(168, 47, 50, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.stat-card-icon svg {
    width: 30px;
    height: 30px;
}

.stat-card-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Services Section */
.services {
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-gray));
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: rgba(168, 47, 50, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Corporate Section */
.corporate {
    background-color: var(--bg-white);
}

.corporate-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.corporate-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.corporate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.corporate-card {
    background: var(--bg-gray);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.corporate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.corporate-card:hover::before {
    transform: scaleX(1);
}

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

.corporate-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.corporate-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.corporate-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Infrastructure */
.infrastructure {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 3rem;
    border-radius: 20px;
    color: white;
}

.infrastructure h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: white;
}

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

.infrastructure-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.infrastructure-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.infrastructure-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.infrastructure-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.infrastructure-item:hover .infrastructure-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.infrastructure-item p {
    color: white;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.cta-feature svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 4px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    transition: var(--transition);
    text-align: left;
}

.btn-cta svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.btn-cta > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.btn-label {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
}

.btn-sublabel {
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
}

.btn-cta-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    background: var(--bg-gray);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-5px) scale(1.02);
}

/* Vision Section */
.vision {
    background: var(--bg-gray);
    text-align: center;
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.vision-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.vision-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Contact Section */
.contact {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(168, 47, 50, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #2a2a2a);
    color: white;
    padding: 0;
}

.footer-cta {
    background: linear-gradient(135deg, rgba(168, 47, 50, 0.15), rgba(168, 47, 50, 0.05));
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-text h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.footer-cta-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

.footer-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-footer-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-footer-primary:hover {
    background: var(--bg-gray);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-footer-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-footer-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin: 4rem 0 3rem;
    padding: 0 3rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: #cccccc;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.85rem !important;
    color: #999999 !important;
    max-width: 900px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    display: flex;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (min-width: 1400px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .nav-wrapper {
        gap: 2rem;
    }
}

@media (max-width: 1200px) {
    .logo img {
        height: 45px;
    }
    
    .nav-menu {
        gap: 0.35rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
    }
    
    .nav-wrapper {
        gap: 1rem;
    }
    
    .btn-nav {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }
    
    .btn-nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .logo img {
        height: 42px;
    }
    
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.6rem;
    }
    
    .nav-wrapper {
        gap: 0.75rem;
    }
    
    /* Navigation buttons smaller on tablets */
    .btn-nav {
        padding: 0.55rem 0.85rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .btn-nav svg {
        width: 15px;
        height: 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    /* Navigation */
    .header {
        min-height: auto;
    }
    
    .nav {
        padding: 0.75rem 0;
    }
    
    .nav-wrapper {
        justify-content: center;
        position: relative;
        min-height: 50px;
        display: flex;
        align-items: center;
    }
    
    .nav-wrapper .logo {
        position: static;
        transform: none;
        z-index: 999;
        margin: 0 auto;
    }
    
    .logo img {
        height: 45px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 0 2rem 0;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 0 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        display: block;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .btn-nav {
        flex: 1;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Mobile Menu Actions */
    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.5rem 2rem 2rem 2rem;
        margin-top: 1rem;
        border-top: 2px solid var(--border-color);
        background: var(--bg-gray);
        width: 100%;
    }
    
    .btn-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 10px;
        transition: var(--transition);
        text-align: center;
    }
    
    .btn-mobile svg {
        flex-shrink: 0;
    }
    
    .btn-mobile-login {
        color: var(--primary-color);
        background-color: white;
        border: 2px solid var(--primary-color);
    }
    
    .btn-mobile-login:hover {
        color: white;
        background-color: var(--primary-color);
    }
    
    .btn-mobile-register {
        color: white;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        border: none;
        box-shadow: 0 4px 12px rgba(168, 47, 50, 0.3);
    }
    
    .btn-mobile-register:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
        box-shadow: 0 6px 16px rgba(168, 47, 50, 0.4);
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .hero-bg {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 40%, 0 60%);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .hero-visual {
        display: none;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* About */
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats-sidebar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Grids */
    .about-features,
    .services-grid,
    .corporate-grid {
        grid-template-columns: 1fr;
    }
    
    .infrastructure-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-cta {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .footer-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-footer {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
        margin: 3rem 0 2rem;
    }
    
    .footer-bottom {
        padding: 2rem;
    }
    
    /* CTA Section */
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .logo img {
        height: 40px;
    }
    
    .nav-wrapper {
        min-height: 45px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.75rem 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-nav {
        font-size: 0.8rem;
        padding: 0.65rem 0.85rem;
        gap: 0.35rem;
    }
    
    .btn-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .btn-mobile {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-mobile svg {
        width: 18px;
        height: 18px;
    }
    
    .mobile-menu-actions {
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    }
    
    .feature-card,
    .service-card,
    .corporate-card {
        padding: 1.5rem;
    }
    
    .about-values,
    .about-principles {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .infrastructure {
        padding: 2rem 1.5rem;
    }
    
    .infrastructure-icon {
        width: 45px;
        height: 45px;
    }
    
    .infrastructure-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .infrastructure-item {
        padding: 1.25rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .back-to-top,
    .hero-buttons {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
