/* Modern CSS Variables */
:root {
    /* Colors */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #f97316;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gray-light: #1e293b;
    --success: #22c55e;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--light);
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--light);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: white !important;
}

.nav-link.active::after {
    width: 100%;
    background: var(--gradient-primary);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Buttons */
.btn {
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-image {
    position: relative;
}

.hero-shape {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

/* Section Styles */
.section-padding {
    padding: 2rem 0;
}

.section-subtitle {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    background: var(--gray-light);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background: var(--gradient-accent);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.service-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray);
    transition: var(--transition);
}

.feature-item:hover {
    color: var(--light);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.feature-item:hover i {
    transform: scale(1.2);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary);
    gap: 0.75rem;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Work Cards */
.work-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--gray-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.work-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-category {
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    align-self: flex-start;
}

.work-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.work-actions .work-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.work-actions .work-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.work-content {
    padding: 1.5rem;
    background: var(--gray-light);
}

.work-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--light);
}

.work-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.work-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.work-tech span {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Project Modal */
.modal-content {
    background: var(--gray-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.modal-title {
    color: var(--light);
    font-weight: 600;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body h6 {
    color: var(--light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-body p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.project-details {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    color: var(--gray);
    font-weight: 500;
}

.detail-value {
    color: var(--light);
    font-weight: 600;
}

/* Section Background */
.bg-light {
    background: var(--dark) !important;
    position: relative;
    overflow: hidden;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    z-index: 0;
}

/* About Section */
.about-content {
    padding-left: 2rem;
}

.about-stats {
    margin-top: 2rem;
}

.stat-card {
    background: var(--gray-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-info p {
    color: var(--gray);
    margin: 0;
    font-size: 0.875rem;
}

.about-text {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2rem 0;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: var(--transition);
}

.feature:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature:hover .feature-icon {
    background: var(--gradient-accent);
    transform: rotateY(180deg);
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.feature-content p {
    color: var(--gray);
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.experience-badge .text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.about-shape {
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

@media (max-width: 991.98px) {
    .about-content {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .about-image-wrapper {
        margin-bottom: 2rem;
    }
    
    .experience-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 1rem;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .stat-card {
        padding: 1rem;
    }
    
    .feature {
        padding: 1rem;
    }
    
    .about-shape {
        display: none;
    }
}

/* Contact Form */
.contact-card {
    background: var(--gray-light);
    padding: 3.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.form-control {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: var(--transition);
    font-size: 1rem;
    background: var(--dark);
    color: var(--light);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: var(--gray);
}

/* Footer */
.footer {
    background: var(--gray-light);
    color: white;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.footer-brand h4 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--gray);
}

.contact-info i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 4rem 0;
}

.copyright {
    color: var(--gray);
    font-weight: 500;
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .contact-card {
        padding: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-top: 6rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 3px solid var(--gray-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Navigation Active State */
.nav-link.active {
    color: var(--secondary);
}

.nav-link.active::after {
    background: var(--gradient-accent);
}

/* Content Card Styles */
.content-card {
    background: var(--gray-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.content-card h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-card h2 {
    font-size: 1.5rem;
    color: var(--light);
    margin: 2rem 0 1rem;
    position: relative;
    padding-left: 1rem;
}

.content-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.policy-section ul li {
    color: var(--gray);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.policy-section ul li::before {
    content: '•';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.policy-section ul li:hover {
    color: var(--light);
    transform: translateX(5px);
    transition: var(--transition);
}

/* Footer Update */
.footer {
    /* padding: 3rem 0 2rem; */
    margin-top: 4rem;
}

/* Responsive Design for Content Pages */
@media (max-width: 767.98px) {
    .content-card {
        padding: 2rem;
    }
    
    .content-card h1 {
        font-size: 2rem;
    }
    
    .content-card h2 {
        font-size: 1.25rem;
    }
} 