/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #9b59b6;
    --text-color: #2c3e50;
    --light-text: #ffffff;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --gradient: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-bg);
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.brand-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.contact-btn {
    background: var(--gradient);
    color: var(--light-text);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}

.contact-btn:hover {
    color: var(--light-text);
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--light-text);
}

.btn-outline-light:hover {
    background: var(--light-text);
    color: var(--primary-color);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 30px;
    color: white;
}

/* Why Choose Us Section */
.why-us-section {
    padding: 100px 0;
    background: white;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-box i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-box h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--gradient);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.section-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-content {
    padding-right: 2rem;
}

.about-content .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-content .lead {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.about-features {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0 20px 0 20px;
    text-align: center;
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    bottom: 2rem;
    left: 0;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 250px;
}

.floating-card i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.card-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--primary-color);
}

.card-info p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

@media (max-width: 991px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.info-box {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.info-box i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.form-control {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 80px 0 20px;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-brand img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .team-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .portfolio-filters {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
} 