/* Global Styles */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #ff6b35;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-color: #374151;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    --gradient-artistic: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #e55a2b 100%);
    --gradient-dark-blue: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: transparent;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.navbar.scrolled .navbar-brand img {
    content: url('../images/artKey-studios-dark.png');
}

.navbar.scrolled .nav-link {
    color: var(--text-color) !important;
}

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

/* Ensure navbar toggle button is visible in both states */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* When navbar is scrolled (white background) */
.navbar.scrolled .navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .container {
    padding-left: 6rem;
    padding-right: 6rem;
}

/* Navbar responsive padding */
@media (max-width: 768px) {
    .navbar .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 576px) {
    .navbar .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Main content container padding */
main .container {
    padding-left: 6rem;
    padding-right: 6rem;
}

/* General container padding for better content spacing */
.container {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Reduced padding for small devices */
@media (max-width: 768px) {
    main .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 576px) {
    main .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Footer specific padding */
.footer .container {
    padding-left: 6rem;
    padding-right: 6rem;
}

.footer {
    padding-top: 5% !important;
}

/* Footer responsive padding */
@media (max-width: 768px) {
    .footer .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (max-width: 576px) {
    .footer .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-right: 0.5rem;
}

.brand-tagline {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: -2px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8) 0%, rgba(55, 65, 81, 0.8) 100%), url('../images/artkeys-studios-interior.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 2rem;
}

/* Page Header Sections - Dark Blue Theme */
.page-header {
    background: var(--gradient-dark-blue);
    padding: 8rem 0 4rem 0;
    color: white;
    position: relative;
}

.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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

/* Override any Bootstrap gradient classes */
.bg-gradient-primary,
.bg-gradient-artistic {
    background: var(--gradient-dark-blue) !important;
    color: white !important;
}

/* Ensure page headers always use dark blue theme */
section.page-header {
    background: var(--gradient-dark-blue) !important;
    color: white !important;
}

section.page-header h1,
section.page-header .display-4 {
    color: white !important;
}

section.page-header p,
section.page-header .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section .container {
    padding-left: 6rem;
}

/* Responsive padding for smaller devices */
@media (max-width: 991px) {
    .hero-section .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 6rem;
    }
    
    .hero-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 8rem;
    }
    
    .hero-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.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="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-secondary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Floating Elements */
.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide floating elements on mobile devices */
@media (max-width: 991px) {
    .hero-image {
        display: none;
    }
}

.floating-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

.element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.element-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.element-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

.element-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 4.5s;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

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

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Stats */
.stats-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
}

.footer h5,
.footer h6 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* 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);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-elements {
        width: 250px;
        height: 250px;
    }
    
    .element {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .stats-container {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Page Header */
.page-header {
    padding-top: 120px !important;
    background: var(--gradient-primary) !important;
}

/* Service Cards Detailed */
.service-card-detailed {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

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

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

.service-card-detailed:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card-detailed:hover .service-icon-large {
    transform: scale(1.1);
}

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

.service-card-detailed p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.service-price {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    position: relative;
}

.process-number::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateY(-50%);
}

.process-step:last-child .process-number::after {
    display: none;
}

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

.process-step p {
    color: #6b7280;
    line-height: 1.6;
}

/* Technology Items */
.tech-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.tech-item span {
    font-weight: 500;
    color: var(--dark-color);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary) !important;
}

/* Portfolio Styles */
.portfolio-filter {
    margin-bottom: 2rem;
}

.portfolio-filter .btn {
    margin: 0.25rem;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-filter .btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

.portfolio-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

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

.portfolio-image {
    position: relative;
    overflow: hidden;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

.portfolio-overlay-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-overlay-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.portfolio-info {
    padding: 1.5rem;
}

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

.portfolio-info p {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.modal-body h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.25rem;
    color: #6b7280;
}

/* Responsive adjustments for services page */
@media (max-width: 768px) {
    .process-number::after {
        display: none;
    }
    
    .service-card-detailed {
        padding: 2rem;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .tech-item {
        padding: 1.5rem 1rem;
    }
    
    .tech-item i {
        font-size: 2.5rem;
    }
    
    .portfolio-filter .btn {
        margin: 0.125rem;
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .portfolio-image img {
        height: 200px;
    }
    
    .portfolio-info {
        padding: 1rem;
    }
}

/* About Page Styles */
.artistic-showcase {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-item {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--gradient-artistic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--shadow-medium);
    animation: float 6s ease-in-out infinite;
}

.showcase-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.showcase-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.showcase-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

.showcase-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 4.5s;
}

/* Value Cards */
.value-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-artistic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

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

.value-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

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

.team-image {
    position: relative;
    overflow: hidden;
}

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

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

.team-info {
    padding: 1.5rem;
    text-align: center;
}

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

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: var(--gradient-artistic);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    color: white;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-artistic);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid white;
    box-shadow: var(--shadow-light);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #6b7280;
    margin: 0;
}

/* Contact Page Styles */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid #e5e7eb;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.contact-info-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid #e5e7eb;
    height: fit-content;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-artistic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

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

.contact-details p {
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-artistic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

/* FAQ Styles */
.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.25rem;
    font-weight: 500;
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-artistic);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Map Container */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

/* Equipment Cards */
.equipment-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

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

.equipment-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-artistic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.equipment-card:hover .equipment-icon {
    transform: scale(1.1);
}

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

.equipment-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.equipment-list li {
    padding: 0.5rem 0;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
}

.equipment-list li:last-child {
    border-bottom: none;
}

.equipment-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid #e5e7eb;
    height: 100%;
}

.equipment-info h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.equipment-info p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Rate Cards */
.rate-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid #e5e7eb;
    height: 100%;
}

.rate-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.rate-card .table {
    margin-bottom: 0;
}

.rate-card .table th {
    background: var(--gradient-artistic);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.rate-card .table td {
    border-color: #e5e7eb;
    vertical-align: middle;
    font-size: 0.9rem;
}

.rate-card .table tbody tr:hover {
    background-color: #f8fafc;
}

.rate-note {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid #e5e7eb;
}

.rate-note p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments for about and contact pages */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 1.5rem;
    }
    
    .showcase-item {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .value-card,
    .team-card {
        padding: 1.5rem;
    }
    
    .equipment-card,
    .rate-card {
        padding: 1.5rem;
    }
    
    .equipment-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .rate-card .table {
        font-size: 0.8rem;
    }
}

/* About Preview Image */
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Responsive margin for about image */
@media (max-width: 991px) {
    .about-image {
        margin-top: 2rem;
    }
}

/* Stats Section */
.stats-section {
    background: white;
    color: var(--text-color);
}

.stats-section .section-title,
.stats-section .section-subtitle {
    color: var(--text-color);
}

.stats-section .section-subtitle {
    opacity: 0.8;
}

/* Section Padding */
.services-preview {
    padding-top: 8% !important;
    padding-bottom: 8% !important;
}

.about-preview {
    padding-top: 8% !important;
    padding-bottom: 8% !important;
}

.stats-section {
    padding-top: 8% !important;
    padding-bottom: 8% !important;
}
