/* Base Styles */
:root {
    /* CodeIgniter-inspired theme colors */
    --primary-color: #dd4814; /* CodeIgniter's orange/red */
    --secondary-color: #f05a28; /* Lighter orange */
    --accent-color: #f47c48; /* Even lighter orange */
    --dark-bg: #252525; /* Dark background */
    --darker-bg: #1a1a1a; /* Darker background */
    --darkest-bg: #111111; /* Darkest background */
    --text-color: #ffffff; /* White text */
    --text-muted: #cccccc; /* Light gray text */
    --border-color: #333333; /* Dark border */
    --card-bg: #2a2a2a; /* Card background */
    --hover-color: #ee5f30; /* Hover color */
    
    /* Enhanced design tokens */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 4px 20px rgba(221, 72, 20, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-card: linear-gradient(145deg, var(--card-bg) 0%, rgba(42, 42, 42, 0.8) 100%);
    --backdrop-blur: blur(10px);
}

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

html {
    scroll-behavior: smooth;
}

/* Loading animation */
body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded) .hero-content,
body:not(.loaded) .hero-image {
    opacity: 0;
    transform: translateY(50px);
}

body.loaded .hero-content,
body.loaded .hero-image {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced focus states for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus,
.nav-links a:focus,
.social-links a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(221, 72, 20, 0.5);
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-content,
    .hero-image {
        animation: none;
    }
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    backdrop-filter: var(--backdrop-blur);
}

.btn::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.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(42, 42, 42, 0.8);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    backdrop-filter: var(--backdrop-blur);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: var(--backdrop-blur);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 2px solid var(--primary-color);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-color);
    margin: 0;
}

.logo span {
    color: var(--primary-color);
    font-weight: 900;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 700;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 1px;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--darkest-bg) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(221, 72, 20, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(221, 72, 20, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 1s ease 0.3s forwards;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.1;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.3;
    color: var(--text-muted);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: 40px;
    opacity: 0;
    transform: translateX(30px) scale(0.9);
    animation: slideInRight 1s ease 0.6s forwards;
}

.hero-image img {
    transition: var(--transition);
    border: none;
    outline: none;
    box-shadow: none;
}

.hero-image img:hover {
    transform: translateY(-10px) rotate(2deg);
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--dark-bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom, rgba(221, 72, 20, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--gradient-card);
    backdrop-filter: var(--backdrop-blur);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(221, 72, 20, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(221, 72, 20, 0.05), transparent);
    transition: left 0.8s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(221, 72, 20, 0.2) 0%, rgba(221, 72, 20, 0.05) 100%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card .icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.service-card:hover .icon::before {
    opacity: 0.1;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--darkest-bg) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(221, 72, 20, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.about-image {
    flex: 1;
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

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

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

.team-member h3 {
    padding: 20px 20px 5px;
    font-size: 1.3rem;
}

.team-member .role {
    padding: 0 20px 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px 20px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-card);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(221, 72, 20, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-2px) scale(1.1);
    box-shadow: var(--shadow-primary);
    border-color: transparent;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--dark-bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(221, 72, 20, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-content-centered,
.about-content-centered {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center !important;
}

.contact-info-centered {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.about-text-centered {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center !important;
}

.text-center {
    text-align: center !important;
}

.centered-text {
    text-align: center !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.about-text-centered p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    width: 100%;
    margin: 40px auto;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
    padding: 24px;
    border-radius: var(--border-radius);
    background: rgba(42, 42, 42, 0.3);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(221, 72, 20, 0.1);
    transition: var(--transition);
    min-width: 140px;
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat h3 {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    transition: var(--transition);
}

.stat p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: var(--darkest-bg);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    background: var(--gradient-card);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(221, 72, 20, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(221, 72, 20, 0.05), transparent);
    transition: left 0.8s ease;
}

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.info-item .icon {
    font-size: 2rem;
    color: var(--primary-color);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(221, 72, 20, 0.2) 0%, rgba(221, 72, 20, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    transition: var(--transition);
}

.info-item .icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.info-item:hover .icon::before {
    opacity: 0.1;
}

.info-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
    transition: var(--transition);
}

.info-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--darkest-bg) 0%, var(--darker-bg) 100%);
    padding: 80px 0 0;
    position: relative;
    border-top: 1px solid rgba(221, 72, 20, 0.2);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top center, rgba(221, 72, 20, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    margin-right: 10px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
}

.footer-logo span {
    color: var(--primary-color);
    font-weight: 900;
}

.footer-logo p {
    color: var(--text-muted);
    margin-top: 10px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.link-group ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(221, 72, 20, 0.2);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 3.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 120px 0 80px;
        min-height: 90vh;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-image {
        margin-left: 0;
        max-width: 400px;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        gap: 32px;
    }
    
    .services, .about, .contact {
        padding: 80px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: var(--backdrop-blur);
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 40px 0;
        box-shadow: var(--shadow-lg);
        border-right: 2px solid var(--primary-color);
    }

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

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary-color);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary-color);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 12px;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 32px 24px;
    }

    .stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat {
        min-width: 200px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
        min-width: 140px;
    }
    
    .services, .about, .contact {
        padding: 60px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Hide hero image on small screens */
    .hero-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .service-card {
        padding: 28px 20px;
    }
    
    .service-card .icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .info-item {
        padding: 24px 20px;
    }
    
    .stat h3 {
        font-size: 2.5rem;
    }
    
    .services, .about, .contact {
        padding: 50px 0;
    }
}
