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

/* CSS Variables for Theme System */
:root {
    /* Light theme colors */
    --bg-primary: #f8f9fa;
    --bg-secondary: #e9ecef;
    --bg-tertiary: #dee2e6;
    --bg-card: #ffffff;
    --text-primary: #1a252f;
    --text-secondary: #5a6c7d;
    --text-muted: #6c757d;
    --accent-primary: #3498db;
    --accent-secondary: #2980b9;
    --accent-hover: #5dade2;
    --border-color: #e2e8f0;
    --border-focus: #d1d5db;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --header-bg: rgba(15, 12, 41, 0.95);
    --header-border: rgba(52, 152, 219, 0.3);
    --footer-bg: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gradient-border: linear-gradient(90deg, #667eea, #764ba2, #667eea);
}

/* Dark theme colors */
[data-theme="dark"] {
    --bg-primary: #0a0e27;
    --bg-secondary: #151932;
    --bg-tertiary: #1a1f3a;
    --bg-card: #1e2541;
    --text-primary: #e4e6eb;
    --text-secondary: #b0b3b8;
    --text-muted: #8a8d91;
    --accent-primary: #3498db;
    --accent-secondary: #5dade2;
    --accent-hover: #85c1e9;
    --border-color: #2a3456;
    --border-focus: #3498db;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.5);
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --header-bg: rgba(10, 14, 39, 0.95);
    --header-border: rgba(52, 152, 219, 0.2);
    --footer-bg: linear-gradient(135deg, #1a1f3a 0%, #2a3456 100%);
    --gradient-border: linear-gradient(90deg, #3498db, #5dade2, #3498db);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Force dark mode backgrounds */
[data-theme="dark"] body {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%) !important;
    color: var(--text-primary) !important;
}

/* Universal transition for smooth theme switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Theme transition overlay */
.theme-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.theme-transition-overlay.active {
    opacity: 0.1;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

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

::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Theme Toggle Styles */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 1rem;
}

.theme-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.theme-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.theme-btn i {
    transition: transform 0.3s ease;
}

.theme-btn .fa-sun {
    display: block;
}

.theme-btn .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-btn .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-btn .fa-moon {
    display: block;
}

/* Header & Navigation */
.header {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--header-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: all 0.3s ease;
}

/* Dark mode navbar enhancements */
[data-theme="dark"] .navbar {
    background: transparent;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-right: 1rem;
}

.logo h1 {
    background: var(--gradient-border);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-border);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-secondary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.9) 0%, rgba(44, 62, 80, 0.95) 100%), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.95) 0%, rgba(10, 14, 39, 0.98) 100%), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.3) 0%, rgba(9, 9, 121, 0.2) 100%);
    z-index: 1;
}

.hero::after {
    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 1440 320"><path fill="%2300d4ff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button::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 ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.highlight-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.highlight-card .icon i {
    color: #00d4ff;
    transition: transform 0.3s ease;
}

.highlight-card:hover .icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

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

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-primary) 100%);
    position: relative;
    transition: background 0.3s ease;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #1a252f;
    font-weight: 800;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
    border-radius: 2px;
}

.about-text h3 {
    color: #3498db;
    margin: 2.5rem 0 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-left,
.about-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.about-card h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #e2e8f0;
    font-weight: 500;
}

.about-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-img-main {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.overlay-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.core-values {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
}

.core-values h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
}

.value-item i {
    color: #00d4ff;
    font-size: 1.2rem;
}

.value-item span {
    color: #e2e8f0;
    font-weight: 500;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a6c7d;
}

.values-list {
    list-style: none;
    margin: 2rem 0;
}

.values-list li {
    margin-bottom: 2rem;
    padding-left: 2rem;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.values-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.values-list li:before {
    content: "";
    position: absolute;
    left: -12px;
    top: 1.5rem;
    color: #00d4ff;
    font-size: 1.2rem;
    font-weight: bold;
}

.values-list li strong i {
    color: #00d4ff;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.company-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 3rem;
    border: 1px solid rgba(52, 152, 219, 0.1);
    position: relative;
    overflow: hidden;
}

.company-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #090979);
}

.company-info h3 {
    color: #1a252f;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-primary) 100%);
    position: relative;
    transition: background 0.3s ease;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #1a252f;
    font-weight: 800;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
    border-radius: 2px;
}

.services-intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow-light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

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

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: #5a6c7d;
    line-height: 1.8;
    font-size: 1rem;
}

.service-image {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
}

/* Updated Service Card Styles */
.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.service-header h3 {
    color: #1a252f;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
    font-size: 1.8rem;
}
.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.services-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(52, 152, 219, 0.1);
    position: relative;
    overflow: hidden;
}

.services-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
}

.services-intro h3 {
    color: #1a252f;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.services-intro p {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 1.1rem;
    margin: 0;
}

.services-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-stat {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 1.8rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.4);
}

.service-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-stat .stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

.services-benefits {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.services-benefits h4 {
    color: #1a252f;
    margin-bottom: 1.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(52, 152, 219, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.benefit-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon i {
    color: white;
    font-size: 1.4rem;
}

.benefit-card h5 {
    color: #1a252f;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.benefit-card:hover h5 {
    color: #3498db;
}

.benefit-card p {
    color: #5a6c7d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-primary) 100%);
    position: relative;
    transition: background 0.3s ease;
}

.contact-intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card,
.contact-form-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* Ensure dark mode specificity - Direct color values for debugging */
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .contact-form-card {
    background: #1e2541 !important;
    border-color: #2a3456 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .contact-info-card p,
[data-theme="dark"] .contact-form-card p {
    color: #b0b3b8 !important;
}

[data-theme="dark"] .contact-info-card p strong,
[data-theme="dark"] .contact-form-card p strong {
    color: #e4e6eb !important;
}

[data-theme="dark"] .contact-info-card h3,
[data-theme="dark"] .contact-form-card h3 {
    color: #e4e6eb !important;
}

[data-theme="dark"] .form-group label {
    color: #e4e6eb !important;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: #0a0e27 !important;
    color: #e4e6eb !important;
    border-color: #2a3456 !important;
}

.contact-info-card:hover,
.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.contact-info-card .contact-icon,
.contact-form-card .contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-icon,
.contact-form-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info-card h3,
.contact-form-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-info-card p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.6;
    text-align: left;
}

.contact-info-card p strong {
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.submit-btn {
    background: var(--accent-primary);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #1a252f;
    font-weight: 800;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
    border-radius: 2px;
}

/* Old complex contact styles removed - replaced with simplified design */

/* Old form styles removed - replaced with simplified design above */

/* Footer */
.footer {
    background: var(--footer-bg);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #3498db;
    font-weight: 700;
    font-size: 1.4rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3498db;
    transition: transform 0.3s ease;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section a:hover::before {
    transform: translateX(3px);
}

.footer-section i {
    color: #3498db;
    margin-right: 0.8rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 0.95rem;
}

/* Background pattern for footer */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive Design for images */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-img {
        height: 300px;
    }

    .hero {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-card);
        flex-direction: column;
        align-items: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile nav menu links in dark mode */
    [data-theme="dark"] .nav-menu a {
        color: var(--text-primary);
    }

    [data-theme="dark"] .nav-menu a:hover {
        color: var(--accent-primary);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about h2,
    .services h2,
    .contact h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 120px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }
    .services-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .service-stat .stat-number {
        font-size: 1.8rem;
    }
    .service-stat {
        padding: 1.5rem;
    }
    .service-card {
        padding: 2rem;
    }
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .services-intro,
    .services-benefits {
        padding: 1.8rem;
    }
    .benefit-card {
        padding: 1.2rem;
    }
    .benefit-icon {
        width: 45px;
        height: 45px;
    }
    .benefit-icon i {
        font-size: 1.2rem;
    }
    .nav-container {
        padding: 0 15px;
    }
}