/* Professional Detective Agency CSS - Final Version */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #ff6b35;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.3);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #f8f9fa;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--gradient-primary);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-logo i {
    margin-right: 0.8rem;
    color: var(--accent-color);
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.login-btn {
    background: var(--gradient-accent);
    color: var(--text-light);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-light);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.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.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-text h2 {
    font-size: 1.8rem;
    color: #e8f4fd;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-text p {
    font-size: 1.2rem;
    color: #d1e7f0;
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    min-width: 220px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-light);
    box-shadow: var(--shadow-medium);
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--text-light);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Hero Media */
.hero-media {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
}

.hero-video {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    background: #000;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-video:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-video video {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    opacity: 0;
    transition: var(--transition);
}

.hero-video:hover .video-overlay {
    opacity: 1;
}

.video-overlay i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.video-overlay span {
    font-size: 1.2rem;
    font-weight: 500;
}

.hero-stats-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.stat-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover img {
    transform: scale(1.05);
}

.stat-card-content h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.stat-card-content p {
    color: #e8f4fd;
    font-size: 1rem;
    opacity: 0.8;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.stat-item:hover::before {
    opacity: 0.1;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.stat-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.stat-item:hover i {
    transform: scale(1.2);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.service-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 0.9;
}

.service-overlay i {
    font-size: 4rem;
    color: var(--text-light);
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.service-content {
    padding: 2.5rem;
}

.service-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.service-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.service-content ul {
    list-style: none;
    margin-bottom: 2.5rem;
}

.service-content li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.service-content li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.service-content li i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.service-btn {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.service-btn:hover::before {
    left: 0;
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-content {
    background-color: var(--text-light);
    margin: 2% auto;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow-heavy);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #f0f0f0;
}

.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.service-modal {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-gray);
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.05);
}

.close:hover {
    color: var(--accent-color);
    background: rgba(255, 107, 53, 0.1);
    transform: rotate(90deg);
}

.service-detail {
    padding: 50px;
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #f0f0f0;
}

.service-detail::-webkit-scrollbar {
    width: 10px;
}

.service-detail::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
}

.service-detail::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 5px;
}

.service-detail::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.service-detail-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.service-detail-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.service-detail-header i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-detail-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
}

.service-detail-content > div {
    margin-bottom: 4rem;
}

.service-detail-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.service-detail-content h3::before {
    content: '';
    width: 6px;
    height: 30px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.service-detail-content p {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1.2rem;
}

.service-detail-content ul {
    list-style: none;
    padding: 0;
}

.service-detail-content li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
    transition: var(--transition);
    font-size: 1.1rem;
}

.service-detail-content li:hover {
    background: #e9ecef;
    transform: translateX(8px);
    box-shadow: var(--shadow-light);
}

.service-detail-content li i {
    color: var(--accent-color);
    margin-right: 1.5rem;
    font-size: 1.3rem;
    font-weight: bold;
}

.service-detail-content ol {
    padding-left: 2rem;
}

.service-detail-content ol li {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
    list-style: none;
    counter-increment: step-counter;
    position: relative;
    font-size: 1.1rem;
}

.service-detail-content ol li::before {
    content: counter(step-counter);
    background: var(--gradient-primary);
    color: var(--text-light);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1.5rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-light);
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-buttons .btn-primary,
.contact-buttons .btn-secondary {
    min-width: auto;
    flex: 1;
    padding: 1.2rem 2rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition);
}

.feature:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-light);
}

.feature i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-top: 0.5rem;
    width: 40px;
    text-align: center;
}

.feature h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.feature p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-gallery {
    width: 100%;
    max-width: 500px;
}

.gallery-main {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-medium);
}

.gallery-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-light);
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.image-overlay i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    display: block;
}

.image-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay i {
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(255, 107, 53, 0.3);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    width: 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover i {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(247, 147, 30, 0.2));
    transform: scale(1.1);
}

.contact-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.contact-form {
    background: var(--text-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.contact-form h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: #f8f9fa;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--text-light);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-section ul li i {
    margin-right: 0.8rem;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: #e55a2b;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--gradient-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 3rem 0;
        backdrop-filter: blur(20px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn-primary, .btn-secondary {
        min-width: 200px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item {
        padding: 2rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .hero-stats-cards {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-card {
        max-width: 450px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 2.8rem;
    }

    .modal-content {
        margin: 1% auto;
        max-height: 95vh;
        width: 95%;
    }

    .service-modal {
        max-height: 95vh;
    }

    .service-detail {
        padding: 30px 25px;
        max-height: 90vh;
    }

    .service-detail-header h2 {
        font-size: 2.5rem;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn-primary,
    .contact-buttons .btn-secondary {
        width: 100%;
    }

    /* About Section Mobile */
    .about {
        padding: 80px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .about-gallery {
        max-width: 400px;
    }

    .gallery-main img {
        height: 250px;
    }

    .gallery-grid {
        gap: 0.8rem;
    }

    .gallery-item img {
        height: 100px;
    }

    .feature {
        padding: 1.5rem;
        gap: 1rem;
    }

    .feature i {
        font-size: 1.6rem;
        width: 30px;
    }

    .feature h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .feature p {
        font-size: 0.95rem;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 80px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        padding: 2rem;
        gap: 1.5rem;
    }

    .contact-item i {
        font-size: 2rem;
        width: 50px;
        padding: 0.8rem;
    }

    .contact-item h4 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .contact-item p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-form h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text h2 {
        font-size: 1.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .btn-primary, .btn-secondary {
        padding: 1rem 1.8rem;
        font-size: 1rem;
        min-width: 180px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

    .services {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    .service-content {
        padding: 2rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .service-detail {
        padding: 25px 20px;
        max-height: 100vh;
    }

    .service-detail-header h2 {
        font-size: 2rem;
    }

    .close {
        right: 20px;
        top: 20px;
        font-size: 28px;
    }
}

@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text h2 {
        font-size: 0.9rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        min-width: 120px;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-detail-header h2 {
        font-size: 1.8rem;
    }
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover,
    .service-btn:hover {
        transform: none;
    }
    
    .stat-item:hover {
        transform: none;
    }
}

/* Loading States */
.hero-video::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-video video.loaded + .video-overlay::before {
    display: none;
}

/* Focus States for Accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.service-btn:focus,
.close:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print Styles */
@media print {
    .header,
    .hero-buttons,
    .service-btn,
    .modal {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
    }
    
    .hero-text h1,
    .hero-text h2 {
        color: black !important;
    }
} 