/* ===================================
   Talentum Technology - Main Styles
   Modern & Innovative Design
   =================================== */

/* CSS Variables */
:root {
    --primary: #1a365d;
    --primary-light: #2d4a7c;
    --primary-dark: #0f2340;
    --secondary: #ffffff;
    --accent: #0066cc;
    --accent-light: #3385d6;
    --text-dark: #1a202c;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', var(--font-sans);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--secondary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   Navbar
   =================================== */
.navbar {
    padding: 0.75rem 0;
    transition: all var(--transition);
    background: linear-gradient(180deg, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.8) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar .logo-img {
    height: 52px;
    width: auto;
    transition: all var(--transition);
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .logo-img {
    height: 48px;
    padding: 6px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    padding: 0.6rem 1.25rem;
    position: relative;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, white, transparent);
    transition: all var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar.scrolled .navbar-nav .nav-link::after {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
    color: var(--accent);
    text-shadow: none;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar .btn-cta {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border: none;
}

.navbar .btn-cta:hover {
    background: linear-gradient(135deg, #0077ee 0%, #0066cc 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.5);
}

.navbar.scrolled .btn-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.navbar.scrolled .btn-cta:hover {
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.4);
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
    width: 1.25em;
    height: 1.25em;
}

.navbar.scrolled .navbar-toggler {
    border-color: var(--primary);
    background: transparent;
}

.navbar.scrolled .navbar-toggler-icon {
    filter: none;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    color: white;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::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="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.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: 50px 50px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 650px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-clients {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.client-logos {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.client-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-hero-primary {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.3) 0%, transparent 70%);
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.2) 0%, transparent 70%);
    top: 40%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.scroll-indicator a:hover {
    color: white;
}

.scroll-indicator i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* ===================================
   Section Styles
   =================================== */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--primary);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .subtitle {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Service Cards
   =================================== */
.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    transform: scale(1.1);
}

.service-card h4 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent);
}

.service-link i {
    transition: transform var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===================================
   Project Cards
   =================================== */
.project-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    height: 350px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all var(--transition);
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(26, 54, 93, 0.98) 0%, rgba(26, 54, 93, 0.7) 100%);
}

.project-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.project-overlay h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
}

.project-card:hover .project-overlay p {
    opacity: 1;
    transform: translateY(0);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
}

.project-card:hover .project-link {
    opacity: 1;
    transform: translateY(0);
}

/* Large Project Card */
.project-card-large {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    cursor: pointer;
    height: 500px;
}

.project-card-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card-large:hover img {
    transform: scale(1.05);
}

.project-overlay-large {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(0, 102, 204, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    transition: all var(--transition);
}

.project-card-large:hover .project-overlay-large {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(0, 102, 204, 0.85) 100%);
}

.project-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    width: fit-content;
}

.project-overlay-large h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    max-width: 600px;
}

.project-overlay-large p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    line-height: 1.7;
}

.project-meta-info {
    display: flex;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.project-link-large {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition);
    width: fit-content;
}

.project-link-large:hover {
    background: var(--accent);
    color: white;
    transform: translateX(5px);
}

/* Wide Project Card */
.project-card-wide {
    height: 400px;
}

.project-card-wide .project-overlay {
    padding: 2.5rem;
}

.project-card-wide h4 {
    font-size: 1.5rem;
}

/* Projects Showcase Section */
.projects-showcase {
    background: var(--bg-light);
}

/* ===================================
   Statistics Section
   =================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    position: relative;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, white 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ===================================
   About Section
   =================================== */
.about-content {
    padding-right: 3rem;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.about-features i {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ===================================
   Contact Section
   =================================== */
.contact-info-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.contact-info-card h5 {
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-info-card a {
    color: var(--text-dark);
    font-weight: 500;
}

.contact-info-card a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    height: auto;
    transition: all var(--transition);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-floating > label {
    padding: 1rem;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    color: white;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-dark);
    color: white;
}

.footer-main {
    padding: 80px 0 60px;
}

.footer-logo {
    height: 60px;
    width: auto;
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.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: white;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-light);
    margin-top: 0.25rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::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="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.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: 50px 50px;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   Project Filter
   =================================== */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.btn-cta-white {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

/* ===================================
   Utilities
   =================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

/* ===================================
   Animations
   =================================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--primary);
        padding: 1.5rem;
        border-radius: var(--border-radius-lg);
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-collapse .navbar-nav {
        gap: 0.5rem;
    }
    
    .navbar-collapse .nav-link {
        color: white !important;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        text-align: center;
    }
    
    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: white !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-collapse .btn-cta {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .hero {
        min-height: auto;
        padding: 150px 0 80px;
    }
    
    .hero-shapes {
        display: none;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-block;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .footer-main {
        padding: 60px 0 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
}

/* ===================================
   Project Detail Page
   =================================== */
.project-detail-header {
    margin-bottom: 3rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-meta-item i {
    color: var(--accent);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===================================
   Service Detail Page
   =================================== */
.service-detail-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.service-features i {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

/* Alert Styles */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}
