@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Global Styles */
:root {
    --primary-color: #1080f0; /* Modern blue */
    --secondary-color: #000000; /* Pure black */
    --accent-color: #999999; /* Modern gray */
    --text-color: #000000;
    --light-color: #ffffff;
    --dark-color: #000000;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* RTL Support */
html[dir="rtl"] {
    text-align: right;
}

html[dir="ltr"] {
    text-align: left;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size for responsive typography */
}

@media (max-width: 768px) {
    html {
        font-size: 14px; /* Slightly smaller base font on mobile */
    }
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    background: #000000;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Language selector styles */
.language-selector {
    margin-left: 20px;
}

html[dir="rtl"] .language-selector {
    margin-left: 0;
    margin-right: 20px;
}

#language-toggle, .language-link {
    background: rgba(16, 128, 240, 0.1);
    border: 1px solid rgba(16, 128, 240, 0.2);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0;
}

#language-toggle:hover, .language-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 128, 240, 0.3);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(16, 128, 240, 0.3);
    position: relative;
    overflow: hidden;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 128, 240, 0.4);
}

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 15px rgba(16, 128, 240, 0.2);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(16, 128, 240, 0.2);
}



/* Header content positioning - ensure fixed positions */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.logo-container {
    display: flex;
    align-items: center;
    width: auto;
    flex-shrink: 0;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    justify-content: center;
    width: auto;
}

.language-selector {
    margin-left: 20px;
    width: auto;
    flex-shrink: 0;
}

/* Logo and Company Name Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    transition: var(--transition);
    /* Remove background by making it transparent */
    background-color: transparent;
    /* Add a slight filter to help with visibility if needed */
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.1));
}

@media (max-width: 576px) {
    .logo-img {
        height: 40px; /* Smaller logo on mobile */
    }
}

.header-content {
    display: flex;
    align-items: center;
}

.company-names {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

html[dir="rtl"] .company-names {
    margin-left: 0;
    margin-right: 10px;
}

.company-name {
    font-weight: 700;
    font-size: 0.8rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.company-name:first-child {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.company-name:last-child {
    margin-left: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html[dir="rtl"] .company-name:last-child {
    margin-left: 0;
    margin-right: 15px;
}

.company-name span {
    display: block;
    font-size: 0.75rem;
}

.company-name span.small {
    font-size: 0.7rem;
}

.vertical-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0 15px;
}

.vision2030 {
    height: 40px;
    margin-left: 15px;
    filter: brightness(1.2) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)); /* Make it slightly brighter with shadow */
}

html[dir="rtl"] .vision2030 {
    margin-left: 0;
    margin-right: 15px;
}

@media (max-width: 768px) {
    .company-name {
        font-size: 0.75rem;
    }
    
    .company-name span {
        font-size: 0.7rem;
    }
    
    .company-name span.small {
        font-size: 0.65rem;
    }
    
    .vertical-divider {
        height: 30px;
        margin: 0 10px;
    }
    
    .vision2030 {
        height: 30px;
    }
}

@media (max-width: 576px) {
    .company-names {
        flex-direction: column;
        align-items: flex-start;
    }
    
    html[dir="rtl"] .company-names {
        align-items: flex-end;
    }
    
    .company-name.arabic {
        margin-left: 0;
        margin-top: 5px;
    }
    
    html[dir="rtl"] .company-name.arabic {
        margin-right: 0;
    }
}

.footer-logo-container {
    margin-bottom: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

html[dir="rtl"] nav ul li {
    margin-left: 0;
    margin-right: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding: 8px 16px;
    transition: var(--transition);
    color: white;
    border-radius: 8px;
    font-size: 15px;
    letter-spacing: -0.01em;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(16, 128, 240, 0.08);
}

.book-consultation-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.book-consultation-btn:hover {
    background: linear-gradient(135deg, #0066cc 0%, var(--primary-color) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 128, 240, 0.3);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 50px;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(16, 128, 240, 0.08) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#hero:hover::before {
    opacity: 1;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(16, 128, 240, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(16, 128, 240, 0.03) 0%, transparent 50%);
    animation: subtle-glow 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes subtle-glow {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.7;
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    padding: 20px 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #1080f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 1s ease-out forwards;
    opacity: 0;
    letter-spacing: -0.02em;
    line-height: 1.5;
    padding: 10px 0;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    color: var(--accent-color);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-content .btn {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

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

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

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.6;
        padding: 15px 0;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

.logo-showcase-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.merge-animation-container {
    position: relative;
    width: 100%;
    height: 550px; /* Increased height to accommodate larger KOTH image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.cloud-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cloud-image, .scs-cloud-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 500px;
    z-index: 2;
    animation: none !important; /* Force no animation with !important */
    transition: none !important; /* Disable transitions */
}

#kloth-image, .scs-mountain-img {
    position: absolute;
    bottom: 50px; /* Moved up from bottom: 0 */
    left: 50%;
    transform: translateX(-50%);
    width: 120%; /* Increased from 100% */
    max-width: 720px; /* Increased from 600px */
    z-index: 1;
    animation: none !important; /* Force no animation with !important */
    transition: none !important; /* Disable transitions */
}

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

/* Remove this animation as it's no longer needed */

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.6;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
}

.footer-logo {
    flex: 1;
    margin-bottom: 30px;
}

.footer-links {
    flex: 1;
    margin-bottom: 30px;
}

.footer-social {
    flex: 1;
    margin-bottom: 30px;
}

.footer-logo .logo-img {
    height: 60px;
    margin-right: 15px;
    background-color: transparent;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.2));
}

.footer-logo .company-name {
    color: white;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    line-height: 1; /* Added to reduce vertical spacing */
}

.footer-logo .company-name span {
    color: var(--primary-color);
    margin-top: 0px;
    display: block;
    font-size: 0.8rem;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

@media (max-width: 576px) {
    .footer-links h3,
    .footer-social h3 {
        margin-bottom: 15px;
    }
    
    .footer-links h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    border-radius: 2px;
}

html[dir="rtl"] .footer-links h3::after,
html[dir="rtl"] .footer-social h3::after {
    left: auto;
    right: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

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

@media (max-width: 576px) {
    .social-icons {
        justify-content: center;
    }
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 128, 240, 0.3);
}

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

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Services Section */
#services {
    padding: 60px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.3;
}

#services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    border-radius: 2px;
}

.service-category {
    margin-bottom: 40px;
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(16, 128, 240, 0.2);
    box-shadow: 0 4px 20px rgba(16, 128, 240, 0.05);
    transition: var(--transition);
}

.service-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(16, 128, 240, 0.15);
    border-color: rgba(16, 128, 240, 0.2);
}

.service-category:last-child {
    margin-bottom: 0;
}

.coc-banner {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    border-radius: 20px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 10px 40px rgba(16, 128, 240, 0.3);
    position: relative;
    overflow: hidden;
}

.coc-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.coc-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.coc-icon i {
    font-size: 36px;
    color: white;
}

.coc-content {
    flex: 1;
}

.coc-content h4 {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.coc-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.coc-highlight {
    font-weight: 700;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .coc-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    
    .coc-content h4 {
        font-size: 1.5rem;
    }
    
    .coc-content p {
        font-size: 14px;
    }
}

.category-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.02em;
}

.category-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    border-radius: 2px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(16, 128, 240, 0.3);
    box-shadow: 0 4px 20px rgba(16, 128, 240, 0.1);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    z-index: -1;
    transition: var(--transition);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(16, 128, 240, 0.1), rgba(16, 128, 240, 0.05));
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 128, 240, 0.2);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.service-card:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 20px;
}

.service-card h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: 2px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.service-card.expandable {
    cursor: pointer;
}

.service-card.expandable h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card.expandable h4 i {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.service-card.expandable.active h4 i {
    transform: rotate(180deg);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.service-card.active .service-details {
    max-height: 500px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.service-details ul li {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(16, 128, 240, 0.1);
}

.service-details ul li:last-child {
    border-bottom: none;
}

.service-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.service-card .read-more {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0 25px 25px;
    position: relative;
    transition: all 0.3s ease;
}

.service-card .read-more::after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
}

.service-card .read-more:hover {
    color: var(--primary-color);
}

.service-card .read-more:hover::after {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    #services h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Technologies Section */
#technologies {
    padding: 60px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

#technologies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.3;
}

#technologies h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#technologies h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    border-radius: 2px;
}

.tech-icons {
    position: relative;
    height: 400px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(16, 128, 240, 0.3);
    box-shadow: 0 4px 20px rgba(16, 128, 240, 0.1);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 128, 240, 0.2);
    border-color: var(--primary-color);
}

.tech-card:hover::before {
    height: 100%;
    opacity: 0.03;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.partner-category {
    margin-bottom: 40px;
}

.partner-category:last-child {
    margin-bottom: 0;
}

.partner-category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.01em;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.partner-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(16, 128, 240, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(16, 128, 240, 0.3);
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 128, 240, 0.15);
    border-color: var(--primary-color);
}

.partner-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.partner-card img {
    max-width: 80px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.partner-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 16px;
    }
    
    .partner-card {
        padding: 20px 12px;
    }
    
    .partner-card i {
        font-size: 36px;
    }
    
    .partner-card img {
        max-width: 60px;
        height: 36px;
    }
}

.tech-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 12px 0 8px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.tech-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-size: 13px;
    letter-spacing: -0.01em;
}

/* Position each circle at different locations */
.tech-icon:nth-child(1) {
    top: 10%;
    left: 20%;
    animation: float-circle 15s infinite ease-in-out;
}

.tech-icon:nth-child(2) {
    top: 60%;
    left: 10%;
    animation: float-circle 18s infinite ease-in-out reverse;
}

.tech-icon:nth-child(3) {
    top: 30%;
    left: 50%;
    animation: float-circle 20s infinite ease-in-out;
}

.tech-icon:nth-child(4) {
    top: 70%;
    left: 40%;
    animation: float-circle 17s infinite ease-in-out reverse;
}

.tech-icon:nth-child(5) {
    top: 20%;
    left: 70%;
    animation: float-circle 19s infinite ease-in-out;
}

.tech-icon:nth-child(6) {
    top: 50%;
    left: 80%;
    animation: float-circle 16s infinite ease-in-out reverse;
}

.tech-icon:nth-child(7) {
    top: 80%;
    left: 70%;
    animation: float-circle 21s infinite ease-in-out;
}

.tech-icon:nth-child(8) {
    top: 40%;
    left: 30%;
    animation: float-circle 14s infinite ease-in-out reverse;
}

.tech-icon i, .tech-icon svg, .tech-icon .tech-img {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.tech-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: var(--primary-color);
}

.tech-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.tech-icon:hover i, .tech-icon:hover svg, .tech-icon:hover .tech-img {
    color: var(--accent-color);
    transform: scale(1.1);
}

.tech-icon:hover svg {
    fill: var(--accent-color);
}

.tech-icon::after {
    content: attr(data-name);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
    background-color: white;
    padding: 3px 10px;
    border-radius: 15px;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tech-icon:hover::after {
    opacity: 1;
    bottom: -30px;
}

@keyframes float-circle {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, 20px);
    }
    50% {
        transform: translate(0, 40px);
    }
    75% {
        transform: translate(-30px, 20px);
    }
    100% {
        transform: translate(0, 0);
    }
}


@media (max-width: 768px) {
    .tech-icons {
        height: 600px;
    }
}

.tech-icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tech-icon:hover::before {
    opacity: 1;
    bottom: -25px;
}

.tech-icon i, .tech-icon svg {
    font-size: 3rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.tech-icon:hover i, .tech-icon:hover svg {
    color: var(--primary-color);
    transform: scale(1.1);
}

.terraform-icon {
    width: 3rem;
    height: 3rem;
    fill: var(--secondary-color);
    transition: all 0.3s ease;
}

.tech-icon:hover .terraform-icon {
    fill: var(--primary-color);
}

@media (max-width: 768px) {
    .tech-icons {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 30px;
    }
    
    .tech-icon {
        height: 100px;
    }
    
    .tech-icon i, .tech-icon svg {
        font-size: 2.5rem;
    }
    
    .terraform-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 576px) {
    #technologies h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .tech-icons {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 25px;
    }
    
    .tech-icon {
        height: 90px;
        padding: 15px;
    }
    
    .tech-icon i, .tech-icon svg {
        font-size: 2rem;
    }
    
    .terraform-icon {
        width: 2rem;
        height: 2rem;
    }
}

/* Contact Section */
#contact {
    padding: 60px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.3;
}

#contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    border-radius: 2px;
}

.contact-container {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form h3,
.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.email-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(16, 128, 240, 0.3);
}

.linkedin-btn {
    background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 119, 181, 0.3);
}

.x-btn {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-details-list .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-details-list .contact-item:last-child {
    border-bottom: none;
}

.contact-details-list .contact-item i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.contact-details-list .contact-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(217, 179, 140, 0.3);
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(16, 128, 240, 0.3);
    box-shadow: 0 4px 20px rgba(16, 128, 240, 0.1);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 10px 0 0 10px;
    z-index: -1;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(16, 128, 240, 0.3);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 128, 240, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    margin-top: 10px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    background-color: var(--primary-color);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 8px 32px rgba(37,211,102,0.25);
}

.email-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    box-shadow: 0 8px 32px rgba(16, 128, 240, 0.25);
}

.contact-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

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

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

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .contact-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    #contact {
        padding: 60px 0;
    }
    
    #contact h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-form h3,
    .contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px;
        font-size: 16px;
    }
    
    .contact-btn {
        padding: 16px;
        font-size: 16px;
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.7));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 25px rgba(255, 0, 0, 0.9));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.7));
    }
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.merged-state .cloud-container {
    /* Cloud stays static */
    animation: none;
}

.merged-state .kloth-container {
    /* Koth stays in position */
    animation: none;
}

/* Loading animation styles */
.scs-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 52, 89, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.scs-logo-container {
    position: relative;
    height: 280px;
    width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.scs-loading-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top: 4px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: scs-spin 2s linear infinite;
    z-index: 3;
    pointer-events: none;
}

.scs-cloud-img {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 2;
    animation: scs-float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.scs-mountain-img {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 135%;
    z-index: 1;
    animation: scs-float 4s ease-in-out infinite 1s;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.scs-loading-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 52, 89, 0.3) 100%);
    opacity: 0.7;
    animation: scs-ripple 4s infinite linear;
}

@keyframes scs-ripple {
    0% {
        transform: scale(0.85);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(0.85);
        opacity: 0.5;
    }
}

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

@keyframes scs-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.logo-showcase-container,
.merge-animation-container,
.cloud-container,
.image-wrapper,
#cloud-image,
#kloth-image {
    display: none; /* Hide all cloud and KOTH related elements */
}
/* Enhanced Footer Styles */
footer {
    background-color: #002340;
    padding: 60px 0 30px;
    color: #fff;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-social, .footer-contact {
    margin-bottom: 30px;
}

.footer-logo {
    flex: 0 0 100%;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-logo {
        flex: 0 0 30%;
    }
}

.footer-logo-container {
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    max-width: 120px;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links, .footer-social, .footer-contact {
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .footer-links, .footer-social, .footer-contact {
        flex: 0 0 20%;
    }
}

.footer-links h3, .footer-social h3, .footer-contact h3, .footer-newsletter h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-links ul, .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #d9b38c;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

html[dir="rtl"] .contact-info li i {
    margin-right: 0;
    margin-left: 10px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #d9b38c;
    transform: translateY(-3px);
}

.footer-newsletter {
    flex: 0 0 100%;
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
}

html[dir="rtl"] .newsletter-form input {
    border-radius: 0 30px 30px 0;
}

.btn-subscribe {
    padding: 12px 25px;
    background-color: #d9b38c;
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

html[dir="rtl"] .btn-subscribe {
    border-radius: 30px 0 0 30px;
}

.btn-subscribe:hover {
    background-color: #c09b70;
}

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

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    margin-bottom: 15px;
    color: #ccc;
}

@media (min-width: 768px) {
    .footer-bottom p {
        margin-bottom: 0;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}
/* Who We Are Section */
#who-we-are {
    padding: 60px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

#who-we-are::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.3;
}

#who-we-are h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#who-we-are h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    border-radius: 2px;
}

/* Card-style container with Services animation */
.who-we-are-content {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(16, 128, 240, 0.3);
    box-shadow: 0 4px 20px rgba(16, 128, 240, 0.1);
    position: relative;
    z-index: 1;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.who-we-are-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    z-index: -1;
    transition: var(--transition);
}

.who-we-are-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 128, 240, 0.2);
    border-color: var(--primary-color);
}

.who-we-are-content:hover::before {
    height: 100%;
    opacity: 0.03;
}

.who-we-are-content p {
    color: var(--accent-color);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.approach-text {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: #ffffff !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.presence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 30px auto 0;
}

.country-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(16, 128, 240, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(16, 128, 240, 0.3);
}

.country-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 128, 240, 0.15);
    border-color: var(--primary-color);
}

.flag-placeholder {
    margin-bottom: 16px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-placeholder img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.country-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

@media (max-width: 768px) {
    .approach-text {
        font-size: 1.1rem !important;
    }
    
    .presence-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .flag-placeholder {
        font-size: 40px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .who-we-are-content {
        padding: 30px;
    }

    #who-we-are h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .who-we-are-content {
        padding: 25px;
    }
}


/* Why Work With Us Section */
#why-work-with-us {
    padding: 60px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

#why-work-with-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.3;
}

#why-work-with-us h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#why-work-with-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    border-radius: 2px;
}

/* Grid and Cards */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(16, 128, 240, 0.3);
    box-shadow: 0 4px 20px rgba(16, 128, 240, 0.1);
    overflow: visible;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 28px 28px 28px;
    margin-top: 30px;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    z-index: -1;
    transition: var(--transition);
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(16, 128, 240, 0.05), transparent 60%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 128, 240, 0.2);
    border-color: var(--primary-color);
}

.why-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.why-card:hover::after {
    opacity: 1;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.why-card p {
    color: var(--accent-color);
    line-height: 1.7;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.why-number {
    position: absolute;
    top: -20px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(16, 128, 240, 0.4);
    border: 4px solid white;
    transition: var(--transition);
}

.why-card:hover .why-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(16, 128, 240, 0.5);
}

.why-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-features li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 14px;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
}

.why-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 128, 240, 0.1);
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    #why-work-with-us h2 {
        font-size: 2rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Divider and Title */
.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.6;
    margin: 0 auto 60px auto;
    border: none;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
    border-radius: 2px;
}

#cloud-providers {
    margin-bottom: 0;
    padding: 60px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

#cloud-providers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.3;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

/* CTA Banner */
.cta-banner {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-text h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

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

.cta-btn {
    background: white;
    color: var(--primary-color);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 60px 0;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .cta-text h3 {
        font-size: 1.8rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .cta-btn {
        width: 100%;
    }
}
