/* Base Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary-color: #3498db;
    --dark-color: #1e293b;
    --darker-color: #0f172a;
    --light-color: #f8fafc;
    --light-gray: #f1f5f9;
    --medium-gray: #94a3b8;
    --text-color: #334155;
    --text-light: #64748b;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, var(--light-color), var(--light-gray));
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

/* Custom animated title with data attribute */
.section-title[data-text]::before {
    content: attr(data-text);
    position: absolute;
    left: -10px;
    top: -10px;
    color: var(--primary-light);
    opacity: 0.07;
    font-size: 3.5rem;
    font-weight: 800;
    z-index: -1;
    white-space: nowrap;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    cursor: pointer;
    gap: 0.5rem;
    border: none;
    outline: none;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
    color: white;
    transform: translateY(-2px);
}

.btn-dark {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

/* Preloader - Only shows the logo animation, no text */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    animation: pulse 1.5s infinite;
}

.preloader-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: dash 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes dash {
    to { stroke-dashoffset: 0; }
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

header.scrolled .nav-link {
    color: var(--dark-color);
}

header.scrolled .nav-link:hover,
header.scrolled .nav-link.active {
    color: var(--primary-color);
}

header.scrolled .logo {
    color: var(--dark-color);
}

header.scrolled .logo span {
    color: var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    transition: var(--transition-fast);
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.logo span {
    color: var(--primary-light);
    position: relative;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    font-weight: 500;
    position: relative;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    bottom: -5px;
    left: 0;
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 2px;
    background-color: white;
    transition: var(--transition-fast);
}

header.scrolled .mobile-menu-btn .bar {
    background-color: var(--dark-color);
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section with Particles */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.88)), url('images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.3), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.2), transparent 35%);
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.animated-text-container {
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--primary-light);
    font-weight: 500;
    animation: slideInFromLeft 1s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideInFromLeft 1s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.hero-title span {
    color: var(--primary-light);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    background: rgba(96, 165, 250, 0.2);
    bottom: 0;
    left: 0;
    z-index: -1;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    animation: slideInFromLeft 1s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1.25rem;
    z-index: 2;
    animation: bounce 2s infinite;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.scroll-down:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 4rem;
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    border: 5px solid white;
    transition: var(--transition-medium);
}

.about-img-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.about-img-wrapper:hover img {
    transform: scale(1.1);
}

.img-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(37, 99, 235, 0.2), transparent);
    opacity: 0;
    transition: var(--transition-medium);
}

.about-img-wrapper:hover .img-overlay {
    opacity: 1;
}

.about-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-socials a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.about-socials a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.about-text h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    bottom: -8px;
    left: 0;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.expertise-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition-medium);
}

.expertise-item:hover {
    transform: translateY(-5px);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
    transition: var(--transition-fast);
}

.expertise-item:hover .expertise-icon {
    transform: rotate(10deg);
}

.expertise-info h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.expertise-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.stat-counters {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
    top: -10%;
    left: -10%;
    transform: rotate(45deg);
    transition: var(--transition-medium);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    transform: rotate(60deg);
}

.stat-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.stat-count span {
    font-size: 1.5rem;
    margin-left: 0.25rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Vision Section */
.vision {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(15, 23, 42, 0.97)), url('images/vision-bg.jpg') center/cover fixed no-repeat;
    color: white;
}

.vision::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(45deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.05) 10px, transparent 10px, transparent 20px);
    top: 0;
    left: 0;
}

.vision-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.vision-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.vision-title span {
    color: var(--primary-light);
    position: relative;
}

.vision-title span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    background: rgba(96, 165, 250, 0.2);
    bottom: 0;
    left: 0;
    z-index: -1;
}

.vision-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.vision-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.vision-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    top: 0;
    left: 0;
    transition: var(--transition-medium);
}

.vision-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.vision-card:hover::before {
    height: 8px;
}

.vision-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    transition: var(--transition-medium);
}

.vision-card:hover .vision-card-icon {
    transform: rotate(15deg) scale(1.1);
}

.vision-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
}

.vision-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 50%;
    animation: float 15s infinite alternate ease-in-out;
}

.floating-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: 10%;
    animation-duration: 20s;
}

.floating-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 5%;
    animation-duration: 15s;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(5deg);
    }
    100% {
        transform: translate(20px, -20px) rotate(-5deg);
    }
}

/* Company Section */
.company-section {
    background: linear-gradient(135deg, var(--light-color), var(--light-gray));
    position: relative;
    overflow: hidden;
}

.company-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.08), transparent 70%);
    bottom: 0;
    left: 0;
}

.company-content {
    position: relative;
    z-index: 1;
}

.company-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(5px);
}

/* Improved Timeline style */
.company-timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    padding: 1rem 0;
}

.company-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    background: var(--primary-color);
    transform: translateX(-50%) scale(1.2);
}

.timeline-marker {
    width: 100px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: white;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-light);
}

.timeline-content {
    flex: 0 0 calc(50% - 50px);
    background: white;
    padding: 1.75rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    position: relative;
    margin: 2rem 30px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
    right: -10px;
    top: 20px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    left: -10px;
    top: 20px;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.timeline-content h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    bottom: -8px;
    left: 0;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Company Services Grid */
.company-services {
    max-width: 1000px;
    margin: 4rem auto 3rem;
}

.company-services h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.company-services h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    top: 0;
    left: 0;
    transition: height 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(15deg) scale(1.1);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.company-cta {
    display: block;
    max-width: 300px;
    margin: 3rem auto 0;
    text-align: center;
    font-weight: 600;
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 30px;
}

.company-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--light-color), var(--light-gray));
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 60%);
    top: 0;
    right: 0;
}

.contact-title {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-socials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
    transition: var(--transition-fast);
}

.social-card:hover .social-icon {
    transform: rotate(15deg);
}

.social-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
    font-weight: 600;
}

.social-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Footer Section */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 90%, rgba(37, 99, 235, 0.2), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.15), transparent 30%);
    top: 0;
    left: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-tagline {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.footer-social-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.copyright {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-md);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .container {
        max-width: 900px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .about-img-wrapper {
        width: 240px;
        height: 240px;
    }
    
    .vision-cards {
        flex-direction: column;
        max-width: 450px;
        margin: 0 auto 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    /* Timeline responsive tweaks */
    .company-timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-item::before {
        left: 40px;
        top: 15px;
    }
    
    .timeline-marker {
        left: 40px;
        transform: translateX(-50%);
        top: -25px;
    }
    
    .timeline-content {
        flex: 0 0 calc(100% - 80px);
        margin: 2rem 0 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-img-wrapper {
        margin-bottom: 1rem;
    }
    
    .expertise-list {
        grid-template-columns: 1fr;
    }
    
    .stat-counters {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 0.5rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }
    
    .company-intro {
        padding: 1.25rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .social-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .social-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }
    
    .footer-social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .timeline-content {
        padding: 1.25rem;
    }
    
    .timeline-marker {
        font-size: 1rem;
        width: 80px;
    }
    
    .company-section h3 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1.25rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .company-cta {
        width: 100%;
        max-width: 100%;
    }
}

/* Animation classes */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.animate {
    opacity: 1;
    transform: translateY(0);
}

.expertise-item, 
.vision-card, 
.social-card,
.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.expertise-item.animate, 
.vision-card.animate, 
.social-card.animate,
.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Custom staggered delay for card animations */
.vision-card:nth-child(2), 
.service-card:nth-child(2),
.social-card:nth-child(2) {
    transition-delay: 0.1s;
}

.vision-card:nth-child(3), 
.service-card:nth-child(3),
.social-card:nth-child(3) {
    transition-delay: 0.2s;
}

.service-card:nth-child(4),
.social-card:nth-child(4) {
    transition-delay: 0.3s;
}

.social-card:nth-child(5) {
    transition-delay: 0.4s;
} {
    height: 100vh;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.88)), url('images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.3), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.2), transparent 35%);
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.animated-text-container {
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--primary-light);
    font-weight: 500;
    animation: slideInFromLeft 1s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideInFromLeft 1s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.hero