/* ===========================
   Root Variables & Reset
   =========================== */
:root {
    --primary-color: #6B4FE5;
    --primary-blue: #6B4FE5;
    --primary-purple: #6B4FE5;
    --dark-bg: #1E1E1E;
    --darker-bg: #151515;
    --card-bg: #252525;
    --light-bg: #ECEEF1;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --text-dark: #1F2937;
    --accent-gradient: linear-gradient(135deg, #6B4FE5 0%, #7B5FE8 100%);
    --hover-gradient: linear-gradient(135deg, #7B5FE8 0%, #8B6FEB 100%);
    --border-color: #374151;
    --light-border: #D1D5DB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

/* ===========================
   Navbar
   =========================== */
.navbar {
    background-color: rgba(236, 238, 241, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

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

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

.contact-btn {
    background: var(--accent-gradient);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    margin-left: 1rem;
}

.contact-btn::after {
    display: none;
}

.contact-btn:hover {
    background: var(--hover-gradient);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Hide default dropdown arrow */
.nav-link.dropdown-toggle::after {
    display: none;
}

/* Purple wrap lines for dropdown button */
.nav-link.dropdown-toggle {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Bottom accent line */
.nav-link.dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect - expand bottom line */
.nav-link.dropdown-toggle:hover::before {
    width: 100%;
}

/* When dropdown is open - full wrap effect */
.dropdown-toggle[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(107, 79, 229, 0.1), rgba(147, 51, 234, 0.08));
    box-shadow: 0 0 0 2px rgba(107, 79, 229, 0.3),
                0 4px 12px rgba(107, 79, 229, 0.15);
    color: var(--primary-color) !important;
}

.dropdown-toggle[aria-expanded="true"]::before {
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    box-shadow: 0 0 8px rgba(107, 79, 229, 0.5);
}

/* Dropdown Menu Styling - Pure White */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 20px;
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(107, 79, 229, 0.1);
    backdrop-filter: blur(30px);
    min-width: 280px;
    animation: dropdownSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    position: relative;
}

/* Dropdown Arrow Pointer */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, 0.08));
}

/* Dropdown Menu Animation */
@keyframes dropdownSlide {
    0% {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Subtle gradient border glow */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--accent-gradient);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.12;
    filter: blur(12px);
}

.dropdown-item {
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    background: transparent;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

/* Colorful gradient background on hover */
.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    z-index: -1;
}

/* Icon/Accent dot - properly centered */
.dropdown-item::after {
    content: '';
    position: absolute;
    left: 0.65rem;
    top: 50%;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    background: var(--accent-gradient);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: white;
    transform: translateX(0) scale(1.02);
    padding-left: 1.85rem;
    box-shadow: 0 8px 20px rgba(107, 79, 229, 0.3);
}

.dropdown-item:hover::before,
.dropdown-item:focus::before {
    opacity: 1;
}

.dropdown-item:hover::after,
.dropdown-item:focus::after {
    opacity: 1;
    left: 0.5rem;
}

.dropdown-item.active {
    background: var(--accent-gradient);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(107, 79, 229, 0.4);
    padding-left: 1.85rem;
}

.dropdown-item.active::after {
    opacity: 1;
    left: 0.5rem;
    background: white;
}

.dropdown-divider {
    border-top: 2px solid transparent;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(107, 79, 229, 0.3) 50%, 
        transparent 100%);
    opacity: 1;
    margin: 0.75rem 0.5rem;
    height: 2px;
    border: none;
}

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(107, 79, 229, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Styles for Dropdown */
@media (max-width: 991px) {
    /* Reset dropdown toggle styles for mobile */
    .nav-link.dropdown-toggle {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        width: 100%;
        text-align: left;
    }
    
    .nav-link.dropdown-toggle::before {
        display: none;
    }
    
    .dropdown-toggle[aria-expanded="true"] {
        background: rgba(107, 79, 229, 0.15) !important;
        box-shadow: none;
        color: var(--primary-color) !important;
    }
    
    /* Show dropdown menu in mobile */
    .dropdown-menu {
        border-radius: 8px;
        margin-top: 0.5rem;
        margin-left: 0;
        margin-bottom: 0.5rem;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08);
        background: rgba(240, 240, 245, 0.8);
        backdrop-filter: none;
        border: 1px solid rgba(107, 79, 229, 0.15);
        padding: 0.5rem;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .dropdown-menu::after {
        display: none;
    }
    
    .dropdown-item {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        border-radius: 6px;
    }
    
    .dropdown-item:last-child {
        margin-bottom: 0;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        padding-left: 1.35rem;
    }
    
    .dropdown-item.active {
        padding-left: 1.35rem;
    }
    
    .dropdown-divider {
        margin: 0.5rem 0;
    }
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: 
        radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        var(--dark-bg);
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    background: var(--accent-gradient);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.4);
    background: var(--hover-gradient);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.floating-card {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nodes-container {
    position: relative;
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connection-line {
    position: absolute;
    height: 3px;
    background: var(--accent-gradient);
    transform-origin: left center;
    opacity: 0.5;
    animation: pulse 3s ease-in-out infinite;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(107, 79, 229, 0.5);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 10px rgba(107, 79, 229, 0.3);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 20px rgba(107, 79, 229, 0.6);
    }
}

/* Line from logo (top center) to database (bottom left) */
.connection-line.line-1 {
    top: 100px;
    left: 50%;
    width: 245px;
    transform: rotate(125deg);
    transform-origin: 0 50%;
}

/* Line from logo (top center) to brain (bottom right) */
.connection-line.line-2 {
    top: 100px;
    left: 50%;
    width: 245px;
    transform: rotate(55deg);
    transform-origin: 0 50%;
}

/* Line from database (bottom left) to brain (bottom right) */
.connection-line.line-3 {
    bottom: 100px;
    left: 100px;
    width: 250px;
    transform: rotate(0deg);
}

.icon-square {
    position: absolute;
    width: 140px;
    height: 140px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(107, 79, 229, 0.1) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.icon-square:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 20px 50px rgba(107, 79, 229, 0.6),
                0 0 30px rgba(107, 79, 229, 0.3),
                0 0 0 1px rgba(107, 79, 229, 0.5) inset;
    border-color: var(--primary-color);
}

.icon-square.logo {
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(236, 238, 241, 0.98), rgba(248, 250, 252, 0.98));
    border: 3px solid var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(107, 79, 229, 0.2),
                0 0 0 1px rgba(107, 79, 229, 0.2) inset;
}

.icon-square.logo:hover {
    transform: translateX(-50%) scale(1.08) translateY(-5px);
    box-shadow: 0 25px 60px rgba(107, 79, 229, 0.5),
                0 0 50px rgba(107, 79, 229, 0.4),
                0 0 0 1px rgba(107, 79, 229, 0.6) inset;
}

.icon-square.database {
    bottom: 30px;
    left: 30px;
}

.icon-square.brain {
    bottom: 30px;
    right: 30px;
}

.icon-square img {
    width: 75%;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease;
}

.icon-square:hover img {
    transform: scale(1.05);
}

.icon-large {
    font-size: 3.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(107, 79, 229, 0.3));
    transition: transform 0.3s ease;
}

.icon-square:hover .icon-large {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(107, 79, 229, 0.5));
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-purple);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===========================
   Motivation Section
   =========================== */
.motivation-section {
    padding: 6rem 0;
    background-color: var(--darker-bg);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.motivation-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
}

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

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ===========================
   Solutions Section
   =========================== */
.solutions-section {
    padding: 6rem 0;
    background-color: var(--dark-bg);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.solution-icon {
    width: 100px;
    height: 100px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    transition: all 0.4s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(5deg);
}

.solution-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.solution-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.solution-toggle {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.solution-details {
    background: var(--accent-gradient);
    border: 2px solid transparent;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(107, 79, 229, 0.3);
}

.solution-details:hover {
    background: var(--hover-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 79, 229, 0.5);
}

.solution-details i {
    transition: transform 0.3s ease;
}

.solution-details:hover i {
    transform: translateX(3px);
}

.solution-toggle:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

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

.solution-toggle.active .chevron-icon {
    transform: rotate(180deg);
}

.solution-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
    opacity: 0;
    margin-top: 0;
}

.solution-items.active {
    max-height: 1000px;
    opacity: 1;
    margin-top: 2rem;
}

.solution-item {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.solution-item:nth-child(1) {
    animation-delay: 0.1s;
}

.solution-item:nth-child(2) {
    animation-delay: 0.2s;
}

.solution-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-item:hover {
    border-color: var(--primary-color);
    background: rgba(107, 79, 229, 0.1);
    transform: translateX(5px);
}

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

.item-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.item-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.more-details-wrapper {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.btn-more-details {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-gradient);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 79, 229, 0.3);
}

.btn-more-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 79, 229, 0.5);
    color: white;
}

.btn-more-details i {
    transition: transform 0.3s ease;
}

.btn-more-details:hover i {
    transform: translateX(5px);
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    padding: 6rem 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.15) 0%, transparent 70%),
        var(--darker-bg);
}

.contact-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-outline-light {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--text-primary);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--light-bg);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--light-border);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 35px;
    width: auto;
}

.footer-text {
    color: #6B7280;
    margin: 0;
}

.footer-links h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(107, 79, 229, 0.3);
}

.copyright {
    color: #6B7280;
    font-size: 0.9rem;
    margin: 0;
}

/* ===========================
   Animations
   =========================== */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

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

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

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

.slide-up-delay {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.slide-up-delay-2 {
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .floating-card {
        max-width: 350px;
        height: 350px;
    }
    
    
    .icon-square {
        width: 110px;
        height: 110px;
    }
    
    .icon-square.logo {
        top: 30px;
    }
    
    .icon-square.database {
        bottom: 30px;
        left: 30px;
    }
    
    .icon-square.brain {
        bottom: 30px;
        right: 30px;
    }
    
    .icon-large {
        font-size: 2.5rem;
    }
    
    .connection-line.line-1 {
        top: 85px;
        left: 50%;
        width: 190px;
    }
    
    .connection-line.line-2 {
        top: 85px;
        left: 50%;
        width: 190px;
    }
    
    .connection-line.line-3 {
        bottom: 85px;
        left: 85px;
        width: 180px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .floating-card {
        max-width: 280px;
        height: 280px;
    }
    
    .icon-square {
        width: 90px;
        height: 90px;
    }
    
    .icon-square.logo {
        top: 25px;
    }
    
    .icon-square.database {
        bottom: 25px;
        left: 25px;
    }
    
    .icon-square.brain {
        bottom: 25px;
        right: 25px;
    }
    
    .icon-large {
        font-size: 2rem;
    }
    
    .connection-line.line-1 {
        top: 70px;
        left: 50%;
        width: 145px;
    }
    
    .connection-line.line-2 {
        top: 70px;
        left: 50%;
        width: 145px;
    }
    
    .connection-line.line-3 {
        bottom: 70px;
        left: 70px;
        width: 140px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .solution-item {
        flex-direction: column;
        text-align: center;
    }
    
    .solution-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .solution-toggle,
    .solution-details {
        width: 100%;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .navbar-collapse {
        background: rgba(223, 225, 228, 0.98);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        gap: 0;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        width: 100%;
        text-align: left;
    }
    
    .nav-link:hover {
        background: rgba(107, 79, 229, 0.1);
    }
}

/* ===========================
   Smooth Scrolling
   =========================== */
html {
    scroll-behavior: smooth;
}

/* ===========================
   Language Switcher
   =========================== */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-dark);
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-btn .flag-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.lang-btn.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hover-gradient);
}

