/* Root Variables */
:root {
    --primary-blue: #0078d4;
    --secondary-blue: #106ebe;
    --light-blue: #deecf9;
    --dark-blue: #004578;
    --text-dark: #323130;
    --text-light: #605e5c;
    --bg-light: #faf9f8;
    --white: #ffffff;
    --gradient-bg: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* Navigation */
.navbar {
    background: rgba(0, 120, 212, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--primary-blue) !important;
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-blue) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    bottom: 30%;
    left: 10%;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    top: 50%;
    right: 30%;
    animation-delay: 2s;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-content h3 {
    color: var(--primary-blue);
    font-weight: 600;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.company-stats {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-blue);
    border-radius: 15px;
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-weight: 500;
    color: var(--text-light);
    margin: 0;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background: var(--light-blue);
    padding: 3rem;
    border-radius: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Strengths Section */
.strengths-section {
    background: var(--bg-light);
}

.strengths-list {
    padding: 2rem 0;
}

.strength-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.strength-icon {
    background: var(--light-blue);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.strength-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.strength-content h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.strength-content p {
    color: var(--text-light);
    margin: 0;
}

.strengths-visual {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gear-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.gear-1, .gear-2, .gear-3 {
    position: absolute;
    animation: rotate 10s linear infinite;
}

.gear-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gear-2 {
    top: 20%;
    right: 20%;
    animation-direction: reverse;
    animation-duration: 8s;
}

.gear-3 {
    bottom: 20%;
    left: 20%;
    animation-duration: 12s;
}

/* Services Section */
.services-section {
    background: var(--white);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    background: var(--gradient-bg);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Company Info Section */
.company-info-section {
    background: var(--bg-light);
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.info-card h4 {
    color: var(--primary-blue);
    font-weight: 600;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 1rem;
}

.info-grid {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.info-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.table-primary {
    background-color: var(--light-blue) !important;
}

.table-primary th {
    color: var(--primary-blue);
    font-weight: 600;
    border: none;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.client-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--light-blue);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.client-item:hover {
    transform: translateX(5px);
}

.client-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.client-item span {
    font-weight: 500;
}

/* Ventures Section */
.ventures-section {
    background: var(--white);
}

.venture-content {
    padding: 2rem 0;
}

.venture-item {
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: 15px;
    border-left: 4px solid var(--primary-blue);
}

.venture-item h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.venture-item p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.venture-visual {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.building-blocks {
    position: relative;
    width: 300px;
    height: 300px;
}

.block {
    position: absolute;
    border-radius: 10px;
    animation: buildUp 2s ease-in-out infinite alternate;
}

.block-1 {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    bottom: 0;
    left: 20px;
    animation-delay: 0s;
}

.block-2 {
    width: 60px;
    height: 120px;
    background: var(--secondary-blue);
    bottom: 0;
    left: 120px;
    animation-delay: 0.5s;
}

.block-3 {
    width: 70px;
    height: 100px;
    background: #17a2b8;
    bottom: 0;
    right: 50px;
    animation-delay: 1s;
}

.block-4 {
    width: 50px;
    height: 60px;
    background: #ffc107;
    bottom: 0;
    right: 140px;
    animation-delay: 1.5s;
}

/* Contact Section */
.contact-section {
    background: var(--gradient-bg);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="70" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.contact-info {
    position: relative;
    z-index: 2;
}

.office-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    height: 100%;
    transition: transform 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
}

.office-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.office-card p {
    line-height: 1.6;
    margin: 0;
}

.contact-item {
    color: white;
    padding: 1rem;
}

.contact-item h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes buildUp {
    0% {
        transform: scaleY(0.8);
    }
    100% {
        transform: scaleY(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-card {
        position: static;
        margin: 1rem;
        display: inline-block;
    }
    
    .hero-image {
        height: auto;
        flex-direction: column;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        text-align: center;
        padding-top: 80px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .strength-item {
        flex-direction: column;
        text-align: center;
    }
    
    .strength-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Custom Button Styles */
.btn-primary {
    background: var(--gradient-bg);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
}

/* Intersection Observer Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
