:root {
    --primary: #0066cc;
    --primary-light: #1a7ae4;
    --primary-dark: #004499;
    --secondary: #6c757d;
    --accent: #00b4d8;
    --dark: #212529;
    --gray: #495057;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --border: #dee2e6;
    --success: #198754;
    --shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 102, 204, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 102, 204, 0.15);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.briefcase-animation {
    font-size: 3rem;
    color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 1.2rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
}

.brand-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.brand-logo i {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark);
    margin: 0 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

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

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

.nav-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    margin-left: 0.75rem;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

.nav-icon:hover {
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
}

.hero-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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-slide {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    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::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-visual {
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 520px;
    height: 380px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 180, 216, 0.05) 100%);
    z-index: 1;
    border-radius: 24px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}



/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

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

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    color: var(--gray);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

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

/* About */
.about-section {
    background: var(--white);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.about-visual {
    text-align: center;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.badge-text {
    font-size: 0.8rem;
}

/* Portfolio */
.portfolio-section {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}

.portfolio-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 250px;
    position: relative;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
    text-align: center;
}

.portfolio-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.portfolio-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Testimonials */
.testimonials-section {
    background: var(--white);
}

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.testimonial-content p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--gray);
}

.author-info h5 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Contact */
.contact-section {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h5 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray);
    margin: 0;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
}

.contact-cta {
    margin-top: 2rem;
    text-align: center;
}

.contact-visual {
    text-align: center;
}

.contact-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 3rem;
}

/* Footer */
.footer-section {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 0.5rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-content h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

/* Swiper Carousel */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .hero-image {
        max-width: 450px;
        height: 320px;
    }
}

@media (max-width: 1200px) {
    .hero-image {
        max-width: 400px;
        height: 300px;
    }
    
    .section {
        padding: 70px 0;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-image {
        max-width: 350px;
        height: 280px;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .about-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .contact-info {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-image {
        max-width: 300px;
        height: 250px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .nav-actions {
        display: none;
    }
    
    .service-card,
    .portfolio-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-cta .btn {
        width: 100%;
        margin: 0;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-image {
        max-width: 280px;
        height: 220px;
    }
    
    .hero-badge,
    .section-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-description,
    .section-description {
        font-size: 0.9rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .portfolio-content {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .about-image,
    .contact-image {
        height: 300px;
    }
    
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .brand-logo span {
        font-size: 1.2rem;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .hero-image {
        max-width: 260px;
        height: 200px;
    }
    
    .btn-lg {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .service-card h4,
    .portfolio-content h4,
    .testimonial-author h5 {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-stats {
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 1rem;
        min-width: 90px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-slide {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        max-width: 250px;
        height: 180px;
    }
}